api_keys

package
v0.0.0-...-d4d7cce Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAPIkeyBadRequest

type AddAPIkeyBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewAddAPIkeyBadRequest

func NewAddAPIkeyBadRequest() *AddAPIkeyBadRequest

NewAddAPIkeyBadRequest creates a AddAPIkeyBadRequest with default headers values

func (*AddAPIkeyBadRequest) Error

func (o *AddAPIkeyBadRequest) Error() string

func (*AddAPIkeyBadRequest) GetPayload

func (o *AddAPIkeyBadRequest) GetPayload() *models.ErrorResponseBody

type AddAPIkeyConflict

type AddAPIkeyConflict struct {
	Payload *models.ErrorResponseBody
}

AddAPIkeyConflict describes a response with status code 409, with default header values.

ConflictError

func NewAddAPIkeyConflict

func NewAddAPIkeyConflict() *AddAPIkeyConflict

NewAddAPIkeyConflict creates a AddAPIkeyConflict with default headers values

func (*AddAPIkeyConflict) Error

func (o *AddAPIkeyConflict) Error() string

func (*AddAPIkeyConflict) GetPayload

func (o *AddAPIkeyConflict) GetPayload() *models.ErrorResponseBody

type AddAPIkeyForbidden

type AddAPIkeyForbidden struct {
	Payload *models.ErrorResponseBody
}

AddAPIkeyForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewAddAPIkeyForbidden

func NewAddAPIkeyForbidden() *AddAPIkeyForbidden

NewAddAPIkeyForbidden creates a AddAPIkeyForbidden with default headers values

func (*AddAPIkeyForbidden) Error

func (o *AddAPIkeyForbidden) Error() string

func (*AddAPIkeyForbidden) GetPayload

func (o *AddAPIkeyForbidden) GetPayload() *models.ErrorResponseBody

type AddAPIkeyInternalServerError

type AddAPIkeyInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewAddAPIkeyInternalServerError

func NewAddAPIkeyInternalServerError() *AddAPIkeyInternalServerError

NewAddAPIkeyInternalServerError creates a AddAPIkeyInternalServerError with default headers values

func (*AddAPIkeyInternalServerError) Error

func (*AddAPIkeyInternalServerError) GetPayload

type AddAPIkeyOK

type AddAPIkeyOK struct {
	Payload *models.NewAPIKeyResult
}

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

(empty)

func NewAddAPIkeyOK

func NewAddAPIkeyOK() *AddAPIkeyOK

NewAddAPIkeyOK creates a AddAPIkeyOK with default headers values

func (*AddAPIkeyOK) Error

func (o *AddAPIkeyOK) Error() string

func (*AddAPIkeyOK) GetPayload

func (o *AddAPIkeyOK) GetPayload() *models.NewAPIKeyResult

type AddAPIkeyParams

type AddAPIkeyParams struct {

	// Body.
	Body *models.AddCommand

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

AddAPIkeyParams contains all the parameters to send to the API endpoint

for the add a p ikey operation.

Typically these are written to a http.Request.

func NewAddAPIkeyParams

func NewAddAPIkeyParams() *AddAPIkeyParams

NewAddAPIkeyParams creates a new AddAPIkeyParams 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 NewAddAPIkeyParamsWithContext

func NewAddAPIkeyParamsWithContext(ctx context.Context) *AddAPIkeyParams

NewAddAPIkeyParamsWithContext creates a new AddAPIkeyParams object with the ability to set a context for a request.

func NewAddAPIkeyParamsWithHTTPClient

func NewAddAPIkeyParamsWithHTTPClient(client *http.Client) *AddAPIkeyParams

NewAddAPIkeyParamsWithHTTPClient creates a new AddAPIkeyParams object with the ability to set a custom HTTPClient for a request.

func NewAddAPIkeyParamsWithTimeout

func NewAddAPIkeyParamsWithTimeout(timeout time.Duration) *AddAPIkeyParams

NewAddAPIkeyParamsWithTimeout creates a new AddAPIkeyParams object with the ability to set a timeout on a request.

func (*AddAPIkeyParams) SetBody

func (o *AddAPIkeyParams) SetBody(body *models.AddCommand)

SetBody adds the body to the add a p ikey params

func (*AddAPIkeyParams) SetContext

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

SetContext adds the context to the add a p ikey params

func (*AddAPIkeyParams) SetDefaults

func (o *AddAPIkeyParams) SetDefaults()

SetDefaults hydrates default values in the add a p ikey params (not the query body).

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

func (*AddAPIkeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add a p ikey params

func (*AddAPIkeyParams) SetTimeout

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

SetTimeout adds the timeout to the add a p ikey params

func (*AddAPIkeyParams) WithBody

func (o *AddAPIkeyParams) WithBody(body *models.AddCommand) *AddAPIkeyParams

WithBody adds the body to the add a p ikey params

func (*AddAPIkeyParams) WithContext

func (o *AddAPIkeyParams) WithContext(ctx context.Context) *AddAPIkeyParams

WithContext adds the context to the add a p ikey params

func (*AddAPIkeyParams) WithDefaults

func (o *AddAPIkeyParams) WithDefaults() *AddAPIkeyParams

WithDefaults hydrates default values in the add a p ikey params (not the query body).

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

func (*AddAPIkeyParams) WithHTTPClient

func (o *AddAPIkeyParams) WithHTTPClient(client *http.Client) *AddAPIkeyParams

WithHTTPClient adds the HTTPClient to the add a p ikey params

func (*AddAPIkeyParams) WithTimeout

func (o *AddAPIkeyParams) WithTimeout(timeout time.Duration) *AddAPIkeyParams

WithTimeout adds the timeout to the add a p ikey params

func (*AddAPIkeyParams) WriteToRequest

func (o *AddAPIkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddAPIkeyReader

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

AddAPIkeyReader is a Reader for the AddAPIkey structure.

func (*AddAPIkeyReader) ReadResponse

func (o *AddAPIkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddAPIkeyUnauthorized

type AddAPIkeyUnauthorized struct {
	Payload *models.ErrorResponseBody
}

AddAPIkeyUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewAddAPIkeyUnauthorized

func NewAddAPIkeyUnauthorized() *AddAPIkeyUnauthorized

NewAddAPIkeyUnauthorized creates a AddAPIkeyUnauthorized with default headers values

func (*AddAPIkeyUnauthorized) Error

func (o *AddAPIkeyUnauthorized) Error() string

func (*AddAPIkeyUnauthorized) GetPayload

type Client

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

Client for api keys API

func (*Client) AddAPIkey

func (a *Client) AddAPIkey(params *AddAPIkeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddAPIkeyOK, error)

AddAPIkey creates an API key

Will return details of the created API key.

func (*Client) DeleteAPIkey

func (a *Client) DeleteAPIkey(params *DeleteAPIkeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIkeyOK, error)
DeleteAPIkey deletes API key

Deletes an API key.

Deprecated. See: https://grafana.com/docs/grafana/next/administration/api-keys/#migrate-api-keys-to-grafana-service-accounts-using-the-api.

func (*Client) GetAPIkeys deprecated

func (a *Client) GetAPIkeys(params *GetAPIkeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIkeysOK, error)
GetAPIkeys gets auth keys

Will return auth keys.

Deprecated: true.

Deprecated. Please use GET /api/serviceaccounts and GET /api/serviceaccounts/{id}/tokens instead see https://grafana.com/docs/grafana/next/administration/api-keys/#migrate-api-keys-to-grafana-service-accounts-using-the-api.

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 is the option for Client methods

type ClientService

type ClientService interface {
	AddAPIkey(params *AddAPIkeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddAPIkeyOK, error)

	DeleteAPIkey(params *DeleteAPIkeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIkeyOK, error)

	GetAPIkeys(params *GetAPIkeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIkeysOK, 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 keys API client.

type DeleteAPIkeyForbidden

type DeleteAPIkeyForbidden struct {
	Payload *models.ErrorResponseBody
}

DeleteAPIkeyForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteAPIkeyForbidden

func NewDeleteAPIkeyForbidden() *DeleteAPIkeyForbidden

NewDeleteAPIkeyForbidden creates a DeleteAPIkeyForbidden with default headers values

func (*DeleteAPIkeyForbidden) Error

func (o *DeleteAPIkeyForbidden) Error() string

func (*DeleteAPIkeyForbidden) GetPayload

type DeleteAPIkeyInternalServerError

type DeleteAPIkeyInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteAPIkeyInternalServerError

func NewDeleteAPIkeyInternalServerError() *DeleteAPIkeyInternalServerError

NewDeleteAPIkeyInternalServerError creates a DeleteAPIkeyInternalServerError with default headers values

func (*DeleteAPIkeyInternalServerError) Error

func (*DeleteAPIkeyInternalServerError) GetPayload

type DeleteAPIkeyNotFound

type DeleteAPIkeyNotFound struct {
	Payload *models.ErrorResponseBody
}

DeleteAPIkeyNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDeleteAPIkeyNotFound

func NewDeleteAPIkeyNotFound() *DeleteAPIkeyNotFound

NewDeleteAPIkeyNotFound creates a DeleteAPIkeyNotFound with default headers values

func (*DeleteAPIkeyNotFound) Error

func (o *DeleteAPIkeyNotFound) Error() string

func (*DeleteAPIkeyNotFound) GetPayload

type DeleteAPIkeyOK

type DeleteAPIkeyOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewDeleteAPIkeyOK

func NewDeleteAPIkeyOK() *DeleteAPIkeyOK

NewDeleteAPIkeyOK creates a DeleteAPIkeyOK with default headers values

func (*DeleteAPIkeyOK) Error

func (o *DeleteAPIkeyOK) Error() string

func (*DeleteAPIkeyOK) GetPayload

func (o *DeleteAPIkeyOK) GetPayload() *models.SuccessResponseBody

type DeleteAPIkeyParams

type DeleteAPIkeyParams struct {

	// ID.
	//
	// Format: int64
	ID int64

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

DeleteAPIkeyParams contains all the parameters to send to the API endpoint

for the delete a p ikey operation.

Typically these are written to a http.Request.

func NewDeleteAPIkeyParams

func NewDeleteAPIkeyParams() *DeleteAPIkeyParams

NewDeleteAPIkeyParams creates a new DeleteAPIkeyParams 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 NewDeleteAPIkeyParamsWithContext

func NewDeleteAPIkeyParamsWithContext(ctx context.Context) *DeleteAPIkeyParams

NewDeleteAPIkeyParamsWithContext creates a new DeleteAPIkeyParams object with the ability to set a context for a request.

func NewDeleteAPIkeyParamsWithHTTPClient

func NewDeleteAPIkeyParamsWithHTTPClient(client *http.Client) *DeleteAPIkeyParams

NewDeleteAPIkeyParamsWithHTTPClient creates a new DeleteAPIkeyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIkeyParamsWithTimeout

func NewDeleteAPIkeyParamsWithTimeout(timeout time.Duration) *DeleteAPIkeyParams

NewDeleteAPIkeyParamsWithTimeout creates a new DeleteAPIkeyParams object with the ability to set a timeout on a request.

func (*DeleteAPIkeyParams) SetContext

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

SetContext adds the context to the delete a p ikey params

func (*DeleteAPIkeyParams) SetDefaults

func (o *DeleteAPIkeyParams) SetDefaults()

SetDefaults hydrates default values in the delete a p ikey params (not the query body).

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

func (*DeleteAPIkeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete a p ikey params

func (*DeleteAPIkeyParams) SetID

func (o *DeleteAPIkeyParams) SetID(id int64)

SetID adds the id to the delete a p ikey params

func (*DeleteAPIkeyParams) SetTimeout

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

SetTimeout adds the timeout to the delete a p ikey params

func (*DeleteAPIkeyParams) WithContext

WithContext adds the context to the delete a p ikey params

func (*DeleteAPIkeyParams) WithDefaults

func (o *DeleteAPIkeyParams) WithDefaults() *DeleteAPIkeyParams

WithDefaults hydrates default values in the delete a p ikey params (not the query body).

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

func (*DeleteAPIkeyParams) WithHTTPClient

func (o *DeleteAPIkeyParams) WithHTTPClient(client *http.Client) *DeleteAPIkeyParams

WithHTTPClient adds the HTTPClient to the delete a p ikey params

func (*DeleteAPIkeyParams) WithID

WithID adds the id to the delete a p ikey params

func (*DeleteAPIkeyParams) WithTimeout

func (o *DeleteAPIkeyParams) WithTimeout(timeout time.Duration) *DeleteAPIkeyParams

WithTimeout adds the timeout to the delete a p ikey params

func (*DeleteAPIkeyParams) WriteToRequest

func (o *DeleteAPIkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteAPIkeyReader

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

DeleteAPIkeyReader is a Reader for the DeleteAPIkey structure.

func (*DeleteAPIkeyReader) ReadResponse

func (o *DeleteAPIkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAPIkeyUnauthorized

type DeleteAPIkeyUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeleteAPIkeyUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteAPIkeyUnauthorized

func NewDeleteAPIkeyUnauthorized() *DeleteAPIkeyUnauthorized

NewDeleteAPIkeyUnauthorized creates a DeleteAPIkeyUnauthorized with default headers values

func (*DeleteAPIkeyUnauthorized) Error

func (o *DeleteAPIkeyUnauthorized) Error() string

func (*DeleteAPIkeyUnauthorized) GetPayload

type GetAPIkeysForbidden

type GetAPIkeysForbidden struct {
	Payload *models.ErrorResponseBody
}

GetAPIkeysForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetAPIkeysForbidden

func NewGetAPIkeysForbidden() *GetAPIkeysForbidden

NewGetAPIkeysForbidden creates a GetAPIkeysForbidden with default headers values

func (*GetAPIkeysForbidden) Error

func (o *GetAPIkeysForbidden) Error() string

func (*GetAPIkeysForbidden) GetPayload

func (o *GetAPIkeysForbidden) GetPayload() *models.ErrorResponseBody

type GetAPIkeysInternalServerError

type GetAPIkeysInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetAPIkeysInternalServerError

func NewGetAPIkeysInternalServerError() *GetAPIkeysInternalServerError

NewGetAPIkeysInternalServerError creates a GetAPIkeysInternalServerError with default headers values

func (*GetAPIkeysInternalServerError) Error

func (*GetAPIkeysInternalServerError) GetPayload

type GetAPIkeysNotFound

type GetAPIkeysNotFound struct {
	Payload *models.ErrorResponseBody
}

GetAPIkeysNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetAPIkeysNotFound

func NewGetAPIkeysNotFound() *GetAPIkeysNotFound

NewGetAPIkeysNotFound creates a GetAPIkeysNotFound with default headers values

func (*GetAPIkeysNotFound) Error

func (o *GetAPIkeysNotFound) Error() string

func (*GetAPIkeysNotFound) GetPayload

func (o *GetAPIkeysNotFound) GetPayload() *models.ErrorResponseBody

type GetAPIkeysOK

type GetAPIkeysOK struct {
	Payload []*models.APIKeyDTO
}

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

(empty)

func NewGetAPIkeysOK

func NewGetAPIkeysOK() *GetAPIkeysOK

NewGetAPIkeysOK creates a GetAPIkeysOK with default headers values

func (*GetAPIkeysOK) Error

func (o *GetAPIkeysOK) Error() string

func (*GetAPIkeysOK) GetPayload

func (o *GetAPIkeysOK) GetPayload() []*models.APIKeyDTO

type GetAPIkeysParams

type GetAPIkeysParams struct {

	/* IncludeExpired.

	   Show expired keys
	*/
	IncludeExpired *bool

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

GetAPIkeysParams contains all the parameters to send to the API endpoint

for the get a p ikeys operation.

Typically these are written to a http.Request.

func NewGetAPIkeysParams

func NewGetAPIkeysParams() *GetAPIkeysParams

NewGetAPIkeysParams creates a new GetAPIkeysParams 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 NewGetAPIkeysParamsWithContext

func NewGetAPIkeysParamsWithContext(ctx context.Context) *GetAPIkeysParams

NewGetAPIkeysParamsWithContext creates a new GetAPIkeysParams object with the ability to set a context for a request.

func NewGetAPIkeysParamsWithHTTPClient

func NewGetAPIkeysParamsWithHTTPClient(client *http.Client) *GetAPIkeysParams

NewGetAPIkeysParamsWithHTTPClient creates a new GetAPIkeysParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIkeysParamsWithTimeout

func NewGetAPIkeysParamsWithTimeout(timeout time.Duration) *GetAPIkeysParams

NewGetAPIkeysParamsWithTimeout creates a new GetAPIkeysParams object with the ability to set a timeout on a request.

func (*GetAPIkeysParams) SetContext

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

SetContext adds the context to the get a p ikeys params

func (*GetAPIkeysParams) SetDefaults

func (o *GetAPIkeysParams) SetDefaults()

SetDefaults hydrates default values in the get a p ikeys params (not the query body).

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

func (*GetAPIkeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get a p ikeys params

func (*GetAPIkeysParams) SetIncludeExpired

func (o *GetAPIkeysParams) SetIncludeExpired(includeExpired *bool)

SetIncludeExpired adds the includeExpired to the get a p ikeys params

func (*GetAPIkeysParams) SetTimeout

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

SetTimeout adds the timeout to the get a p ikeys params

func (*GetAPIkeysParams) WithContext

func (o *GetAPIkeysParams) WithContext(ctx context.Context) *GetAPIkeysParams

WithContext adds the context to the get a p ikeys params

func (*GetAPIkeysParams) WithDefaults

func (o *GetAPIkeysParams) WithDefaults() *GetAPIkeysParams

WithDefaults hydrates default values in the get a p ikeys params (not the query body).

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

func (*GetAPIkeysParams) WithHTTPClient

func (o *GetAPIkeysParams) WithHTTPClient(client *http.Client) *GetAPIkeysParams

WithHTTPClient adds the HTTPClient to the get a p ikeys params

func (*GetAPIkeysParams) WithIncludeExpired

func (o *GetAPIkeysParams) WithIncludeExpired(includeExpired *bool) *GetAPIkeysParams

WithIncludeExpired adds the includeExpired to the get a p ikeys params

func (*GetAPIkeysParams) WithTimeout

func (o *GetAPIkeysParams) WithTimeout(timeout time.Duration) *GetAPIkeysParams

WithTimeout adds the timeout to the get a p ikeys params

func (*GetAPIkeysParams) WriteToRequest

func (o *GetAPIkeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAPIkeysReader

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

GetAPIkeysReader is a Reader for the GetAPIkeys structure.

func (*GetAPIkeysReader) ReadResponse

func (o *GetAPIkeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAPIkeysUnauthorized

type GetAPIkeysUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetAPIkeysUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetAPIkeysUnauthorized

func NewGetAPIkeysUnauthorized() *GetAPIkeysUnauthorized

NewGetAPIkeysUnauthorized creates a GetAPIkeysUnauthorized with default headers values

func (*GetAPIkeysUnauthorized) Error

func (o *GetAPIkeysUnauthorized) Error() string

func (*GetAPIkeysUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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