api_key_notification

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

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

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

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

Types

type Client

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

Client for api key notification API

func (*Client) DeleteAPIKeyNotification

func (a *Client) DeleteAPIKeyNotification(params *DeleteAPIKeyNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyNotificationOK, error)

DeleteAPIKeyNotification deletes all notifications by Api key

clear all notification, status is one of unread, read, all

func (*Client) DeleteAPIKeyNotificationID

func (a *Client) DeleteAPIKeyNotificationID(params *DeleteAPIKeyNotificationIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyNotificationIDOK, error)

DeleteAPIKeyNotificationID deletes notification by id by Api key

func (*Client) DeleteAPIKeyNotificationList

func (a *Client) DeleteAPIKeyNotificationList(params *DeleteAPIKeyNotificationListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyNotificationListOK, error)

DeleteAPIKeyNotificationList deletes notification by ids by Api key

func (*Client) GetAPIKeyNotification

func (a *Client) GetAPIKeyNotification(params *GetAPIKeyNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyNotificationOK, error)

GetAPIKeyNotification gets all notifications by Api key

status is allow [unread, read, all]. sort is allow [latest, oldest]

func (*Client) GetAPIKeyNotificationStatistics

func (a *Client) GetAPIKeyNotificationStatistics(params *GetAPIKeyNotificationStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyNotificationStatisticsOK, error)

GetAPIKeyNotificationStatistics gets notify statistics by user Id by Api key

func (*Client) PutAPIKeyNotificationID

func (a *Client) PutAPIKeyNotificationID(params *PutAPIKeyNotificationIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyNotificationIDOK, error)

PutAPIKeyNotificationID updates notification by id by Api key

func (*Client) PutAPIKeyNotificationList

func (a *Client) PutAPIKeyNotificationList(params *PutAPIKeyNotificationListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyNotificationListOK, error)

PutAPIKeyNotificationList marks list notification by Api key

status is allow [unread, read]

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 {
	DeleteAPIKeyNotification(params *DeleteAPIKeyNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyNotificationOK, error)

	DeleteAPIKeyNotificationID(params *DeleteAPIKeyNotificationIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyNotificationIDOK, error)

	DeleteAPIKeyNotificationList(params *DeleteAPIKeyNotificationListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyNotificationListOK, error)

	GetAPIKeyNotification(params *GetAPIKeyNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyNotificationOK, error)

	GetAPIKeyNotificationStatistics(params *GetAPIKeyNotificationStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyNotificationStatisticsOK, error)

	PutAPIKeyNotificationID(params *PutAPIKeyNotificationIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyNotificationIDOK, error)

	PutAPIKeyNotificationList(params *PutAPIKeyNotificationListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyNotificationListOK, 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 notification API client.

func NewClientWithBasicAuth

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

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

type DeleteAPIKeyNotificationBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewDeleteAPIKeyNotificationBadRequest

func NewDeleteAPIKeyNotificationBadRequest() *DeleteAPIKeyNotificationBadRequest

NewDeleteAPIKeyNotificationBadRequest creates a DeleteAPIKeyNotificationBadRequest with default headers values

func (*DeleteAPIKeyNotificationBadRequest) Code

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

func (*DeleteAPIKeyNotificationBadRequest) Error

func (*DeleteAPIKeyNotificationBadRequest) GetPayload

func (*DeleteAPIKeyNotificationBadRequest) IsClientError

func (o *DeleteAPIKeyNotificationBadRequest) IsClientError() bool

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

func (*DeleteAPIKeyNotificationBadRequest) IsCode

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

func (*DeleteAPIKeyNotificationBadRequest) IsRedirect

func (o *DeleteAPIKeyNotificationBadRequest) IsRedirect() bool

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

func (*DeleteAPIKeyNotificationBadRequest) IsServerError

func (o *DeleteAPIKeyNotificationBadRequest) IsServerError() bool

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

func (*DeleteAPIKeyNotificationBadRequest) IsSuccess

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

func (*DeleteAPIKeyNotificationBadRequest) String

type DeleteAPIKeyNotificationIDBadRequest

type DeleteAPIKeyNotificationIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewDeleteAPIKeyNotificationIDBadRequest

func NewDeleteAPIKeyNotificationIDBadRequest() *DeleteAPIKeyNotificationIDBadRequest

NewDeleteAPIKeyNotificationIDBadRequest creates a DeleteAPIKeyNotificationIDBadRequest with default headers values

func (*DeleteAPIKeyNotificationIDBadRequest) Code

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

func (*DeleteAPIKeyNotificationIDBadRequest) Error

func (*DeleteAPIKeyNotificationIDBadRequest) GetPayload

func (*DeleteAPIKeyNotificationIDBadRequest) IsClientError

func (o *DeleteAPIKeyNotificationIDBadRequest) IsClientError() bool

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

func (*DeleteAPIKeyNotificationIDBadRequest) IsCode

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

func (*DeleteAPIKeyNotificationIDBadRequest) IsRedirect

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

func (*DeleteAPIKeyNotificationIDBadRequest) IsServerError

func (o *DeleteAPIKeyNotificationIDBadRequest) IsServerError() bool

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

func (*DeleteAPIKeyNotificationIDBadRequest) IsSuccess

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

func (*DeleteAPIKeyNotificationIDBadRequest) String

type DeleteAPIKeyNotificationIDInternalServerError

type DeleteAPIKeyNotificationIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewDeleteAPIKeyNotificationIDInternalServerError

func NewDeleteAPIKeyNotificationIDInternalServerError() *DeleteAPIKeyNotificationIDInternalServerError

NewDeleteAPIKeyNotificationIDInternalServerError creates a DeleteAPIKeyNotificationIDInternalServerError with default headers values

func (*DeleteAPIKeyNotificationIDInternalServerError) Code

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

func (*DeleteAPIKeyNotificationIDInternalServerError) Error

func (*DeleteAPIKeyNotificationIDInternalServerError) GetPayload

func (*DeleteAPIKeyNotificationIDInternalServerError) IsClientError

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

func (*DeleteAPIKeyNotificationIDInternalServerError) IsCode

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

func (*DeleteAPIKeyNotificationIDInternalServerError) IsRedirect

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

func (*DeleteAPIKeyNotificationIDInternalServerError) IsServerError

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

func (*DeleteAPIKeyNotificationIDInternalServerError) IsSuccess

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

func (*DeleteAPIKeyNotificationIDInternalServerError) String

type DeleteAPIKeyNotificationIDOK

type DeleteAPIKeyNotificationIDOK struct {
	Payload *models.ResponseSuccessResponse
}

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

OK

func NewDeleteAPIKeyNotificationIDOK

func NewDeleteAPIKeyNotificationIDOK() *DeleteAPIKeyNotificationIDOK

NewDeleteAPIKeyNotificationIDOK creates a DeleteAPIKeyNotificationIDOK with default headers values

func (*DeleteAPIKeyNotificationIDOK) Code

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

func (*DeleteAPIKeyNotificationIDOK) Error

func (*DeleteAPIKeyNotificationIDOK) GetPayload

func (*DeleteAPIKeyNotificationIDOK) IsClientError

func (o *DeleteAPIKeyNotificationIDOK) IsClientError() bool

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

func (*DeleteAPIKeyNotificationIDOK) IsCode

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

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

func (*DeleteAPIKeyNotificationIDOK) IsRedirect

func (o *DeleteAPIKeyNotificationIDOK) IsRedirect() bool

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

func (*DeleteAPIKeyNotificationIDOK) IsServerError

func (o *DeleteAPIKeyNotificationIDOK) IsServerError() bool

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

func (*DeleteAPIKeyNotificationIDOK) IsSuccess

func (o *DeleteAPIKeyNotificationIDOK) IsSuccess() bool

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

func (*DeleteAPIKeyNotificationIDOK) String

type DeleteAPIKeyNotificationIDParams

type DeleteAPIKeyNotificationIDParams struct {

	/* ID.

	   Notification's id
	*/
	ID string

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

DeleteAPIKeyNotificationIDParams contains all the parameters to send to the API endpoint

for the delete API key notification ID operation.

Typically these are written to a http.Request.

func NewDeleteAPIKeyNotificationIDParams

func NewDeleteAPIKeyNotificationIDParams() *DeleteAPIKeyNotificationIDParams

NewDeleteAPIKeyNotificationIDParams creates a new DeleteAPIKeyNotificationIDParams 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 NewDeleteAPIKeyNotificationIDParamsWithContext

func NewDeleteAPIKeyNotificationIDParamsWithContext(ctx context.Context) *DeleteAPIKeyNotificationIDParams

NewDeleteAPIKeyNotificationIDParamsWithContext creates a new DeleteAPIKeyNotificationIDParams object with the ability to set a context for a request.

func NewDeleteAPIKeyNotificationIDParamsWithHTTPClient

func NewDeleteAPIKeyNotificationIDParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyNotificationIDParams

NewDeleteAPIKeyNotificationIDParamsWithHTTPClient creates a new DeleteAPIKeyNotificationIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIKeyNotificationIDParamsWithTimeout

func NewDeleteAPIKeyNotificationIDParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyNotificationIDParams

NewDeleteAPIKeyNotificationIDParamsWithTimeout creates a new DeleteAPIKeyNotificationIDParams object with the ability to set a timeout on a request.

func (*DeleteAPIKeyNotificationIDParams) SetContext

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

func (*DeleteAPIKeyNotificationIDParams) SetDefaults

func (o *DeleteAPIKeyNotificationIDParams) SetDefaults()

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

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

func (*DeleteAPIKeyNotificationIDParams) SetHTTPClient

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

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

func (*DeleteAPIKeyNotificationIDParams) SetID

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

func (*DeleteAPIKeyNotificationIDParams) SetTimeout

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

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

func (*DeleteAPIKeyNotificationIDParams) WithContext

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

func (*DeleteAPIKeyNotificationIDParams) WithDefaults

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

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

func (*DeleteAPIKeyNotificationIDParams) WithHTTPClient

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

func (*DeleteAPIKeyNotificationIDParams) WithID

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

func (*DeleteAPIKeyNotificationIDParams) WithTimeout

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

func (*DeleteAPIKeyNotificationIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIKeyNotificationIDReader

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

DeleteAPIKeyNotificationIDReader is a Reader for the DeleteAPIKeyNotificationID structure.

func (*DeleteAPIKeyNotificationIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAPIKeyNotificationInternalServerError

type DeleteAPIKeyNotificationInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewDeleteAPIKeyNotificationInternalServerError

func NewDeleteAPIKeyNotificationInternalServerError() *DeleteAPIKeyNotificationInternalServerError

NewDeleteAPIKeyNotificationInternalServerError creates a DeleteAPIKeyNotificationInternalServerError with default headers values

func (*DeleteAPIKeyNotificationInternalServerError) Code

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

func (*DeleteAPIKeyNotificationInternalServerError) Error

func (*DeleteAPIKeyNotificationInternalServerError) GetPayload

func (*DeleteAPIKeyNotificationInternalServerError) IsClientError

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

func (*DeleteAPIKeyNotificationInternalServerError) IsCode

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

func (*DeleteAPIKeyNotificationInternalServerError) IsRedirect

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

func (*DeleteAPIKeyNotificationInternalServerError) IsServerError

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

func (*DeleteAPIKeyNotificationInternalServerError) IsSuccess

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

func (*DeleteAPIKeyNotificationInternalServerError) String

type DeleteAPIKeyNotificationListBadRequest

type DeleteAPIKeyNotificationListBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewDeleteAPIKeyNotificationListBadRequest

func NewDeleteAPIKeyNotificationListBadRequest() *DeleteAPIKeyNotificationListBadRequest

NewDeleteAPIKeyNotificationListBadRequest creates a DeleteAPIKeyNotificationListBadRequest with default headers values

func (*DeleteAPIKeyNotificationListBadRequest) Code

Code gets the status code for the delete Api key notification list bad request response

func (*DeleteAPIKeyNotificationListBadRequest) Error

func (*DeleteAPIKeyNotificationListBadRequest) GetPayload

func (*DeleteAPIKeyNotificationListBadRequest) IsClientError

func (o *DeleteAPIKeyNotificationListBadRequest) IsClientError() bool

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

func (*DeleteAPIKeyNotificationListBadRequest) IsCode

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

func (*DeleteAPIKeyNotificationListBadRequest) IsRedirect

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

func (*DeleteAPIKeyNotificationListBadRequest) IsServerError

func (o *DeleteAPIKeyNotificationListBadRequest) IsServerError() bool

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

func (*DeleteAPIKeyNotificationListBadRequest) IsSuccess

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

func (*DeleteAPIKeyNotificationListBadRequest) String

type DeleteAPIKeyNotificationListInternalServerError

type DeleteAPIKeyNotificationListInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewDeleteAPIKeyNotificationListInternalServerError

func NewDeleteAPIKeyNotificationListInternalServerError() *DeleteAPIKeyNotificationListInternalServerError

NewDeleteAPIKeyNotificationListInternalServerError creates a DeleteAPIKeyNotificationListInternalServerError with default headers values

func (*DeleteAPIKeyNotificationListInternalServerError) Code

Code gets the status code for the delete Api key notification list internal server error response

func (*DeleteAPIKeyNotificationListInternalServerError) Error

func (*DeleteAPIKeyNotificationListInternalServerError) GetPayload

func (*DeleteAPIKeyNotificationListInternalServerError) IsClientError

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

func (*DeleteAPIKeyNotificationListInternalServerError) IsCode

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

func (*DeleteAPIKeyNotificationListInternalServerError) IsRedirect

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

func (*DeleteAPIKeyNotificationListInternalServerError) IsServerError

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

func (*DeleteAPIKeyNotificationListInternalServerError) IsSuccess

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

func (*DeleteAPIKeyNotificationListInternalServerError) String

type DeleteAPIKeyNotificationListOK

type DeleteAPIKeyNotificationListOK struct {
	Payload *models.ResponseSuccessResponse
}

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

OK

func NewDeleteAPIKeyNotificationListOK

func NewDeleteAPIKeyNotificationListOK() *DeleteAPIKeyNotificationListOK

NewDeleteAPIKeyNotificationListOK creates a DeleteAPIKeyNotificationListOK with default headers values

func (*DeleteAPIKeyNotificationListOK) Code

Code gets the status code for the delete Api key notification list o k response

func (*DeleteAPIKeyNotificationListOK) Error

func (*DeleteAPIKeyNotificationListOK) GetPayload

func (*DeleteAPIKeyNotificationListOK) IsClientError

func (o *DeleteAPIKeyNotificationListOK) IsClientError() bool

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

func (*DeleteAPIKeyNotificationListOK) IsCode

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

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

func (*DeleteAPIKeyNotificationListOK) IsRedirect

func (o *DeleteAPIKeyNotificationListOK) IsRedirect() bool

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

func (*DeleteAPIKeyNotificationListOK) IsServerError

func (o *DeleteAPIKeyNotificationListOK) IsServerError() bool

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

func (*DeleteAPIKeyNotificationListOK) IsSuccess

func (o *DeleteAPIKeyNotificationListOK) IsSuccess() bool

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

func (*DeleteAPIKeyNotificationListOK) String

type DeleteAPIKeyNotificationListParams

type DeleteAPIKeyNotificationListParams struct {

	/* Input.

	   Delete Notification By Ids Request
	*/
	Input *models.RequestDeleteNotificationByIdsRequest

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

DeleteAPIKeyNotificationListParams contains all the parameters to send to the API endpoint

for the delete API key notification list operation.

Typically these are written to a http.Request.

func NewDeleteAPIKeyNotificationListParams

func NewDeleteAPIKeyNotificationListParams() *DeleteAPIKeyNotificationListParams

NewDeleteAPIKeyNotificationListParams creates a new DeleteAPIKeyNotificationListParams 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 NewDeleteAPIKeyNotificationListParamsWithContext

func NewDeleteAPIKeyNotificationListParamsWithContext(ctx context.Context) *DeleteAPIKeyNotificationListParams

NewDeleteAPIKeyNotificationListParamsWithContext creates a new DeleteAPIKeyNotificationListParams object with the ability to set a context for a request.

func NewDeleteAPIKeyNotificationListParamsWithHTTPClient

func NewDeleteAPIKeyNotificationListParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyNotificationListParams

NewDeleteAPIKeyNotificationListParamsWithHTTPClient creates a new DeleteAPIKeyNotificationListParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIKeyNotificationListParamsWithTimeout

func NewDeleteAPIKeyNotificationListParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyNotificationListParams

NewDeleteAPIKeyNotificationListParamsWithTimeout creates a new DeleteAPIKeyNotificationListParams object with the ability to set a timeout on a request.

func (*DeleteAPIKeyNotificationListParams) SetContext

SetContext adds the context to the delete API key notification list params

func (*DeleteAPIKeyNotificationListParams) SetDefaults

func (o *DeleteAPIKeyNotificationListParams) SetDefaults()

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

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

func (*DeleteAPIKeyNotificationListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API key notification list params

func (*DeleteAPIKeyNotificationListParams) SetInput

SetInput adds the input to the delete API key notification list params

func (*DeleteAPIKeyNotificationListParams) SetTimeout

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

SetTimeout adds the timeout to the delete API key notification list params

func (*DeleteAPIKeyNotificationListParams) WithContext

WithContext adds the context to the delete API key notification list params

func (*DeleteAPIKeyNotificationListParams) WithDefaults

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

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

func (*DeleteAPIKeyNotificationListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API key notification list params

func (*DeleteAPIKeyNotificationListParams) WithInput

WithInput adds the input to the delete API key notification list params

func (*DeleteAPIKeyNotificationListParams) WithTimeout

WithTimeout adds the timeout to the delete API key notification list params

func (*DeleteAPIKeyNotificationListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIKeyNotificationListReader

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

DeleteAPIKeyNotificationListReader is a Reader for the DeleteAPIKeyNotificationList structure.

func (*DeleteAPIKeyNotificationListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAPIKeyNotificationOK

type DeleteAPIKeyNotificationOK struct {
	Payload *models.ResponseSuccessResponse
}

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

OK

func NewDeleteAPIKeyNotificationOK

func NewDeleteAPIKeyNotificationOK() *DeleteAPIKeyNotificationOK

NewDeleteAPIKeyNotificationOK creates a DeleteAPIKeyNotificationOK with default headers values

func (*DeleteAPIKeyNotificationOK) Code

func (o *DeleteAPIKeyNotificationOK) Code() int

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

func (*DeleteAPIKeyNotificationOK) Error

func (*DeleteAPIKeyNotificationOK) GetPayload

func (*DeleteAPIKeyNotificationOK) IsClientError

func (o *DeleteAPIKeyNotificationOK) IsClientError() bool

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

func (*DeleteAPIKeyNotificationOK) IsCode

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

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

func (*DeleteAPIKeyNotificationOK) IsRedirect

func (o *DeleteAPIKeyNotificationOK) IsRedirect() bool

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

func (*DeleteAPIKeyNotificationOK) IsServerError

func (o *DeleteAPIKeyNotificationOK) IsServerError() bool

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

func (*DeleteAPIKeyNotificationOK) IsSuccess

func (o *DeleteAPIKeyNotificationOK) IsSuccess() bool

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

func (*DeleteAPIKeyNotificationOK) String

func (o *DeleteAPIKeyNotificationOK) String() string

type DeleteAPIKeyNotificationParams

type DeleteAPIKeyNotificationParams struct {

	// Status.
	//
	// Default: "read"
	Status *string

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

DeleteAPIKeyNotificationParams contains all the parameters to send to the API endpoint

for the delete API key notification operation.

Typically these are written to a http.Request.

func NewDeleteAPIKeyNotificationParams

func NewDeleteAPIKeyNotificationParams() *DeleteAPIKeyNotificationParams

NewDeleteAPIKeyNotificationParams creates a new DeleteAPIKeyNotificationParams 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 NewDeleteAPIKeyNotificationParamsWithContext

func NewDeleteAPIKeyNotificationParamsWithContext(ctx context.Context) *DeleteAPIKeyNotificationParams

NewDeleteAPIKeyNotificationParamsWithContext creates a new DeleteAPIKeyNotificationParams object with the ability to set a context for a request.

func NewDeleteAPIKeyNotificationParamsWithHTTPClient

func NewDeleteAPIKeyNotificationParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyNotificationParams

NewDeleteAPIKeyNotificationParamsWithHTTPClient creates a new DeleteAPIKeyNotificationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIKeyNotificationParamsWithTimeout

func NewDeleteAPIKeyNotificationParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyNotificationParams

NewDeleteAPIKeyNotificationParamsWithTimeout creates a new DeleteAPIKeyNotificationParams object with the ability to set a timeout on a request.

func (*DeleteAPIKeyNotificationParams) SetContext

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

SetContext adds the context to the delete API key notification params

func (*DeleteAPIKeyNotificationParams) SetDefaults

func (o *DeleteAPIKeyNotificationParams) SetDefaults()

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

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

func (*DeleteAPIKeyNotificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API key notification params

func (*DeleteAPIKeyNotificationParams) SetStatus

func (o *DeleteAPIKeyNotificationParams) SetStatus(status *string)

SetStatus adds the status to the delete API key notification params

func (*DeleteAPIKeyNotificationParams) SetTimeout

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

SetTimeout adds the timeout to the delete API key notification params

func (*DeleteAPIKeyNotificationParams) WithContext

WithContext adds the context to the delete API key notification params

func (*DeleteAPIKeyNotificationParams) WithDefaults

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

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

func (*DeleteAPIKeyNotificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API key notification params

func (*DeleteAPIKeyNotificationParams) WithStatus

WithStatus adds the status to the delete API key notification params

func (*DeleteAPIKeyNotificationParams) WithTimeout

WithTimeout adds the timeout to the delete API key notification params

func (*DeleteAPIKeyNotificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIKeyNotificationReader

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

DeleteAPIKeyNotificationReader is a Reader for the DeleteAPIKeyNotification structure.

func (*DeleteAPIKeyNotificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIKeyNotificationBadRequest

type GetAPIKeyNotificationBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetAPIKeyNotificationBadRequest

func NewGetAPIKeyNotificationBadRequest() *GetAPIKeyNotificationBadRequest

NewGetAPIKeyNotificationBadRequest creates a GetAPIKeyNotificationBadRequest with default headers values

func (*GetAPIKeyNotificationBadRequest) Code

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

func (*GetAPIKeyNotificationBadRequest) Error

func (*GetAPIKeyNotificationBadRequest) GetPayload

func (*GetAPIKeyNotificationBadRequest) IsClientError

func (o *GetAPIKeyNotificationBadRequest) IsClientError() bool

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

func (*GetAPIKeyNotificationBadRequest) IsCode

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

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

func (*GetAPIKeyNotificationBadRequest) IsRedirect

func (o *GetAPIKeyNotificationBadRequest) IsRedirect() bool

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

func (*GetAPIKeyNotificationBadRequest) IsServerError

func (o *GetAPIKeyNotificationBadRequest) IsServerError() bool

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

func (*GetAPIKeyNotificationBadRequest) IsSuccess

func (o *GetAPIKeyNotificationBadRequest) IsSuccess() bool

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

func (*GetAPIKeyNotificationBadRequest) String

type GetAPIKeyNotificationInternalServerError

type GetAPIKeyNotificationInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetAPIKeyNotificationInternalServerError

func NewGetAPIKeyNotificationInternalServerError() *GetAPIKeyNotificationInternalServerError

NewGetAPIKeyNotificationInternalServerError creates a GetAPIKeyNotificationInternalServerError with default headers values

func (*GetAPIKeyNotificationInternalServerError) Code

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

func (*GetAPIKeyNotificationInternalServerError) Error

func (*GetAPIKeyNotificationInternalServerError) GetPayload

func (*GetAPIKeyNotificationInternalServerError) IsClientError

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

func (*GetAPIKeyNotificationInternalServerError) IsCode

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

func (*GetAPIKeyNotificationInternalServerError) IsRedirect

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

func (*GetAPIKeyNotificationInternalServerError) IsServerError

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

func (*GetAPIKeyNotificationInternalServerError) IsSuccess

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

func (*GetAPIKeyNotificationInternalServerError) String

type GetAPIKeyNotificationOK

type GetAPIKeyNotificationOK struct {
	Payload *models.ResponseListNotificationResponse
}

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

OK

func NewGetAPIKeyNotificationOK

func NewGetAPIKeyNotificationOK() *GetAPIKeyNotificationOK

NewGetAPIKeyNotificationOK creates a GetAPIKeyNotificationOK with default headers values

func (*GetAPIKeyNotificationOK) Code

func (o *GetAPIKeyNotificationOK) Code() int

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

func (*GetAPIKeyNotificationOK) Error

func (o *GetAPIKeyNotificationOK) Error() string

func (*GetAPIKeyNotificationOK) GetPayload

func (*GetAPIKeyNotificationOK) IsClientError

func (o *GetAPIKeyNotificationOK) IsClientError() bool

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

func (*GetAPIKeyNotificationOK) IsCode

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

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

func (*GetAPIKeyNotificationOK) IsRedirect

func (o *GetAPIKeyNotificationOK) IsRedirect() bool

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

func (*GetAPIKeyNotificationOK) IsServerError

func (o *GetAPIKeyNotificationOK) IsServerError() bool

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

func (*GetAPIKeyNotificationOK) IsSuccess

func (o *GetAPIKeyNotificationOK) IsSuccess() bool

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

func (*GetAPIKeyNotificationOK) String

func (o *GetAPIKeyNotificationOK) String() string

type GetAPIKeyNotificationParams

type GetAPIKeyNotificationParams struct {

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

	// Offset.
	Offset *int64

	// Sort.
	Sort *string

	// Status.
	Status *string

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

GetAPIKeyNotificationParams contains all the parameters to send to the API endpoint

for the get API key notification operation.

Typically these are written to a http.Request.

func NewGetAPIKeyNotificationParams

func NewGetAPIKeyNotificationParams() *GetAPIKeyNotificationParams

NewGetAPIKeyNotificationParams creates a new GetAPIKeyNotificationParams 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 NewGetAPIKeyNotificationParamsWithContext

func NewGetAPIKeyNotificationParamsWithContext(ctx context.Context) *GetAPIKeyNotificationParams

NewGetAPIKeyNotificationParamsWithContext creates a new GetAPIKeyNotificationParams object with the ability to set a context for a request.

func NewGetAPIKeyNotificationParamsWithHTTPClient

func NewGetAPIKeyNotificationParamsWithHTTPClient(client *http.Client) *GetAPIKeyNotificationParams

NewGetAPIKeyNotificationParamsWithHTTPClient creates a new GetAPIKeyNotificationParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyNotificationParamsWithTimeout

func NewGetAPIKeyNotificationParamsWithTimeout(timeout time.Duration) *GetAPIKeyNotificationParams

NewGetAPIKeyNotificationParamsWithTimeout creates a new GetAPIKeyNotificationParams object with the ability to set a timeout on a request.

func (*GetAPIKeyNotificationParams) SetContext

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

SetContext adds the context to the get API key notification params

func (*GetAPIKeyNotificationParams) SetDefaults

func (o *GetAPIKeyNotificationParams) SetDefaults()

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

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

func (*GetAPIKeyNotificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key notification params

func (*GetAPIKeyNotificationParams) SetLimit

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

SetLimit adds the limit to the get API key notification params

func (*GetAPIKeyNotificationParams) SetOffset

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

SetOffset adds the offset to the get API key notification params

func (*GetAPIKeyNotificationParams) SetSort

func (o *GetAPIKeyNotificationParams) SetSort(sort *string)

SetSort adds the sort to the get API key notification params

func (*GetAPIKeyNotificationParams) SetStatus

func (o *GetAPIKeyNotificationParams) SetStatus(status *string)

SetStatus adds the status to the get API key notification params

func (*GetAPIKeyNotificationParams) SetTimeout

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

SetTimeout adds the timeout to the get API key notification params

func (*GetAPIKeyNotificationParams) WithContext

WithContext adds the context to the get API key notification params

func (*GetAPIKeyNotificationParams) WithDefaults

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

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

func (*GetAPIKeyNotificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API key notification params

func (*GetAPIKeyNotificationParams) WithLimit

WithLimit adds the limit to the get API key notification params

func (*GetAPIKeyNotificationParams) WithOffset

WithOffset adds the offset to the get API key notification params

func (*GetAPIKeyNotificationParams) WithSort

WithSort adds the sort to the get API key notification params

func (*GetAPIKeyNotificationParams) WithStatus

WithStatus adds the status to the get API key notification params

func (*GetAPIKeyNotificationParams) WithTimeout

WithTimeout adds the timeout to the get API key notification params

func (*GetAPIKeyNotificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyNotificationReader

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

GetAPIKeyNotificationReader is a Reader for the GetAPIKeyNotification structure.

func (*GetAPIKeyNotificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIKeyNotificationStatisticsBadRequest

type GetAPIKeyNotificationStatisticsBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetAPIKeyNotificationStatisticsBadRequest

func NewGetAPIKeyNotificationStatisticsBadRequest() *GetAPIKeyNotificationStatisticsBadRequest

NewGetAPIKeyNotificationStatisticsBadRequest creates a GetAPIKeyNotificationStatisticsBadRequest with default headers values

func (*GetAPIKeyNotificationStatisticsBadRequest) Code

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

func (*GetAPIKeyNotificationStatisticsBadRequest) Error

func (*GetAPIKeyNotificationStatisticsBadRequest) GetPayload

func (*GetAPIKeyNotificationStatisticsBadRequest) IsClientError

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

func (*GetAPIKeyNotificationStatisticsBadRequest) IsCode

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

func (*GetAPIKeyNotificationStatisticsBadRequest) IsRedirect

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

func (*GetAPIKeyNotificationStatisticsBadRequest) IsServerError

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

func (*GetAPIKeyNotificationStatisticsBadRequest) IsSuccess

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

func (*GetAPIKeyNotificationStatisticsBadRequest) String

type GetAPIKeyNotificationStatisticsInternalServerError

type GetAPIKeyNotificationStatisticsInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetAPIKeyNotificationStatisticsInternalServerError

func NewGetAPIKeyNotificationStatisticsInternalServerError() *GetAPIKeyNotificationStatisticsInternalServerError

NewGetAPIKeyNotificationStatisticsInternalServerError creates a GetAPIKeyNotificationStatisticsInternalServerError with default headers values

func (*GetAPIKeyNotificationStatisticsInternalServerError) Code

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

func (*GetAPIKeyNotificationStatisticsInternalServerError) Error

func (*GetAPIKeyNotificationStatisticsInternalServerError) GetPayload

func (*GetAPIKeyNotificationStatisticsInternalServerError) IsClientError

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

func (*GetAPIKeyNotificationStatisticsInternalServerError) IsCode

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

func (*GetAPIKeyNotificationStatisticsInternalServerError) IsRedirect

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

func (*GetAPIKeyNotificationStatisticsInternalServerError) IsServerError

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

func (*GetAPIKeyNotificationStatisticsInternalServerError) IsSuccess

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

func (*GetAPIKeyNotificationStatisticsInternalServerError) String

type GetAPIKeyNotificationStatisticsOK

type GetAPIKeyNotificationStatisticsOK struct {
	Payload *models.ResponseNotificationStatisticsResponse
}

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

OK

func NewGetAPIKeyNotificationStatisticsOK

func NewGetAPIKeyNotificationStatisticsOK() *GetAPIKeyNotificationStatisticsOK

NewGetAPIKeyNotificationStatisticsOK creates a GetAPIKeyNotificationStatisticsOK with default headers values

func (*GetAPIKeyNotificationStatisticsOK) Code

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

func (*GetAPIKeyNotificationStatisticsOK) Error

func (*GetAPIKeyNotificationStatisticsOK) GetPayload

func (*GetAPIKeyNotificationStatisticsOK) IsClientError

func (o *GetAPIKeyNotificationStatisticsOK) IsClientError() bool

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

func (*GetAPIKeyNotificationStatisticsOK) IsCode

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

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

func (*GetAPIKeyNotificationStatisticsOK) IsRedirect

func (o *GetAPIKeyNotificationStatisticsOK) IsRedirect() bool

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

func (*GetAPIKeyNotificationStatisticsOK) IsServerError

func (o *GetAPIKeyNotificationStatisticsOK) IsServerError() bool

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

func (*GetAPIKeyNotificationStatisticsOK) IsSuccess

func (o *GetAPIKeyNotificationStatisticsOK) IsSuccess() bool

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

func (*GetAPIKeyNotificationStatisticsOK) String

type GetAPIKeyNotificationStatisticsParams

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

GetAPIKeyNotificationStatisticsParams contains all the parameters to send to the API endpoint

for the get API key notification statistics operation.

Typically these are written to a http.Request.

func NewGetAPIKeyNotificationStatisticsParams

func NewGetAPIKeyNotificationStatisticsParams() *GetAPIKeyNotificationStatisticsParams

NewGetAPIKeyNotificationStatisticsParams creates a new GetAPIKeyNotificationStatisticsParams 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 NewGetAPIKeyNotificationStatisticsParamsWithContext

func NewGetAPIKeyNotificationStatisticsParamsWithContext(ctx context.Context) *GetAPIKeyNotificationStatisticsParams

NewGetAPIKeyNotificationStatisticsParamsWithContext creates a new GetAPIKeyNotificationStatisticsParams object with the ability to set a context for a request.

func NewGetAPIKeyNotificationStatisticsParamsWithHTTPClient

func NewGetAPIKeyNotificationStatisticsParamsWithHTTPClient(client *http.Client) *GetAPIKeyNotificationStatisticsParams

NewGetAPIKeyNotificationStatisticsParamsWithHTTPClient creates a new GetAPIKeyNotificationStatisticsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyNotificationStatisticsParamsWithTimeout

func NewGetAPIKeyNotificationStatisticsParamsWithTimeout(timeout time.Duration) *GetAPIKeyNotificationStatisticsParams

NewGetAPIKeyNotificationStatisticsParamsWithTimeout creates a new GetAPIKeyNotificationStatisticsParams object with the ability to set a timeout on a request.

func (*GetAPIKeyNotificationStatisticsParams) SetContext

SetContext adds the context to the get API key notification statistics params

func (*GetAPIKeyNotificationStatisticsParams) SetDefaults

func (o *GetAPIKeyNotificationStatisticsParams) SetDefaults()

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

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

func (*GetAPIKeyNotificationStatisticsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key notification statistics params

func (*GetAPIKeyNotificationStatisticsParams) SetTimeout

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

SetTimeout adds the timeout to the get API key notification statistics params

func (*GetAPIKeyNotificationStatisticsParams) WithContext

WithContext adds the context to the get API key notification statistics params

func (*GetAPIKeyNotificationStatisticsParams) WithDefaults

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

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

func (*GetAPIKeyNotificationStatisticsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API key notification statistics params

func (*GetAPIKeyNotificationStatisticsParams) WithTimeout

WithTimeout adds the timeout to the get API key notification statistics params

func (*GetAPIKeyNotificationStatisticsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyNotificationStatisticsReader

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

GetAPIKeyNotificationStatisticsReader is a Reader for the GetAPIKeyNotificationStatistics structure.

func (*GetAPIKeyNotificationStatisticsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAPIKeyNotificationIDBadRequest

type PutAPIKeyNotificationIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPutAPIKeyNotificationIDBadRequest

func NewPutAPIKeyNotificationIDBadRequest() *PutAPIKeyNotificationIDBadRequest

NewPutAPIKeyNotificationIDBadRequest creates a PutAPIKeyNotificationIDBadRequest with default headers values

func (*PutAPIKeyNotificationIDBadRequest) Code

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

func (*PutAPIKeyNotificationIDBadRequest) Error

func (*PutAPIKeyNotificationIDBadRequest) GetPayload

func (*PutAPIKeyNotificationIDBadRequest) IsClientError

func (o *PutAPIKeyNotificationIDBadRequest) IsClientError() bool

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

func (*PutAPIKeyNotificationIDBadRequest) IsCode

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

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

func (*PutAPIKeyNotificationIDBadRequest) IsRedirect

func (o *PutAPIKeyNotificationIDBadRequest) IsRedirect() bool

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

func (*PutAPIKeyNotificationIDBadRequest) IsServerError

func (o *PutAPIKeyNotificationIDBadRequest) IsServerError() bool

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

func (*PutAPIKeyNotificationIDBadRequest) IsSuccess

func (o *PutAPIKeyNotificationIDBadRequest) IsSuccess() bool

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

func (*PutAPIKeyNotificationIDBadRequest) String

type PutAPIKeyNotificationIDInternalServerError

type PutAPIKeyNotificationIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPutAPIKeyNotificationIDInternalServerError

func NewPutAPIKeyNotificationIDInternalServerError() *PutAPIKeyNotificationIDInternalServerError

NewPutAPIKeyNotificationIDInternalServerError creates a PutAPIKeyNotificationIDInternalServerError with default headers values

func (*PutAPIKeyNotificationIDInternalServerError) Code

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

func (*PutAPIKeyNotificationIDInternalServerError) Error

func (*PutAPIKeyNotificationIDInternalServerError) GetPayload

func (*PutAPIKeyNotificationIDInternalServerError) IsClientError

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

func (*PutAPIKeyNotificationIDInternalServerError) IsCode

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

func (*PutAPIKeyNotificationIDInternalServerError) IsRedirect

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

func (*PutAPIKeyNotificationIDInternalServerError) IsServerError

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

func (*PutAPIKeyNotificationIDInternalServerError) IsSuccess

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

func (*PutAPIKeyNotificationIDInternalServerError) String

type PutAPIKeyNotificationIDOK

type PutAPIKeyNotificationIDOK struct {
	Payload *models.ResponseSuccessResponse
}

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

OK

func NewPutAPIKeyNotificationIDOK

func NewPutAPIKeyNotificationIDOK() *PutAPIKeyNotificationIDOK

NewPutAPIKeyNotificationIDOK creates a PutAPIKeyNotificationIDOK with default headers values

func (*PutAPIKeyNotificationIDOK) Code

func (o *PutAPIKeyNotificationIDOK) Code() int

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

func (*PutAPIKeyNotificationIDOK) Error

func (o *PutAPIKeyNotificationIDOK) Error() string

func (*PutAPIKeyNotificationIDOK) GetPayload

func (*PutAPIKeyNotificationIDOK) IsClientError

func (o *PutAPIKeyNotificationIDOK) IsClientError() bool

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

func (*PutAPIKeyNotificationIDOK) IsCode

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

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

func (*PutAPIKeyNotificationIDOK) IsRedirect

func (o *PutAPIKeyNotificationIDOK) IsRedirect() bool

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

func (*PutAPIKeyNotificationIDOK) IsServerError

func (o *PutAPIKeyNotificationIDOK) IsServerError() bool

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

func (*PutAPIKeyNotificationIDOK) IsSuccess

func (o *PutAPIKeyNotificationIDOK) IsSuccess() bool

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

func (*PutAPIKeyNotificationIDOK) String

func (o *PutAPIKeyNotificationIDOK) String() string

type PutAPIKeyNotificationIDParams

type PutAPIKeyNotificationIDParams struct {

	/* ID.

	   Notification's id
	*/
	ID string

	/* Input.

	   Update Notification By Id Request
	*/
	Input *models.RequestUpdateNotificationByIDRequest

	/* Status.

	   Notification status
	*/
	Status string

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

PutAPIKeyNotificationIDParams contains all the parameters to send to the API endpoint

for the put API key notification ID operation.

Typically these are written to a http.Request.

func NewPutAPIKeyNotificationIDParams

func NewPutAPIKeyNotificationIDParams() *PutAPIKeyNotificationIDParams

NewPutAPIKeyNotificationIDParams creates a new PutAPIKeyNotificationIDParams 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 NewPutAPIKeyNotificationIDParamsWithContext

func NewPutAPIKeyNotificationIDParamsWithContext(ctx context.Context) *PutAPIKeyNotificationIDParams

NewPutAPIKeyNotificationIDParamsWithContext creates a new PutAPIKeyNotificationIDParams object with the ability to set a context for a request.

func NewPutAPIKeyNotificationIDParamsWithHTTPClient

func NewPutAPIKeyNotificationIDParamsWithHTTPClient(client *http.Client) *PutAPIKeyNotificationIDParams

NewPutAPIKeyNotificationIDParamsWithHTTPClient creates a new PutAPIKeyNotificationIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutAPIKeyNotificationIDParamsWithTimeout

func NewPutAPIKeyNotificationIDParamsWithTimeout(timeout time.Duration) *PutAPIKeyNotificationIDParams

NewPutAPIKeyNotificationIDParamsWithTimeout creates a new PutAPIKeyNotificationIDParams object with the ability to set a timeout on a request.

func (*PutAPIKeyNotificationIDParams) SetContext

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

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

func (*PutAPIKeyNotificationIDParams) SetDefaults

func (o *PutAPIKeyNotificationIDParams) SetDefaults()

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

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

func (*PutAPIKeyNotificationIDParams) SetHTTPClient

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

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

func (*PutAPIKeyNotificationIDParams) SetID

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

func (*PutAPIKeyNotificationIDParams) SetInput

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

func (*PutAPIKeyNotificationIDParams) SetStatus

func (o *PutAPIKeyNotificationIDParams) SetStatus(status string)

SetStatus adds the status to the put API key notification ID params

func (*PutAPIKeyNotificationIDParams) SetTimeout

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

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

func (*PutAPIKeyNotificationIDParams) WithContext

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

func (*PutAPIKeyNotificationIDParams) WithDefaults

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

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

func (*PutAPIKeyNotificationIDParams) WithHTTPClient

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

func (*PutAPIKeyNotificationIDParams) WithID

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

func (*PutAPIKeyNotificationIDParams) WithInput

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

func (*PutAPIKeyNotificationIDParams) WithStatus

WithStatus adds the status to the put API key notification ID params

func (*PutAPIKeyNotificationIDParams) WithTimeout

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

func (*PutAPIKeyNotificationIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutAPIKeyNotificationIDReader

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

PutAPIKeyNotificationIDReader is a Reader for the PutAPIKeyNotificationID structure.

func (*PutAPIKeyNotificationIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAPIKeyNotificationListBadRequest

type PutAPIKeyNotificationListBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPutAPIKeyNotificationListBadRequest

func NewPutAPIKeyNotificationListBadRequest() *PutAPIKeyNotificationListBadRequest

NewPutAPIKeyNotificationListBadRequest creates a PutAPIKeyNotificationListBadRequest with default headers values

func (*PutAPIKeyNotificationListBadRequest) Code

Code gets the status code for the put Api key notification list bad request response

func (*PutAPIKeyNotificationListBadRequest) Error

func (*PutAPIKeyNotificationListBadRequest) GetPayload

func (*PutAPIKeyNotificationListBadRequest) IsClientError

func (o *PutAPIKeyNotificationListBadRequest) IsClientError() bool

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

func (*PutAPIKeyNotificationListBadRequest) IsCode

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

func (*PutAPIKeyNotificationListBadRequest) IsRedirect

func (o *PutAPIKeyNotificationListBadRequest) IsRedirect() bool

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

func (*PutAPIKeyNotificationListBadRequest) IsServerError

func (o *PutAPIKeyNotificationListBadRequest) IsServerError() bool

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

func (*PutAPIKeyNotificationListBadRequest) IsSuccess

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

func (*PutAPIKeyNotificationListBadRequest) String

type PutAPIKeyNotificationListInternalServerError

type PutAPIKeyNotificationListInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPutAPIKeyNotificationListInternalServerError

func NewPutAPIKeyNotificationListInternalServerError() *PutAPIKeyNotificationListInternalServerError

NewPutAPIKeyNotificationListInternalServerError creates a PutAPIKeyNotificationListInternalServerError with default headers values

func (*PutAPIKeyNotificationListInternalServerError) Code

Code gets the status code for the put Api key notification list internal server error response

func (*PutAPIKeyNotificationListInternalServerError) Error

func (*PutAPIKeyNotificationListInternalServerError) GetPayload

func (*PutAPIKeyNotificationListInternalServerError) IsClientError

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

func (*PutAPIKeyNotificationListInternalServerError) IsCode

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

func (*PutAPIKeyNotificationListInternalServerError) IsRedirect

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

func (*PutAPIKeyNotificationListInternalServerError) IsServerError

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

func (*PutAPIKeyNotificationListInternalServerError) IsSuccess

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

func (*PutAPIKeyNotificationListInternalServerError) String

type PutAPIKeyNotificationListOK

type PutAPIKeyNotificationListOK struct {
	Payload *models.ResponseSuccessResponse
}

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

OK

func NewPutAPIKeyNotificationListOK

func NewPutAPIKeyNotificationListOK() *PutAPIKeyNotificationListOK

NewPutAPIKeyNotificationListOK creates a PutAPIKeyNotificationListOK with default headers values

func (*PutAPIKeyNotificationListOK) Code

func (o *PutAPIKeyNotificationListOK) Code() int

Code gets the status code for the put Api key notification list o k response

func (*PutAPIKeyNotificationListOK) Error

func (*PutAPIKeyNotificationListOK) GetPayload

func (*PutAPIKeyNotificationListOK) IsClientError

func (o *PutAPIKeyNotificationListOK) IsClientError() bool

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

func (*PutAPIKeyNotificationListOK) IsCode

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

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

func (*PutAPIKeyNotificationListOK) IsRedirect

func (o *PutAPIKeyNotificationListOK) IsRedirect() bool

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

func (*PutAPIKeyNotificationListOK) IsServerError

func (o *PutAPIKeyNotificationListOK) IsServerError() bool

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

func (*PutAPIKeyNotificationListOK) IsSuccess

func (o *PutAPIKeyNotificationListOK) IsSuccess() bool

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

func (*PutAPIKeyNotificationListOK) String

func (o *PutAPIKeyNotificationListOK) String() string

type PutAPIKeyNotificationListParams

type PutAPIKeyNotificationListParams struct {

	/* Input.

	   Mark List Notification Request
	*/
	Input *models.RequestUpdateListNotificationStatusByIdsRequest

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

PutAPIKeyNotificationListParams contains all the parameters to send to the API endpoint

for the put API key notification list operation.

Typically these are written to a http.Request.

func NewPutAPIKeyNotificationListParams

func NewPutAPIKeyNotificationListParams() *PutAPIKeyNotificationListParams

NewPutAPIKeyNotificationListParams creates a new PutAPIKeyNotificationListParams 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 NewPutAPIKeyNotificationListParamsWithContext

func NewPutAPIKeyNotificationListParamsWithContext(ctx context.Context) *PutAPIKeyNotificationListParams

NewPutAPIKeyNotificationListParamsWithContext creates a new PutAPIKeyNotificationListParams object with the ability to set a context for a request.

func NewPutAPIKeyNotificationListParamsWithHTTPClient

func NewPutAPIKeyNotificationListParamsWithHTTPClient(client *http.Client) *PutAPIKeyNotificationListParams

NewPutAPIKeyNotificationListParamsWithHTTPClient creates a new PutAPIKeyNotificationListParams object with the ability to set a custom HTTPClient for a request.

func NewPutAPIKeyNotificationListParamsWithTimeout

func NewPutAPIKeyNotificationListParamsWithTimeout(timeout time.Duration) *PutAPIKeyNotificationListParams

NewPutAPIKeyNotificationListParamsWithTimeout creates a new PutAPIKeyNotificationListParams object with the ability to set a timeout on a request.

func (*PutAPIKeyNotificationListParams) SetContext

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

SetContext adds the context to the put API key notification list params

func (*PutAPIKeyNotificationListParams) SetDefaults

func (o *PutAPIKeyNotificationListParams) SetDefaults()

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

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

func (*PutAPIKeyNotificationListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put API key notification list params

func (*PutAPIKeyNotificationListParams) SetInput

SetInput adds the input to the put API key notification list params

func (*PutAPIKeyNotificationListParams) SetTimeout

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

SetTimeout adds the timeout to the put API key notification list params

func (*PutAPIKeyNotificationListParams) WithContext

WithContext adds the context to the put API key notification list params

func (*PutAPIKeyNotificationListParams) WithDefaults

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

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

func (*PutAPIKeyNotificationListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put API key notification list params

func (*PutAPIKeyNotificationListParams) WithInput

WithInput adds the input to the put API key notification list params

func (*PutAPIKeyNotificationListParams) WithTimeout

WithTimeout adds the timeout to the put API key notification list params

func (*PutAPIKeyNotificationListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutAPIKeyNotificationListReader

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

PutAPIKeyNotificationListReader is a Reader for the PutAPIKeyNotificationList structure.

func (*PutAPIKeyNotificationListReader) ReadResponse

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