usage

package
v0.0.0-...-e2f0fdc Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 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 describes a response with status code 400, 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

func (*GetUsageQueryExecutionIDResultsBadRequest) IsClientError

IsClientError returns true when this get usage query execution Id results bad request response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsBadRequest) IsCode

IsCode returns true when this get usage query execution Id results bad request response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsBadRequest) IsRedirect

IsRedirect returns true when this get usage query execution Id results bad request response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsBadRequest) IsServerError

IsServerError returns true when this get usage query execution Id results bad request response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsBadRequest) IsSuccess

IsSuccess returns true when this get usage query execution Id results bad request response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsBadRequest) String

type GetUsageQueryExecutionIDResultsForbidden

type GetUsageQueryExecutionIDResultsForbidden struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsForbidden describes a response with status code 403, 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

func (*GetUsageQueryExecutionIDResultsForbidden) IsClientError

IsClientError returns true when this get usage query execution Id results forbidden response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsForbidden) IsCode

IsCode returns true when this get usage query execution Id results forbidden response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsForbidden) IsRedirect

IsRedirect returns true when this get usage query execution Id results forbidden response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsForbidden) IsServerError

IsServerError returns true when this get usage query execution Id results forbidden response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsForbidden) IsSuccess

IsSuccess returns true when this get usage query execution Id results forbidden response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsForbidden) String

type GetUsageQueryExecutionIDResultsGatewayTimeout

type GetUsageQueryExecutionIDResultsGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsGatewayTimeout describes a response with status code 504, 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

func (*GetUsageQueryExecutionIDResultsGatewayTimeout) IsClientError

IsClientError returns true when this get usage query execution Id results gateway timeout response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsGatewayTimeout) IsCode

IsCode returns true when this get usage query execution Id results gateway timeout response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsGatewayTimeout) IsRedirect

IsRedirect returns true when this get usage query execution Id results gateway timeout response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsGatewayTimeout) IsServerError

IsServerError returns true when this get usage query execution Id results gateway timeout response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsGatewayTimeout) IsSuccess

IsSuccess returns true when this get usage query execution Id results gateway timeout response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsGatewayTimeout) String

type GetUsageQueryExecutionIDResultsInternalServerError

type GetUsageQueryExecutionIDResultsInternalServerError struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsInternalServerError describes a response with status code 500, 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

func (*GetUsageQueryExecutionIDResultsInternalServerError) IsClientError

IsClientError returns true when this get usage query execution Id results internal server error response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsInternalServerError) IsCode

IsCode returns true when this get usage query execution Id results internal server error response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsInternalServerError) IsRedirect

IsRedirect returns true when this get usage query execution Id results internal server error response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsInternalServerError) IsServerError

IsServerError returns true when this get usage query execution Id results internal server error response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsInternalServerError) IsSuccess

IsSuccess returns true when this get usage query execution Id results internal server error response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsInternalServerError) String

type GetUsageQueryExecutionIDResultsNotFound

type GetUsageQueryExecutionIDResultsNotFound struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsNotFound describes a response with status code 404, 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

func (*GetUsageQueryExecutionIDResultsNotFound) IsClientError

func (o *GetUsageQueryExecutionIDResultsNotFound) IsClientError() bool

IsClientError returns true when this get usage query execution Id results not found response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsNotFound) IsCode

IsCode returns true when this get usage query execution Id results not found response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsNotFound) IsRedirect

IsRedirect returns true when this get usage query execution Id results not found response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsNotFound) IsServerError

func (o *GetUsageQueryExecutionIDResultsNotFound) IsServerError() bool

IsServerError returns true when this get usage query execution Id results not found response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsNotFound) IsSuccess

IsSuccess returns true when this get usage query execution Id results not found response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsNotFound) String

type GetUsageQueryExecutionIDResultsOK

type GetUsageQueryExecutionIDResultsOK struct {
	Payload *models.APIUsageQueryResult
}

GetUsageQueryExecutionIDResultsOK describes a response with status code 200, 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

func (*GetUsageQueryExecutionIDResultsOK) IsClientError

func (o *GetUsageQueryExecutionIDResultsOK) IsClientError() bool

IsClientError returns true when this get usage query execution Id results o k response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsOK) IsCode

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

IsCode returns true when this get usage query execution Id results o k response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsOK) IsRedirect

func (o *GetUsageQueryExecutionIDResultsOK) IsRedirect() bool

IsRedirect returns true when this get usage query execution Id results o k response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsOK) IsServerError

func (o *GetUsageQueryExecutionIDResultsOK) IsServerError() bool

IsServerError returns true when this get usage query execution Id results o k response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsOK) IsSuccess

func (o *GetUsageQueryExecutionIDResultsOK) IsSuccess() bool

IsSuccess returns true when this get usage query execution Id results o k response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsOK) String

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 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 NewGetUsageQueryExecutionIDResultsParamsWithContext

func NewGetUsageQueryExecutionIDResultsParamsWithContext(ctx context.Context) *GetUsageQueryExecutionIDResultsParams

NewGetUsageQueryExecutionIDResultsParamsWithContext creates a new GetUsageQueryExecutionIDResultsParams object with 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 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 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) SetDefaults

func (o *GetUsageQueryExecutionIDResultsParams) SetDefaults()

SetDefaults hydrates default values in the get usage query execution Id results params (not the query body).

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

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) WithDefaults

WithDefaults hydrates default values in the get usage query execution Id results params (not the query body).

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

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 describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetUsageQueryExecutionIDResultsRequestEntityTooLarge

func NewGetUsageQueryExecutionIDResultsRequestEntityTooLarge() *GetUsageQueryExecutionIDResultsRequestEntityTooLarge

NewGetUsageQueryExecutionIDResultsRequestEntityTooLarge creates a GetUsageQueryExecutionIDResultsRequestEntityTooLarge with default headers values

func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) Error

func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) GetPayload

func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsClientError

IsClientError returns true when this get usage query execution Id results request entity too large response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsCode

IsCode returns true when this get usage query execution Id results request entity too large response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get usage query execution Id results request entity too large response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsServerError

IsServerError returns true when this get usage query execution Id results request entity too large response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get usage query execution Id results request entity too large response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) String

type GetUsageQueryExecutionIDResultsRequestTimeout

type GetUsageQueryExecutionIDResultsRequestTimeout struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsRequestTimeout describes a response with status code 408, 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

func (*GetUsageQueryExecutionIDResultsRequestTimeout) IsClientError

IsClientError returns true when this get usage query execution Id results request timeout response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsRequestTimeout) IsCode

IsCode returns true when this get usage query execution Id results request timeout response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsRequestTimeout) IsRedirect

IsRedirect returns true when this get usage query execution Id results request timeout response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsRequestTimeout) IsServerError

IsServerError returns true when this get usage query execution Id results request timeout response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsRequestTimeout) IsSuccess

IsSuccess returns true when this get usage query execution Id results request timeout response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsRequestTimeout) String

type GetUsageQueryExecutionIDResultsServiceUnavailable

type GetUsageQueryExecutionIDResultsServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsServiceUnavailable describes a response with status code 503, 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

func (*GetUsageQueryExecutionIDResultsServiceUnavailable) IsClientError

IsClientError returns true when this get usage query execution Id results service unavailable response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsServiceUnavailable) IsCode

IsCode returns true when this get usage query execution Id results service unavailable response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsServiceUnavailable) IsRedirect

IsRedirect returns true when this get usage query execution Id results service unavailable response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsServiceUnavailable) IsServerError

IsServerError returns true when this get usage query execution Id results service unavailable response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsServiceUnavailable) IsSuccess

IsSuccess returns true when this get usage query execution Id results service unavailable response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsServiceUnavailable) String

type GetUsageQueryExecutionIDResultsTooManyRequests

type GetUsageQueryExecutionIDResultsTooManyRequests struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsTooManyRequests describes a response with status code 429, 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

func (*GetUsageQueryExecutionIDResultsTooManyRequests) IsClientError

IsClientError returns true when this get usage query execution Id results too many requests response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsTooManyRequests) IsCode

IsCode returns true when this get usage query execution Id results too many requests response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsTooManyRequests) IsRedirect

IsRedirect returns true when this get usage query execution Id results too many requests response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsTooManyRequests) IsServerError

IsServerError returns true when this get usage query execution Id results too many requests response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsTooManyRequests) IsSuccess

IsSuccess returns true when this get usage query execution Id results too many requests response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsTooManyRequests) String

type GetUsageQueryExecutionIDResultsUnauthorized

type GetUsageQueryExecutionIDResultsUnauthorized struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsUnauthorized describes a response with status code 401, 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

func (*GetUsageQueryExecutionIDResultsUnauthorized) IsClientError

IsClientError returns true when this get usage query execution Id results unauthorized response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsUnauthorized) IsCode

IsCode returns true when this get usage query execution Id results unauthorized response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsUnauthorized) IsRedirect

IsRedirect returns true when this get usage query execution Id results unauthorized response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsUnauthorized) IsServerError

IsServerError returns true when this get usage query execution Id results unauthorized response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsUnauthorized) IsSuccess

IsSuccess returns true when this get usage query execution Id results unauthorized response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsUnauthorized) String

type GetUsageQueryExecutionIDResultsUnsupportedMediaType

type GetUsageQueryExecutionIDResultsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetUsageQueryExecutionIDResultsUnsupportedMediaType describes a response with status code 415, 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

func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsClientError

IsClientError returns true when this get usage query execution Id results unsupported media type response has a 4xx status code

func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsCode

IsCode returns true when this get usage query execution Id results unsupported media type response a status code equal to that given

func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get usage query execution Id results unsupported media type response has a 3xx status code

func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsServerError

IsServerError returns true when this get usage query execution Id results unsupported media type response has a 5xx status code

func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get usage query execution Id results unsupported media type response has a 2xx status code

func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) String

type PostUsageQueryAccepted

type PostUsageQueryAccepted struct {
	Payload *models.UsageExecutionResult
}

PostUsageQueryAccepted describes a response with status code 202, 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

func (*PostUsageQueryAccepted) IsClientError

func (o *PostUsageQueryAccepted) IsClientError() bool

IsClientError returns true when this post usage query accepted response has a 4xx status code

func (*PostUsageQueryAccepted) IsCode

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

IsCode returns true when this post usage query accepted response a status code equal to that given

func (*PostUsageQueryAccepted) IsRedirect

func (o *PostUsageQueryAccepted) IsRedirect() bool

IsRedirect returns true when this post usage query accepted response has a 3xx status code

func (*PostUsageQueryAccepted) IsServerError

func (o *PostUsageQueryAccepted) IsServerError() bool

IsServerError returns true when this post usage query accepted response has a 5xx status code

func (*PostUsageQueryAccepted) IsSuccess

func (o *PostUsageQueryAccepted) IsSuccess() bool

IsSuccess returns true when this post usage query accepted response has a 2xx status code

func (*PostUsageQueryAccepted) String

func (o *PostUsageQueryAccepted) String() string

type PostUsageQueryBadRequest

type PostUsageQueryBadRequest struct {
	Payload *models.ErrorBody
}

PostUsageQueryBadRequest describes a response with status code 400, 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

func (*PostUsageQueryBadRequest) IsClientError

func (o *PostUsageQueryBadRequest) IsClientError() bool

IsClientError returns true when this post usage query bad request response has a 4xx status code

func (*PostUsageQueryBadRequest) IsCode

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

IsCode returns true when this post usage query bad request response a status code equal to that given

func (*PostUsageQueryBadRequest) IsRedirect

func (o *PostUsageQueryBadRequest) IsRedirect() bool

IsRedirect returns true when this post usage query bad request response has a 3xx status code

func (*PostUsageQueryBadRequest) IsServerError

func (o *PostUsageQueryBadRequest) IsServerError() bool

IsServerError returns true when this post usage query bad request response has a 5xx status code

func (*PostUsageQueryBadRequest) IsSuccess

func (o *PostUsageQueryBadRequest) IsSuccess() bool

IsSuccess returns true when this post usage query bad request response has a 2xx status code

func (*PostUsageQueryBadRequest) String

func (o *PostUsageQueryBadRequest) String() string

type PostUsageQueryForbidden

type PostUsageQueryForbidden struct {
	Payload *models.ErrorBody
}

PostUsageQueryForbidden describes a response with status code 403, 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

func (*PostUsageQueryForbidden) IsClientError

func (o *PostUsageQueryForbidden) IsClientError() bool

IsClientError returns true when this post usage query forbidden response has a 4xx status code

func (*PostUsageQueryForbidden) IsCode

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

IsCode returns true when this post usage query forbidden response a status code equal to that given

func (*PostUsageQueryForbidden) IsRedirect

func (o *PostUsageQueryForbidden) IsRedirect() bool

IsRedirect returns true when this post usage query forbidden response has a 3xx status code

func (*PostUsageQueryForbidden) IsServerError

func (o *PostUsageQueryForbidden) IsServerError() bool

IsServerError returns true when this post usage query forbidden response has a 5xx status code

func (*PostUsageQueryForbidden) IsSuccess

func (o *PostUsageQueryForbidden) IsSuccess() bool

IsSuccess returns true when this post usage query forbidden response has a 2xx status code

func (*PostUsageQueryForbidden) String

func (o *PostUsageQueryForbidden) String() string

type PostUsageQueryGatewayTimeout

type PostUsageQueryGatewayTimeout struct {
	Payload *models.ErrorBody
}

PostUsageQueryGatewayTimeout describes a response with status code 504, 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

func (*PostUsageQueryGatewayTimeout) IsClientError

func (o *PostUsageQueryGatewayTimeout) IsClientError() bool

IsClientError returns true when this post usage query gateway timeout response has a 4xx status code

func (*PostUsageQueryGatewayTimeout) IsCode

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

IsCode returns true when this post usage query gateway timeout response a status code equal to that given

func (*PostUsageQueryGatewayTimeout) IsRedirect

func (o *PostUsageQueryGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this post usage query gateway timeout response has a 3xx status code

func (*PostUsageQueryGatewayTimeout) IsServerError

func (o *PostUsageQueryGatewayTimeout) IsServerError() bool

IsServerError returns true when this post usage query gateway timeout response has a 5xx status code

func (*PostUsageQueryGatewayTimeout) IsSuccess

func (o *PostUsageQueryGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this post usage query gateway timeout response has a 2xx status code

func (*PostUsageQueryGatewayTimeout) String

type PostUsageQueryInternalServerError

type PostUsageQueryInternalServerError struct {
	Payload *models.ErrorBody
}

PostUsageQueryInternalServerError describes a response with status code 500, 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

func (*PostUsageQueryInternalServerError) IsClientError

func (o *PostUsageQueryInternalServerError) IsClientError() bool

IsClientError returns true when this post usage query internal server error response has a 4xx status code

func (*PostUsageQueryInternalServerError) IsCode

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

IsCode returns true when this post usage query internal server error response a status code equal to that given

func (*PostUsageQueryInternalServerError) IsRedirect

func (o *PostUsageQueryInternalServerError) IsRedirect() bool

IsRedirect returns true when this post usage query internal server error response has a 3xx status code

func (*PostUsageQueryInternalServerError) IsServerError

func (o *PostUsageQueryInternalServerError) IsServerError() bool

IsServerError returns true when this post usage query internal server error response has a 5xx status code

func (*PostUsageQueryInternalServerError) IsSuccess

func (o *PostUsageQueryInternalServerError) IsSuccess() bool

IsSuccess returns true when this post usage query internal server error response has a 2xx status code

func (*PostUsageQueryInternalServerError) String

type PostUsageQueryNotFound

type PostUsageQueryNotFound struct {
	Payload *models.ErrorBody
}

PostUsageQueryNotFound describes a response with status code 404, 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

func (*PostUsageQueryNotFound) IsClientError

func (o *PostUsageQueryNotFound) IsClientError() bool

IsClientError returns true when this post usage query not found response has a 4xx status code

func (*PostUsageQueryNotFound) IsCode

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

IsCode returns true when this post usage query not found response a status code equal to that given

func (*PostUsageQueryNotFound) IsRedirect

func (o *PostUsageQueryNotFound) IsRedirect() bool

IsRedirect returns true when this post usage query not found response has a 3xx status code

func (*PostUsageQueryNotFound) IsServerError

func (o *PostUsageQueryNotFound) IsServerError() bool

IsServerError returns true when this post usage query not found response has a 5xx status code

func (*PostUsageQueryNotFound) IsSuccess

func (o *PostUsageQueryNotFound) IsSuccess() bool

IsSuccess returns true when this post usage query not found response has a 2xx status code

func (*PostUsageQueryNotFound) String

func (o *PostUsageQueryNotFound) String() string

type PostUsageQueryOK

type PostUsageQueryOK struct {
	Payload *models.UsageExecutionResult
}

PostUsageQueryOK describes a response with status code 200, 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

func (*PostUsageQueryOK) IsClientError

func (o *PostUsageQueryOK) IsClientError() bool

IsClientError returns true when this post usage query o k response has a 4xx status code

func (*PostUsageQueryOK) IsCode

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

IsCode returns true when this post usage query o k response a status code equal to that given

func (*PostUsageQueryOK) IsRedirect

func (o *PostUsageQueryOK) IsRedirect() bool

IsRedirect returns true when this post usage query o k response has a 3xx status code

func (*PostUsageQueryOK) IsServerError

func (o *PostUsageQueryOK) IsServerError() bool

IsServerError returns true when this post usage query o k response has a 5xx status code

func (*PostUsageQueryOK) IsSuccess

func (o *PostUsageQueryOK) IsSuccess() bool

IsSuccess returns true when this post usage query o k response has a 2xx status code

func (*PostUsageQueryOK) String

func (o *PostUsageQueryOK) String() string

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 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 NewPostUsageQueryParamsWithContext

func NewPostUsageQueryParamsWithContext(ctx context.Context) *PostUsageQueryParams

NewPostUsageQueryParamsWithContext creates a new PostUsageQueryParams object with 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 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 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) SetDefaults

func (o *PostUsageQueryParams) SetDefaults()

SetDefaults hydrates default values in the post usage query params (not the query body).

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

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) WithDefaults

func (o *PostUsageQueryParams) WithDefaults() *PostUsageQueryParams

WithDefaults hydrates default values in the post usage query params (not the query body).

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

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 describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPostUsageQueryRequestEntityTooLarge

func NewPostUsageQueryRequestEntityTooLarge() *PostUsageQueryRequestEntityTooLarge

NewPostUsageQueryRequestEntityTooLarge creates a PostUsageQueryRequestEntityTooLarge with default headers values

func (*PostUsageQueryRequestEntityTooLarge) Error

func (*PostUsageQueryRequestEntityTooLarge) GetPayload

func (*PostUsageQueryRequestEntityTooLarge) IsClientError

func (o *PostUsageQueryRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this post usage query request entity too large response has a 4xx status code

func (*PostUsageQueryRequestEntityTooLarge) IsCode

IsCode returns true when this post usage query request entity too large response a status code equal to that given

func (*PostUsageQueryRequestEntityTooLarge) IsRedirect

func (o *PostUsageQueryRequestEntityTooLarge) IsRedirect() bool

IsRedirect returns true when this post usage query request entity too large response has a 3xx status code

func (*PostUsageQueryRequestEntityTooLarge) IsServerError

func (o *PostUsageQueryRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this post usage query request entity too large response has a 5xx status code

func (*PostUsageQueryRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this post usage query request entity too large response has a 2xx status code

func (*PostUsageQueryRequestEntityTooLarge) String

type PostUsageQueryRequestTimeout

type PostUsageQueryRequestTimeout struct {
	Payload *models.ErrorBody
}

PostUsageQueryRequestTimeout describes a response with status code 408, 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

func (*PostUsageQueryRequestTimeout) IsClientError

func (o *PostUsageQueryRequestTimeout) IsClientError() bool

IsClientError returns true when this post usage query request timeout response has a 4xx status code

func (*PostUsageQueryRequestTimeout) IsCode

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

IsCode returns true when this post usage query request timeout response a status code equal to that given

func (*PostUsageQueryRequestTimeout) IsRedirect

func (o *PostUsageQueryRequestTimeout) IsRedirect() bool

IsRedirect returns true when this post usage query request timeout response has a 3xx status code

func (*PostUsageQueryRequestTimeout) IsServerError

func (o *PostUsageQueryRequestTimeout) IsServerError() bool

IsServerError returns true when this post usage query request timeout response has a 5xx status code

func (*PostUsageQueryRequestTimeout) IsSuccess

func (o *PostUsageQueryRequestTimeout) IsSuccess() bool

IsSuccess returns true when this post usage query request timeout response has a 2xx status code

func (*PostUsageQueryRequestTimeout) String

type PostUsageQueryServiceUnavailable

type PostUsageQueryServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostUsageQueryServiceUnavailable describes a response with status code 503, 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

func (*PostUsageQueryServiceUnavailable) IsClientError

func (o *PostUsageQueryServiceUnavailable) IsClientError() bool

IsClientError returns true when this post usage query service unavailable response has a 4xx status code

func (*PostUsageQueryServiceUnavailable) IsCode

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

IsCode returns true when this post usage query service unavailable response a status code equal to that given

func (*PostUsageQueryServiceUnavailable) IsRedirect

func (o *PostUsageQueryServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this post usage query service unavailable response has a 3xx status code

func (*PostUsageQueryServiceUnavailable) IsServerError

func (o *PostUsageQueryServiceUnavailable) IsServerError() bool

IsServerError returns true when this post usage query service unavailable response has a 5xx status code

func (*PostUsageQueryServiceUnavailable) IsSuccess

func (o *PostUsageQueryServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this post usage query service unavailable response has a 2xx status code

func (*PostUsageQueryServiceUnavailable) String

type PostUsageQueryTooManyRequests

type PostUsageQueryTooManyRequests struct {
	Payload *models.ErrorBody
}

PostUsageQueryTooManyRequests describes a response with status code 429, 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

func (*PostUsageQueryTooManyRequests) IsClientError

func (o *PostUsageQueryTooManyRequests) IsClientError() bool

IsClientError returns true when this post usage query too many requests response has a 4xx status code

func (*PostUsageQueryTooManyRequests) IsCode

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

IsCode returns true when this post usage query too many requests response a status code equal to that given

func (*PostUsageQueryTooManyRequests) IsRedirect

func (o *PostUsageQueryTooManyRequests) IsRedirect() bool

IsRedirect returns true when this post usage query too many requests response has a 3xx status code

func (*PostUsageQueryTooManyRequests) IsServerError

func (o *PostUsageQueryTooManyRequests) IsServerError() bool

IsServerError returns true when this post usage query too many requests response has a 5xx status code

func (*PostUsageQueryTooManyRequests) IsSuccess

func (o *PostUsageQueryTooManyRequests) IsSuccess() bool

IsSuccess returns true when this post usage query too many requests response has a 2xx status code

func (*PostUsageQueryTooManyRequests) String

type PostUsageQueryUnauthorized

type PostUsageQueryUnauthorized struct {
	Payload *models.ErrorBody
}

PostUsageQueryUnauthorized describes a response with status code 401, 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

func (*PostUsageQueryUnauthorized) IsClientError

func (o *PostUsageQueryUnauthorized) IsClientError() bool

IsClientError returns true when this post usage query unauthorized response has a 4xx status code

func (*PostUsageQueryUnauthorized) IsCode

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

IsCode returns true when this post usage query unauthorized response a status code equal to that given

func (*PostUsageQueryUnauthorized) IsRedirect

func (o *PostUsageQueryUnauthorized) IsRedirect() bool

IsRedirect returns true when this post usage query unauthorized response has a 3xx status code

func (*PostUsageQueryUnauthorized) IsServerError

func (o *PostUsageQueryUnauthorized) IsServerError() bool

IsServerError returns true when this post usage query unauthorized response has a 5xx status code

func (*PostUsageQueryUnauthorized) IsSuccess

func (o *PostUsageQueryUnauthorized) IsSuccess() bool

IsSuccess returns true when this post usage query unauthorized response has a 2xx status code

func (*PostUsageQueryUnauthorized) String

func (o *PostUsageQueryUnauthorized) String() string

type PostUsageQueryUnsupportedMediaType

type PostUsageQueryUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostUsageQueryUnsupportedMediaType describes a response with status code 415, 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

func (*PostUsageQueryUnsupportedMediaType) IsClientError

func (o *PostUsageQueryUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this post usage query unsupported media type response has a 4xx status code

func (*PostUsageQueryUnsupportedMediaType) IsCode

IsCode returns true when this post usage query unsupported media type response a status code equal to that given

func (*PostUsageQueryUnsupportedMediaType) IsRedirect

func (o *PostUsageQueryUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this post usage query unsupported media type response has a 3xx status code

func (*PostUsageQueryUnsupportedMediaType) IsServerError

func (o *PostUsageQueryUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this post usage query unsupported media type response has a 5xx status code

func (*PostUsageQueryUnsupportedMediaType) IsSuccess

IsSuccess returns true when this post usage query unsupported media type response has a 2xx status code

func (*PostUsageQueryUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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