Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateBusinessMetric(params *CreateBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateBusinessMetricCreated, error)
- func (a *Client) DeleteBusinessMetric(params *DeleteBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBusinessMetricNoContent, error)
- func (a *Client) GetBusinessMetric(params *GetBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBusinessMetricOK, error)
- func (a *Client) GetBusinessMetrics(params *GetBusinessMetricsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBusinessMetricsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateBusinessMetric(params *UpdateBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateBusinessMetricOK, error)
- func (a *Client) UpdateBusinessMetricValuesCSV(params *UpdateBusinessMetricValuesCSVParams, ...) (*UpdateBusinessMetricValuesCSVCreated, error)
- type ClientOption
- type ClientService
- type CreateBusinessMetricBadRequest
- func (o *CreateBusinessMetricBadRequest) Code() int
- func (o *CreateBusinessMetricBadRequest) Error() string
- func (o *CreateBusinessMetricBadRequest) GetPayload() *models.Errors
- func (o *CreateBusinessMetricBadRequest) IsClientError() bool
- func (o *CreateBusinessMetricBadRequest) IsCode(code int) bool
- func (o *CreateBusinessMetricBadRequest) IsRedirect() bool
- func (o *CreateBusinessMetricBadRequest) IsServerError() bool
- func (o *CreateBusinessMetricBadRequest) IsSuccess() bool
- func (o *CreateBusinessMetricBadRequest) String() string
- type CreateBusinessMetricCreated
- func (o *CreateBusinessMetricCreated) Code() int
- func (o *CreateBusinessMetricCreated) Error() string
- func (o *CreateBusinessMetricCreated) GetPayload() *models.BusinessMetric
- func (o *CreateBusinessMetricCreated) IsClientError() bool
- func (o *CreateBusinessMetricCreated) IsCode(code int) bool
- func (o *CreateBusinessMetricCreated) IsRedirect() bool
- func (o *CreateBusinessMetricCreated) IsServerError() bool
- func (o *CreateBusinessMetricCreated) IsSuccess() bool
- func (o *CreateBusinessMetricCreated) String() string
- type CreateBusinessMetricForbidden
- func (o *CreateBusinessMetricForbidden) Code() int
- func (o *CreateBusinessMetricForbidden) Error() string
- func (o *CreateBusinessMetricForbidden) GetPayload() *models.Errors
- func (o *CreateBusinessMetricForbidden) IsClientError() bool
- func (o *CreateBusinessMetricForbidden) IsCode(code int) bool
- func (o *CreateBusinessMetricForbidden) IsRedirect() bool
- func (o *CreateBusinessMetricForbidden) IsServerError() bool
- func (o *CreateBusinessMetricForbidden) IsSuccess() bool
- func (o *CreateBusinessMetricForbidden) String() string
- type CreateBusinessMetricNotFound
- func (o *CreateBusinessMetricNotFound) Code() int
- func (o *CreateBusinessMetricNotFound) Error() string
- func (o *CreateBusinessMetricNotFound) GetPayload() *models.Errors
- func (o *CreateBusinessMetricNotFound) IsClientError() bool
- func (o *CreateBusinessMetricNotFound) IsCode(code int) bool
- func (o *CreateBusinessMetricNotFound) IsRedirect() bool
- func (o *CreateBusinessMetricNotFound) IsServerError() bool
- func (o *CreateBusinessMetricNotFound) IsSuccess() bool
- func (o *CreateBusinessMetricNotFound) String() string
- type CreateBusinessMetricParams
- func NewCreateBusinessMetricParams() *CreateBusinessMetricParams
- func NewCreateBusinessMetricParamsWithContext(ctx context.Context) *CreateBusinessMetricParams
- func NewCreateBusinessMetricParamsWithHTTPClient(client *http.Client) *CreateBusinessMetricParams
- func NewCreateBusinessMetricParamsWithTimeout(timeout time.Duration) *CreateBusinessMetricParams
- func (o *CreateBusinessMetricParams) SetContext(ctx context.Context)
- func (o *CreateBusinessMetricParams) SetCreateBusinessMetric(createBusinessMetric *models.CreateBusinessMetric)
- func (o *CreateBusinessMetricParams) SetDefaults()
- func (o *CreateBusinessMetricParams) SetHTTPClient(client *http.Client)
- func (o *CreateBusinessMetricParams) SetTimeout(timeout time.Duration)
- func (o *CreateBusinessMetricParams) WithContext(ctx context.Context) *CreateBusinessMetricParams
- func (o *CreateBusinessMetricParams) WithCreateBusinessMetric(createBusinessMetric *models.CreateBusinessMetric) *CreateBusinessMetricParams
- func (o *CreateBusinessMetricParams) WithDefaults() *CreateBusinessMetricParams
- func (o *CreateBusinessMetricParams) WithHTTPClient(client *http.Client) *CreateBusinessMetricParams
- func (o *CreateBusinessMetricParams) WithTimeout(timeout time.Duration) *CreateBusinessMetricParams
- func (o *CreateBusinessMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBusinessMetricReader
- type CreateBusinessMetricUnprocessableEntity
- func (o *CreateBusinessMetricUnprocessableEntity) Code() int
- func (o *CreateBusinessMetricUnprocessableEntity) Error() string
- func (o *CreateBusinessMetricUnprocessableEntity) GetPayload() *models.Errors
- func (o *CreateBusinessMetricUnprocessableEntity) IsClientError() bool
- func (o *CreateBusinessMetricUnprocessableEntity) IsCode(code int) bool
- func (o *CreateBusinessMetricUnprocessableEntity) IsRedirect() bool
- func (o *CreateBusinessMetricUnprocessableEntity) IsServerError() bool
- func (o *CreateBusinessMetricUnprocessableEntity) IsSuccess() bool
- func (o *CreateBusinessMetricUnprocessableEntity) String() string
- type DeleteBusinessMetricForbidden
- func (o *DeleteBusinessMetricForbidden) Code() int
- func (o *DeleteBusinessMetricForbidden) Error() string
- func (o *DeleteBusinessMetricForbidden) GetPayload() *models.Errors
- func (o *DeleteBusinessMetricForbidden) IsClientError() bool
- func (o *DeleteBusinessMetricForbidden) IsCode(code int) bool
- func (o *DeleteBusinessMetricForbidden) IsRedirect() bool
- func (o *DeleteBusinessMetricForbidden) IsServerError() bool
- func (o *DeleteBusinessMetricForbidden) IsSuccess() bool
- func (o *DeleteBusinessMetricForbidden) String() string
- type DeleteBusinessMetricNoContent
- func (o *DeleteBusinessMetricNoContent) Code() int
- func (o *DeleteBusinessMetricNoContent) Error() string
- func (o *DeleteBusinessMetricNoContent) GetPayload() *models.BusinessMetric
- func (o *DeleteBusinessMetricNoContent) IsClientError() bool
- func (o *DeleteBusinessMetricNoContent) IsCode(code int) bool
- func (o *DeleteBusinessMetricNoContent) IsRedirect() bool
- func (o *DeleteBusinessMetricNoContent) IsServerError() bool
- func (o *DeleteBusinessMetricNoContent) IsSuccess() bool
- func (o *DeleteBusinessMetricNoContent) String() string
- type DeleteBusinessMetricNotFound
- func (o *DeleteBusinessMetricNotFound) Code() int
- func (o *DeleteBusinessMetricNotFound) Error() string
- func (o *DeleteBusinessMetricNotFound) GetPayload() *models.Errors
- func (o *DeleteBusinessMetricNotFound) IsClientError() bool
- func (o *DeleteBusinessMetricNotFound) IsCode(code int) bool
- func (o *DeleteBusinessMetricNotFound) IsRedirect() bool
- func (o *DeleteBusinessMetricNotFound) IsServerError() bool
- func (o *DeleteBusinessMetricNotFound) IsSuccess() bool
- func (o *DeleteBusinessMetricNotFound) String() string
- type DeleteBusinessMetricParams
- func NewDeleteBusinessMetricParams() *DeleteBusinessMetricParams
- func NewDeleteBusinessMetricParamsWithContext(ctx context.Context) *DeleteBusinessMetricParams
- func NewDeleteBusinessMetricParamsWithHTTPClient(client *http.Client) *DeleteBusinessMetricParams
- func NewDeleteBusinessMetricParamsWithTimeout(timeout time.Duration) *DeleteBusinessMetricParams
- func (o *DeleteBusinessMetricParams) SetBusinessMetricToken(businessMetricToken string)
- func (o *DeleteBusinessMetricParams) SetContext(ctx context.Context)
- func (o *DeleteBusinessMetricParams) SetDefaults()
- func (o *DeleteBusinessMetricParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBusinessMetricParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBusinessMetricParams) WithBusinessMetricToken(businessMetricToken string) *DeleteBusinessMetricParams
- func (o *DeleteBusinessMetricParams) WithContext(ctx context.Context) *DeleteBusinessMetricParams
- func (o *DeleteBusinessMetricParams) WithDefaults() *DeleteBusinessMetricParams
- func (o *DeleteBusinessMetricParams) WithHTTPClient(client *http.Client) *DeleteBusinessMetricParams
- func (o *DeleteBusinessMetricParams) WithTimeout(timeout time.Duration) *DeleteBusinessMetricParams
- func (o *DeleteBusinessMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBusinessMetricReader
- type GetBusinessMetricNotFound
- func (o *GetBusinessMetricNotFound) Code() int
- func (o *GetBusinessMetricNotFound) Error() string
- func (o *GetBusinessMetricNotFound) GetPayload() *models.Errors
- func (o *GetBusinessMetricNotFound) IsClientError() bool
- func (o *GetBusinessMetricNotFound) IsCode(code int) bool
- func (o *GetBusinessMetricNotFound) IsRedirect() bool
- func (o *GetBusinessMetricNotFound) IsServerError() bool
- func (o *GetBusinessMetricNotFound) IsSuccess() bool
- func (o *GetBusinessMetricNotFound) String() string
- type GetBusinessMetricOK
- func (o *GetBusinessMetricOK) Code() int
- func (o *GetBusinessMetricOK) Error() string
- func (o *GetBusinessMetricOK) GetPayload() *models.BusinessMetric
- func (o *GetBusinessMetricOK) IsClientError() bool
- func (o *GetBusinessMetricOK) IsCode(code int) bool
- func (o *GetBusinessMetricOK) IsRedirect() bool
- func (o *GetBusinessMetricOK) IsServerError() bool
- func (o *GetBusinessMetricOK) IsSuccess() bool
- func (o *GetBusinessMetricOK) String() string
- type GetBusinessMetricParams
- func NewGetBusinessMetricParams() *GetBusinessMetricParams
- func NewGetBusinessMetricParamsWithContext(ctx context.Context) *GetBusinessMetricParams
- func NewGetBusinessMetricParamsWithHTTPClient(client *http.Client) *GetBusinessMetricParams
- func NewGetBusinessMetricParamsWithTimeout(timeout time.Duration) *GetBusinessMetricParams
- func (o *GetBusinessMetricParams) SetBusinessMetricToken(businessMetricToken string)
- func (o *GetBusinessMetricParams) SetContext(ctx context.Context)
- func (o *GetBusinessMetricParams) SetDefaults()
- func (o *GetBusinessMetricParams) SetHTTPClient(client *http.Client)
- func (o *GetBusinessMetricParams) SetTimeout(timeout time.Duration)
- func (o *GetBusinessMetricParams) WithBusinessMetricToken(businessMetricToken string) *GetBusinessMetricParams
- func (o *GetBusinessMetricParams) WithContext(ctx context.Context) *GetBusinessMetricParams
- func (o *GetBusinessMetricParams) WithDefaults() *GetBusinessMetricParams
- func (o *GetBusinessMetricParams) WithHTTPClient(client *http.Client) *GetBusinessMetricParams
- func (o *GetBusinessMetricParams) WithTimeout(timeout time.Duration) *GetBusinessMetricParams
- func (o *GetBusinessMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBusinessMetricReader
- type GetBusinessMetricsOK
- func (o *GetBusinessMetricsOK) Code() int
- func (o *GetBusinessMetricsOK) Error() string
- func (o *GetBusinessMetricsOK) GetPayload() *models.BusinessMetrics
- func (o *GetBusinessMetricsOK) IsClientError() bool
- func (o *GetBusinessMetricsOK) IsCode(code int) bool
- func (o *GetBusinessMetricsOK) IsRedirect() bool
- func (o *GetBusinessMetricsOK) IsServerError() bool
- func (o *GetBusinessMetricsOK) IsSuccess() bool
- func (o *GetBusinessMetricsOK) String() string
- type GetBusinessMetricsParams
- func NewGetBusinessMetricsParams() *GetBusinessMetricsParams
- func NewGetBusinessMetricsParamsWithContext(ctx context.Context) *GetBusinessMetricsParams
- func NewGetBusinessMetricsParamsWithHTTPClient(client *http.Client) *GetBusinessMetricsParams
- func NewGetBusinessMetricsParamsWithTimeout(timeout time.Duration) *GetBusinessMetricsParams
- func (o *GetBusinessMetricsParams) SetContext(ctx context.Context)
- func (o *GetBusinessMetricsParams) SetDefaults()
- func (o *GetBusinessMetricsParams) SetHTTPClient(client *http.Client)
- func (o *GetBusinessMetricsParams) SetLimit(limit *int32)
- func (o *GetBusinessMetricsParams) SetPage(page *int32)
- func (o *GetBusinessMetricsParams) SetTimeout(timeout time.Duration)
- func (o *GetBusinessMetricsParams) WithContext(ctx context.Context) *GetBusinessMetricsParams
- func (o *GetBusinessMetricsParams) WithDefaults() *GetBusinessMetricsParams
- func (o *GetBusinessMetricsParams) WithHTTPClient(client *http.Client) *GetBusinessMetricsParams
- func (o *GetBusinessMetricsParams) WithLimit(limit *int32) *GetBusinessMetricsParams
- func (o *GetBusinessMetricsParams) WithPage(page *int32) *GetBusinessMetricsParams
- func (o *GetBusinessMetricsParams) WithTimeout(timeout time.Duration) *GetBusinessMetricsParams
- func (o *GetBusinessMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBusinessMetricsReader
- type UpdateBusinessMetricBadRequest
- func (o *UpdateBusinessMetricBadRequest) Code() int
- func (o *UpdateBusinessMetricBadRequest) Error() string
- func (o *UpdateBusinessMetricBadRequest) GetPayload() *models.Errors
- func (o *UpdateBusinessMetricBadRequest) IsClientError() bool
- func (o *UpdateBusinessMetricBadRequest) IsCode(code int) bool
- func (o *UpdateBusinessMetricBadRequest) IsRedirect() bool
- func (o *UpdateBusinessMetricBadRequest) IsServerError() bool
- func (o *UpdateBusinessMetricBadRequest) IsSuccess() bool
- func (o *UpdateBusinessMetricBadRequest) String() string
- type UpdateBusinessMetricForbidden
- func (o *UpdateBusinessMetricForbidden) Code() int
- func (o *UpdateBusinessMetricForbidden) Error() string
- func (o *UpdateBusinessMetricForbidden) GetPayload() *models.Errors
- func (o *UpdateBusinessMetricForbidden) IsClientError() bool
- func (o *UpdateBusinessMetricForbidden) IsCode(code int) bool
- func (o *UpdateBusinessMetricForbidden) IsRedirect() bool
- func (o *UpdateBusinessMetricForbidden) IsServerError() bool
- func (o *UpdateBusinessMetricForbidden) IsSuccess() bool
- func (o *UpdateBusinessMetricForbidden) String() string
- type UpdateBusinessMetricNotFound
- func (o *UpdateBusinessMetricNotFound) Code() int
- func (o *UpdateBusinessMetricNotFound) Error() string
- func (o *UpdateBusinessMetricNotFound) GetPayload() *models.Errors
- func (o *UpdateBusinessMetricNotFound) IsClientError() bool
- func (o *UpdateBusinessMetricNotFound) IsCode(code int) bool
- func (o *UpdateBusinessMetricNotFound) IsRedirect() bool
- func (o *UpdateBusinessMetricNotFound) IsServerError() bool
- func (o *UpdateBusinessMetricNotFound) IsSuccess() bool
- func (o *UpdateBusinessMetricNotFound) String() string
- type UpdateBusinessMetricOK
- func (o *UpdateBusinessMetricOK) Code() int
- func (o *UpdateBusinessMetricOK) Error() string
- func (o *UpdateBusinessMetricOK) GetPayload() *models.BusinessMetric
- func (o *UpdateBusinessMetricOK) IsClientError() bool
- func (o *UpdateBusinessMetricOK) IsCode(code int) bool
- func (o *UpdateBusinessMetricOK) IsRedirect() bool
- func (o *UpdateBusinessMetricOK) IsServerError() bool
- func (o *UpdateBusinessMetricOK) IsSuccess() bool
- func (o *UpdateBusinessMetricOK) String() string
- type UpdateBusinessMetricParams
- func NewUpdateBusinessMetricParams() *UpdateBusinessMetricParams
- func NewUpdateBusinessMetricParamsWithContext(ctx context.Context) *UpdateBusinessMetricParams
- func NewUpdateBusinessMetricParamsWithHTTPClient(client *http.Client) *UpdateBusinessMetricParams
- func NewUpdateBusinessMetricParamsWithTimeout(timeout time.Duration) *UpdateBusinessMetricParams
- func (o *UpdateBusinessMetricParams) SetBusinessMetricToken(businessMetricToken string)
- func (o *UpdateBusinessMetricParams) SetContext(ctx context.Context)
- func (o *UpdateBusinessMetricParams) SetDefaults()
- func (o *UpdateBusinessMetricParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBusinessMetricParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBusinessMetricParams) SetUpdateBusinessMetric(updateBusinessMetric *models.UpdateBusinessMetric)
- func (o *UpdateBusinessMetricParams) WithBusinessMetricToken(businessMetricToken string) *UpdateBusinessMetricParams
- func (o *UpdateBusinessMetricParams) WithContext(ctx context.Context) *UpdateBusinessMetricParams
- func (o *UpdateBusinessMetricParams) WithDefaults() *UpdateBusinessMetricParams
- func (o *UpdateBusinessMetricParams) WithHTTPClient(client *http.Client) *UpdateBusinessMetricParams
- func (o *UpdateBusinessMetricParams) WithTimeout(timeout time.Duration) *UpdateBusinessMetricParams
- func (o *UpdateBusinessMetricParams) WithUpdateBusinessMetric(updateBusinessMetric *models.UpdateBusinessMetric) *UpdateBusinessMetricParams
- func (o *UpdateBusinessMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBusinessMetricReader
- type UpdateBusinessMetricUnprocessableEntity
- func (o *UpdateBusinessMetricUnprocessableEntity) Code() int
- func (o *UpdateBusinessMetricUnprocessableEntity) Error() string
- func (o *UpdateBusinessMetricUnprocessableEntity) GetPayload() *models.Errors
- func (o *UpdateBusinessMetricUnprocessableEntity) IsClientError() bool
- func (o *UpdateBusinessMetricUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateBusinessMetricUnprocessableEntity) IsRedirect() bool
- func (o *UpdateBusinessMetricUnprocessableEntity) IsServerError() bool
- func (o *UpdateBusinessMetricUnprocessableEntity) IsSuccess() bool
- func (o *UpdateBusinessMetricUnprocessableEntity) String() string
- type UpdateBusinessMetricValuesCSVBadRequest
- func (o *UpdateBusinessMetricValuesCSVBadRequest) Code() int
- func (o *UpdateBusinessMetricValuesCSVBadRequest) Error() string
- func (o *UpdateBusinessMetricValuesCSVBadRequest) GetPayload() *models.Errors
- func (o *UpdateBusinessMetricValuesCSVBadRequest) IsClientError() bool
- func (o *UpdateBusinessMetricValuesCSVBadRequest) IsCode(code int) bool
- func (o *UpdateBusinessMetricValuesCSVBadRequest) IsRedirect() bool
- func (o *UpdateBusinessMetricValuesCSVBadRequest) IsServerError() bool
- func (o *UpdateBusinessMetricValuesCSVBadRequest) IsSuccess() bool
- func (o *UpdateBusinessMetricValuesCSVBadRequest) String() string
- type UpdateBusinessMetricValuesCSVCreated
- func (o *UpdateBusinessMetricValuesCSVCreated) Code() int
- func (o *UpdateBusinessMetricValuesCSVCreated) Error() string
- func (o *UpdateBusinessMetricValuesCSVCreated) GetPayload() *models.BusinessMetric
- func (o *UpdateBusinessMetricValuesCSVCreated) IsClientError() bool
- func (o *UpdateBusinessMetricValuesCSVCreated) IsCode(code int) bool
- func (o *UpdateBusinessMetricValuesCSVCreated) IsRedirect() bool
- func (o *UpdateBusinessMetricValuesCSVCreated) IsServerError() bool
- func (o *UpdateBusinessMetricValuesCSVCreated) IsSuccess() bool
- func (o *UpdateBusinessMetricValuesCSVCreated) String() string
- type UpdateBusinessMetricValuesCSVForbidden
- func (o *UpdateBusinessMetricValuesCSVForbidden) Code() int
- func (o *UpdateBusinessMetricValuesCSVForbidden) Error() string
- func (o *UpdateBusinessMetricValuesCSVForbidden) GetPayload() *models.Errors
- func (o *UpdateBusinessMetricValuesCSVForbidden) IsClientError() bool
- func (o *UpdateBusinessMetricValuesCSVForbidden) IsCode(code int) bool
- func (o *UpdateBusinessMetricValuesCSVForbidden) IsRedirect() bool
- func (o *UpdateBusinessMetricValuesCSVForbidden) IsServerError() bool
- func (o *UpdateBusinessMetricValuesCSVForbidden) IsSuccess() bool
- func (o *UpdateBusinessMetricValuesCSVForbidden) String() string
- type UpdateBusinessMetricValuesCSVNotFound
- func (o *UpdateBusinessMetricValuesCSVNotFound) Code() int
- func (o *UpdateBusinessMetricValuesCSVNotFound) Error() string
- func (o *UpdateBusinessMetricValuesCSVNotFound) GetPayload() *models.Errors
- func (o *UpdateBusinessMetricValuesCSVNotFound) IsClientError() bool
- func (o *UpdateBusinessMetricValuesCSVNotFound) IsCode(code int) bool
- func (o *UpdateBusinessMetricValuesCSVNotFound) IsRedirect() bool
- func (o *UpdateBusinessMetricValuesCSVNotFound) IsServerError() bool
- func (o *UpdateBusinessMetricValuesCSVNotFound) IsSuccess() bool
- func (o *UpdateBusinessMetricValuesCSVNotFound) String() string
- type UpdateBusinessMetricValuesCSVParams
- func NewUpdateBusinessMetricValuesCSVParams() *UpdateBusinessMetricValuesCSVParams
- func NewUpdateBusinessMetricValuesCSVParamsWithContext(ctx context.Context) *UpdateBusinessMetricValuesCSVParams
- func NewUpdateBusinessMetricValuesCSVParamsWithHTTPClient(client *http.Client) *UpdateBusinessMetricValuesCSVParams
- func NewUpdateBusinessMetricValuesCSVParamsWithTimeout(timeout time.Duration) *UpdateBusinessMetricValuesCSVParams
- func (o *UpdateBusinessMetricValuesCSVParams) SetBusinessMetricToken(businessMetricToken string)
- func (o *UpdateBusinessMetricValuesCSVParams) SetContext(ctx context.Context)
- func (o *UpdateBusinessMetricValuesCSVParams) SetCsv(csv runtime.NamedReadCloser)
- func (o *UpdateBusinessMetricValuesCSVParams) SetDefaults()
- func (o *UpdateBusinessMetricValuesCSVParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBusinessMetricValuesCSVParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBusinessMetricValuesCSVParams) WithBusinessMetricToken(businessMetricToken string) *UpdateBusinessMetricValuesCSVParams
- func (o *UpdateBusinessMetricValuesCSVParams) WithContext(ctx context.Context) *UpdateBusinessMetricValuesCSVParams
- func (o *UpdateBusinessMetricValuesCSVParams) WithCsv(csv runtime.NamedReadCloser) *UpdateBusinessMetricValuesCSVParams
- func (o *UpdateBusinessMetricValuesCSVParams) WithDefaults() *UpdateBusinessMetricValuesCSVParams
- func (o *UpdateBusinessMetricValuesCSVParams) WithHTTPClient(client *http.Client) *UpdateBusinessMetricValuesCSVParams
- func (o *UpdateBusinessMetricValuesCSVParams) WithTimeout(timeout time.Duration) *UpdateBusinessMetricValuesCSVParams
- func (o *UpdateBusinessMetricValuesCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBusinessMetricValuesCSVReader
- type UpdateBusinessMetricValuesCSVUnprocessableEntity
- func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) Code() int
- func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) Error() string
- func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) GetPayload() *models.Errors
- func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) IsClientError() bool
- func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) IsRedirect() bool
- func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) IsServerError() bool
- func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) IsSuccess() bool
- func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for business metrics API
func (*Client) CreateBusinessMetric ¶ added in v0.0.9
func (a *Client) CreateBusinessMetric(params *CreateBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBusinessMetricCreated, error)
CreateBusinessMetric Create a new BusinessMetric.
func (*Client) DeleteBusinessMetric ¶ added in v0.0.9
func (a *Client) DeleteBusinessMetric(params *DeleteBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBusinessMetricNoContent, error)
DeleteBusinessMetric Deletes an existing BusinessMetric.
func (*Client) GetBusinessMetric ¶
func (a *Client) GetBusinessMetric(params *GetBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBusinessMetricOK, error)
GetBusinessMetric Return a specific BusinessMetrics.
func (*Client) GetBusinessMetrics ¶
func (a *Client) GetBusinessMetrics(params *GetBusinessMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBusinessMetricsOK, error)
GetBusinessMetrics Return all BusinessMetrics that the current API token has access to.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateBusinessMetric ¶ added in v0.0.9
func (a *Client) UpdateBusinessMetric(params *UpdateBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBusinessMetricOK, error)
UpdateBusinessMetric Updates an existing BusinessMetric.
func (*Client) UpdateBusinessMetricValuesCSV ¶ added in v0.0.11
func (a *Client) UpdateBusinessMetricValuesCSV(params *UpdateBusinessMetricValuesCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBusinessMetricValuesCSVCreated, error)
UpdateBusinessMetricValuesCSV Updates the values for an existing BusinessMetric from a CSV file.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateBusinessMetric(params *CreateBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBusinessMetricCreated, error) DeleteBusinessMetric(params *DeleteBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBusinessMetricNoContent, error) GetBusinessMetric(params *GetBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBusinessMetricOK, error) GetBusinessMetrics(params *GetBusinessMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBusinessMetricsOK, error) UpdateBusinessMetric(params *UpdateBusinessMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBusinessMetricOK, error) UpdateBusinessMetricValuesCSV(params *UpdateBusinessMetricValuesCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBusinessMetricValuesCSVCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new business metrics API client.
type CreateBusinessMetricBadRequest ¶ added in v0.0.9
CreateBusinessMetricBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewCreateBusinessMetricBadRequest ¶ added in v0.0.9
func NewCreateBusinessMetricBadRequest() *CreateBusinessMetricBadRequest
NewCreateBusinessMetricBadRequest creates a CreateBusinessMetricBadRequest with default headers values
func (*CreateBusinessMetricBadRequest) Code ¶ added in v0.0.9
func (o *CreateBusinessMetricBadRequest) Code() int
Code gets the status code for the create business metric bad request response
func (*CreateBusinessMetricBadRequest) Error ¶ added in v0.0.9
func (o *CreateBusinessMetricBadRequest) Error() string
func (*CreateBusinessMetricBadRequest) GetPayload ¶ added in v0.0.9
func (o *CreateBusinessMetricBadRequest) GetPayload() *models.Errors
func (*CreateBusinessMetricBadRequest) IsClientError ¶ added in v0.0.9
func (o *CreateBusinessMetricBadRequest) IsClientError() bool
IsClientError returns true when this create business metric bad request response has a 4xx status code
func (*CreateBusinessMetricBadRequest) IsCode ¶ added in v0.0.9
func (o *CreateBusinessMetricBadRequest) IsCode(code int) bool
IsCode returns true when this create business metric bad request response a status code equal to that given
func (*CreateBusinessMetricBadRequest) IsRedirect ¶ added in v0.0.9
func (o *CreateBusinessMetricBadRequest) IsRedirect() bool
IsRedirect returns true when this create business metric bad request response has a 3xx status code
func (*CreateBusinessMetricBadRequest) IsServerError ¶ added in v0.0.9
func (o *CreateBusinessMetricBadRequest) IsServerError() bool
IsServerError returns true when this create business metric bad request response has a 5xx status code
func (*CreateBusinessMetricBadRequest) IsSuccess ¶ added in v0.0.9
func (o *CreateBusinessMetricBadRequest) IsSuccess() bool
IsSuccess returns true when this create business metric bad request response has a 2xx status code
func (*CreateBusinessMetricBadRequest) String ¶ added in v0.0.9
func (o *CreateBusinessMetricBadRequest) String() string
type CreateBusinessMetricCreated ¶ added in v0.0.9
type CreateBusinessMetricCreated struct {
Payload *models.BusinessMetric
}
CreateBusinessMetricCreated describes a response with status code 201, with default header values.
CreateBusinessMetricCreated create business metric created
func NewCreateBusinessMetricCreated ¶ added in v0.0.9
func NewCreateBusinessMetricCreated() *CreateBusinessMetricCreated
NewCreateBusinessMetricCreated creates a CreateBusinessMetricCreated with default headers values
func (*CreateBusinessMetricCreated) Code ¶ added in v0.0.9
func (o *CreateBusinessMetricCreated) Code() int
Code gets the status code for the create business metric created response
func (*CreateBusinessMetricCreated) Error ¶ added in v0.0.9
func (o *CreateBusinessMetricCreated) Error() string
func (*CreateBusinessMetricCreated) GetPayload ¶ added in v0.0.9
func (o *CreateBusinessMetricCreated) GetPayload() *models.BusinessMetric
func (*CreateBusinessMetricCreated) IsClientError ¶ added in v0.0.9
func (o *CreateBusinessMetricCreated) IsClientError() bool
IsClientError returns true when this create business metric created response has a 4xx status code
func (*CreateBusinessMetricCreated) IsCode ¶ added in v0.0.9
func (o *CreateBusinessMetricCreated) IsCode(code int) bool
IsCode returns true when this create business metric created response a status code equal to that given
func (*CreateBusinessMetricCreated) IsRedirect ¶ added in v0.0.9
func (o *CreateBusinessMetricCreated) IsRedirect() bool
IsRedirect returns true when this create business metric created response has a 3xx status code
func (*CreateBusinessMetricCreated) IsServerError ¶ added in v0.0.9
func (o *CreateBusinessMetricCreated) IsServerError() bool
IsServerError returns true when this create business metric created response has a 5xx status code
func (*CreateBusinessMetricCreated) IsSuccess ¶ added in v0.0.9
func (o *CreateBusinessMetricCreated) IsSuccess() bool
IsSuccess returns true when this create business metric created response has a 2xx status code
func (*CreateBusinessMetricCreated) String ¶ added in v0.0.9
func (o *CreateBusinessMetricCreated) String() string
type CreateBusinessMetricForbidden ¶ added in v0.0.9
CreateBusinessMetricForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateBusinessMetricForbidden ¶ added in v0.0.9
func NewCreateBusinessMetricForbidden() *CreateBusinessMetricForbidden
NewCreateBusinessMetricForbidden creates a CreateBusinessMetricForbidden with default headers values
func (*CreateBusinessMetricForbidden) Code ¶ added in v0.0.9
func (o *CreateBusinessMetricForbidden) Code() int
Code gets the status code for the create business metric forbidden response
func (*CreateBusinessMetricForbidden) Error ¶ added in v0.0.9
func (o *CreateBusinessMetricForbidden) Error() string
func (*CreateBusinessMetricForbidden) GetPayload ¶ added in v0.0.9
func (o *CreateBusinessMetricForbidden) GetPayload() *models.Errors
func (*CreateBusinessMetricForbidden) IsClientError ¶ added in v0.0.9
func (o *CreateBusinessMetricForbidden) IsClientError() bool
IsClientError returns true when this create business metric forbidden response has a 4xx status code
func (*CreateBusinessMetricForbidden) IsCode ¶ added in v0.0.9
func (o *CreateBusinessMetricForbidden) IsCode(code int) bool
IsCode returns true when this create business metric forbidden response a status code equal to that given
func (*CreateBusinessMetricForbidden) IsRedirect ¶ added in v0.0.9
func (o *CreateBusinessMetricForbidden) IsRedirect() bool
IsRedirect returns true when this create business metric forbidden response has a 3xx status code
func (*CreateBusinessMetricForbidden) IsServerError ¶ added in v0.0.9
func (o *CreateBusinessMetricForbidden) IsServerError() bool
IsServerError returns true when this create business metric forbidden response has a 5xx status code
func (*CreateBusinessMetricForbidden) IsSuccess ¶ added in v0.0.9
func (o *CreateBusinessMetricForbidden) IsSuccess() bool
IsSuccess returns true when this create business metric forbidden response has a 2xx status code
func (*CreateBusinessMetricForbidden) String ¶ added in v0.0.9
func (o *CreateBusinessMetricForbidden) String() string
type CreateBusinessMetricNotFound ¶ added in v0.0.9
CreateBusinessMetricNotFound describes a response with status code 404, with default header values.
NotFound
func NewCreateBusinessMetricNotFound ¶ added in v0.0.9
func NewCreateBusinessMetricNotFound() *CreateBusinessMetricNotFound
NewCreateBusinessMetricNotFound creates a CreateBusinessMetricNotFound with default headers values
func (*CreateBusinessMetricNotFound) Code ¶ added in v0.0.9
func (o *CreateBusinessMetricNotFound) Code() int
Code gets the status code for the create business metric not found response
func (*CreateBusinessMetricNotFound) Error ¶ added in v0.0.9
func (o *CreateBusinessMetricNotFound) Error() string
func (*CreateBusinessMetricNotFound) GetPayload ¶ added in v0.0.9
func (o *CreateBusinessMetricNotFound) GetPayload() *models.Errors
func (*CreateBusinessMetricNotFound) IsClientError ¶ added in v0.0.9
func (o *CreateBusinessMetricNotFound) IsClientError() bool
IsClientError returns true when this create business metric not found response has a 4xx status code
func (*CreateBusinessMetricNotFound) IsCode ¶ added in v0.0.9
func (o *CreateBusinessMetricNotFound) IsCode(code int) bool
IsCode returns true when this create business metric not found response a status code equal to that given
func (*CreateBusinessMetricNotFound) IsRedirect ¶ added in v0.0.9
func (o *CreateBusinessMetricNotFound) IsRedirect() bool
IsRedirect returns true when this create business metric not found response has a 3xx status code
func (*CreateBusinessMetricNotFound) IsServerError ¶ added in v0.0.9
func (o *CreateBusinessMetricNotFound) IsServerError() bool
IsServerError returns true when this create business metric not found response has a 5xx status code
func (*CreateBusinessMetricNotFound) IsSuccess ¶ added in v0.0.9
func (o *CreateBusinessMetricNotFound) IsSuccess() bool
IsSuccess returns true when this create business metric not found response has a 2xx status code
func (*CreateBusinessMetricNotFound) String ¶ added in v0.0.9
func (o *CreateBusinessMetricNotFound) String() string
type CreateBusinessMetricParams ¶ added in v0.0.9
type CreateBusinessMetricParams struct { // CreateBusinessMetric. CreateBusinessMetric *models.CreateBusinessMetric Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateBusinessMetricParams contains all the parameters to send to the API endpoint
for the create business metric operation. Typically these are written to a http.Request.
func NewCreateBusinessMetricParams ¶ added in v0.0.9
func NewCreateBusinessMetricParams() *CreateBusinessMetricParams
NewCreateBusinessMetricParams creates a new CreateBusinessMetricParams 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 NewCreateBusinessMetricParamsWithContext ¶ added in v0.0.9
func NewCreateBusinessMetricParamsWithContext(ctx context.Context) *CreateBusinessMetricParams
NewCreateBusinessMetricParamsWithContext creates a new CreateBusinessMetricParams object with the ability to set a context for a request.
func NewCreateBusinessMetricParamsWithHTTPClient ¶ added in v0.0.9
func NewCreateBusinessMetricParamsWithHTTPClient(client *http.Client) *CreateBusinessMetricParams
NewCreateBusinessMetricParamsWithHTTPClient creates a new CreateBusinessMetricParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBusinessMetricParamsWithTimeout ¶ added in v0.0.9
func NewCreateBusinessMetricParamsWithTimeout(timeout time.Duration) *CreateBusinessMetricParams
NewCreateBusinessMetricParamsWithTimeout creates a new CreateBusinessMetricParams object with the ability to set a timeout on a request.
func (*CreateBusinessMetricParams) SetContext ¶ added in v0.0.9
func (o *CreateBusinessMetricParams) SetContext(ctx context.Context)
SetContext adds the context to the create business metric params
func (*CreateBusinessMetricParams) SetCreateBusinessMetric ¶ added in v0.0.14
func (o *CreateBusinessMetricParams) SetCreateBusinessMetric(createBusinessMetric *models.CreateBusinessMetric)
SetCreateBusinessMetric adds the createBusinessMetric to the create business metric params
func (*CreateBusinessMetricParams) SetDefaults ¶ added in v0.0.9
func (o *CreateBusinessMetricParams) SetDefaults()
SetDefaults hydrates default values in the create business metric params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBusinessMetricParams) SetHTTPClient ¶ added in v0.0.9
func (o *CreateBusinessMetricParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create business metric params
func (*CreateBusinessMetricParams) SetTimeout ¶ added in v0.0.9
func (o *CreateBusinessMetricParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create business metric params
func (*CreateBusinessMetricParams) WithContext ¶ added in v0.0.9
func (o *CreateBusinessMetricParams) WithContext(ctx context.Context) *CreateBusinessMetricParams
WithContext adds the context to the create business metric params
func (*CreateBusinessMetricParams) WithCreateBusinessMetric ¶ added in v0.0.14
func (o *CreateBusinessMetricParams) WithCreateBusinessMetric(createBusinessMetric *models.CreateBusinessMetric) *CreateBusinessMetricParams
WithCreateBusinessMetric adds the createBusinessMetric to the create business metric params
func (*CreateBusinessMetricParams) WithDefaults ¶ added in v0.0.9
func (o *CreateBusinessMetricParams) WithDefaults() *CreateBusinessMetricParams
WithDefaults hydrates default values in the create business metric params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBusinessMetricParams) WithHTTPClient ¶ added in v0.0.9
func (o *CreateBusinessMetricParams) WithHTTPClient(client *http.Client) *CreateBusinessMetricParams
WithHTTPClient adds the HTTPClient to the create business metric params
func (*CreateBusinessMetricParams) WithTimeout ¶ added in v0.0.9
func (o *CreateBusinessMetricParams) WithTimeout(timeout time.Duration) *CreateBusinessMetricParams
WithTimeout adds the timeout to the create business metric params
func (*CreateBusinessMetricParams) WriteToRequest ¶ added in v0.0.9
func (o *CreateBusinessMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBusinessMetricReader ¶ added in v0.0.9
type CreateBusinessMetricReader struct {
// contains filtered or unexported fields
}
CreateBusinessMetricReader is a Reader for the CreateBusinessMetric structure.
func (*CreateBusinessMetricReader) ReadResponse ¶ added in v0.0.9
func (o *CreateBusinessMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateBusinessMetricUnprocessableEntity ¶ added in v0.0.9
CreateBusinessMetricUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntity
func NewCreateBusinessMetricUnprocessableEntity ¶ added in v0.0.9
func NewCreateBusinessMetricUnprocessableEntity() *CreateBusinessMetricUnprocessableEntity
NewCreateBusinessMetricUnprocessableEntity creates a CreateBusinessMetricUnprocessableEntity with default headers values
func (*CreateBusinessMetricUnprocessableEntity) Code ¶ added in v0.0.9
func (o *CreateBusinessMetricUnprocessableEntity) Code() int
Code gets the status code for the create business metric unprocessable entity response
func (*CreateBusinessMetricUnprocessableEntity) Error ¶ added in v0.0.9
func (o *CreateBusinessMetricUnprocessableEntity) Error() string
func (*CreateBusinessMetricUnprocessableEntity) GetPayload ¶ added in v0.0.9
func (o *CreateBusinessMetricUnprocessableEntity) GetPayload() *models.Errors
func (*CreateBusinessMetricUnprocessableEntity) IsClientError ¶ added in v0.0.9
func (o *CreateBusinessMetricUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create business metric unprocessable entity response has a 4xx status code
func (*CreateBusinessMetricUnprocessableEntity) IsCode ¶ added in v0.0.9
func (o *CreateBusinessMetricUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create business metric unprocessable entity response a status code equal to that given
func (*CreateBusinessMetricUnprocessableEntity) IsRedirect ¶ added in v0.0.9
func (o *CreateBusinessMetricUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create business metric unprocessable entity response has a 3xx status code
func (*CreateBusinessMetricUnprocessableEntity) IsServerError ¶ added in v0.0.9
func (o *CreateBusinessMetricUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create business metric unprocessable entity response has a 5xx status code
func (*CreateBusinessMetricUnprocessableEntity) IsSuccess ¶ added in v0.0.9
func (o *CreateBusinessMetricUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create business metric unprocessable entity response has a 2xx status code
func (*CreateBusinessMetricUnprocessableEntity) String ¶ added in v0.0.9
func (o *CreateBusinessMetricUnprocessableEntity) String() string
type DeleteBusinessMetricForbidden ¶ added in v0.0.9
DeleteBusinessMetricForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteBusinessMetricForbidden ¶ added in v0.0.9
func NewDeleteBusinessMetricForbidden() *DeleteBusinessMetricForbidden
NewDeleteBusinessMetricForbidden creates a DeleteBusinessMetricForbidden with default headers values
func (*DeleteBusinessMetricForbidden) Code ¶ added in v0.0.9
func (o *DeleteBusinessMetricForbidden) Code() int
Code gets the status code for the delete business metric forbidden response
func (*DeleteBusinessMetricForbidden) Error ¶ added in v0.0.9
func (o *DeleteBusinessMetricForbidden) Error() string
func (*DeleteBusinessMetricForbidden) GetPayload ¶ added in v0.0.9
func (o *DeleteBusinessMetricForbidden) GetPayload() *models.Errors
func (*DeleteBusinessMetricForbidden) IsClientError ¶ added in v0.0.9
func (o *DeleteBusinessMetricForbidden) IsClientError() bool
IsClientError returns true when this delete business metric forbidden response has a 4xx status code
func (*DeleteBusinessMetricForbidden) IsCode ¶ added in v0.0.9
func (o *DeleteBusinessMetricForbidden) IsCode(code int) bool
IsCode returns true when this delete business metric forbidden response a status code equal to that given
func (*DeleteBusinessMetricForbidden) IsRedirect ¶ added in v0.0.9
func (o *DeleteBusinessMetricForbidden) IsRedirect() bool
IsRedirect returns true when this delete business metric forbidden response has a 3xx status code
func (*DeleteBusinessMetricForbidden) IsServerError ¶ added in v0.0.9
func (o *DeleteBusinessMetricForbidden) IsServerError() bool
IsServerError returns true when this delete business metric forbidden response has a 5xx status code
func (*DeleteBusinessMetricForbidden) IsSuccess ¶ added in v0.0.9
func (o *DeleteBusinessMetricForbidden) IsSuccess() bool
IsSuccess returns true when this delete business metric forbidden response has a 2xx status code
func (*DeleteBusinessMetricForbidden) String ¶ added in v0.0.9
func (o *DeleteBusinessMetricForbidden) String() string
type DeleteBusinessMetricNoContent ¶ added in v0.0.9
type DeleteBusinessMetricNoContent struct {
Payload *models.BusinessMetric
}
DeleteBusinessMetricNoContent describes a response with status code 204, with default header values.
DeleteBusinessMetricNoContent delete business metric no content
func NewDeleteBusinessMetricNoContent ¶ added in v0.0.9
func NewDeleteBusinessMetricNoContent() *DeleteBusinessMetricNoContent
NewDeleteBusinessMetricNoContent creates a DeleteBusinessMetricNoContent with default headers values
func (*DeleteBusinessMetricNoContent) Code ¶ added in v0.0.9
func (o *DeleteBusinessMetricNoContent) Code() int
Code gets the status code for the delete business metric no content response
func (*DeleteBusinessMetricNoContent) Error ¶ added in v0.0.9
func (o *DeleteBusinessMetricNoContent) Error() string
func (*DeleteBusinessMetricNoContent) GetPayload ¶ added in v0.0.9
func (o *DeleteBusinessMetricNoContent) GetPayload() *models.BusinessMetric
func (*DeleteBusinessMetricNoContent) IsClientError ¶ added in v0.0.9
func (o *DeleteBusinessMetricNoContent) IsClientError() bool
IsClientError returns true when this delete business metric no content response has a 4xx status code
func (*DeleteBusinessMetricNoContent) IsCode ¶ added in v0.0.9
func (o *DeleteBusinessMetricNoContent) IsCode(code int) bool
IsCode returns true when this delete business metric no content response a status code equal to that given
func (*DeleteBusinessMetricNoContent) IsRedirect ¶ added in v0.0.9
func (o *DeleteBusinessMetricNoContent) IsRedirect() bool
IsRedirect returns true when this delete business metric no content response has a 3xx status code
func (*DeleteBusinessMetricNoContent) IsServerError ¶ added in v0.0.9
func (o *DeleteBusinessMetricNoContent) IsServerError() bool
IsServerError returns true when this delete business metric no content response has a 5xx status code
func (*DeleteBusinessMetricNoContent) IsSuccess ¶ added in v0.0.9
func (o *DeleteBusinessMetricNoContent) IsSuccess() bool
IsSuccess returns true when this delete business metric no content response has a 2xx status code
func (*DeleteBusinessMetricNoContent) String ¶ added in v0.0.9
func (o *DeleteBusinessMetricNoContent) String() string
type DeleteBusinessMetricNotFound ¶ added in v0.0.9
DeleteBusinessMetricNotFound describes a response with status code 404, with default header values.
NotFound
func NewDeleteBusinessMetricNotFound ¶ added in v0.0.9
func NewDeleteBusinessMetricNotFound() *DeleteBusinessMetricNotFound
NewDeleteBusinessMetricNotFound creates a DeleteBusinessMetricNotFound with default headers values
func (*DeleteBusinessMetricNotFound) Code ¶ added in v0.0.9
func (o *DeleteBusinessMetricNotFound) Code() int
Code gets the status code for the delete business metric not found response
func (*DeleteBusinessMetricNotFound) Error ¶ added in v0.0.9
func (o *DeleteBusinessMetricNotFound) Error() string
func (*DeleteBusinessMetricNotFound) GetPayload ¶ added in v0.0.9
func (o *DeleteBusinessMetricNotFound) GetPayload() *models.Errors
func (*DeleteBusinessMetricNotFound) IsClientError ¶ added in v0.0.9
func (o *DeleteBusinessMetricNotFound) IsClientError() bool
IsClientError returns true when this delete business metric not found response has a 4xx status code
func (*DeleteBusinessMetricNotFound) IsCode ¶ added in v0.0.9
func (o *DeleteBusinessMetricNotFound) IsCode(code int) bool
IsCode returns true when this delete business metric not found response a status code equal to that given
func (*DeleteBusinessMetricNotFound) IsRedirect ¶ added in v0.0.9
func (o *DeleteBusinessMetricNotFound) IsRedirect() bool
IsRedirect returns true when this delete business metric not found response has a 3xx status code
func (*DeleteBusinessMetricNotFound) IsServerError ¶ added in v0.0.9
func (o *DeleteBusinessMetricNotFound) IsServerError() bool
IsServerError returns true when this delete business metric not found response has a 5xx status code
func (*DeleteBusinessMetricNotFound) IsSuccess ¶ added in v0.0.9
func (o *DeleteBusinessMetricNotFound) IsSuccess() bool
IsSuccess returns true when this delete business metric not found response has a 2xx status code
func (*DeleteBusinessMetricNotFound) String ¶ added in v0.0.9
func (o *DeleteBusinessMetricNotFound) String() string
type DeleteBusinessMetricParams ¶ added in v0.0.9
type DeleteBusinessMetricParams struct { // BusinessMetricToken. BusinessMetricToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBusinessMetricParams contains all the parameters to send to the API endpoint
for the delete business metric operation. Typically these are written to a http.Request.
func NewDeleteBusinessMetricParams ¶ added in v0.0.9
func NewDeleteBusinessMetricParams() *DeleteBusinessMetricParams
NewDeleteBusinessMetricParams creates a new DeleteBusinessMetricParams 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 NewDeleteBusinessMetricParamsWithContext ¶ added in v0.0.9
func NewDeleteBusinessMetricParamsWithContext(ctx context.Context) *DeleteBusinessMetricParams
NewDeleteBusinessMetricParamsWithContext creates a new DeleteBusinessMetricParams object with the ability to set a context for a request.
func NewDeleteBusinessMetricParamsWithHTTPClient ¶ added in v0.0.9
func NewDeleteBusinessMetricParamsWithHTTPClient(client *http.Client) *DeleteBusinessMetricParams
NewDeleteBusinessMetricParamsWithHTTPClient creates a new DeleteBusinessMetricParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBusinessMetricParamsWithTimeout ¶ added in v0.0.9
func NewDeleteBusinessMetricParamsWithTimeout(timeout time.Duration) *DeleteBusinessMetricParams
NewDeleteBusinessMetricParamsWithTimeout creates a new DeleteBusinessMetricParams object with the ability to set a timeout on a request.
func (*DeleteBusinessMetricParams) SetBusinessMetricToken ¶ added in v0.0.9
func (o *DeleteBusinessMetricParams) SetBusinessMetricToken(businessMetricToken string)
SetBusinessMetricToken adds the businessMetricToken to the delete business metric params
func (*DeleteBusinessMetricParams) SetContext ¶ added in v0.0.9
func (o *DeleteBusinessMetricParams) SetContext(ctx context.Context)
SetContext adds the context to the delete business metric params
func (*DeleteBusinessMetricParams) SetDefaults ¶ added in v0.0.9
func (o *DeleteBusinessMetricParams) SetDefaults()
SetDefaults hydrates default values in the delete business metric params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBusinessMetricParams) SetHTTPClient ¶ added in v0.0.9
func (o *DeleteBusinessMetricParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete business metric params
func (*DeleteBusinessMetricParams) SetTimeout ¶ added in v0.0.9
func (o *DeleteBusinessMetricParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete business metric params
func (*DeleteBusinessMetricParams) WithBusinessMetricToken ¶ added in v0.0.9
func (o *DeleteBusinessMetricParams) WithBusinessMetricToken(businessMetricToken string) *DeleteBusinessMetricParams
WithBusinessMetricToken adds the businessMetricToken to the delete business metric params
func (*DeleteBusinessMetricParams) WithContext ¶ added in v0.0.9
func (o *DeleteBusinessMetricParams) WithContext(ctx context.Context) *DeleteBusinessMetricParams
WithContext adds the context to the delete business metric params
func (*DeleteBusinessMetricParams) WithDefaults ¶ added in v0.0.9
func (o *DeleteBusinessMetricParams) WithDefaults() *DeleteBusinessMetricParams
WithDefaults hydrates default values in the delete business metric params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBusinessMetricParams) WithHTTPClient ¶ added in v0.0.9
func (o *DeleteBusinessMetricParams) WithHTTPClient(client *http.Client) *DeleteBusinessMetricParams
WithHTTPClient adds the HTTPClient to the delete business metric params
func (*DeleteBusinessMetricParams) WithTimeout ¶ added in v0.0.9
func (o *DeleteBusinessMetricParams) WithTimeout(timeout time.Duration) *DeleteBusinessMetricParams
WithTimeout adds the timeout to the delete business metric params
func (*DeleteBusinessMetricParams) WriteToRequest ¶ added in v0.0.9
func (o *DeleteBusinessMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBusinessMetricReader ¶ added in v0.0.9
type DeleteBusinessMetricReader struct {
// contains filtered or unexported fields
}
DeleteBusinessMetricReader is a Reader for the DeleteBusinessMetric structure.
func (*DeleteBusinessMetricReader) ReadResponse ¶ added in v0.0.9
func (o *DeleteBusinessMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBusinessMetricNotFound ¶
GetBusinessMetricNotFound describes a response with status code 404, with default header values.
NotFound
func NewGetBusinessMetricNotFound ¶
func NewGetBusinessMetricNotFound() *GetBusinessMetricNotFound
NewGetBusinessMetricNotFound creates a GetBusinessMetricNotFound with default headers values
func (*GetBusinessMetricNotFound) Code ¶
func (o *GetBusinessMetricNotFound) Code() int
Code gets the status code for the get business metric not found response
func (*GetBusinessMetricNotFound) Error ¶
func (o *GetBusinessMetricNotFound) Error() string
func (*GetBusinessMetricNotFound) GetPayload ¶
func (o *GetBusinessMetricNotFound) GetPayload() *models.Errors
func (*GetBusinessMetricNotFound) IsClientError ¶
func (o *GetBusinessMetricNotFound) IsClientError() bool
IsClientError returns true when this get business metric not found response has a 4xx status code
func (*GetBusinessMetricNotFound) IsCode ¶
func (o *GetBusinessMetricNotFound) IsCode(code int) bool
IsCode returns true when this get business metric not found response a status code equal to that given
func (*GetBusinessMetricNotFound) IsRedirect ¶
func (o *GetBusinessMetricNotFound) IsRedirect() bool
IsRedirect returns true when this get business metric not found response has a 3xx status code
func (*GetBusinessMetricNotFound) IsServerError ¶
func (o *GetBusinessMetricNotFound) IsServerError() bool
IsServerError returns true when this get business metric not found response has a 5xx status code
func (*GetBusinessMetricNotFound) IsSuccess ¶
func (o *GetBusinessMetricNotFound) IsSuccess() bool
IsSuccess returns true when this get business metric not found response has a 2xx status code
func (*GetBusinessMetricNotFound) String ¶
func (o *GetBusinessMetricNotFound) String() string
type GetBusinessMetricOK ¶
type GetBusinessMetricOK struct {
Payload *models.BusinessMetric
}
GetBusinessMetricOK describes a response with status code 200, with default header values.
GetBusinessMetricOK get business metric o k
func NewGetBusinessMetricOK ¶
func NewGetBusinessMetricOK() *GetBusinessMetricOK
NewGetBusinessMetricOK creates a GetBusinessMetricOK with default headers values
func (*GetBusinessMetricOK) Code ¶
func (o *GetBusinessMetricOK) Code() int
Code gets the status code for the get business metric o k response
func (*GetBusinessMetricOK) Error ¶
func (o *GetBusinessMetricOK) Error() string
func (*GetBusinessMetricOK) GetPayload ¶
func (o *GetBusinessMetricOK) GetPayload() *models.BusinessMetric
func (*GetBusinessMetricOK) IsClientError ¶
func (o *GetBusinessMetricOK) IsClientError() bool
IsClientError returns true when this get business metric o k response has a 4xx status code
func (*GetBusinessMetricOK) IsCode ¶
func (o *GetBusinessMetricOK) IsCode(code int) bool
IsCode returns true when this get business metric o k response a status code equal to that given
func (*GetBusinessMetricOK) IsRedirect ¶
func (o *GetBusinessMetricOK) IsRedirect() bool
IsRedirect returns true when this get business metric o k response has a 3xx status code
func (*GetBusinessMetricOK) IsServerError ¶
func (o *GetBusinessMetricOK) IsServerError() bool
IsServerError returns true when this get business metric o k response has a 5xx status code
func (*GetBusinessMetricOK) IsSuccess ¶
func (o *GetBusinessMetricOK) IsSuccess() bool
IsSuccess returns true when this get business metric o k response has a 2xx status code
func (*GetBusinessMetricOK) String ¶
func (o *GetBusinessMetricOK) String() string
type GetBusinessMetricParams ¶
type GetBusinessMetricParams struct { // BusinessMetricToken. BusinessMetricToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBusinessMetricParams contains all the parameters to send to the API endpoint
for the get business metric operation. Typically these are written to a http.Request.
func NewGetBusinessMetricParams ¶
func NewGetBusinessMetricParams() *GetBusinessMetricParams
NewGetBusinessMetricParams creates a new GetBusinessMetricParams 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 NewGetBusinessMetricParamsWithContext ¶
func NewGetBusinessMetricParamsWithContext(ctx context.Context) *GetBusinessMetricParams
NewGetBusinessMetricParamsWithContext creates a new GetBusinessMetricParams object with the ability to set a context for a request.
func NewGetBusinessMetricParamsWithHTTPClient ¶
func NewGetBusinessMetricParamsWithHTTPClient(client *http.Client) *GetBusinessMetricParams
NewGetBusinessMetricParamsWithHTTPClient creates a new GetBusinessMetricParams object with the ability to set a custom HTTPClient for a request.
func NewGetBusinessMetricParamsWithTimeout ¶
func NewGetBusinessMetricParamsWithTimeout(timeout time.Duration) *GetBusinessMetricParams
NewGetBusinessMetricParamsWithTimeout creates a new GetBusinessMetricParams object with the ability to set a timeout on a request.
func (*GetBusinessMetricParams) SetBusinessMetricToken ¶
func (o *GetBusinessMetricParams) SetBusinessMetricToken(businessMetricToken string)
SetBusinessMetricToken adds the businessMetricToken to the get business metric params
func (*GetBusinessMetricParams) SetContext ¶
func (o *GetBusinessMetricParams) SetContext(ctx context.Context)
SetContext adds the context to the get business metric params
func (*GetBusinessMetricParams) SetDefaults ¶
func (o *GetBusinessMetricParams) SetDefaults()
SetDefaults hydrates default values in the get business metric params (not the query body).
All values with no default are reset to their zero value.
func (*GetBusinessMetricParams) SetHTTPClient ¶
func (o *GetBusinessMetricParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get business metric params
func (*GetBusinessMetricParams) SetTimeout ¶
func (o *GetBusinessMetricParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get business metric params
func (*GetBusinessMetricParams) WithBusinessMetricToken ¶
func (o *GetBusinessMetricParams) WithBusinessMetricToken(businessMetricToken string) *GetBusinessMetricParams
WithBusinessMetricToken adds the businessMetricToken to the get business metric params
func (*GetBusinessMetricParams) WithContext ¶
func (o *GetBusinessMetricParams) WithContext(ctx context.Context) *GetBusinessMetricParams
WithContext adds the context to the get business metric params
func (*GetBusinessMetricParams) WithDefaults ¶
func (o *GetBusinessMetricParams) WithDefaults() *GetBusinessMetricParams
WithDefaults hydrates default values in the get business metric params (not the query body).
All values with no default are reset to their zero value.
func (*GetBusinessMetricParams) WithHTTPClient ¶
func (o *GetBusinessMetricParams) WithHTTPClient(client *http.Client) *GetBusinessMetricParams
WithHTTPClient adds the HTTPClient to the get business metric params
func (*GetBusinessMetricParams) WithTimeout ¶
func (o *GetBusinessMetricParams) WithTimeout(timeout time.Duration) *GetBusinessMetricParams
WithTimeout adds the timeout to the get business metric params
func (*GetBusinessMetricParams) WriteToRequest ¶
func (o *GetBusinessMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBusinessMetricReader ¶
type GetBusinessMetricReader struct {
// contains filtered or unexported fields
}
GetBusinessMetricReader is a Reader for the GetBusinessMetric structure.
func (*GetBusinessMetricReader) ReadResponse ¶
func (o *GetBusinessMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBusinessMetricsOK ¶
type GetBusinessMetricsOK struct {
Payload *models.BusinessMetrics
}
GetBusinessMetricsOK describes a response with status code 200, with default header values.
GetBusinessMetricsOK get business metrics o k
func NewGetBusinessMetricsOK ¶
func NewGetBusinessMetricsOK() *GetBusinessMetricsOK
NewGetBusinessMetricsOK creates a GetBusinessMetricsOK with default headers values
func (*GetBusinessMetricsOK) Code ¶
func (o *GetBusinessMetricsOK) Code() int
Code gets the status code for the get business metrics o k response
func (*GetBusinessMetricsOK) Error ¶
func (o *GetBusinessMetricsOK) Error() string
func (*GetBusinessMetricsOK) GetPayload ¶
func (o *GetBusinessMetricsOK) GetPayload() *models.BusinessMetrics
func (*GetBusinessMetricsOK) IsClientError ¶
func (o *GetBusinessMetricsOK) IsClientError() bool
IsClientError returns true when this get business metrics o k response has a 4xx status code
func (*GetBusinessMetricsOK) IsCode ¶
func (o *GetBusinessMetricsOK) IsCode(code int) bool
IsCode returns true when this get business metrics o k response a status code equal to that given
func (*GetBusinessMetricsOK) IsRedirect ¶
func (o *GetBusinessMetricsOK) IsRedirect() bool
IsRedirect returns true when this get business metrics o k response has a 3xx status code
func (*GetBusinessMetricsOK) IsServerError ¶
func (o *GetBusinessMetricsOK) IsServerError() bool
IsServerError returns true when this get business metrics o k response has a 5xx status code
func (*GetBusinessMetricsOK) IsSuccess ¶
func (o *GetBusinessMetricsOK) IsSuccess() bool
IsSuccess returns true when this get business metrics o k response has a 2xx status code
func (*GetBusinessMetricsOK) String ¶
func (o *GetBusinessMetricsOK) String() string
type GetBusinessMetricsParams ¶
type GetBusinessMetricsParams struct { /* Limit. The amount of results to return. The maximum is 1000. Format: int32 */ Limit *int32 /* Page. The page of results to return. Format: int32 */ Page *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBusinessMetricsParams contains all the parameters to send to the API endpoint
for the get business metrics operation. Typically these are written to a http.Request.
func NewGetBusinessMetricsParams ¶
func NewGetBusinessMetricsParams() *GetBusinessMetricsParams
NewGetBusinessMetricsParams creates a new GetBusinessMetricsParams 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 NewGetBusinessMetricsParamsWithContext ¶
func NewGetBusinessMetricsParamsWithContext(ctx context.Context) *GetBusinessMetricsParams
NewGetBusinessMetricsParamsWithContext creates a new GetBusinessMetricsParams object with the ability to set a context for a request.
func NewGetBusinessMetricsParamsWithHTTPClient ¶
func NewGetBusinessMetricsParamsWithHTTPClient(client *http.Client) *GetBusinessMetricsParams
NewGetBusinessMetricsParamsWithHTTPClient creates a new GetBusinessMetricsParams object with the ability to set a custom HTTPClient for a request.
func NewGetBusinessMetricsParamsWithTimeout ¶
func NewGetBusinessMetricsParamsWithTimeout(timeout time.Duration) *GetBusinessMetricsParams
NewGetBusinessMetricsParamsWithTimeout creates a new GetBusinessMetricsParams object with the ability to set a timeout on a request.
func (*GetBusinessMetricsParams) SetContext ¶
func (o *GetBusinessMetricsParams) SetContext(ctx context.Context)
SetContext adds the context to the get business metrics params
func (*GetBusinessMetricsParams) SetDefaults ¶
func (o *GetBusinessMetricsParams) SetDefaults()
SetDefaults hydrates default values in the get business metrics params (not the query body).
All values with no default are reset to their zero value.
func (*GetBusinessMetricsParams) SetHTTPClient ¶
func (o *GetBusinessMetricsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get business metrics params
func (*GetBusinessMetricsParams) SetLimit ¶
func (o *GetBusinessMetricsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get business metrics params
func (*GetBusinessMetricsParams) SetPage ¶
func (o *GetBusinessMetricsParams) SetPage(page *int32)
SetPage adds the page to the get business metrics params
func (*GetBusinessMetricsParams) SetTimeout ¶
func (o *GetBusinessMetricsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get business metrics params
func (*GetBusinessMetricsParams) WithContext ¶
func (o *GetBusinessMetricsParams) WithContext(ctx context.Context) *GetBusinessMetricsParams
WithContext adds the context to the get business metrics params
func (*GetBusinessMetricsParams) WithDefaults ¶
func (o *GetBusinessMetricsParams) WithDefaults() *GetBusinessMetricsParams
WithDefaults hydrates default values in the get business metrics params (not the query body).
All values with no default are reset to their zero value.
func (*GetBusinessMetricsParams) WithHTTPClient ¶
func (o *GetBusinessMetricsParams) WithHTTPClient(client *http.Client) *GetBusinessMetricsParams
WithHTTPClient adds the HTTPClient to the get business metrics params
func (*GetBusinessMetricsParams) WithLimit ¶
func (o *GetBusinessMetricsParams) WithLimit(limit *int32) *GetBusinessMetricsParams
WithLimit adds the limit to the get business metrics params
func (*GetBusinessMetricsParams) WithPage ¶
func (o *GetBusinessMetricsParams) WithPage(page *int32) *GetBusinessMetricsParams
WithPage adds the page to the get business metrics params
func (*GetBusinessMetricsParams) WithTimeout ¶
func (o *GetBusinessMetricsParams) WithTimeout(timeout time.Duration) *GetBusinessMetricsParams
WithTimeout adds the timeout to the get business metrics params
func (*GetBusinessMetricsParams) WriteToRequest ¶
func (o *GetBusinessMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBusinessMetricsReader ¶
type GetBusinessMetricsReader struct {
// contains filtered or unexported fields
}
GetBusinessMetricsReader is a Reader for the GetBusinessMetrics structure.
func (*GetBusinessMetricsReader) ReadResponse ¶
func (o *GetBusinessMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateBusinessMetricBadRequest ¶ added in v0.0.9
UpdateBusinessMetricBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewUpdateBusinessMetricBadRequest ¶ added in v0.0.9
func NewUpdateBusinessMetricBadRequest() *UpdateBusinessMetricBadRequest
NewUpdateBusinessMetricBadRequest creates a UpdateBusinessMetricBadRequest with default headers values
func (*UpdateBusinessMetricBadRequest) Code ¶ added in v0.0.9
func (o *UpdateBusinessMetricBadRequest) Code() int
Code gets the status code for the update business metric bad request response
func (*UpdateBusinessMetricBadRequest) Error ¶ added in v0.0.9
func (o *UpdateBusinessMetricBadRequest) Error() string
func (*UpdateBusinessMetricBadRequest) GetPayload ¶ added in v0.0.9
func (o *UpdateBusinessMetricBadRequest) GetPayload() *models.Errors
func (*UpdateBusinessMetricBadRequest) IsClientError ¶ added in v0.0.9
func (o *UpdateBusinessMetricBadRequest) IsClientError() bool
IsClientError returns true when this update business metric bad request response has a 4xx status code
func (*UpdateBusinessMetricBadRequest) IsCode ¶ added in v0.0.9
func (o *UpdateBusinessMetricBadRequest) IsCode(code int) bool
IsCode returns true when this update business metric bad request response a status code equal to that given
func (*UpdateBusinessMetricBadRequest) IsRedirect ¶ added in v0.0.9
func (o *UpdateBusinessMetricBadRequest) IsRedirect() bool
IsRedirect returns true when this update business metric bad request response has a 3xx status code
func (*UpdateBusinessMetricBadRequest) IsServerError ¶ added in v0.0.9
func (o *UpdateBusinessMetricBadRequest) IsServerError() bool
IsServerError returns true when this update business metric bad request response has a 5xx status code
func (*UpdateBusinessMetricBadRequest) IsSuccess ¶ added in v0.0.9
func (o *UpdateBusinessMetricBadRequest) IsSuccess() bool
IsSuccess returns true when this update business metric bad request response has a 2xx status code
func (*UpdateBusinessMetricBadRequest) String ¶ added in v0.0.9
func (o *UpdateBusinessMetricBadRequest) String() string
type UpdateBusinessMetricForbidden ¶ added in v0.0.9
UpdateBusinessMetricForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateBusinessMetricForbidden ¶ added in v0.0.9
func NewUpdateBusinessMetricForbidden() *UpdateBusinessMetricForbidden
NewUpdateBusinessMetricForbidden creates a UpdateBusinessMetricForbidden with default headers values
func (*UpdateBusinessMetricForbidden) Code ¶ added in v0.0.9
func (o *UpdateBusinessMetricForbidden) Code() int
Code gets the status code for the update business metric forbidden response
func (*UpdateBusinessMetricForbidden) Error ¶ added in v0.0.9
func (o *UpdateBusinessMetricForbidden) Error() string
func (*UpdateBusinessMetricForbidden) GetPayload ¶ added in v0.0.9
func (o *UpdateBusinessMetricForbidden) GetPayload() *models.Errors
func (*UpdateBusinessMetricForbidden) IsClientError ¶ added in v0.0.9
func (o *UpdateBusinessMetricForbidden) IsClientError() bool
IsClientError returns true when this update business metric forbidden response has a 4xx status code
func (*UpdateBusinessMetricForbidden) IsCode ¶ added in v0.0.9
func (o *UpdateBusinessMetricForbidden) IsCode(code int) bool
IsCode returns true when this update business metric forbidden response a status code equal to that given
func (*UpdateBusinessMetricForbidden) IsRedirect ¶ added in v0.0.9
func (o *UpdateBusinessMetricForbidden) IsRedirect() bool
IsRedirect returns true when this update business metric forbidden response has a 3xx status code
func (*UpdateBusinessMetricForbidden) IsServerError ¶ added in v0.0.9
func (o *UpdateBusinessMetricForbidden) IsServerError() bool
IsServerError returns true when this update business metric forbidden response has a 5xx status code
func (*UpdateBusinessMetricForbidden) IsSuccess ¶ added in v0.0.9
func (o *UpdateBusinessMetricForbidden) IsSuccess() bool
IsSuccess returns true when this update business metric forbidden response has a 2xx status code
func (*UpdateBusinessMetricForbidden) String ¶ added in v0.0.9
func (o *UpdateBusinessMetricForbidden) String() string
type UpdateBusinessMetricNotFound ¶ added in v0.0.9
UpdateBusinessMetricNotFound describes a response with status code 404, with default header values.
NotFound
func NewUpdateBusinessMetricNotFound ¶ added in v0.0.9
func NewUpdateBusinessMetricNotFound() *UpdateBusinessMetricNotFound
NewUpdateBusinessMetricNotFound creates a UpdateBusinessMetricNotFound with default headers values
func (*UpdateBusinessMetricNotFound) Code ¶ added in v0.0.9
func (o *UpdateBusinessMetricNotFound) Code() int
Code gets the status code for the update business metric not found response
func (*UpdateBusinessMetricNotFound) Error ¶ added in v0.0.9
func (o *UpdateBusinessMetricNotFound) Error() string
func (*UpdateBusinessMetricNotFound) GetPayload ¶ added in v0.0.9
func (o *UpdateBusinessMetricNotFound) GetPayload() *models.Errors
func (*UpdateBusinessMetricNotFound) IsClientError ¶ added in v0.0.9
func (o *UpdateBusinessMetricNotFound) IsClientError() bool
IsClientError returns true when this update business metric not found response has a 4xx status code
func (*UpdateBusinessMetricNotFound) IsCode ¶ added in v0.0.9
func (o *UpdateBusinessMetricNotFound) IsCode(code int) bool
IsCode returns true when this update business metric not found response a status code equal to that given
func (*UpdateBusinessMetricNotFound) IsRedirect ¶ added in v0.0.9
func (o *UpdateBusinessMetricNotFound) IsRedirect() bool
IsRedirect returns true when this update business metric not found response has a 3xx status code
func (*UpdateBusinessMetricNotFound) IsServerError ¶ added in v0.0.9
func (o *UpdateBusinessMetricNotFound) IsServerError() bool
IsServerError returns true when this update business metric not found response has a 5xx status code
func (*UpdateBusinessMetricNotFound) IsSuccess ¶ added in v0.0.9
func (o *UpdateBusinessMetricNotFound) IsSuccess() bool
IsSuccess returns true when this update business metric not found response has a 2xx status code
func (*UpdateBusinessMetricNotFound) String ¶ added in v0.0.9
func (o *UpdateBusinessMetricNotFound) String() string
type UpdateBusinessMetricOK ¶ added in v0.0.19
type UpdateBusinessMetricOK struct {
Payload *models.BusinessMetric
}
UpdateBusinessMetricOK describes a response with status code 200, with default header values.
UpdateBusinessMetricOK update business metric o k
func NewUpdateBusinessMetricOK ¶ added in v0.0.19
func NewUpdateBusinessMetricOK() *UpdateBusinessMetricOK
NewUpdateBusinessMetricOK creates a UpdateBusinessMetricOK with default headers values
func (*UpdateBusinessMetricOK) Code ¶ added in v0.0.19
func (o *UpdateBusinessMetricOK) Code() int
Code gets the status code for the update business metric o k response
func (*UpdateBusinessMetricOK) Error ¶ added in v0.0.19
func (o *UpdateBusinessMetricOK) Error() string
func (*UpdateBusinessMetricOK) GetPayload ¶ added in v0.0.19
func (o *UpdateBusinessMetricOK) GetPayload() *models.BusinessMetric
func (*UpdateBusinessMetricOK) IsClientError ¶ added in v0.0.19
func (o *UpdateBusinessMetricOK) IsClientError() bool
IsClientError returns true when this update business metric o k response has a 4xx status code
func (*UpdateBusinessMetricOK) IsCode ¶ added in v0.0.19
func (o *UpdateBusinessMetricOK) IsCode(code int) bool
IsCode returns true when this update business metric o k response a status code equal to that given
func (*UpdateBusinessMetricOK) IsRedirect ¶ added in v0.0.19
func (o *UpdateBusinessMetricOK) IsRedirect() bool
IsRedirect returns true when this update business metric o k response has a 3xx status code
func (*UpdateBusinessMetricOK) IsServerError ¶ added in v0.0.19
func (o *UpdateBusinessMetricOK) IsServerError() bool
IsServerError returns true when this update business metric o k response has a 5xx status code
func (*UpdateBusinessMetricOK) IsSuccess ¶ added in v0.0.19
func (o *UpdateBusinessMetricOK) IsSuccess() bool
IsSuccess returns true when this update business metric o k response has a 2xx status code
func (*UpdateBusinessMetricOK) String ¶ added in v0.0.19
func (o *UpdateBusinessMetricOK) String() string
type UpdateBusinessMetricParams ¶ added in v0.0.9
type UpdateBusinessMetricParams struct { // BusinessMetricToken. BusinessMetricToken string // UpdateBusinessMetric. UpdateBusinessMetric *models.UpdateBusinessMetric Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateBusinessMetricParams contains all the parameters to send to the API endpoint
for the update business metric operation. Typically these are written to a http.Request.
func NewUpdateBusinessMetricParams ¶ added in v0.0.9
func NewUpdateBusinessMetricParams() *UpdateBusinessMetricParams
NewUpdateBusinessMetricParams creates a new UpdateBusinessMetricParams 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 NewUpdateBusinessMetricParamsWithContext ¶ added in v0.0.9
func NewUpdateBusinessMetricParamsWithContext(ctx context.Context) *UpdateBusinessMetricParams
NewUpdateBusinessMetricParamsWithContext creates a new UpdateBusinessMetricParams object with the ability to set a context for a request.
func NewUpdateBusinessMetricParamsWithHTTPClient ¶ added in v0.0.9
func NewUpdateBusinessMetricParamsWithHTTPClient(client *http.Client) *UpdateBusinessMetricParams
NewUpdateBusinessMetricParamsWithHTTPClient creates a new UpdateBusinessMetricParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateBusinessMetricParamsWithTimeout ¶ added in v0.0.9
func NewUpdateBusinessMetricParamsWithTimeout(timeout time.Duration) *UpdateBusinessMetricParams
NewUpdateBusinessMetricParamsWithTimeout creates a new UpdateBusinessMetricParams object with the ability to set a timeout on a request.
func (*UpdateBusinessMetricParams) SetBusinessMetricToken ¶ added in v0.0.9
func (o *UpdateBusinessMetricParams) SetBusinessMetricToken(businessMetricToken string)
SetBusinessMetricToken adds the businessMetricToken to the update business metric params
func (*UpdateBusinessMetricParams) SetContext ¶ added in v0.0.9
func (o *UpdateBusinessMetricParams) SetContext(ctx context.Context)
SetContext adds the context to the update business metric params
func (*UpdateBusinessMetricParams) SetDefaults ¶ added in v0.0.9
func (o *UpdateBusinessMetricParams) SetDefaults()
SetDefaults hydrates default values in the update business metric params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBusinessMetricParams) SetHTTPClient ¶ added in v0.0.9
func (o *UpdateBusinessMetricParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update business metric params
func (*UpdateBusinessMetricParams) SetTimeout ¶ added in v0.0.9
func (o *UpdateBusinessMetricParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update business metric params
func (*UpdateBusinessMetricParams) SetUpdateBusinessMetric ¶ added in v0.0.14
func (o *UpdateBusinessMetricParams) SetUpdateBusinessMetric(updateBusinessMetric *models.UpdateBusinessMetric)
SetUpdateBusinessMetric adds the updateBusinessMetric to the update business metric params
func (*UpdateBusinessMetricParams) WithBusinessMetricToken ¶ added in v0.0.9
func (o *UpdateBusinessMetricParams) WithBusinessMetricToken(businessMetricToken string) *UpdateBusinessMetricParams
WithBusinessMetricToken adds the businessMetricToken to the update business metric params
func (*UpdateBusinessMetricParams) WithContext ¶ added in v0.0.9
func (o *UpdateBusinessMetricParams) WithContext(ctx context.Context) *UpdateBusinessMetricParams
WithContext adds the context to the update business metric params
func (*UpdateBusinessMetricParams) WithDefaults ¶ added in v0.0.9
func (o *UpdateBusinessMetricParams) WithDefaults() *UpdateBusinessMetricParams
WithDefaults hydrates default values in the update business metric params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBusinessMetricParams) WithHTTPClient ¶ added in v0.0.9
func (o *UpdateBusinessMetricParams) WithHTTPClient(client *http.Client) *UpdateBusinessMetricParams
WithHTTPClient adds the HTTPClient to the update business metric params
func (*UpdateBusinessMetricParams) WithTimeout ¶ added in v0.0.9
func (o *UpdateBusinessMetricParams) WithTimeout(timeout time.Duration) *UpdateBusinessMetricParams
WithTimeout adds the timeout to the update business metric params
func (*UpdateBusinessMetricParams) WithUpdateBusinessMetric ¶ added in v0.0.14
func (o *UpdateBusinessMetricParams) WithUpdateBusinessMetric(updateBusinessMetric *models.UpdateBusinessMetric) *UpdateBusinessMetricParams
WithUpdateBusinessMetric adds the updateBusinessMetric to the update business metric params
func (*UpdateBusinessMetricParams) WriteToRequest ¶ added in v0.0.9
func (o *UpdateBusinessMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateBusinessMetricReader ¶ added in v0.0.9
type UpdateBusinessMetricReader struct {
// contains filtered or unexported fields
}
UpdateBusinessMetricReader is a Reader for the UpdateBusinessMetric structure.
func (*UpdateBusinessMetricReader) ReadResponse ¶ added in v0.0.9
func (o *UpdateBusinessMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateBusinessMetricUnprocessableEntity ¶ added in v0.0.9
UpdateBusinessMetricUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntity
func NewUpdateBusinessMetricUnprocessableEntity ¶ added in v0.0.9
func NewUpdateBusinessMetricUnprocessableEntity() *UpdateBusinessMetricUnprocessableEntity
NewUpdateBusinessMetricUnprocessableEntity creates a UpdateBusinessMetricUnprocessableEntity with default headers values
func (*UpdateBusinessMetricUnprocessableEntity) Code ¶ added in v0.0.9
func (o *UpdateBusinessMetricUnprocessableEntity) Code() int
Code gets the status code for the update business metric unprocessable entity response
func (*UpdateBusinessMetricUnprocessableEntity) Error ¶ added in v0.0.9
func (o *UpdateBusinessMetricUnprocessableEntity) Error() string
func (*UpdateBusinessMetricUnprocessableEntity) GetPayload ¶ added in v0.0.9
func (o *UpdateBusinessMetricUnprocessableEntity) GetPayload() *models.Errors
func (*UpdateBusinessMetricUnprocessableEntity) IsClientError ¶ added in v0.0.9
func (o *UpdateBusinessMetricUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update business metric unprocessable entity response has a 4xx status code
func (*UpdateBusinessMetricUnprocessableEntity) IsCode ¶ added in v0.0.9
func (o *UpdateBusinessMetricUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update business metric unprocessable entity response a status code equal to that given
func (*UpdateBusinessMetricUnprocessableEntity) IsRedirect ¶ added in v0.0.9
func (o *UpdateBusinessMetricUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update business metric unprocessable entity response has a 3xx status code
func (*UpdateBusinessMetricUnprocessableEntity) IsServerError ¶ added in v0.0.9
func (o *UpdateBusinessMetricUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update business metric unprocessable entity response has a 5xx status code
func (*UpdateBusinessMetricUnprocessableEntity) IsSuccess ¶ added in v0.0.9
func (o *UpdateBusinessMetricUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update business metric unprocessable entity response has a 2xx status code
func (*UpdateBusinessMetricUnprocessableEntity) String ¶ added in v0.0.9
func (o *UpdateBusinessMetricUnprocessableEntity) String() string
type UpdateBusinessMetricValuesCSVBadRequest ¶ added in v0.0.11
UpdateBusinessMetricValuesCSVBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewUpdateBusinessMetricValuesCSVBadRequest ¶ added in v0.0.11
func NewUpdateBusinessMetricValuesCSVBadRequest() *UpdateBusinessMetricValuesCSVBadRequest
NewUpdateBusinessMetricValuesCSVBadRequest creates a UpdateBusinessMetricValuesCSVBadRequest with default headers values
func (*UpdateBusinessMetricValuesCSVBadRequest) Code ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVBadRequest) Code() int
Code gets the status code for the update business metric values c s v bad request response
func (*UpdateBusinessMetricValuesCSVBadRequest) Error ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVBadRequest) Error() string
func (*UpdateBusinessMetricValuesCSVBadRequest) GetPayload ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVBadRequest) GetPayload() *models.Errors
func (*UpdateBusinessMetricValuesCSVBadRequest) IsClientError ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVBadRequest) IsClientError() bool
IsClientError returns true when this update business metric values c s v bad request response has a 4xx status code
func (*UpdateBusinessMetricValuesCSVBadRequest) IsCode ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVBadRequest) IsCode(code int) bool
IsCode returns true when this update business metric values c s v bad request response a status code equal to that given
func (*UpdateBusinessMetricValuesCSVBadRequest) IsRedirect ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVBadRequest) IsRedirect() bool
IsRedirect returns true when this update business metric values c s v bad request response has a 3xx status code
func (*UpdateBusinessMetricValuesCSVBadRequest) IsServerError ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVBadRequest) IsServerError() bool
IsServerError returns true when this update business metric values c s v bad request response has a 5xx status code
func (*UpdateBusinessMetricValuesCSVBadRequest) IsSuccess ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVBadRequest) IsSuccess() bool
IsSuccess returns true when this update business metric values c s v bad request response has a 2xx status code
func (*UpdateBusinessMetricValuesCSVBadRequest) String ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVBadRequest) String() string
type UpdateBusinessMetricValuesCSVCreated ¶ added in v0.0.11
type UpdateBusinessMetricValuesCSVCreated struct {
Payload *models.BusinessMetric
}
UpdateBusinessMetricValuesCSVCreated describes a response with status code 201, with default header values.
UpdateBusinessMetricValuesCSVCreated update business metric values c s v created
func NewUpdateBusinessMetricValuesCSVCreated ¶ added in v0.0.11
func NewUpdateBusinessMetricValuesCSVCreated() *UpdateBusinessMetricValuesCSVCreated
NewUpdateBusinessMetricValuesCSVCreated creates a UpdateBusinessMetricValuesCSVCreated with default headers values
func (*UpdateBusinessMetricValuesCSVCreated) Code ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVCreated) Code() int
Code gets the status code for the update business metric values c s v created response
func (*UpdateBusinessMetricValuesCSVCreated) Error ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVCreated) Error() string
func (*UpdateBusinessMetricValuesCSVCreated) GetPayload ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVCreated) GetPayload() *models.BusinessMetric
func (*UpdateBusinessMetricValuesCSVCreated) IsClientError ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVCreated) IsClientError() bool
IsClientError returns true when this update business metric values c s v created response has a 4xx status code
func (*UpdateBusinessMetricValuesCSVCreated) IsCode ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVCreated) IsCode(code int) bool
IsCode returns true when this update business metric values c s v created response a status code equal to that given
func (*UpdateBusinessMetricValuesCSVCreated) IsRedirect ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVCreated) IsRedirect() bool
IsRedirect returns true when this update business metric values c s v created response has a 3xx status code
func (*UpdateBusinessMetricValuesCSVCreated) IsServerError ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVCreated) IsServerError() bool
IsServerError returns true when this update business metric values c s v created response has a 5xx status code
func (*UpdateBusinessMetricValuesCSVCreated) IsSuccess ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVCreated) IsSuccess() bool
IsSuccess returns true when this update business metric values c s v created response has a 2xx status code
func (*UpdateBusinessMetricValuesCSVCreated) String ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVCreated) String() string
type UpdateBusinessMetricValuesCSVForbidden ¶ added in v0.0.11
UpdateBusinessMetricValuesCSVForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateBusinessMetricValuesCSVForbidden ¶ added in v0.0.11
func NewUpdateBusinessMetricValuesCSVForbidden() *UpdateBusinessMetricValuesCSVForbidden
NewUpdateBusinessMetricValuesCSVForbidden creates a UpdateBusinessMetricValuesCSVForbidden with default headers values
func (*UpdateBusinessMetricValuesCSVForbidden) Code ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVForbidden) Code() int
Code gets the status code for the update business metric values c s v forbidden response
func (*UpdateBusinessMetricValuesCSVForbidden) Error ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVForbidden) Error() string
func (*UpdateBusinessMetricValuesCSVForbidden) GetPayload ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVForbidden) GetPayload() *models.Errors
func (*UpdateBusinessMetricValuesCSVForbidden) IsClientError ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVForbidden) IsClientError() bool
IsClientError returns true when this update business metric values c s v forbidden response has a 4xx status code
func (*UpdateBusinessMetricValuesCSVForbidden) IsCode ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVForbidden) IsCode(code int) bool
IsCode returns true when this update business metric values c s v forbidden response a status code equal to that given
func (*UpdateBusinessMetricValuesCSVForbidden) IsRedirect ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVForbidden) IsRedirect() bool
IsRedirect returns true when this update business metric values c s v forbidden response has a 3xx status code
func (*UpdateBusinessMetricValuesCSVForbidden) IsServerError ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVForbidden) IsServerError() bool
IsServerError returns true when this update business metric values c s v forbidden response has a 5xx status code
func (*UpdateBusinessMetricValuesCSVForbidden) IsSuccess ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVForbidden) IsSuccess() bool
IsSuccess returns true when this update business metric values c s v forbidden response has a 2xx status code
func (*UpdateBusinessMetricValuesCSVForbidden) String ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVForbidden) String() string
type UpdateBusinessMetricValuesCSVNotFound ¶ added in v0.0.11
UpdateBusinessMetricValuesCSVNotFound describes a response with status code 404, with default header values.
NotFound
func NewUpdateBusinessMetricValuesCSVNotFound ¶ added in v0.0.11
func NewUpdateBusinessMetricValuesCSVNotFound() *UpdateBusinessMetricValuesCSVNotFound
NewUpdateBusinessMetricValuesCSVNotFound creates a UpdateBusinessMetricValuesCSVNotFound with default headers values
func (*UpdateBusinessMetricValuesCSVNotFound) Code ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVNotFound) Code() int
Code gets the status code for the update business metric values c s v not found response
func (*UpdateBusinessMetricValuesCSVNotFound) Error ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVNotFound) Error() string
func (*UpdateBusinessMetricValuesCSVNotFound) GetPayload ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVNotFound) GetPayload() *models.Errors
func (*UpdateBusinessMetricValuesCSVNotFound) IsClientError ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVNotFound) IsClientError() bool
IsClientError returns true when this update business metric values c s v not found response has a 4xx status code
func (*UpdateBusinessMetricValuesCSVNotFound) IsCode ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVNotFound) IsCode(code int) bool
IsCode returns true when this update business metric values c s v not found response a status code equal to that given
func (*UpdateBusinessMetricValuesCSVNotFound) IsRedirect ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVNotFound) IsRedirect() bool
IsRedirect returns true when this update business metric values c s v not found response has a 3xx status code
func (*UpdateBusinessMetricValuesCSVNotFound) IsServerError ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVNotFound) IsServerError() bool
IsServerError returns true when this update business metric values c s v not found response has a 5xx status code
func (*UpdateBusinessMetricValuesCSVNotFound) IsSuccess ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVNotFound) IsSuccess() bool
IsSuccess returns true when this update business metric values c s v not found response has a 2xx status code
func (*UpdateBusinessMetricValuesCSVNotFound) String ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVNotFound) String() string
type UpdateBusinessMetricValuesCSVParams ¶ added in v0.0.11
type UpdateBusinessMetricValuesCSVParams struct { // BusinessMetricToken. BusinessMetricToken string /* Csv. CSV file containing BusinessMetric dates and amounts */ Csv runtime.NamedReadCloser Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateBusinessMetricValuesCSVParams contains all the parameters to send to the API endpoint
for the update business metric values c s v operation. Typically these are written to a http.Request.
func NewUpdateBusinessMetricValuesCSVParams ¶ added in v0.0.11
func NewUpdateBusinessMetricValuesCSVParams() *UpdateBusinessMetricValuesCSVParams
NewUpdateBusinessMetricValuesCSVParams creates a new UpdateBusinessMetricValuesCSVParams 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 NewUpdateBusinessMetricValuesCSVParamsWithContext ¶ added in v0.0.11
func NewUpdateBusinessMetricValuesCSVParamsWithContext(ctx context.Context) *UpdateBusinessMetricValuesCSVParams
NewUpdateBusinessMetricValuesCSVParamsWithContext creates a new UpdateBusinessMetricValuesCSVParams object with the ability to set a context for a request.
func NewUpdateBusinessMetricValuesCSVParamsWithHTTPClient ¶ added in v0.0.11
func NewUpdateBusinessMetricValuesCSVParamsWithHTTPClient(client *http.Client) *UpdateBusinessMetricValuesCSVParams
NewUpdateBusinessMetricValuesCSVParamsWithHTTPClient creates a new UpdateBusinessMetricValuesCSVParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateBusinessMetricValuesCSVParamsWithTimeout ¶ added in v0.0.11
func NewUpdateBusinessMetricValuesCSVParamsWithTimeout(timeout time.Duration) *UpdateBusinessMetricValuesCSVParams
NewUpdateBusinessMetricValuesCSVParamsWithTimeout creates a new UpdateBusinessMetricValuesCSVParams object with the ability to set a timeout on a request.
func (*UpdateBusinessMetricValuesCSVParams) SetBusinessMetricToken ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) SetBusinessMetricToken(businessMetricToken string)
SetBusinessMetricToken adds the businessMetricToken to the update business metric values c s v params
func (*UpdateBusinessMetricValuesCSVParams) SetContext ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) SetContext(ctx context.Context)
SetContext adds the context to the update business metric values c s v params
func (*UpdateBusinessMetricValuesCSVParams) SetCsv ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) SetCsv(csv runtime.NamedReadCloser)
SetCsv adds the csv to the update business metric values c s v params
func (*UpdateBusinessMetricValuesCSVParams) SetDefaults ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) SetDefaults()
SetDefaults hydrates default values in the update business metric values c s v params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBusinessMetricValuesCSVParams) SetHTTPClient ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update business metric values c s v params
func (*UpdateBusinessMetricValuesCSVParams) SetTimeout ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update business metric values c s v params
func (*UpdateBusinessMetricValuesCSVParams) WithBusinessMetricToken ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) WithBusinessMetricToken(businessMetricToken string) *UpdateBusinessMetricValuesCSVParams
WithBusinessMetricToken adds the businessMetricToken to the update business metric values c s v params
func (*UpdateBusinessMetricValuesCSVParams) WithContext ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) WithContext(ctx context.Context) *UpdateBusinessMetricValuesCSVParams
WithContext adds the context to the update business metric values c s v params
func (*UpdateBusinessMetricValuesCSVParams) WithCsv ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) WithCsv(csv runtime.NamedReadCloser) *UpdateBusinessMetricValuesCSVParams
WithCsv adds the csv to the update business metric values c s v params
func (*UpdateBusinessMetricValuesCSVParams) WithDefaults ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) WithDefaults() *UpdateBusinessMetricValuesCSVParams
WithDefaults hydrates default values in the update business metric values c s v params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBusinessMetricValuesCSVParams) WithHTTPClient ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) WithHTTPClient(client *http.Client) *UpdateBusinessMetricValuesCSVParams
WithHTTPClient adds the HTTPClient to the update business metric values c s v params
func (*UpdateBusinessMetricValuesCSVParams) WithTimeout ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) WithTimeout(timeout time.Duration) *UpdateBusinessMetricValuesCSVParams
WithTimeout adds the timeout to the update business metric values c s v params
func (*UpdateBusinessMetricValuesCSVParams) WriteToRequest ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateBusinessMetricValuesCSVReader ¶ added in v0.0.11
type UpdateBusinessMetricValuesCSVReader struct {
// contains filtered or unexported fields
}
UpdateBusinessMetricValuesCSVReader is a Reader for the UpdateBusinessMetricValuesCSV structure.
func (*UpdateBusinessMetricValuesCSVReader) ReadResponse ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateBusinessMetricValuesCSVUnprocessableEntity ¶ added in v0.0.11
UpdateBusinessMetricValuesCSVUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntity
func NewUpdateBusinessMetricValuesCSVUnprocessableEntity ¶ added in v0.0.11
func NewUpdateBusinessMetricValuesCSVUnprocessableEntity() *UpdateBusinessMetricValuesCSVUnprocessableEntity
NewUpdateBusinessMetricValuesCSVUnprocessableEntity creates a UpdateBusinessMetricValuesCSVUnprocessableEntity with default headers values
func (*UpdateBusinessMetricValuesCSVUnprocessableEntity) Code ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) Code() int
Code gets the status code for the update business metric values c s v unprocessable entity response
func (*UpdateBusinessMetricValuesCSVUnprocessableEntity) Error ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) Error() string
func (*UpdateBusinessMetricValuesCSVUnprocessableEntity) GetPayload ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) GetPayload() *models.Errors
func (*UpdateBusinessMetricValuesCSVUnprocessableEntity) IsClientError ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update business metric values c s v unprocessable entity response has a 4xx status code
func (*UpdateBusinessMetricValuesCSVUnprocessableEntity) IsCode ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update business metric values c s v unprocessable entity response a status code equal to that given
func (*UpdateBusinessMetricValuesCSVUnprocessableEntity) IsRedirect ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update business metric values c s v unprocessable entity response has a 3xx status code
func (*UpdateBusinessMetricValuesCSVUnprocessableEntity) IsServerError ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update business metric values c s v unprocessable entity response has a 5xx status code
func (*UpdateBusinessMetricValuesCSVUnprocessableEntity) IsSuccess ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update business metric values c s v unprocessable entity response has a 2xx status code
func (*UpdateBusinessMetricValuesCSVUnprocessableEntity) String ¶ added in v0.0.11
func (o *UpdateBusinessMetricValuesCSVUnprocessableEntity) String() string
Source Files ¶
- business_metrics_client.go
- create_business_metric_parameters.go
- create_business_metric_responses.go
- delete_business_metric_parameters.go
- delete_business_metric_responses.go
- get_business_metric_parameters.go
- get_business_metric_responses.go
- get_business_metrics_parameters.go
- get_business_metrics_responses.go
- update_business_metric_parameters.go
- update_business_metric_responses.go
- update_business_metric_values_c_s_v_parameters.go
- update_business_metric_values_c_s_v_responses.go