usage

package
Version: v0.0.0-...-e264ba6 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   GetUsageQueryExecutionIDResults gets the results of a usage query
	*/
	GetUsageQueryExecutionIDResults(ctx context.Context, params *GetUsageQueryExecutionIDResultsParams) (*GetUsageQueryExecutionIDResultsOK, error)
	/*
	   PostUsageQuery queries organization API usage
	   After calling this method, you will then need to poll for the query results based on the returned execution Id
	*/
	PostUsageQuery(ctx context.Context, params *PostUsageQueryParams) (*PostUsageQueryOK, *PostUsageQueryAccepted, error)
}

API is the interface of the usage client

type Client

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

Client for usage API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client

New creates a new usage API client.

func (*Client) GetUsageQueryExecutionIDResults

func (a *Client) GetUsageQueryExecutionIDResults(ctx context.Context, params *GetUsageQueryExecutionIDResultsParams) (*GetUsageQueryExecutionIDResultsOK, error)

GetUsageQueryExecutionIDResults gets the results of a usage query

func (*Client) PostUsageQuery

PostUsageQuery queries organization API usage

After calling this method, you will then need to poll for the query results based on the returned execution Id

type GetUsageQueryExecutionIDResultsBadRequest

type GetUsageQueryExecutionIDResultsBadRequest struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsBadRequest handles this case with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetUsageQueryExecutionIDResultsBadRequest

func NewGetUsageQueryExecutionIDResultsBadRequest() *GetUsageQueryExecutionIDResultsBadRequest

NewGetUsageQueryExecutionIDResultsBadRequest creates a GetUsageQueryExecutionIDResultsBadRequest with default headers values

func (*GetUsageQueryExecutionIDResultsBadRequest) Error

func (*GetUsageQueryExecutionIDResultsBadRequest) GetPayload

type GetUsageQueryExecutionIDResultsForbidden

type GetUsageQueryExecutionIDResultsForbidden struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsForbidden handles this case with default header values.

You are not authorized to perform the requested action.

func NewGetUsageQueryExecutionIDResultsForbidden

func NewGetUsageQueryExecutionIDResultsForbidden() *GetUsageQueryExecutionIDResultsForbidden

NewGetUsageQueryExecutionIDResultsForbidden creates a GetUsageQueryExecutionIDResultsForbidden with default headers values

func (*GetUsageQueryExecutionIDResultsForbidden) Error

func (*GetUsageQueryExecutionIDResultsForbidden) GetPayload

type GetUsageQueryExecutionIDResultsGatewayTimeout

type GetUsageQueryExecutionIDResultsGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsGatewayTimeout handles this case with default header values.

The request timed out.

func NewGetUsageQueryExecutionIDResultsGatewayTimeout

func NewGetUsageQueryExecutionIDResultsGatewayTimeout() *GetUsageQueryExecutionIDResultsGatewayTimeout

NewGetUsageQueryExecutionIDResultsGatewayTimeout creates a GetUsageQueryExecutionIDResultsGatewayTimeout with default headers values

func (*GetUsageQueryExecutionIDResultsGatewayTimeout) Error

func (*GetUsageQueryExecutionIDResultsGatewayTimeout) GetPayload

type GetUsageQueryExecutionIDResultsInternalServerError

type GetUsageQueryExecutionIDResultsInternalServerError struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsInternalServerError handles this case with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetUsageQueryExecutionIDResultsInternalServerError

func NewGetUsageQueryExecutionIDResultsInternalServerError() *GetUsageQueryExecutionIDResultsInternalServerError

NewGetUsageQueryExecutionIDResultsInternalServerError creates a GetUsageQueryExecutionIDResultsInternalServerError with default headers values

func (*GetUsageQueryExecutionIDResultsInternalServerError) Error

func (*GetUsageQueryExecutionIDResultsInternalServerError) GetPayload

type GetUsageQueryExecutionIDResultsNotFound

type GetUsageQueryExecutionIDResultsNotFound struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsNotFound handles this case with default header values.

The requested resource was not found.

func NewGetUsageQueryExecutionIDResultsNotFound

func NewGetUsageQueryExecutionIDResultsNotFound() *GetUsageQueryExecutionIDResultsNotFound

NewGetUsageQueryExecutionIDResultsNotFound creates a GetUsageQueryExecutionIDResultsNotFound with default headers values

func (*GetUsageQueryExecutionIDResultsNotFound) Error

func (*GetUsageQueryExecutionIDResultsNotFound) GetPayload

type GetUsageQueryExecutionIDResultsOK

type GetUsageQueryExecutionIDResultsOK struct {
	Payload *models.APIUsageQueryResult
}

GetUsageQueryExecutionIDResultsOK handles this case with default header values.

successful operation

func NewGetUsageQueryExecutionIDResultsOK

func NewGetUsageQueryExecutionIDResultsOK() *GetUsageQueryExecutionIDResultsOK

NewGetUsageQueryExecutionIDResultsOK creates a GetUsageQueryExecutionIDResultsOK with default headers values

func (*GetUsageQueryExecutionIDResultsOK) Error

func (*GetUsageQueryExecutionIDResultsOK) GetPayload

type GetUsageQueryExecutionIDResultsParams

type GetUsageQueryExecutionIDResultsParams struct {

	/*ExecutionID
	  ID of the query execution

	*/
	ExecutionID string

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

GetUsageQueryExecutionIDResultsParams contains all the parameters to send to the API endpoint for the get usage query execution Id results operation typically these are written to a http.Request

func NewGetUsageQueryExecutionIDResultsParams

func NewGetUsageQueryExecutionIDResultsParams() *GetUsageQueryExecutionIDResultsParams

NewGetUsageQueryExecutionIDResultsParams creates a new GetUsageQueryExecutionIDResultsParams object with the default values initialized.

func NewGetUsageQueryExecutionIDResultsParamsWithContext

func NewGetUsageQueryExecutionIDResultsParamsWithContext(ctx context.Context) *GetUsageQueryExecutionIDResultsParams

NewGetUsageQueryExecutionIDResultsParamsWithContext creates a new GetUsageQueryExecutionIDResultsParams object with the default values initialized, and the ability to set a context for a request

func NewGetUsageQueryExecutionIDResultsParamsWithHTTPClient

func NewGetUsageQueryExecutionIDResultsParamsWithHTTPClient(client *http.Client) *GetUsageQueryExecutionIDResultsParams

NewGetUsageQueryExecutionIDResultsParamsWithHTTPClient creates a new GetUsageQueryExecutionIDResultsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUsageQueryExecutionIDResultsParamsWithTimeout

func NewGetUsageQueryExecutionIDResultsParamsWithTimeout(timeout time.Duration) *GetUsageQueryExecutionIDResultsParams

NewGetUsageQueryExecutionIDResultsParamsWithTimeout creates a new GetUsageQueryExecutionIDResultsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUsageQueryExecutionIDResultsParams) SetContext

SetContext adds the context to the get usage query execution Id results params

func (*GetUsageQueryExecutionIDResultsParams) SetExecutionID

func (o *GetUsageQueryExecutionIDResultsParams) SetExecutionID(executionID string)

SetExecutionID adds the executionId to the get usage query execution Id results params

func (*GetUsageQueryExecutionIDResultsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get usage query execution Id results params

func (*GetUsageQueryExecutionIDResultsParams) SetTimeout

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

SetTimeout adds the timeout to the get usage query execution Id results params

func (*GetUsageQueryExecutionIDResultsParams) WithContext

WithContext adds the context to the get usage query execution Id results params

func (*GetUsageQueryExecutionIDResultsParams) WithExecutionID

WithExecutionID adds the executionID to the get usage query execution Id results params

func (*GetUsageQueryExecutionIDResultsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get usage query execution Id results params

func (*GetUsageQueryExecutionIDResultsParams) WithTimeout

WithTimeout adds the timeout to the get usage query execution Id results params

func (*GetUsageQueryExecutionIDResultsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUsageQueryExecutionIDResultsReader

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

GetUsageQueryExecutionIDResultsReader is a Reader for the GetUsageQueryExecutionIDResults structure.

func (*GetUsageQueryExecutionIDResultsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsageQueryExecutionIDResultsRequestEntityTooLarge

type GetUsageQueryExecutionIDResultsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsRequestEntityTooLarge handles this case with default header values.

The request is over the size limit. Content-Length: %s

func NewGetUsageQueryExecutionIDResultsRequestEntityTooLarge

func NewGetUsageQueryExecutionIDResultsRequestEntityTooLarge() *GetUsageQueryExecutionIDResultsRequestEntityTooLarge

NewGetUsageQueryExecutionIDResultsRequestEntityTooLarge creates a GetUsageQueryExecutionIDResultsRequestEntityTooLarge with default headers values

func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) Error

func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) GetPayload

type GetUsageQueryExecutionIDResultsRequestTimeout

type GetUsageQueryExecutionIDResultsRequestTimeout struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsRequestTimeout handles this case with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetUsageQueryExecutionIDResultsRequestTimeout

func NewGetUsageQueryExecutionIDResultsRequestTimeout() *GetUsageQueryExecutionIDResultsRequestTimeout

NewGetUsageQueryExecutionIDResultsRequestTimeout creates a GetUsageQueryExecutionIDResultsRequestTimeout with default headers values

func (*GetUsageQueryExecutionIDResultsRequestTimeout) Error

func (*GetUsageQueryExecutionIDResultsRequestTimeout) GetPayload

type GetUsageQueryExecutionIDResultsServiceUnavailable

type GetUsageQueryExecutionIDResultsServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsServiceUnavailable handles this case with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetUsageQueryExecutionIDResultsServiceUnavailable

func NewGetUsageQueryExecutionIDResultsServiceUnavailable() *GetUsageQueryExecutionIDResultsServiceUnavailable

NewGetUsageQueryExecutionIDResultsServiceUnavailable creates a GetUsageQueryExecutionIDResultsServiceUnavailable with default headers values

func (*GetUsageQueryExecutionIDResultsServiceUnavailable) Error

func (*GetUsageQueryExecutionIDResultsServiceUnavailable) GetPayload

type GetUsageQueryExecutionIDResultsTooManyRequests

type GetUsageQueryExecutionIDResultsTooManyRequests struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsTooManyRequests handles this case with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetUsageQueryExecutionIDResultsTooManyRequests

func NewGetUsageQueryExecutionIDResultsTooManyRequests() *GetUsageQueryExecutionIDResultsTooManyRequests

NewGetUsageQueryExecutionIDResultsTooManyRequests creates a GetUsageQueryExecutionIDResultsTooManyRequests with default headers values

func (*GetUsageQueryExecutionIDResultsTooManyRequests) Error

func (*GetUsageQueryExecutionIDResultsTooManyRequests) GetPayload

type GetUsageQueryExecutionIDResultsUnauthorized

type GetUsageQueryExecutionIDResultsUnauthorized struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsUnauthorized handles this case with default header values.

No authentication bearer token specified in authorization header.

func NewGetUsageQueryExecutionIDResultsUnauthorized

func NewGetUsageQueryExecutionIDResultsUnauthorized() *GetUsageQueryExecutionIDResultsUnauthorized

NewGetUsageQueryExecutionIDResultsUnauthorized creates a GetUsageQueryExecutionIDResultsUnauthorized with default headers values

func (*GetUsageQueryExecutionIDResultsUnauthorized) Error

func (*GetUsageQueryExecutionIDResultsUnauthorized) GetPayload

type GetUsageQueryExecutionIDResultsUnsupportedMediaType

type GetUsageQueryExecutionIDResultsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsUnsupportedMediaType handles this case with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetUsageQueryExecutionIDResultsUnsupportedMediaType

func NewGetUsageQueryExecutionIDResultsUnsupportedMediaType() *GetUsageQueryExecutionIDResultsUnsupportedMediaType

NewGetUsageQueryExecutionIDResultsUnsupportedMediaType creates a GetUsageQueryExecutionIDResultsUnsupportedMediaType with default headers values

func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) Error

func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) GetPayload

type PostUsageQueryAccepted

type PostUsageQueryAccepted struct {
	Payload *models.UsageExecutionResult
}

PostUsageQueryAccepted handles this case with default header values.

Execution not completed, check back for results

func NewPostUsageQueryAccepted

func NewPostUsageQueryAccepted() *PostUsageQueryAccepted

NewPostUsageQueryAccepted creates a PostUsageQueryAccepted with default headers values

func (*PostUsageQueryAccepted) Error

func (o *PostUsageQueryAccepted) Error() string

func (*PostUsageQueryAccepted) GetPayload

type PostUsageQueryBadRequest

type PostUsageQueryBadRequest struct {
	Payload *models.ErrorBody
}

PostUsageQueryBadRequest handles this case with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPostUsageQueryBadRequest

func NewPostUsageQueryBadRequest() *PostUsageQueryBadRequest

NewPostUsageQueryBadRequest creates a PostUsageQueryBadRequest with default headers values

func (*PostUsageQueryBadRequest) Error

func (o *PostUsageQueryBadRequest) Error() string

func (*PostUsageQueryBadRequest) GetPayload

func (o *PostUsageQueryBadRequest) GetPayload() *models.ErrorBody

type PostUsageQueryForbidden

type PostUsageQueryForbidden struct {
	Payload *models.ErrorBody
}

PostUsageQueryForbidden handles this case with default header values.

You are not authorized to perform the requested action.

func NewPostUsageQueryForbidden

func NewPostUsageQueryForbidden() *PostUsageQueryForbidden

NewPostUsageQueryForbidden creates a PostUsageQueryForbidden with default headers values

func (*PostUsageQueryForbidden) Error

func (o *PostUsageQueryForbidden) Error() string

func (*PostUsageQueryForbidden) GetPayload

func (o *PostUsageQueryForbidden) GetPayload() *models.ErrorBody

type PostUsageQueryGatewayTimeout

type PostUsageQueryGatewayTimeout struct {
	Payload *models.ErrorBody
}

PostUsageQueryGatewayTimeout handles this case with default header values.

The request timed out.

func NewPostUsageQueryGatewayTimeout

func NewPostUsageQueryGatewayTimeout() *PostUsageQueryGatewayTimeout

NewPostUsageQueryGatewayTimeout creates a PostUsageQueryGatewayTimeout with default headers values

func (*PostUsageQueryGatewayTimeout) Error

func (*PostUsageQueryGatewayTimeout) GetPayload

type PostUsageQueryInternalServerError

type PostUsageQueryInternalServerError struct {
	Payload *models.ErrorBody
}

PostUsageQueryInternalServerError handles this case with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPostUsageQueryInternalServerError

func NewPostUsageQueryInternalServerError() *PostUsageQueryInternalServerError

NewPostUsageQueryInternalServerError creates a PostUsageQueryInternalServerError with default headers values

func (*PostUsageQueryInternalServerError) Error

func (*PostUsageQueryInternalServerError) GetPayload

type PostUsageQueryNotFound

type PostUsageQueryNotFound struct {
	Payload *models.ErrorBody
}

PostUsageQueryNotFound handles this case with default header values.

The requested resource was not found.

func NewPostUsageQueryNotFound

func NewPostUsageQueryNotFound() *PostUsageQueryNotFound

NewPostUsageQueryNotFound creates a PostUsageQueryNotFound with default headers values

func (*PostUsageQueryNotFound) Error

func (o *PostUsageQueryNotFound) Error() string

func (*PostUsageQueryNotFound) GetPayload

func (o *PostUsageQueryNotFound) GetPayload() *models.ErrorBody

type PostUsageQueryOK

type PostUsageQueryOK struct {
	Payload *models.UsageExecutionResult
}

PostUsageQueryOK handles this case with default header values.

successful operation

func NewPostUsageQueryOK

func NewPostUsageQueryOK() *PostUsageQueryOK

NewPostUsageQueryOK creates a PostUsageQueryOK with default headers values

func (*PostUsageQueryOK) Error

func (o *PostUsageQueryOK) Error() string

func (*PostUsageQueryOK) GetPayload

func (o *PostUsageQueryOK) GetPayload() *models.UsageExecutionResult

type PostUsageQueryParams

type PostUsageQueryParams struct {

	/*Body
	  Query

	*/
	Body *models.APIUsageQuery

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

PostUsageQueryParams contains all the parameters to send to the API endpoint for the post usage query operation typically these are written to a http.Request

func NewPostUsageQueryParams

func NewPostUsageQueryParams() *PostUsageQueryParams

NewPostUsageQueryParams creates a new PostUsageQueryParams object with the default values initialized.

func NewPostUsageQueryParamsWithContext

func NewPostUsageQueryParamsWithContext(ctx context.Context) *PostUsageQueryParams

NewPostUsageQueryParamsWithContext creates a new PostUsageQueryParams object with the default values initialized, and the ability to set a context for a request

func NewPostUsageQueryParamsWithHTTPClient

func NewPostUsageQueryParamsWithHTTPClient(client *http.Client) *PostUsageQueryParams

NewPostUsageQueryParamsWithHTTPClient creates a new PostUsageQueryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostUsageQueryParamsWithTimeout

func NewPostUsageQueryParamsWithTimeout(timeout time.Duration) *PostUsageQueryParams

NewPostUsageQueryParamsWithTimeout creates a new PostUsageQueryParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostUsageQueryParams) SetBody

func (o *PostUsageQueryParams) SetBody(body *models.APIUsageQuery)

SetBody adds the body to the post usage query params

func (*PostUsageQueryParams) SetContext

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

SetContext adds the context to the post usage query params

func (*PostUsageQueryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post usage query params

func (*PostUsageQueryParams) SetTimeout

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

SetTimeout adds the timeout to the post usage query params

func (*PostUsageQueryParams) WithBody

WithBody adds the body to the post usage query params

func (*PostUsageQueryParams) WithContext

WithContext adds the context to the post usage query params

func (*PostUsageQueryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post usage query params

func (*PostUsageQueryParams) WithTimeout

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

WithTimeout adds the timeout to the post usage query params

func (*PostUsageQueryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostUsageQueryReader

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

PostUsageQueryReader is a Reader for the PostUsageQuery structure.

func (*PostUsageQueryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUsageQueryRequestEntityTooLarge

type PostUsageQueryRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PostUsageQueryRequestEntityTooLarge handles this case with default header values.

The request is over the size limit. Content-Length: %s

func NewPostUsageQueryRequestEntityTooLarge

func NewPostUsageQueryRequestEntityTooLarge() *PostUsageQueryRequestEntityTooLarge

NewPostUsageQueryRequestEntityTooLarge creates a PostUsageQueryRequestEntityTooLarge with default headers values

func (*PostUsageQueryRequestEntityTooLarge) Error

func (*PostUsageQueryRequestEntityTooLarge) GetPayload

type PostUsageQueryRequestTimeout

type PostUsageQueryRequestTimeout struct {
	Payload *models.ErrorBody
}

PostUsageQueryRequestTimeout handles this case with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPostUsageQueryRequestTimeout

func NewPostUsageQueryRequestTimeout() *PostUsageQueryRequestTimeout

NewPostUsageQueryRequestTimeout creates a PostUsageQueryRequestTimeout with default headers values

func (*PostUsageQueryRequestTimeout) Error

func (*PostUsageQueryRequestTimeout) GetPayload

type PostUsageQueryServiceUnavailable

type PostUsageQueryServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostUsageQueryServiceUnavailable handles this case with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPostUsageQueryServiceUnavailable

func NewPostUsageQueryServiceUnavailable() *PostUsageQueryServiceUnavailable

NewPostUsageQueryServiceUnavailable creates a PostUsageQueryServiceUnavailable with default headers values

func (*PostUsageQueryServiceUnavailable) Error

func (*PostUsageQueryServiceUnavailable) GetPayload

type PostUsageQueryTooManyRequests

type PostUsageQueryTooManyRequests struct {
	Payload *models.ErrorBody
}

PostUsageQueryTooManyRequests handles this case with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPostUsageQueryTooManyRequests

func NewPostUsageQueryTooManyRequests() *PostUsageQueryTooManyRequests

NewPostUsageQueryTooManyRequests creates a PostUsageQueryTooManyRequests with default headers values

func (*PostUsageQueryTooManyRequests) Error

func (*PostUsageQueryTooManyRequests) GetPayload

type PostUsageQueryUnauthorized

type PostUsageQueryUnauthorized struct {
	Payload *models.ErrorBody
}

PostUsageQueryUnauthorized handles this case with default header values.

No authentication bearer token specified in authorization header.

func NewPostUsageQueryUnauthorized

func NewPostUsageQueryUnauthorized() *PostUsageQueryUnauthorized

NewPostUsageQueryUnauthorized creates a PostUsageQueryUnauthorized with default headers values

func (*PostUsageQueryUnauthorized) Error

func (*PostUsageQueryUnauthorized) GetPayload

func (o *PostUsageQueryUnauthorized) GetPayload() *models.ErrorBody

type PostUsageQueryUnsupportedMediaType

type PostUsageQueryUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostUsageQueryUnsupportedMediaType handles this case with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPostUsageQueryUnsupportedMediaType

func NewPostUsageQueryUnsupportedMediaType() *PostUsageQueryUnsupportedMediaType

NewPostUsageQueryUnsupportedMediaType creates a PostUsageQueryUnsupportedMediaType with default headers values

func (*PostUsageQueryUnsupportedMediaType) Error

func (*PostUsageQueryUnsupportedMediaType) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL