Documentation
¶
Index ¶
- type API
- type Client
- type GetUsageQueryExecutionIDResultsBadRequest
- func (o *GetUsageQueryExecutionIDResultsBadRequest) Error() string
- func (o *GetUsageQueryExecutionIDResultsBadRequest) GetPayload() *models.ErrorBody
- func (o *GetUsageQueryExecutionIDResultsBadRequest) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsBadRequest) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsBadRequest) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsBadRequest) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsBadRequest) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsBadRequest) String() string
- type GetUsageQueryExecutionIDResultsForbidden
- func (o *GetUsageQueryExecutionIDResultsForbidden) Error() string
- func (o *GetUsageQueryExecutionIDResultsForbidden) GetPayload() *models.ErrorBody
- func (o *GetUsageQueryExecutionIDResultsForbidden) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsForbidden) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsForbidden) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsForbidden) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsForbidden) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsForbidden) String() string
- type GetUsageQueryExecutionIDResultsGatewayTimeout
- func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) Error() string
- func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) String() string
- type GetUsageQueryExecutionIDResultsInternalServerError
- func (o *GetUsageQueryExecutionIDResultsInternalServerError) Error() string
- func (o *GetUsageQueryExecutionIDResultsInternalServerError) GetPayload() *models.ErrorBody
- func (o *GetUsageQueryExecutionIDResultsInternalServerError) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsInternalServerError) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsInternalServerError) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsInternalServerError) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsInternalServerError) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsInternalServerError) String() string
- type GetUsageQueryExecutionIDResultsNotFound
- func (o *GetUsageQueryExecutionIDResultsNotFound) Error() string
- func (o *GetUsageQueryExecutionIDResultsNotFound) GetPayload() *models.ErrorBody
- func (o *GetUsageQueryExecutionIDResultsNotFound) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsNotFound) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsNotFound) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsNotFound) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsNotFound) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsNotFound) String() string
- type GetUsageQueryExecutionIDResultsOK
- func (o *GetUsageQueryExecutionIDResultsOK) Error() string
- func (o *GetUsageQueryExecutionIDResultsOK) GetPayload() *models.APIUsageQueryResult
- func (o *GetUsageQueryExecutionIDResultsOK) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsOK) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsOK) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsOK) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsOK) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsOK) String() string
- type GetUsageQueryExecutionIDResultsParams
- func NewGetUsageQueryExecutionIDResultsParams() *GetUsageQueryExecutionIDResultsParams
- func NewGetUsageQueryExecutionIDResultsParamsWithContext(ctx context.Context) *GetUsageQueryExecutionIDResultsParams
- func NewGetUsageQueryExecutionIDResultsParamsWithHTTPClient(client *http.Client) *GetUsageQueryExecutionIDResultsParams
- func NewGetUsageQueryExecutionIDResultsParamsWithTimeout(timeout time.Duration) *GetUsageQueryExecutionIDResultsParams
- func (o *GetUsageQueryExecutionIDResultsParams) SetContext(ctx context.Context)
- func (o *GetUsageQueryExecutionIDResultsParams) SetDefaults()
- func (o *GetUsageQueryExecutionIDResultsParams) SetExecutionID(executionID string)
- func (o *GetUsageQueryExecutionIDResultsParams) SetHTTPClient(client *http.Client)
- func (o *GetUsageQueryExecutionIDResultsParams) SetTimeout(timeout time.Duration)
- func (o *GetUsageQueryExecutionIDResultsParams) WithContext(ctx context.Context) *GetUsageQueryExecutionIDResultsParams
- func (o *GetUsageQueryExecutionIDResultsParams) WithDefaults() *GetUsageQueryExecutionIDResultsParams
- func (o *GetUsageQueryExecutionIDResultsParams) WithExecutionID(executionID string) *GetUsageQueryExecutionIDResultsParams
- func (o *GetUsageQueryExecutionIDResultsParams) WithHTTPClient(client *http.Client) *GetUsageQueryExecutionIDResultsParams
- func (o *GetUsageQueryExecutionIDResultsParams) WithTimeout(timeout time.Duration) *GetUsageQueryExecutionIDResultsParams
- func (o *GetUsageQueryExecutionIDResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsageQueryExecutionIDResultsReader
- type GetUsageQueryExecutionIDResultsRequestEntityTooLarge
- func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) Error() string
- func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) String() string
- type GetUsageQueryExecutionIDResultsRequestTimeout
- func (o *GetUsageQueryExecutionIDResultsRequestTimeout) Error() string
- func (o *GetUsageQueryExecutionIDResultsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *GetUsageQueryExecutionIDResultsRequestTimeout) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsRequestTimeout) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsRequestTimeout) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsRequestTimeout) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsRequestTimeout) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsRequestTimeout) String() string
- type GetUsageQueryExecutionIDResultsServiceUnavailable
- func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) Error() string
- func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) String() string
- type GetUsageQueryExecutionIDResultsTooManyRequests
- func (o *GetUsageQueryExecutionIDResultsTooManyRequests) Error() string
- func (o *GetUsageQueryExecutionIDResultsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *GetUsageQueryExecutionIDResultsTooManyRequests) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsTooManyRequests) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsTooManyRequests) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsTooManyRequests) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsTooManyRequests) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsTooManyRequests) String() string
- type GetUsageQueryExecutionIDResultsUnauthorized
- func (o *GetUsageQueryExecutionIDResultsUnauthorized) Error() string
- func (o *GetUsageQueryExecutionIDResultsUnauthorized) GetPayload() *models.ErrorBody
- func (o *GetUsageQueryExecutionIDResultsUnauthorized) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsUnauthorized) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsUnauthorized) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsUnauthorized) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsUnauthorized) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsUnauthorized) String() string
- type GetUsageQueryExecutionIDResultsUnsupportedMediaType
- func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) Error() string
- func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsClientError() bool
- func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsRedirect() bool
- func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsServerError() bool
- func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsSuccess() bool
- func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) String() string
- type PostUsageQueryAccepted
- func (o *PostUsageQueryAccepted) Error() string
- func (o *PostUsageQueryAccepted) GetPayload() *models.UsageExecutionResult
- func (o *PostUsageQueryAccepted) IsClientError() bool
- func (o *PostUsageQueryAccepted) IsCode(code int) bool
- func (o *PostUsageQueryAccepted) IsRedirect() bool
- func (o *PostUsageQueryAccepted) IsServerError() bool
- func (o *PostUsageQueryAccepted) IsSuccess() bool
- func (o *PostUsageQueryAccepted) String() string
- type PostUsageQueryBadRequest
- func (o *PostUsageQueryBadRequest) Error() string
- func (o *PostUsageQueryBadRequest) GetPayload() *models.ErrorBody
- func (o *PostUsageQueryBadRequest) IsClientError() bool
- func (o *PostUsageQueryBadRequest) IsCode(code int) bool
- func (o *PostUsageQueryBadRequest) IsRedirect() bool
- func (o *PostUsageQueryBadRequest) IsServerError() bool
- func (o *PostUsageQueryBadRequest) IsSuccess() bool
- func (o *PostUsageQueryBadRequest) String() string
- type PostUsageQueryForbidden
- func (o *PostUsageQueryForbidden) Error() string
- func (o *PostUsageQueryForbidden) GetPayload() *models.ErrorBody
- func (o *PostUsageQueryForbidden) IsClientError() bool
- func (o *PostUsageQueryForbidden) IsCode(code int) bool
- func (o *PostUsageQueryForbidden) IsRedirect() bool
- func (o *PostUsageQueryForbidden) IsServerError() bool
- func (o *PostUsageQueryForbidden) IsSuccess() bool
- func (o *PostUsageQueryForbidden) String() string
- type PostUsageQueryGatewayTimeout
- func (o *PostUsageQueryGatewayTimeout) Error() string
- func (o *PostUsageQueryGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PostUsageQueryGatewayTimeout) IsClientError() bool
- func (o *PostUsageQueryGatewayTimeout) IsCode(code int) bool
- func (o *PostUsageQueryGatewayTimeout) IsRedirect() bool
- func (o *PostUsageQueryGatewayTimeout) IsServerError() bool
- func (o *PostUsageQueryGatewayTimeout) IsSuccess() bool
- func (o *PostUsageQueryGatewayTimeout) String() string
- type PostUsageQueryInternalServerError
- func (o *PostUsageQueryInternalServerError) Error() string
- func (o *PostUsageQueryInternalServerError) GetPayload() *models.ErrorBody
- func (o *PostUsageQueryInternalServerError) IsClientError() bool
- func (o *PostUsageQueryInternalServerError) IsCode(code int) bool
- func (o *PostUsageQueryInternalServerError) IsRedirect() bool
- func (o *PostUsageQueryInternalServerError) IsServerError() bool
- func (o *PostUsageQueryInternalServerError) IsSuccess() bool
- func (o *PostUsageQueryInternalServerError) String() string
- type PostUsageQueryNotFound
- func (o *PostUsageQueryNotFound) Error() string
- func (o *PostUsageQueryNotFound) GetPayload() *models.ErrorBody
- func (o *PostUsageQueryNotFound) IsClientError() bool
- func (o *PostUsageQueryNotFound) IsCode(code int) bool
- func (o *PostUsageQueryNotFound) IsRedirect() bool
- func (o *PostUsageQueryNotFound) IsServerError() bool
- func (o *PostUsageQueryNotFound) IsSuccess() bool
- func (o *PostUsageQueryNotFound) String() string
- type PostUsageQueryOK
- func (o *PostUsageQueryOK) Error() string
- func (o *PostUsageQueryOK) GetPayload() *models.UsageExecutionResult
- func (o *PostUsageQueryOK) IsClientError() bool
- func (o *PostUsageQueryOK) IsCode(code int) bool
- func (o *PostUsageQueryOK) IsRedirect() bool
- func (o *PostUsageQueryOK) IsServerError() bool
- func (o *PostUsageQueryOK) IsSuccess() bool
- func (o *PostUsageQueryOK) String() string
- type PostUsageQueryParams
- func NewPostUsageQueryParams() *PostUsageQueryParams
- func NewPostUsageQueryParamsWithContext(ctx context.Context) *PostUsageQueryParams
- func NewPostUsageQueryParamsWithHTTPClient(client *http.Client) *PostUsageQueryParams
- func NewPostUsageQueryParamsWithTimeout(timeout time.Duration) *PostUsageQueryParams
- func (o *PostUsageQueryParams) SetBody(body *models.APIUsageQuery)
- func (o *PostUsageQueryParams) SetContext(ctx context.Context)
- func (o *PostUsageQueryParams) SetDefaults()
- func (o *PostUsageQueryParams) SetHTTPClient(client *http.Client)
- func (o *PostUsageQueryParams) SetTimeout(timeout time.Duration)
- func (o *PostUsageQueryParams) WithBody(body *models.APIUsageQuery) *PostUsageQueryParams
- func (o *PostUsageQueryParams) WithContext(ctx context.Context) *PostUsageQueryParams
- func (o *PostUsageQueryParams) WithDefaults() *PostUsageQueryParams
- func (o *PostUsageQueryParams) WithHTTPClient(client *http.Client) *PostUsageQueryParams
- func (o *PostUsageQueryParams) WithTimeout(timeout time.Duration) *PostUsageQueryParams
- func (o *PostUsageQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostUsageQueryReader
- type PostUsageQueryRequestEntityTooLarge
- func (o *PostUsageQueryRequestEntityTooLarge) Error() string
- func (o *PostUsageQueryRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PostUsageQueryRequestEntityTooLarge) IsClientError() bool
- func (o *PostUsageQueryRequestEntityTooLarge) IsCode(code int) bool
- func (o *PostUsageQueryRequestEntityTooLarge) IsRedirect() bool
- func (o *PostUsageQueryRequestEntityTooLarge) IsServerError() bool
- func (o *PostUsageQueryRequestEntityTooLarge) IsSuccess() bool
- func (o *PostUsageQueryRequestEntityTooLarge) String() string
- type PostUsageQueryRequestTimeout
- func (o *PostUsageQueryRequestTimeout) Error() string
- func (o *PostUsageQueryRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PostUsageQueryRequestTimeout) IsClientError() bool
- func (o *PostUsageQueryRequestTimeout) IsCode(code int) bool
- func (o *PostUsageQueryRequestTimeout) IsRedirect() bool
- func (o *PostUsageQueryRequestTimeout) IsServerError() bool
- func (o *PostUsageQueryRequestTimeout) IsSuccess() bool
- func (o *PostUsageQueryRequestTimeout) String() string
- type PostUsageQueryServiceUnavailable
- func (o *PostUsageQueryServiceUnavailable) Error() string
- func (o *PostUsageQueryServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PostUsageQueryServiceUnavailable) IsClientError() bool
- func (o *PostUsageQueryServiceUnavailable) IsCode(code int) bool
- func (o *PostUsageQueryServiceUnavailable) IsRedirect() bool
- func (o *PostUsageQueryServiceUnavailable) IsServerError() bool
- func (o *PostUsageQueryServiceUnavailable) IsSuccess() bool
- func (o *PostUsageQueryServiceUnavailable) String() string
- type PostUsageQueryTooManyRequests
- func (o *PostUsageQueryTooManyRequests) Error() string
- func (o *PostUsageQueryTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PostUsageQueryTooManyRequests) IsClientError() bool
- func (o *PostUsageQueryTooManyRequests) IsCode(code int) bool
- func (o *PostUsageQueryTooManyRequests) IsRedirect() bool
- func (o *PostUsageQueryTooManyRequests) IsServerError() bool
- func (o *PostUsageQueryTooManyRequests) IsSuccess() bool
- func (o *PostUsageQueryTooManyRequests) String() string
- type PostUsageQueryUnauthorized
- func (o *PostUsageQueryUnauthorized) Error() string
- func (o *PostUsageQueryUnauthorized) GetPayload() *models.ErrorBody
- func (o *PostUsageQueryUnauthorized) IsClientError() bool
- func (o *PostUsageQueryUnauthorized) IsCode(code int) bool
- func (o *PostUsageQueryUnauthorized) IsRedirect() bool
- func (o *PostUsageQueryUnauthorized) IsServerError() bool
- func (o *PostUsageQueryUnauthorized) IsSuccess() bool
- func (o *PostUsageQueryUnauthorized) String() string
- type PostUsageQueryUnsupportedMediaType
- func (o *PostUsageQueryUnsupportedMediaType) Error() string
- func (o *PostUsageQueryUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PostUsageQueryUnsupportedMediaType) IsClientError() bool
- func (o *PostUsageQueryUnsupportedMediaType) IsCode(code int) bool
- func (o *PostUsageQueryUnsupportedMediaType) IsRedirect() bool
- func (o *PostUsageQueryUnsupportedMediaType) IsServerError() bool
- func (o *PostUsageQueryUnsupportedMediaType) IsSuccess() bool
- func (o *PostUsageQueryUnsupportedMediaType) String() string
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 ¶
func (a *Client) PostUsageQuery(ctx context.Context, params *PostUsageQueryParams) (*PostUsageQueryOK, *PostUsageQueryAccepted, 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
type GetUsageQueryExecutionIDResultsBadRequest ¶
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 (o *GetUsageQueryExecutionIDResultsBadRequest) Error() string
func (*GetUsageQueryExecutionIDResultsBadRequest) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsBadRequest) GetPayload() *models.ErrorBody
func (*GetUsageQueryExecutionIDResultsBadRequest) IsClientError ¶
func (o *GetUsageQueryExecutionIDResultsBadRequest) IsClientError() bool
IsClientError returns true when this get usage query execution Id results bad request response has a 4xx status code
func (*GetUsageQueryExecutionIDResultsBadRequest) IsCode ¶
func (o *GetUsageQueryExecutionIDResultsBadRequest) IsCode(code int) bool
IsCode returns true when this get usage query execution Id results bad request response a status code equal to that given
func (*GetUsageQueryExecutionIDResultsBadRequest) IsRedirect ¶
func (o *GetUsageQueryExecutionIDResultsBadRequest) IsRedirect() bool
IsRedirect returns true when this get usage query execution Id results bad request response has a 3xx status code
func (*GetUsageQueryExecutionIDResultsBadRequest) IsServerError ¶
func (o *GetUsageQueryExecutionIDResultsBadRequest) IsServerError() bool
IsServerError returns true when this get usage query execution Id results bad request response has a 5xx status code
func (*GetUsageQueryExecutionIDResultsBadRequest) IsSuccess ¶
func (o *GetUsageQueryExecutionIDResultsBadRequest) IsSuccess() bool
IsSuccess returns true when this get usage query execution Id results bad request response has a 2xx status code
func (*GetUsageQueryExecutionIDResultsBadRequest) String ¶
func (o *GetUsageQueryExecutionIDResultsBadRequest) String() string
type GetUsageQueryExecutionIDResultsForbidden ¶
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 (o *GetUsageQueryExecutionIDResultsForbidden) Error() string
func (*GetUsageQueryExecutionIDResultsForbidden) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsForbidden) GetPayload() *models.ErrorBody
func (*GetUsageQueryExecutionIDResultsForbidden) IsClientError ¶
func (o *GetUsageQueryExecutionIDResultsForbidden) IsClientError() bool
IsClientError returns true when this get usage query execution Id results forbidden response has a 4xx status code
func (*GetUsageQueryExecutionIDResultsForbidden) IsCode ¶
func (o *GetUsageQueryExecutionIDResultsForbidden) IsCode(code int) bool
IsCode returns true when this get usage query execution Id results forbidden response a status code equal to that given
func (*GetUsageQueryExecutionIDResultsForbidden) IsRedirect ¶
func (o *GetUsageQueryExecutionIDResultsForbidden) IsRedirect() bool
IsRedirect returns true when this get usage query execution Id results forbidden response has a 3xx status code
func (*GetUsageQueryExecutionIDResultsForbidden) IsServerError ¶
func (o *GetUsageQueryExecutionIDResultsForbidden) IsServerError() bool
IsServerError returns true when this get usage query execution Id results forbidden response has a 5xx status code
func (*GetUsageQueryExecutionIDResultsForbidden) IsSuccess ¶
func (o *GetUsageQueryExecutionIDResultsForbidden) IsSuccess() bool
IsSuccess returns true when this get usage query execution Id results forbidden response has a 2xx status code
func (*GetUsageQueryExecutionIDResultsForbidden) String ¶
func (o *GetUsageQueryExecutionIDResultsForbidden) String() string
type GetUsageQueryExecutionIDResultsGatewayTimeout ¶
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 (o *GetUsageQueryExecutionIDResultsGatewayTimeout) Error() string
func (*GetUsageQueryExecutionIDResultsGatewayTimeout) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) GetPayload() *models.ErrorBody
func (*GetUsageQueryExecutionIDResultsGatewayTimeout) IsClientError ¶
func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) IsClientError() bool
IsClientError returns true when this get usage query execution Id results gateway timeout response has a 4xx status code
func (*GetUsageQueryExecutionIDResultsGatewayTimeout) IsCode ¶
func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this get usage query execution Id results gateway timeout response a status code equal to that given
func (*GetUsageQueryExecutionIDResultsGatewayTimeout) IsRedirect ¶
func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this get usage query execution Id results gateway timeout response has a 3xx status code
func (*GetUsageQueryExecutionIDResultsGatewayTimeout) IsServerError ¶
func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) IsServerError() bool
IsServerError returns true when this get usage query execution Id results gateway timeout response has a 5xx status code
func (*GetUsageQueryExecutionIDResultsGatewayTimeout) IsSuccess ¶
func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this get usage query execution Id results gateway timeout response has a 2xx status code
func (*GetUsageQueryExecutionIDResultsGatewayTimeout) String ¶
func (o *GetUsageQueryExecutionIDResultsGatewayTimeout) String() string
type GetUsageQueryExecutionIDResultsInternalServerError ¶
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 (o *GetUsageQueryExecutionIDResultsInternalServerError) Error() string
func (*GetUsageQueryExecutionIDResultsInternalServerError) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsInternalServerError) GetPayload() *models.ErrorBody
func (*GetUsageQueryExecutionIDResultsInternalServerError) IsClientError ¶
func (o *GetUsageQueryExecutionIDResultsInternalServerError) IsClientError() bool
IsClientError returns true when this get usage query execution Id results internal server error response has a 4xx status code
func (*GetUsageQueryExecutionIDResultsInternalServerError) IsCode ¶
func (o *GetUsageQueryExecutionIDResultsInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetUsageQueryExecutionIDResultsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get usage query execution Id results internal server error response has a 3xx status code
func (*GetUsageQueryExecutionIDResultsInternalServerError) IsServerError ¶
func (o *GetUsageQueryExecutionIDResultsInternalServerError) IsServerError() bool
IsServerError returns true when this get usage query execution Id results internal server error response has a 5xx status code
func (*GetUsageQueryExecutionIDResultsInternalServerError) IsSuccess ¶
func (o *GetUsageQueryExecutionIDResultsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get usage query execution Id results internal server error response has a 2xx status code
func (*GetUsageQueryExecutionIDResultsInternalServerError) String ¶
func (o *GetUsageQueryExecutionIDResultsInternalServerError) String() string
type GetUsageQueryExecutionIDResultsNotFound ¶
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 (o *GetUsageQueryExecutionIDResultsNotFound) Error() string
func (*GetUsageQueryExecutionIDResultsNotFound) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *GetUsageQueryExecutionIDResultsNotFound) IsCode(code int) bool
IsCode returns true when this get usage query execution Id results not found response a status code equal to that given
func (*GetUsageQueryExecutionIDResultsNotFound) IsRedirect ¶
func (o *GetUsageQueryExecutionIDResultsNotFound) IsRedirect() bool
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 ¶
func (o *GetUsageQueryExecutionIDResultsNotFound) IsSuccess() bool
IsSuccess returns true when this get usage query execution Id results not found response has a 2xx status code
func (*GetUsageQueryExecutionIDResultsNotFound) String ¶
func (o *GetUsageQueryExecutionIDResultsNotFound) String() 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 (o *GetUsageQueryExecutionIDResultsOK) Error() string
func (*GetUsageQueryExecutionIDResultsOK) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsOK) GetPayload() *models.APIUsageQueryResult
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 ¶
func (o *GetUsageQueryExecutionIDResultsOK) String() 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 ¶
func (o *GetUsageQueryExecutionIDResultsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetUsageQueryExecutionIDResultsParams) WithContext(ctx context.Context) *GetUsageQueryExecutionIDResultsParams
WithContext adds the context to the get usage query execution Id results params
func (*GetUsageQueryExecutionIDResultsParams) WithDefaults ¶
func (o *GetUsageQueryExecutionIDResultsParams) WithDefaults() *GetUsageQueryExecutionIDResultsParams
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 ¶
func (o *GetUsageQueryExecutionIDResultsParams) WithExecutionID(executionID string) *GetUsageQueryExecutionIDResultsParams
WithExecutionID adds the executionID to the get usage query execution Id results params
func (*GetUsageQueryExecutionIDResultsParams) WithHTTPClient ¶
func (o *GetUsageQueryExecutionIDResultsParams) WithHTTPClient(client *http.Client) *GetUsageQueryExecutionIDResultsParams
WithHTTPClient adds the HTTPClient to the get usage query execution Id results params
func (*GetUsageQueryExecutionIDResultsParams) WithTimeout ¶
func (o *GetUsageQueryExecutionIDResultsParams) WithTimeout(timeout time.Duration) *GetUsageQueryExecutionIDResultsParams
WithTimeout adds the timeout to the get usage query execution Id results params
func (*GetUsageQueryExecutionIDResultsParams) WriteToRequest ¶
func (o *GetUsageQueryExecutionIDResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) Error() string
func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsClientError ¶
func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get usage query execution Id results request entity too large response has a 4xx status code
func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsCode ¶
func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsCode(code int) bool
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 ¶
func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get usage query execution Id results request entity too large response has a 3xx status code
func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsServerError ¶
func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get usage query execution Id results request entity too large response has a 5xx status code
func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsSuccess ¶
func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get usage query execution Id results request entity too large response has a 2xx status code
func (*GetUsageQueryExecutionIDResultsRequestEntityTooLarge) String ¶
func (o *GetUsageQueryExecutionIDResultsRequestEntityTooLarge) String() string
type GetUsageQueryExecutionIDResultsRequestTimeout ¶
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 (o *GetUsageQueryExecutionIDResultsRequestTimeout) Error() string
func (*GetUsageQueryExecutionIDResultsRequestTimeout) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsRequestTimeout) GetPayload() *models.ErrorBody
func (*GetUsageQueryExecutionIDResultsRequestTimeout) IsClientError ¶
func (o *GetUsageQueryExecutionIDResultsRequestTimeout) IsClientError() bool
IsClientError returns true when this get usage query execution Id results request timeout response has a 4xx status code
func (*GetUsageQueryExecutionIDResultsRequestTimeout) IsCode ¶
func (o *GetUsageQueryExecutionIDResultsRequestTimeout) IsCode(code int) bool
IsCode returns true when this get usage query execution Id results request timeout response a status code equal to that given
func (*GetUsageQueryExecutionIDResultsRequestTimeout) IsRedirect ¶
func (o *GetUsageQueryExecutionIDResultsRequestTimeout) IsRedirect() bool
IsRedirect returns true when this get usage query execution Id results request timeout response has a 3xx status code
func (*GetUsageQueryExecutionIDResultsRequestTimeout) IsServerError ¶
func (o *GetUsageQueryExecutionIDResultsRequestTimeout) IsServerError() bool
IsServerError returns true when this get usage query execution Id results request timeout response has a 5xx status code
func (*GetUsageQueryExecutionIDResultsRequestTimeout) IsSuccess ¶
func (o *GetUsageQueryExecutionIDResultsRequestTimeout) IsSuccess() bool
IsSuccess returns true when this get usage query execution Id results request timeout response has a 2xx status code
func (*GetUsageQueryExecutionIDResultsRequestTimeout) String ¶
func (o *GetUsageQueryExecutionIDResultsRequestTimeout) String() string
type GetUsageQueryExecutionIDResultsServiceUnavailable ¶
type GetUsageQueryExecutionIDResultsServiceUnavailable struct {
}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 (o *GetUsageQueryExecutionIDResultsServiceUnavailable) Error() string
func (*GetUsageQueryExecutionIDResultsServiceUnavailable) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) GetPayload() *models.ErrorBody
func (*GetUsageQueryExecutionIDResultsServiceUnavailable) IsClientError ¶
func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get usage query execution Id results service unavailable response has a 4xx status code
func (*GetUsageQueryExecutionIDResultsServiceUnavailable) IsCode ¶
func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get usage query execution Id results service unavailable response a status code equal to that given
func (*GetUsageQueryExecutionIDResultsServiceUnavailable) IsRedirect ¶
func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get usage query execution Id results service unavailable response has a 3xx status code
func (*GetUsageQueryExecutionIDResultsServiceUnavailable) IsServerError ¶
func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get usage query execution Id results service unavailable response has a 5xx status code
func (*GetUsageQueryExecutionIDResultsServiceUnavailable) IsSuccess ¶
func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get usage query execution Id results service unavailable response has a 2xx status code
func (*GetUsageQueryExecutionIDResultsServiceUnavailable) String ¶
func (o *GetUsageQueryExecutionIDResultsServiceUnavailable) String() string
type GetUsageQueryExecutionIDResultsTooManyRequests ¶
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 (o *GetUsageQueryExecutionIDResultsTooManyRequests) Error() string
func (*GetUsageQueryExecutionIDResultsTooManyRequests) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsTooManyRequests) GetPayload() *models.ErrorBody
func (*GetUsageQueryExecutionIDResultsTooManyRequests) IsClientError ¶
func (o *GetUsageQueryExecutionIDResultsTooManyRequests) IsClientError() bool
IsClientError returns true when this get usage query execution Id results too many requests response has a 4xx status code
func (*GetUsageQueryExecutionIDResultsTooManyRequests) IsCode ¶
func (o *GetUsageQueryExecutionIDResultsTooManyRequests) IsCode(code int) bool
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 ¶
func (o *GetUsageQueryExecutionIDResultsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get usage query execution Id results too many requests response has a 3xx status code
func (*GetUsageQueryExecutionIDResultsTooManyRequests) IsServerError ¶
func (o *GetUsageQueryExecutionIDResultsTooManyRequests) IsServerError() bool
IsServerError returns true when this get usage query execution Id results too many requests response has a 5xx status code
func (*GetUsageQueryExecutionIDResultsTooManyRequests) IsSuccess ¶
func (o *GetUsageQueryExecutionIDResultsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get usage query execution Id results too many requests response has a 2xx status code
func (*GetUsageQueryExecutionIDResultsTooManyRequests) String ¶
func (o *GetUsageQueryExecutionIDResultsTooManyRequests) String() string
type GetUsageQueryExecutionIDResultsUnauthorized ¶
type GetUsageQueryExecutionIDResultsUnauthorized struct {
}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 (o *GetUsageQueryExecutionIDResultsUnauthorized) Error() string
func (*GetUsageQueryExecutionIDResultsUnauthorized) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsUnauthorized) GetPayload() *models.ErrorBody
func (*GetUsageQueryExecutionIDResultsUnauthorized) IsClientError ¶
func (o *GetUsageQueryExecutionIDResultsUnauthorized) IsClientError() bool
IsClientError returns true when this get usage query execution Id results unauthorized response has a 4xx status code
func (*GetUsageQueryExecutionIDResultsUnauthorized) IsCode ¶
func (o *GetUsageQueryExecutionIDResultsUnauthorized) IsCode(code int) bool
IsCode returns true when this get usage query execution Id results unauthorized response a status code equal to that given
func (*GetUsageQueryExecutionIDResultsUnauthorized) IsRedirect ¶
func (o *GetUsageQueryExecutionIDResultsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get usage query execution Id results unauthorized response has a 3xx status code
func (*GetUsageQueryExecutionIDResultsUnauthorized) IsServerError ¶
func (o *GetUsageQueryExecutionIDResultsUnauthorized) IsServerError() bool
IsServerError returns true when this get usage query execution Id results unauthorized response has a 5xx status code
func (*GetUsageQueryExecutionIDResultsUnauthorized) IsSuccess ¶
func (o *GetUsageQueryExecutionIDResultsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get usage query execution Id results unauthorized response has a 2xx status code
func (*GetUsageQueryExecutionIDResultsUnauthorized) String ¶
func (o *GetUsageQueryExecutionIDResultsUnauthorized) String() string
type GetUsageQueryExecutionIDResultsUnsupportedMediaType ¶
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 (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) Error() string
func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) GetPayload ¶
func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsClientError ¶
func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get usage query execution Id results unsupported media type response has a 4xx status code
func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsCode ¶
func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsCode(code int) bool
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 ¶
func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get usage query execution Id results unsupported media type response has a 3xx status code
func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsServerError ¶
func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get usage query execution Id results unsupported media type response has a 5xx status code
func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsSuccess ¶
func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get usage query execution Id results unsupported media type response has a 2xx status code
func (*GetUsageQueryExecutionIDResultsUnsupportedMediaType) String ¶
func (o *GetUsageQueryExecutionIDResultsUnsupportedMediaType) String() 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 (o *PostUsageQueryAccepted) GetPayload() *models.UsageExecutionResult
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 ¶
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 ¶
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 ¶
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 (o *PostUsageQueryGatewayTimeout) Error() string
func (*PostUsageQueryGatewayTimeout) GetPayload ¶
func (o *PostUsageQueryGatewayTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PostUsageQueryGatewayTimeout) String() string
type PostUsageQueryInternalServerError ¶
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 (o *PostUsageQueryInternalServerError) Error() string
func (*PostUsageQueryInternalServerError) GetPayload ¶
func (o *PostUsageQueryInternalServerError) GetPayload() *models.ErrorBody
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 ¶
func (o *PostUsageQueryInternalServerError) String() string
type PostUsageQueryNotFound ¶
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 ¶
func (o *PostUsageQueryParams) WithBody(body *models.APIUsageQuery) *PostUsageQueryParams
WithBody adds the body to the post usage query params
func (*PostUsageQueryParams) WithContext ¶
func (o *PostUsageQueryParams) WithContext(ctx context.Context) *PostUsageQueryParams
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 ¶
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 (o *PostUsageQueryRequestEntityTooLarge) Error() string
func (*PostUsageQueryRequestEntityTooLarge) GetPayload ¶
func (o *PostUsageQueryRequestEntityTooLarge) GetPayload() *models.ErrorBody
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 ¶
func (o *PostUsageQueryRequestEntityTooLarge) IsCode(code int) bool
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 ¶
func (o *PostUsageQueryRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this post usage query request entity too large response has a 2xx status code
func (*PostUsageQueryRequestEntityTooLarge) String ¶
func (o *PostUsageQueryRequestEntityTooLarge) String() string
type PostUsageQueryRequestTimeout ¶
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 (o *PostUsageQueryRequestTimeout) Error() string
func (*PostUsageQueryRequestTimeout) GetPayload ¶
func (o *PostUsageQueryRequestTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PostUsageQueryRequestTimeout) String() string
type PostUsageQueryServiceUnavailable ¶
type PostUsageQueryServiceUnavailable struct {
}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 (o *PostUsageQueryServiceUnavailable) Error() string
func (*PostUsageQueryServiceUnavailable) GetPayload ¶
func (o *PostUsageQueryServiceUnavailable) GetPayload() *models.ErrorBody
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 ¶
func (o *PostUsageQueryServiceUnavailable) String() string
type PostUsageQueryTooManyRequests ¶
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 (o *PostUsageQueryTooManyRequests) Error() string
func (*PostUsageQueryTooManyRequests) GetPayload ¶
func (o *PostUsageQueryTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *PostUsageQueryTooManyRequests) String() string
type PostUsageQueryUnauthorized ¶
type PostUsageQueryUnauthorized struct {
}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 (o *PostUsageQueryUnauthorized) Error() string
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 ¶
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 (o *PostUsageQueryUnsupportedMediaType) Error() string
func (*PostUsageQueryUnsupportedMediaType) GetPayload ¶
func (o *PostUsageQueryUnsupportedMediaType) GetPayload() *models.ErrorBody
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 ¶
func (o *PostUsageQueryUnsupportedMediaType) IsCode(code int) bool
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 ¶
func (o *PostUsageQueryUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this post usage query unsupported media type response has a 2xx status code
func (*PostUsageQueryUnsupportedMediaType) String ¶
func (o *PostUsageQueryUnsupportedMediaType) String() string