Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDerivedMetric(params *CreateDerivedMetricParams, opts ...ClientOption) (*CreateDerivedMetricOK, error)
- func (a *Client) DeleteDerivedMetric(params *DeleteDerivedMetricParams, opts ...ClientOption) (*DeleteDerivedMetricOK, error)
- func (a *Client) ListDerivedMetrics(params *ListDerivedMetricsParams, opts ...ClientOption) (*ListDerivedMetricsOK, error)
- func (a *Client) ReadDerivedMetric(params *ReadDerivedMetricParams, opts ...ClientOption) (*ReadDerivedMetricOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDerivedMetric(params *UpdateDerivedMetricParams, opts ...ClientOption) (*UpdateDerivedMetricOK, error)
- type ClientOption
- type ClientService
- type CreateDerivedMetricBadRequest
- func (o *CreateDerivedMetricBadRequest) Code() int
- func (o *CreateDerivedMetricBadRequest) Error() string
- func (o *CreateDerivedMetricBadRequest) GetPayload() *models.APIError
- func (o *CreateDerivedMetricBadRequest) IsClientError() bool
- func (o *CreateDerivedMetricBadRequest) IsCode(code int) bool
- func (o *CreateDerivedMetricBadRequest) IsRedirect() bool
- func (o *CreateDerivedMetricBadRequest) IsServerError() bool
- func (o *CreateDerivedMetricBadRequest) IsSuccess() bool
- func (o *CreateDerivedMetricBadRequest) String() string
- type CreateDerivedMetricConflict
- func (o *CreateDerivedMetricConflict) Code() int
- func (o *CreateDerivedMetricConflict) Error() string
- func (o *CreateDerivedMetricConflict) GetPayload() *models.APIError
- func (o *CreateDerivedMetricConflict) IsClientError() bool
- func (o *CreateDerivedMetricConflict) IsCode(code int) bool
- func (o *CreateDerivedMetricConflict) IsRedirect() bool
- func (o *CreateDerivedMetricConflict) IsServerError() bool
- func (o *CreateDerivedMetricConflict) IsSuccess() bool
- func (o *CreateDerivedMetricConflict) String() string
- type CreateDerivedMetricDefault
- func (o *CreateDerivedMetricDefault) Code() int
- func (o *CreateDerivedMetricDefault) Error() string
- func (o *CreateDerivedMetricDefault) GetPayload() models.GenericError
- func (o *CreateDerivedMetricDefault) IsClientError() bool
- func (o *CreateDerivedMetricDefault) IsCode(code int) bool
- func (o *CreateDerivedMetricDefault) IsRedirect() bool
- func (o *CreateDerivedMetricDefault) IsServerError() bool
- func (o *CreateDerivedMetricDefault) IsSuccess() bool
- func (o *CreateDerivedMetricDefault) String() string
- type CreateDerivedMetricInternalServerError
- func (o *CreateDerivedMetricInternalServerError) Code() int
- func (o *CreateDerivedMetricInternalServerError) Error() string
- func (o *CreateDerivedMetricInternalServerError) GetPayload() *models.APIError
- func (o *CreateDerivedMetricInternalServerError) IsClientError() bool
- func (o *CreateDerivedMetricInternalServerError) IsCode(code int) bool
- func (o *CreateDerivedMetricInternalServerError) IsRedirect() bool
- func (o *CreateDerivedMetricInternalServerError) IsServerError() bool
- func (o *CreateDerivedMetricInternalServerError) IsSuccess() bool
- func (o *CreateDerivedMetricInternalServerError) String() string
- type CreateDerivedMetricOK
- func (o *CreateDerivedMetricOK) Code() int
- func (o *CreateDerivedMetricOK) Error() string
- func (o *CreateDerivedMetricOK) GetPayload() *models.Configv1CreateDerivedMetricResponse
- func (o *CreateDerivedMetricOK) IsClientError() bool
- func (o *CreateDerivedMetricOK) IsCode(code int) bool
- func (o *CreateDerivedMetricOK) IsRedirect() bool
- func (o *CreateDerivedMetricOK) IsServerError() bool
- func (o *CreateDerivedMetricOK) IsSuccess() bool
- func (o *CreateDerivedMetricOK) String() string
- type CreateDerivedMetricParams
- func NewCreateDerivedMetricParams() *CreateDerivedMetricParams
- func NewCreateDerivedMetricParamsWithContext(ctx context.Context) *CreateDerivedMetricParams
- func NewCreateDerivedMetricParamsWithHTTPClient(client *http.Client) *CreateDerivedMetricParams
- func NewCreateDerivedMetricParamsWithTimeout(timeout time.Duration) *CreateDerivedMetricParams
- func (o *CreateDerivedMetricParams) SetBody(body *models.Configv1CreateDerivedMetricRequest)
- func (o *CreateDerivedMetricParams) SetContext(ctx context.Context)
- func (o *CreateDerivedMetricParams) SetDefaults()
- func (o *CreateDerivedMetricParams) SetHTTPClient(client *http.Client)
- func (o *CreateDerivedMetricParams) SetTimeout(timeout time.Duration)
- func (o *CreateDerivedMetricParams) WithBody(body *models.Configv1CreateDerivedMetricRequest) *CreateDerivedMetricParams
- func (o *CreateDerivedMetricParams) WithContext(ctx context.Context) *CreateDerivedMetricParams
- func (o *CreateDerivedMetricParams) WithDefaults() *CreateDerivedMetricParams
- func (o *CreateDerivedMetricParams) WithHTTPClient(client *http.Client) *CreateDerivedMetricParams
- func (o *CreateDerivedMetricParams) WithTimeout(timeout time.Duration) *CreateDerivedMetricParams
- func (o *CreateDerivedMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDerivedMetricReader
- type DeleteDerivedMetricBadRequest
- func (o *DeleteDerivedMetricBadRequest) Code() int
- func (o *DeleteDerivedMetricBadRequest) Error() string
- func (o *DeleteDerivedMetricBadRequest) GetPayload() *models.APIError
- func (o *DeleteDerivedMetricBadRequest) IsClientError() bool
- func (o *DeleteDerivedMetricBadRequest) IsCode(code int) bool
- func (o *DeleteDerivedMetricBadRequest) IsRedirect() bool
- func (o *DeleteDerivedMetricBadRequest) IsServerError() bool
- func (o *DeleteDerivedMetricBadRequest) IsSuccess() bool
- func (o *DeleteDerivedMetricBadRequest) String() string
- type DeleteDerivedMetricDefault
- func (o *DeleteDerivedMetricDefault) Code() int
- func (o *DeleteDerivedMetricDefault) Error() string
- func (o *DeleteDerivedMetricDefault) GetPayload() models.GenericError
- func (o *DeleteDerivedMetricDefault) IsClientError() bool
- func (o *DeleteDerivedMetricDefault) IsCode(code int) bool
- func (o *DeleteDerivedMetricDefault) IsRedirect() bool
- func (o *DeleteDerivedMetricDefault) IsServerError() bool
- func (o *DeleteDerivedMetricDefault) IsSuccess() bool
- func (o *DeleteDerivedMetricDefault) String() string
- type DeleteDerivedMetricInternalServerError
- func (o *DeleteDerivedMetricInternalServerError) Code() int
- func (o *DeleteDerivedMetricInternalServerError) Error() string
- func (o *DeleteDerivedMetricInternalServerError) GetPayload() *models.APIError
- func (o *DeleteDerivedMetricInternalServerError) IsClientError() bool
- func (o *DeleteDerivedMetricInternalServerError) IsCode(code int) bool
- func (o *DeleteDerivedMetricInternalServerError) IsRedirect() bool
- func (o *DeleteDerivedMetricInternalServerError) IsServerError() bool
- func (o *DeleteDerivedMetricInternalServerError) IsSuccess() bool
- func (o *DeleteDerivedMetricInternalServerError) String() string
- type DeleteDerivedMetricNotFound
- func (o *DeleteDerivedMetricNotFound) Code() int
- func (o *DeleteDerivedMetricNotFound) Error() string
- func (o *DeleteDerivedMetricNotFound) GetPayload() *models.APIError
- func (o *DeleteDerivedMetricNotFound) IsClientError() bool
- func (o *DeleteDerivedMetricNotFound) IsCode(code int) bool
- func (o *DeleteDerivedMetricNotFound) IsRedirect() bool
- func (o *DeleteDerivedMetricNotFound) IsServerError() bool
- func (o *DeleteDerivedMetricNotFound) IsSuccess() bool
- func (o *DeleteDerivedMetricNotFound) String() string
- type DeleteDerivedMetricOK
- func (o *DeleteDerivedMetricOK) Code() int
- func (o *DeleteDerivedMetricOK) Error() string
- func (o *DeleteDerivedMetricOK) GetPayload() models.Configv1DeleteDerivedMetricResponse
- func (o *DeleteDerivedMetricOK) IsClientError() bool
- func (o *DeleteDerivedMetricOK) IsCode(code int) bool
- func (o *DeleteDerivedMetricOK) IsRedirect() bool
- func (o *DeleteDerivedMetricOK) IsServerError() bool
- func (o *DeleteDerivedMetricOK) IsSuccess() bool
- func (o *DeleteDerivedMetricOK) String() string
- type DeleteDerivedMetricParams
- func NewDeleteDerivedMetricParams() *DeleteDerivedMetricParams
- func NewDeleteDerivedMetricParamsWithContext(ctx context.Context) *DeleteDerivedMetricParams
- func NewDeleteDerivedMetricParamsWithHTTPClient(client *http.Client) *DeleteDerivedMetricParams
- func NewDeleteDerivedMetricParamsWithTimeout(timeout time.Duration) *DeleteDerivedMetricParams
- func (o *DeleteDerivedMetricParams) SetContext(ctx context.Context)
- func (o *DeleteDerivedMetricParams) SetDefaults()
- func (o *DeleteDerivedMetricParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDerivedMetricParams) SetSlug(slug string)
- func (o *DeleteDerivedMetricParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDerivedMetricParams) WithContext(ctx context.Context) *DeleteDerivedMetricParams
- func (o *DeleteDerivedMetricParams) WithDefaults() *DeleteDerivedMetricParams
- func (o *DeleteDerivedMetricParams) WithHTTPClient(client *http.Client) *DeleteDerivedMetricParams
- func (o *DeleteDerivedMetricParams) WithSlug(slug string) *DeleteDerivedMetricParams
- func (o *DeleteDerivedMetricParams) WithTimeout(timeout time.Duration) *DeleteDerivedMetricParams
- func (o *DeleteDerivedMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDerivedMetricReader
- type ListDerivedMetricsDefault
- func (o *ListDerivedMetricsDefault) Code() int
- func (o *ListDerivedMetricsDefault) Error() string
- func (o *ListDerivedMetricsDefault) GetPayload() models.GenericError
- func (o *ListDerivedMetricsDefault) IsClientError() bool
- func (o *ListDerivedMetricsDefault) IsCode(code int) bool
- func (o *ListDerivedMetricsDefault) IsRedirect() bool
- func (o *ListDerivedMetricsDefault) IsServerError() bool
- func (o *ListDerivedMetricsDefault) IsSuccess() bool
- func (o *ListDerivedMetricsDefault) String() string
- type ListDerivedMetricsInternalServerError
- func (o *ListDerivedMetricsInternalServerError) Code() int
- func (o *ListDerivedMetricsInternalServerError) Error() string
- func (o *ListDerivedMetricsInternalServerError) GetPayload() *models.APIError
- func (o *ListDerivedMetricsInternalServerError) IsClientError() bool
- func (o *ListDerivedMetricsInternalServerError) IsCode(code int) bool
- func (o *ListDerivedMetricsInternalServerError) IsRedirect() bool
- func (o *ListDerivedMetricsInternalServerError) IsServerError() bool
- func (o *ListDerivedMetricsInternalServerError) IsSuccess() bool
- func (o *ListDerivedMetricsInternalServerError) String() string
- type ListDerivedMetricsOK
- func (o *ListDerivedMetricsOK) Code() int
- func (o *ListDerivedMetricsOK) Error() string
- func (o *ListDerivedMetricsOK) GetPayload() *models.Configv1ListDerivedMetricsResponse
- func (o *ListDerivedMetricsOK) IsClientError() bool
- func (o *ListDerivedMetricsOK) IsCode(code int) bool
- func (o *ListDerivedMetricsOK) IsRedirect() bool
- func (o *ListDerivedMetricsOK) IsServerError() bool
- func (o *ListDerivedMetricsOK) IsSuccess() bool
- func (o *ListDerivedMetricsOK) String() string
- type ListDerivedMetricsParams
- func NewListDerivedMetricsParams() *ListDerivedMetricsParams
- func NewListDerivedMetricsParamsWithContext(ctx context.Context) *ListDerivedMetricsParams
- func NewListDerivedMetricsParamsWithHTTPClient(client *http.Client) *ListDerivedMetricsParams
- func NewListDerivedMetricsParamsWithTimeout(timeout time.Duration) *ListDerivedMetricsParams
- func (o *ListDerivedMetricsParams) SetContext(ctx context.Context)
- func (o *ListDerivedMetricsParams) SetDefaults()
- func (o *ListDerivedMetricsParams) SetHTTPClient(client *http.Client)
- func (o *ListDerivedMetricsParams) SetNames(names []string)
- func (o *ListDerivedMetricsParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListDerivedMetricsParams) SetPageToken(pageToken *string)
- func (o *ListDerivedMetricsParams) SetSlugs(slugs []string)
- func (o *ListDerivedMetricsParams) SetTimeout(timeout time.Duration)
- func (o *ListDerivedMetricsParams) WithContext(ctx context.Context) *ListDerivedMetricsParams
- func (o *ListDerivedMetricsParams) WithDefaults() *ListDerivedMetricsParams
- func (o *ListDerivedMetricsParams) WithHTTPClient(client *http.Client) *ListDerivedMetricsParams
- func (o *ListDerivedMetricsParams) WithNames(names []string) *ListDerivedMetricsParams
- func (o *ListDerivedMetricsParams) WithPageMaxSize(pageMaxSize *int64) *ListDerivedMetricsParams
- func (o *ListDerivedMetricsParams) WithPageToken(pageToken *string) *ListDerivedMetricsParams
- func (o *ListDerivedMetricsParams) WithSlugs(slugs []string) *ListDerivedMetricsParams
- func (o *ListDerivedMetricsParams) WithTimeout(timeout time.Duration) *ListDerivedMetricsParams
- func (o *ListDerivedMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDerivedMetricsReader
- type ReadDerivedMetricDefault
- func (o *ReadDerivedMetricDefault) Code() int
- func (o *ReadDerivedMetricDefault) Error() string
- func (o *ReadDerivedMetricDefault) GetPayload() models.GenericError
- func (o *ReadDerivedMetricDefault) IsClientError() bool
- func (o *ReadDerivedMetricDefault) IsCode(code int) bool
- func (o *ReadDerivedMetricDefault) IsRedirect() bool
- func (o *ReadDerivedMetricDefault) IsServerError() bool
- func (o *ReadDerivedMetricDefault) IsSuccess() bool
- func (o *ReadDerivedMetricDefault) String() string
- type ReadDerivedMetricInternalServerError
- func (o *ReadDerivedMetricInternalServerError) Code() int
- func (o *ReadDerivedMetricInternalServerError) Error() string
- func (o *ReadDerivedMetricInternalServerError) GetPayload() *models.APIError
- func (o *ReadDerivedMetricInternalServerError) IsClientError() bool
- func (o *ReadDerivedMetricInternalServerError) IsCode(code int) bool
- func (o *ReadDerivedMetricInternalServerError) IsRedirect() bool
- func (o *ReadDerivedMetricInternalServerError) IsServerError() bool
- func (o *ReadDerivedMetricInternalServerError) IsSuccess() bool
- func (o *ReadDerivedMetricInternalServerError) String() string
- type ReadDerivedMetricNotFound
- func (o *ReadDerivedMetricNotFound) Code() int
- func (o *ReadDerivedMetricNotFound) Error() string
- func (o *ReadDerivedMetricNotFound) GetPayload() *models.APIError
- func (o *ReadDerivedMetricNotFound) IsClientError() bool
- func (o *ReadDerivedMetricNotFound) IsCode(code int) bool
- func (o *ReadDerivedMetricNotFound) IsRedirect() bool
- func (o *ReadDerivedMetricNotFound) IsServerError() bool
- func (o *ReadDerivedMetricNotFound) IsSuccess() bool
- func (o *ReadDerivedMetricNotFound) String() string
- type ReadDerivedMetricOK
- func (o *ReadDerivedMetricOK) Code() int
- func (o *ReadDerivedMetricOK) Error() string
- func (o *ReadDerivedMetricOK) GetPayload() *models.Configv1ReadDerivedMetricResponse
- func (o *ReadDerivedMetricOK) IsClientError() bool
- func (o *ReadDerivedMetricOK) IsCode(code int) bool
- func (o *ReadDerivedMetricOK) IsRedirect() bool
- func (o *ReadDerivedMetricOK) IsServerError() bool
- func (o *ReadDerivedMetricOK) IsSuccess() bool
- func (o *ReadDerivedMetricOK) String() string
- type ReadDerivedMetricParams
- func NewReadDerivedMetricParams() *ReadDerivedMetricParams
- func NewReadDerivedMetricParamsWithContext(ctx context.Context) *ReadDerivedMetricParams
- func NewReadDerivedMetricParamsWithHTTPClient(client *http.Client) *ReadDerivedMetricParams
- func NewReadDerivedMetricParamsWithTimeout(timeout time.Duration) *ReadDerivedMetricParams
- func (o *ReadDerivedMetricParams) SetContext(ctx context.Context)
- func (o *ReadDerivedMetricParams) SetDefaults()
- func (o *ReadDerivedMetricParams) SetHTTPClient(client *http.Client)
- func (o *ReadDerivedMetricParams) SetSlug(slug string)
- func (o *ReadDerivedMetricParams) SetTimeout(timeout time.Duration)
- func (o *ReadDerivedMetricParams) WithContext(ctx context.Context) *ReadDerivedMetricParams
- func (o *ReadDerivedMetricParams) WithDefaults() *ReadDerivedMetricParams
- func (o *ReadDerivedMetricParams) WithHTTPClient(client *http.Client) *ReadDerivedMetricParams
- func (o *ReadDerivedMetricParams) WithSlug(slug string) *ReadDerivedMetricParams
- func (o *ReadDerivedMetricParams) WithTimeout(timeout time.Duration) *ReadDerivedMetricParams
- func (o *ReadDerivedMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadDerivedMetricReader
- type UpdateDerivedMetricBadRequest
- func (o *UpdateDerivedMetricBadRequest) Code() int
- func (o *UpdateDerivedMetricBadRequest) Error() string
- func (o *UpdateDerivedMetricBadRequest) GetPayload() *models.APIError
- func (o *UpdateDerivedMetricBadRequest) IsClientError() bool
- func (o *UpdateDerivedMetricBadRequest) IsCode(code int) bool
- func (o *UpdateDerivedMetricBadRequest) IsRedirect() bool
- func (o *UpdateDerivedMetricBadRequest) IsServerError() bool
- func (o *UpdateDerivedMetricBadRequest) IsSuccess() bool
- func (o *UpdateDerivedMetricBadRequest) String() string
- type UpdateDerivedMetricBody
- func (o *UpdateDerivedMetricBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDerivedMetricBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDerivedMetricBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDerivedMetricBody) Validate(formats strfmt.Registry) error
- type UpdateDerivedMetricConflict
- func (o *UpdateDerivedMetricConflict) Code() int
- func (o *UpdateDerivedMetricConflict) Error() string
- func (o *UpdateDerivedMetricConflict) GetPayload() *models.APIError
- func (o *UpdateDerivedMetricConflict) IsClientError() bool
- func (o *UpdateDerivedMetricConflict) IsCode(code int) bool
- func (o *UpdateDerivedMetricConflict) IsRedirect() bool
- func (o *UpdateDerivedMetricConflict) IsServerError() bool
- func (o *UpdateDerivedMetricConflict) IsSuccess() bool
- func (o *UpdateDerivedMetricConflict) String() string
- type UpdateDerivedMetricDefault
- func (o *UpdateDerivedMetricDefault) Code() int
- func (o *UpdateDerivedMetricDefault) Error() string
- func (o *UpdateDerivedMetricDefault) GetPayload() models.GenericError
- func (o *UpdateDerivedMetricDefault) IsClientError() bool
- func (o *UpdateDerivedMetricDefault) IsCode(code int) bool
- func (o *UpdateDerivedMetricDefault) IsRedirect() bool
- func (o *UpdateDerivedMetricDefault) IsServerError() bool
- func (o *UpdateDerivedMetricDefault) IsSuccess() bool
- func (o *UpdateDerivedMetricDefault) String() string
- type UpdateDerivedMetricInternalServerError
- func (o *UpdateDerivedMetricInternalServerError) Code() int
- func (o *UpdateDerivedMetricInternalServerError) Error() string
- func (o *UpdateDerivedMetricInternalServerError) GetPayload() *models.APIError
- func (o *UpdateDerivedMetricInternalServerError) IsClientError() bool
- func (o *UpdateDerivedMetricInternalServerError) IsCode(code int) bool
- func (o *UpdateDerivedMetricInternalServerError) IsRedirect() bool
- func (o *UpdateDerivedMetricInternalServerError) IsServerError() bool
- func (o *UpdateDerivedMetricInternalServerError) IsSuccess() bool
- func (o *UpdateDerivedMetricInternalServerError) String() string
- type UpdateDerivedMetricNotFound
- func (o *UpdateDerivedMetricNotFound) Code() int
- func (o *UpdateDerivedMetricNotFound) Error() string
- func (o *UpdateDerivedMetricNotFound) GetPayload() *models.APIError
- func (o *UpdateDerivedMetricNotFound) IsClientError() bool
- func (o *UpdateDerivedMetricNotFound) IsCode(code int) bool
- func (o *UpdateDerivedMetricNotFound) IsRedirect() bool
- func (o *UpdateDerivedMetricNotFound) IsServerError() bool
- func (o *UpdateDerivedMetricNotFound) IsSuccess() bool
- func (o *UpdateDerivedMetricNotFound) String() string
- type UpdateDerivedMetricOK
- func (o *UpdateDerivedMetricOK) Code() int
- func (o *UpdateDerivedMetricOK) Error() string
- func (o *UpdateDerivedMetricOK) GetPayload() *models.Configv1UpdateDerivedMetricResponse
- func (o *UpdateDerivedMetricOK) IsClientError() bool
- func (o *UpdateDerivedMetricOK) IsCode(code int) bool
- func (o *UpdateDerivedMetricOK) IsRedirect() bool
- func (o *UpdateDerivedMetricOK) IsServerError() bool
- func (o *UpdateDerivedMetricOK) IsSuccess() bool
- func (o *UpdateDerivedMetricOK) String() string
- type UpdateDerivedMetricParams
- func NewUpdateDerivedMetricParams() *UpdateDerivedMetricParams
- func NewUpdateDerivedMetricParamsWithContext(ctx context.Context) *UpdateDerivedMetricParams
- func NewUpdateDerivedMetricParamsWithHTTPClient(client *http.Client) *UpdateDerivedMetricParams
- func NewUpdateDerivedMetricParamsWithTimeout(timeout time.Duration) *UpdateDerivedMetricParams
- func (o *UpdateDerivedMetricParams) SetBody(body UpdateDerivedMetricBody)
- func (o *UpdateDerivedMetricParams) SetContext(ctx context.Context)
- func (o *UpdateDerivedMetricParams) SetDefaults()
- func (o *UpdateDerivedMetricParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDerivedMetricParams) SetSlug(slug string)
- func (o *UpdateDerivedMetricParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDerivedMetricParams) WithBody(body UpdateDerivedMetricBody) *UpdateDerivedMetricParams
- func (o *UpdateDerivedMetricParams) WithContext(ctx context.Context) *UpdateDerivedMetricParams
- func (o *UpdateDerivedMetricParams) WithDefaults() *UpdateDerivedMetricParams
- func (o *UpdateDerivedMetricParams) WithHTTPClient(client *http.Client) *UpdateDerivedMetricParams
- func (o *UpdateDerivedMetricParams) WithSlug(slug string) *UpdateDerivedMetricParams
- func (o *UpdateDerivedMetricParams) WithTimeout(timeout time.Duration) *UpdateDerivedMetricParams
- func (o *UpdateDerivedMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDerivedMetricReader
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 derived metric API
func (*Client) CreateDerivedMetric ¶
func (a *Client) CreateDerivedMetric(params *CreateDerivedMetricParams, opts ...ClientOption) (*CreateDerivedMetricOK, error)
CreateDerivedMetric create derived metric API
func (*Client) DeleteDerivedMetric ¶
func (a *Client) DeleteDerivedMetric(params *DeleteDerivedMetricParams, opts ...ClientOption) (*DeleteDerivedMetricOK, error)
DeleteDerivedMetric delete derived metric API
func (*Client) ListDerivedMetrics ¶
func (a *Client) ListDerivedMetrics(params *ListDerivedMetricsParams, opts ...ClientOption) (*ListDerivedMetricsOK, error)
ListDerivedMetrics list derived metrics API
func (*Client) ReadDerivedMetric ¶
func (a *Client) ReadDerivedMetric(params *ReadDerivedMetricParams, opts ...ClientOption) (*ReadDerivedMetricOK, error)
ReadDerivedMetric read derived metric API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDerivedMetric ¶
func (a *Client) UpdateDerivedMetric(params *UpdateDerivedMetricParams, opts ...ClientOption) (*UpdateDerivedMetricOK, error)
UpdateDerivedMetric update derived metric API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateDerivedMetric(params *CreateDerivedMetricParams, opts ...ClientOption) (*CreateDerivedMetricOK, error) DeleteDerivedMetric(params *DeleteDerivedMetricParams, opts ...ClientOption) (*DeleteDerivedMetricOK, error) ListDerivedMetrics(params *ListDerivedMetricsParams, opts ...ClientOption) (*ListDerivedMetricsOK, error) ReadDerivedMetric(params *ReadDerivedMetricParams, opts ...ClientOption) (*ReadDerivedMetricOK, error) UpdateDerivedMetric(params *UpdateDerivedMetricParams, opts ...ClientOption) (*UpdateDerivedMetricOK, 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 derived metric API client.
type CreateDerivedMetricBadRequest ¶
CreateDerivedMetricBadRequest describes a response with status code 400, with default header values.
Cannot create the DerivedMetric because the request is invalid.
func NewCreateDerivedMetricBadRequest ¶
func NewCreateDerivedMetricBadRequest() *CreateDerivedMetricBadRequest
NewCreateDerivedMetricBadRequest creates a CreateDerivedMetricBadRequest with default headers values
func (*CreateDerivedMetricBadRequest) Code ¶
func (o *CreateDerivedMetricBadRequest) Code() int
Code gets the status code for the create derived metric bad request response
func (*CreateDerivedMetricBadRequest) Error ¶
func (o *CreateDerivedMetricBadRequest) Error() string
func (*CreateDerivedMetricBadRequest) GetPayload ¶
func (o *CreateDerivedMetricBadRequest) GetPayload() *models.APIError
func (*CreateDerivedMetricBadRequest) IsClientError ¶
func (o *CreateDerivedMetricBadRequest) IsClientError() bool
IsClientError returns true when this create derived metric bad request response has a 4xx status code
func (*CreateDerivedMetricBadRequest) IsCode ¶
func (o *CreateDerivedMetricBadRequest) IsCode(code int) bool
IsCode returns true when this create derived metric bad request response a status code equal to that given
func (*CreateDerivedMetricBadRequest) IsRedirect ¶
func (o *CreateDerivedMetricBadRequest) IsRedirect() bool
IsRedirect returns true when this create derived metric bad request response has a 3xx status code
func (*CreateDerivedMetricBadRequest) IsServerError ¶
func (o *CreateDerivedMetricBadRequest) IsServerError() bool
IsServerError returns true when this create derived metric bad request response has a 5xx status code
func (*CreateDerivedMetricBadRequest) IsSuccess ¶
func (o *CreateDerivedMetricBadRequest) IsSuccess() bool
IsSuccess returns true when this create derived metric bad request response has a 2xx status code
func (*CreateDerivedMetricBadRequest) String ¶
func (o *CreateDerivedMetricBadRequest) String() string
type CreateDerivedMetricConflict ¶
CreateDerivedMetricConflict describes a response with status code 409, with default header values.
Cannot create the DerivedMetric because there is a conflict with an existing DerivedMetric.
func NewCreateDerivedMetricConflict ¶
func NewCreateDerivedMetricConflict() *CreateDerivedMetricConflict
NewCreateDerivedMetricConflict creates a CreateDerivedMetricConflict with default headers values
func (*CreateDerivedMetricConflict) Code ¶
func (o *CreateDerivedMetricConflict) Code() int
Code gets the status code for the create derived metric conflict response
func (*CreateDerivedMetricConflict) Error ¶
func (o *CreateDerivedMetricConflict) Error() string
func (*CreateDerivedMetricConflict) GetPayload ¶
func (o *CreateDerivedMetricConflict) GetPayload() *models.APIError
func (*CreateDerivedMetricConflict) IsClientError ¶
func (o *CreateDerivedMetricConflict) IsClientError() bool
IsClientError returns true when this create derived metric conflict response has a 4xx status code
func (*CreateDerivedMetricConflict) IsCode ¶
func (o *CreateDerivedMetricConflict) IsCode(code int) bool
IsCode returns true when this create derived metric conflict response a status code equal to that given
func (*CreateDerivedMetricConflict) IsRedirect ¶
func (o *CreateDerivedMetricConflict) IsRedirect() bool
IsRedirect returns true when this create derived metric conflict response has a 3xx status code
func (*CreateDerivedMetricConflict) IsServerError ¶
func (o *CreateDerivedMetricConflict) IsServerError() bool
IsServerError returns true when this create derived metric conflict response has a 5xx status code
func (*CreateDerivedMetricConflict) IsSuccess ¶
func (o *CreateDerivedMetricConflict) IsSuccess() bool
IsSuccess returns true when this create derived metric conflict response has a 2xx status code
func (*CreateDerivedMetricConflict) String ¶
func (o *CreateDerivedMetricConflict) String() string
type CreateDerivedMetricDefault ¶
type CreateDerivedMetricDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateDerivedMetricDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateDerivedMetricDefault ¶
func NewCreateDerivedMetricDefault(code int) *CreateDerivedMetricDefault
NewCreateDerivedMetricDefault creates a CreateDerivedMetricDefault with default headers values
func (*CreateDerivedMetricDefault) Code ¶
func (o *CreateDerivedMetricDefault) Code() int
Code gets the status code for the create derived metric default response
func (*CreateDerivedMetricDefault) Error ¶
func (o *CreateDerivedMetricDefault) Error() string
func (*CreateDerivedMetricDefault) GetPayload ¶
func (o *CreateDerivedMetricDefault) GetPayload() models.GenericError
func (*CreateDerivedMetricDefault) IsClientError ¶
func (o *CreateDerivedMetricDefault) IsClientError() bool
IsClientError returns true when this create derived metric default response has a 4xx status code
func (*CreateDerivedMetricDefault) IsCode ¶
func (o *CreateDerivedMetricDefault) IsCode(code int) bool
IsCode returns true when this create derived metric default response a status code equal to that given
func (*CreateDerivedMetricDefault) IsRedirect ¶
func (o *CreateDerivedMetricDefault) IsRedirect() bool
IsRedirect returns true when this create derived metric default response has a 3xx status code
func (*CreateDerivedMetricDefault) IsServerError ¶
func (o *CreateDerivedMetricDefault) IsServerError() bool
IsServerError returns true when this create derived metric default response has a 5xx status code
func (*CreateDerivedMetricDefault) IsSuccess ¶
func (o *CreateDerivedMetricDefault) IsSuccess() bool
IsSuccess returns true when this create derived metric default response has a 2xx status code
func (*CreateDerivedMetricDefault) String ¶
func (o *CreateDerivedMetricDefault) String() string
type CreateDerivedMetricInternalServerError ¶
CreateDerivedMetricInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateDerivedMetricInternalServerError ¶
func NewCreateDerivedMetricInternalServerError() *CreateDerivedMetricInternalServerError
NewCreateDerivedMetricInternalServerError creates a CreateDerivedMetricInternalServerError with default headers values
func (*CreateDerivedMetricInternalServerError) Code ¶
func (o *CreateDerivedMetricInternalServerError) Code() int
Code gets the status code for the create derived metric internal server error response
func (*CreateDerivedMetricInternalServerError) Error ¶
func (o *CreateDerivedMetricInternalServerError) Error() string
func (*CreateDerivedMetricInternalServerError) GetPayload ¶
func (o *CreateDerivedMetricInternalServerError) GetPayload() *models.APIError
func (*CreateDerivedMetricInternalServerError) IsClientError ¶
func (o *CreateDerivedMetricInternalServerError) IsClientError() bool
IsClientError returns true when this create derived metric internal server error response has a 4xx status code
func (*CreateDerivedMetricInternalServerError) IsCode ¶
func (o *CreateDerivedMetricInternalServerError) IsCode(code int) bool
IsCode returns true when this create derived metric internal server error response a status code equal to that given
func (*CreateDerivedMetricInternalServerError) IsRedirect ¶
func (o *CreateDerivedMetricInternalServerError) IsRedirect() bool
IsRedirect returns true when this create derived metric internal server error response has a 3xx status code
func (*CreateDerivedMetricInternalServerError) IsServerError ¶
func (o *CreateDerivedMetricInternalServerError) IsServerError() bool
IsServerError returns true when this create derived metric internal server error response has a 5xx status code
func (*CreateDerivedMetricInternalServerError) IsSuccess ¶
func (o *CreateDerivedMetricInternalServerError) IsSuccess() bool
IsSuccess returns true when this create derived metric internal server error response has a 2xx status code
func (*CreateDerivedMetricInternalServerError) String ¶
func (o *CreateDerivedMetricInternalServerError) String() string
type CreateDerivedMetricOK ¶
type CreateDerivedMetricOK struct {
Payload *models.Configv1CreateDerivedMetricResponse
}
CreateDerivedMetricOK describes a response with status code 200, with default header values.
A successful response containing the created DerivedMetric.
func NewCreateDerivedMetricOK ¶
func NewCreateDerivedMetricOK() *CreateDerivedMetricOK
NewCreateDerivedMetricOK creates a CreateDerivedMetricOK with default headers values
func (*CreateDerivedMetricOK) Code ¶
func (o *CreateDerivedMetricOK) Code() int
Code gets the status code for the create derived metric o k response
func (*CreateDerivedMetricOK) Error ¶
func (o *CreateDerivedMetricOK) Error() string
func (*CreateDerivedMetricOK) GetPayload ¶
func (o *CreateDerivedMetricOK) GetPayload() *models.Configv1CreateDerivedMetricResponse
func (*CreateDerivedMetricOK) IsClientError ¶
func (o *CreateDerivedMetricOK) IsClientError() bool
IsClientError returns true when this create derived metric o k response has a 4xx status code
func (*CreateDerivedMetricOK) IsCode ¶
func (o *CreateDerivedMetricOK) IsCode(code int) bool
IsCode returns true when this create derived metric o k response a status code equal to that given
func (*CreateDerivedMetricOK) IsRedirect ¶
func (o *CreateDerivedMetricOK) IsRedirect() bool
IsRedirect returns true when this create derived metric o k response has a 3xx status code
func (*CreateDerivedMetricOK) IsServerError ¶
func (o *CreateDerivedMetricOK) IsServerError() bool
IsServerError returns true when this create derived metric o k response has a 5xx status code
func (*CreateDerivedMetricOK) IsSuccess ¶
func (o *CreateDerivedMetricOK) IsSuccess() bool
IsSuccess returns true when this create derived metric o k response has a 2xx status code
func (*CreateDerivedMetricOK) String ¶
func (o *CreateDerivedMetricOK) String() string
type CreateDerivedMetricParams ¶
type CreateDerivedMetricParams struct { // Body. Body *models.Configv1CreateDerivedMetricRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDerivedMetricParams contains all the parameters to send to the API endpoint
for the create derived metric operation. Typically these are written to a http.Request.
func NewCreateDerivedMetricParams ¶
func NewCreateDerivedMetricParams() *CreateDerivedMetricParams
NewCreateDerivedMetricParams creates a new CreateDerivedMetricParams 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 NewCreateDerivedMetricParamsWithContext ¶
func NewCreateDerivedMetricParamsWithContext(ctx context.Context) *CreateDerivedMetricParams
NewCreateDerivedMetricParamsWithContext creates a new CreateDerivedMetricParams object with the ability to set a context for a request.
func NewCreateDerivedMetricParamsWithHTTPClient ¶
func NewCreateDerivedMetricParamsWithHTTPClient(client *http.Client) *CreateDerivedMetricParams
NewCreateDerivedMetricParamsWithHTTPClient creates a new CreateDerivedMetricParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDerivedMetricParamsWithTimeout ¶
func NewCreateDerivedMetricParamsWithTimeout(timeout time.Duration) *CreateDerivedMetricParams
NewCreateDerivedMetricParamsWithTimeout creates a new CreateDerivedMetricParams object with the ability to set a timeout on a request.
func (*CreateDerivedMetricParams) SetBody ¶
func (o *CreateDerivedMetricParams) SetBody(body *models.Configv1CreateDerivedMetricRequest)
SetBody adds the body to the create derived metric params
func (*CreateDerivedMetricParams) SetContext ¶
func (o *CreateDerivedMetricParams) SetContext(ctx context.Context)
SetContext adds the context to the create derived metric params
func (*CreateDerivedMetricParams) SetDefaults ¶
func (o *CreateDerivedMetricParams) SetDefaults()
SetDefaults hydrates default values in the create derived metric params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDerivedMetricParams) SetHTTPClient ¶
func (o *CreateDerivedMetricParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create derived metric params
func (*CreateDerivedMetricParams) SetTimeout ¶
func (o *CreateDerivedMetricParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create derived metric params
func (*CreateDerivedMetricParams) WithBody ¶
func (o *CreateDerivedMetricParams) WithBody(body *models.Configv1CreateDerivedMetricRequest) *CreateDerivedMetricParams
WithBody adds the body to the create derived metric params
func (*CreateDerivedMetricParams) WithContext ¶
func (o *CreateDerivedMetricParams) WithContext(ctx context.Context) *CreateDerivedMetricParams
WithContext adds the context to the create derived metric params
func (*CreateDerivedMetricParams) WithDefaults ¶
func (o *CreateDerivedMetricParams) WithDefaults() *CreateDerivedMetricParams
WithDefaults hydrates default values in the create derived metric params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDerivedMetricParams) WithHTTPClient ¶
func (o *CreateDerivedMetricParams) WithHTTPClient(client *http.Client) *CreateDerivedMetricParams
WithHTTPClient adds the HTTPClient to the create derived metric params
func (*CreateDerivedMetricParams) WithTimeout ¶
func (o *CreateDerivedMetricParams) WithTimeout(timeout time.Duration) *CreateDerivedMetricParams
WithTimeout adds the timeout to the create derived metric params
func (*CreateDerivedMetricParams) WriteToRequest ¶
func (o *CreateDerivedMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDerivedMetricReader ¶
type CreateDerivedMetricReader struct {
// contains filtered or unexported fields
}
CreateDerivedMetricReader is a Reader for the CreateDerivedMetric structure.
func (*CreateDerivedMetricReader) ReadResponse ¶
func (o *CreateDerivedMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDerivedMetricBadRequest ¶
DeleteDerivedMetricBadRequest describes a response with status code 400, with default header values.
Cannot delete the DerivedMetric because it is in use.
func NewDeleteDerivedMetricBadRequest ¶
func NewDeleteDerivedMetricBadRequest() *DeleteDerivedMetricBadRequest
NewDeleteDerivedMetricBadRequest creates a DeleteDerivedMetricBadRequest with default headers values
func (*DeleteDerivedMetricBadRequest) Code ¶
func (o *DeleteDerivedMetricBadRequest) Code() int
Code gets the status code for the delete derived metric bad request response
func (*DeleteDerivedMetricBadRequest) Error ¶
func (o *DeleteDerivedMetricBadRequest) Error() string
func (*DeleteDerivedMetricBadRequest) GetPayload ¶
func (o *DeleteDerivedMetricBadRequest) GetPayload() *models.APIError
func (*DeleteDerivedMetricBadRequest) IsClientError ¶
func (o *DeleteDerivedMetricBadRequest) IsClientError() bool
IsClientError returns true when this delete derived metric bad request response has a 4xx status code
func (*DeleteDerivedMetricBadRequest) IsCode ¶
func (o *DeleteDerivedMetricBadRequest) IsCode(code int) bool
IsCode returns true when this delete derived metric bad request response a status code equal to that given
func (*DeleteDerivedMetricBadRequest) IsRedirect ¶
func (o *DeleteDerivedMetricBadRequest) IsRedirect() bool
IsRedirect returns true when this delete derived metric bad request response has a 3xx status code
func (*DeleteDerivedMetricBadRequest) IsServerError ¶
func (o *DeleteDerivedMetricBadRequest) IsServerError() bool
IsServerError returns true when this delete derived metric bad request response has a 5xx status code
func (*DeleteDerivedMetricBadRequest) IsSuccess ¶
func (o *DeleteDerivedMetricBadRequest) IsSuccess() bool
IsSuccess returns true when this delete derived metric bad request response has a 2xx status code
func (*DeleteDerivedMetricBadRequest) String ¶
func (o *DeleteDerivedMetricBadRequest) String() string
type DeleteDerivedMetricDefault ¶
type DeleteDerivedMetricDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteDerivedMetricDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteDerivedMetricDefault ¶
func NewDeleteDerivedMetricDefault(code int) *DeleteDerivedMetricDefault
NewDeleteDerivedMetricDefault creates a DeleteDerivedMetricDefault with default headers values
func (*DeleteDerivedMetricDefault) Code ¶
func (o *DeleteDerivedMetricDefault) Code() int
Code gets the status code for the delete derived metric default response
func (*DeleteDerivedMetricDefault) Error ¶
func (o *DeleteDerivedMetricDefault) Error() string
func (*DeleteDerivedMetricDefault) GetPayload ¶
func (o *DeleteDerivedMetricDefault) GetPayload() models.GenericError
func (*DeleteDerivedMetricDefault) IsClientError ¶
func (o *DeleteDerivedMetricDefault) IsClientError() bool
IsClientError returns true when this delete derived metric default response has a 4xx status code
func (*DeleteDerivedMetricDefault) IsCode ¶
func (o *DeleteDerivedMetricDefault) IsCode(code int) bool
IsCode returns true when this delete derived metric default response a status code equal to that given
func (*DeleteDerivedMetricDefault) IsRedirect ¶
func (o *DeleteDerivedMetricDefault) IsRedirect() bool
IsRedirect returns true when this delete derived metric default response has a 3xx status code
func (*DeleteDerivedMetricDefault) IsServerError ¶
func (o *DeleteDerivedMetricDefault) IsServerError() bool
IsServerError returns true when this delete derived metric default response has a 5xx status code
func (*DeleteDerivedMetricDefault) IsSuccess ¶
func (o *DeleteDerivedMetricDefault) IsSuccess() bool
IsSuccess returns true when this delete derived metric default response has a 2xx status code
func (*DeleteDerivedMetricDefault) String ¶
func (o *DeleteDerivedMetricDefault) String() string
type DeleteDerivedMetricInternalServerError ¶
DeleteDerivedMetricInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteDerivedMetricInternalServerError ¶
func NewDeleteDerivedMetricInternalServerError() *DeleteDerivedMetricInternalServerError
NewDeleteDerivedMetricInternalServerError creates a DeleteDerivedMetricInternalServerError with default headers values
func (*DeleteDerivedMetricInternalServerError) Code ¶
func (o *DeleteDerivedMetricInternalServerError) Code() int
Code gets the status code for the delete derived metric internal server error response
func (*DeleteDerivedMetricInternalServerError) Error ¶
func (o *DeleteDerivedMetricInternalServerError) Error() string
func (*DeleteDerivedMetricInternalServerError) GetPayload ¶
func (o *DeleteDerivedMetricInternalServerError) GetPayload() *models.APIError
func (*DeleteDerivedMetricInternalServerError) IsClientError ¶
func (o *DeleteDerivedMetricInternalServerError) IsClientError() bool
IsClientError returns true when this delete derived metric internal server error response has a 4xx status code
func (*DeleteDerivedMetricInternalServerError) IsCode ¶
func (o *DeleteDerivedMetricInternalServerError) IsCode(code int) bool
IsCode returns true when this delete derived metric internal server error response a status code equal to that given
func (*DeleteDerivedMetricInternalServerError) IsRedirect ¶
func (o *DeleteDerivedMetricInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete derived metric internal server error response has a 3xx status code
func (*DeleteDerivedMetricInternalServerError) IsServerError ¶
func (o *DeleteDerivedMetricInternalServerError) IsServerError() bool
IsServerError returns true when this delete derived metric internal server error response has a 5xx status code
func (*DeleteDerivedMetricInternalServerError) IsSuccess ¶
func (o *DeleteDerivedMetricInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete derived metric internal server error response has a 2xx status code
func (*DeleteDerivedMetricInternalServerError) String ¶
func (o *DeleteDerivedMetricInternalServerError) String() string
type DeleteDerivedMetricNotFound ¶
DeleteDerivedMetricNotFound describes a response with status code 404, with default header values.
Cannot delete the DerivedMetric because the slug does not exist.
func NewDeleteDerivedMetricNotFound ¶
func NewDeleteDerivedMetricNotFound() *DeleteDerivedMetricNotFound
NewDeleteDerivedMetricNotFound creates a DeleteDerivedMetricNotFound with default headers values
func (*DeleteDerivedMetricNotFound) Code ¶
func (o *DeleteDerivedMetricNotFound) Code() int
Code gets the status code for the delete derived metric not found response
func (*DeleteDerivedMetricNotFound) Error ¶
func (o *DeleteDerivedMetricNotFound) Error() string
func (*DeleteDerivedMetricNotFound) GetPayload ¶
func (o *DeleteDerivedMetricNotFound) GetPayload() *models.APIError
func (*DeleteDerivedMetricNotFound) IsClientError ¶
func (o *DeleteDerivedMetricNotFound) IsClientError() bool
IsClientError returns true when this delete derived metric not found response has a 4xx status code
func (*DeleteDerivedMetricNotFound) IsCode ¶
func (o *DeleteDerivedMetricNotFound) IsCode(code int) bool
IsCode returns true when this delete derived metric not found response a status code equal to that given
func (*DeleteDerivedMetricNotFound) IsRedirect ¶
func (o *DeleteDerivedMetricNotFound) IsRedirect() bool
IsRedirect returns true when this delete derived metric not found response has a 3xx status code
func (*DeleteDerivedMetricNotFound) IsServerError ¶
func (o *DeleteDerivedMetricNotFound) IsServerError() bool
IsServerError returns true when this delete derived metric not found response has a 5xx status code
func (*DeleteDerivedMetricNotFound) IsSuccess ¶
func (o *DeleteDerivedMetricNotFound) IsSuccess() bool
IsSuccess returns true when this delete derived metric not found response has a 2xx status code
func (*DeleteDerivedMetricNotFound) String ¶
func (o *DeleteDerivedMetricNotFound) String() string
type DeleteDerivedMetricOK ¶
type DeleteDerivedMetricOK struct {
Payload models.Configv1DeleteDerivedMetricResponse
}
DeleteDerivedMetricOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteDerivedMetricOK ¶
func NewDeleteDerivedMetricOK() *DeleteDerivedMetricOK
NewDeleteDerivedMetricOK creates a DeleteDerivedMetricOK with default headers values
func (*DeleteDerivedMetricOK) Code ¶
func (o *DeleteDerivedMetricOK) Code() int
Code gets the status code for the delete derived metric o k response
func (*DeleteDerivedMetricOK) Error ¶
func (o *DeleteDerivedMetricOK) Error() string
func (*DeleteDerivedMetricOK) GetPayload ¶
func (o *DeleteDerivedMetricOK) GetPayload() models.Configv1DeleteDerivedMetricResponse
func (*DeleteDerivedMetricOK) IsClientError ¶
func (o *DeleteDerivedMetricOK) IsClientError() bool
IsClientError returns true when this delete derived metric o k response has a 4xx status code
func (*DeleteDerivedMetricOK) IsCode ¶
func (o *DeleteDerivedMetricOK) IsCode(code int) bool
IsCode returns true when this delete derived metric o k response a status code equal to that given
func (*DeleteDerivedMetricOK) IsRedirect ¶
func (o *DeleteDerivedMetricOK) IsRedirect() bool
IsRedirect returns true when this delete derived metric o k response has a 3xx status code
func (*DeleteDerivedMetricOK) IsServerError ¶
func (o *DeleteDerivedMetricOK) IsServerError() bool
IsServerError returns true when this delete derived metric o k response has a 5xx status code
func (*DeleteDerivedMetricOK) IsSuccess ¶
func (o *DeleteDerivedMetricOK) IsSuccess() bool
IsSuccess returns true when this delete derived metric o k response has a 2xx status code
func (*DeleteDerivedMetricOK) String ¶
func (o *DeleteDerivedMetricOK) String() string
type DeleteDerivedMetricParams ¶
type DeleteDerivedMetricParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDerivedMetricParams contains all the parameters to send to the API endpoint
for the delete derived metric operation. Typically these are written to a http.Request.
func NewDeleteDerivedMetricParams ¶
func NewDeleteDerivedMetricParams() *DeleteDerivedMetricParams
NewDeleteDerivedMetricParams creates a new DeleteDerivedMetricParams 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 NewDeleteDerivedMetricParamsWithContext ¶
func NewDeleteDerivedMetricParamsWithContext(ctx context.Context) *DeleteDerivedMetricParams
NewDeleteDerivedMetricParamsWithContext creates a new DeleteDerivedMetricParams object with the ability to set a context for a request.
func NewDeleteDerivedMetricParamsWithHTTPClient ¶
func NewDeleteDerivedMetricParamsWithHTTPClient(client *http.Client) *DeleteDerivedMetricParams
NewDeleteDerivedMetricParamsWithHTTPClient creates a new DeleteDerivedMetricParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDerivedMetricParamsWithTimeout ¶
func NewDeleteDerivedMetricParamsWithTimeout(timeout time.Duration) *DeleteDerivedMetricParams
NewDeleteDerivedMetricParamsWithTimeout creates a new DeleteDerivedMetricParams object with the ability to set a timeout on a request.
func (*DeleteDerivedMetricParams) SetContext ¶
func (o *DeleteDerivedMetricParams) SetContext(ctx context.Context)
SetContext adds the context to the delete derived metric params
func (*DeleteDerivedMetricParams) SetDefaults ¶
func (o *DeleteDerivedMetricParams) SetDefaults()
SetDefaults hydrates default values in the delete derived metric params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDerivedMetricParams) SetHTTPClient ¶
func (o *DeleteDerivedMetricParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete derived metric params
func (*DeleteDerivedMetricParams) SetSlug ¶
func (o *DeleteDerivedMetricParams) SetSlug(slug string)
SetSlug adds the slug to the delete derived metric params
func (*DeleteDerivedMetricParams) SetTimeout ¶
func (o *DeleteDerivedMetricParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete derived metric params
func (*DeleteDerivedMetricParams) WithContext ¶
func (o *DeleteDerivedMetricParams) WithContext(ctx context.Context) *DeleteDerivedMetricParams
WithContext adds the context to the delete derived metric params
func (*DeleteDerivedMetricParams) WithDefaults ¶
func (o *DeleteDerivedMetricParams) WithDefaults() *DeleteDerivedMetricParams
WithDefaults hydrates default values in the delete derived metric params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDerivedMetricParams) WithHTTPClient ¶
func (o *DeleteDerivedMetricParams) WithHTTPClient(client *http.Client) *DeleteDerivedMetricParams
WithHTTPClient adds the HTTPClient to the delete derived metric params
func (*DeleteDerivedMetricParams) WithSlug ¶
func (o *DeleteDerivedMetricParams) WithSlug(slug string) *DeleteDerivedMetricParams
WithSlug adds the slug to the delete derived metric params
func (*DeleteDerivedMetricParams) WithTimeout ¶
func (o *DeleteDerivedMetricParams) WithTimeout(timeout time.Duration) *DeleteDerivedMetricParams
WithTimeout adds the timeout to the delete derived metric params
func (*DeleteDerivedMetricParams) WriteToRequest ¶
func (o *DeleteDerivedMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDerivedMetricReader ¶
type DeleteDerivedMetricReader struct {
// contains filtered or unexported fields
}
DeleteDerivedMetricReader is a Reader for the DeleteDerivedMetric structure.
func (*DeleteDerivedMetricReader) ReadResponse ¶
func (o *DeleteDerivedMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDerivedMetricsDefault ¶
type ListDerivedMetricsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListDerivedMetricsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListDerivedMetricsDefault ¶
func NewListDerivedMetricsDefault(code int) *ListDerivedMetricsDefault
NewListDerivedMetricsDefault creates a ListDerivedMetricsDefault with default headers values
func (*ListDerivedMetricsDefault) Code ¶
func (o *ListDerivedMetricsDefault) Code() int
Code gets the status code for the list derived metrics default response
func (*ListDerivedMetricsDefault) Error ¶
func (o *ListDerivedMetricsDefault) Error() string
func (*ListDerivedMetricsDefault) GetPayload ¶
func (o *ListDerivedMetricsDefault) GetPayload() models.GenericError
func (*ListDerivedMetricsDefault) IsClientError ¶
func (o *ListDerivedMetricsDefault) IsClientError() bool
IsClientError returns true when this list derived metrics default response has a 4xx status code
func (*ListDerivedMetricsDefault) IsCode ¶
func (o *ListDerivedMetricsDefault) IsCode(code int) bool
IsCode returns true when this list derived metrics default response a status code equal to that given
func (*ListDerivedMetricsDefault) IsRedirect ¶
func (o *ListDerivedMetricsDefault) IsRedirect() bool
IsRedirect returns true when this list derived metrics default response has a 3xx status code
func (*ListDerivedMetricsDefault) IsServerError ¶
func (o *ListDerivedMetricsDefault) IsServerError() bool
IsServerError returns true when this list derived metrics default response has a 5xx status code
func (*ListDerivedMetricsDefault) IsSuccess ¶
func (o *ListDerivedMetricsDefault) IsSuccess() bool
IsSuccess returns true when this list derived metrics default response has a 2xx status code
func (*ListDerivedMetricsDefault) String ¶
func (o *ListDerivedMetricsDefault) String() string
type ListDerivedMetricsInternalServerError ¶
ListDerivedMetricsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListDerivedMetricsInternalServerError ¶
func NewListDerivedMetricsInternalServerError() *ListDerivedMetricsInternalServerError
NewListDerivedMetricsInternalServerError creates a ListDerivedMetricsInternalServerError with default headers values
func (*ListDerivedMetricsInternalServerError) Code ¶
func (o *ListDerivedMetricsInternalServerError) Code() int
Code gets the status code for the list derived metrics internal server error response
func (*ListDerivedMetricsInternalServerError) Error ¶
func (o *ListDerivedMetricsInternalServerError) Error() string
func (*ListDerivedMetricsInternalServerError) GetPayload ¶
func (o *ListDerivedMetricsInternalServerError) GetPayload() *models.APIError
func (*ListDerivedMetricsInternalServerError) IsClientError ¶
func (o *ListDerivedMetricsInternalServerError) IsClientError() bool
IsClientError returns true when this list derived metrics internal server error response has a 4xx status code
func (*ListDerivedMetricsInternalServerError) IsCode ¶
func (o *ListDerivedMetricsInternalServerError) IsCode(code int) bool
IsCode returns true when this list derived metrics internal server error response a status code equal to that given
func (*ListDerivedMetricsInternalServerError) IsRedirect ¶
func (o *ListDerivedMetricsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list derived metrics internal server error response has a 3xx status code
func (*ListDerivedMetricsInternalServerError) IsServerError ¶
func (o *ListDerivedMetricsInternalServerError) IsServerError() bool
IsServerError returns true when this list derived metrics internal server error response has a 5xx status code
func (*ListDerivedMetricsInternalServerError) IsSuccess ¶
func (o *ListDerivedMetricsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list derived metrics internal server error response has a 2xx status code
func (*ListDerivedMetricsInternalServerError) String ¶
func (o *ListDerivedMetricsInternalServerError) String() string
type ListDerivedMetricsOK ¶
type ListDerivedMetricsOK struct {
Payload *models.Configv1ListDerivedMetricsResponse
}
ListDerivedMetricsOK describes a response with status code 200, with default header values.
A successful response.
func NewListDerivedMetricsOK ¶
func NewListDerivedMetricsOK() *ListDerivedMetricsOK
NewListDerivedMetricsOK creates a ListDerivedMetricsOK with default headers values
func (*ListDerivedMetricsOK) Code ¶
func (o *ListDerivedMetricsOK) Code() int
Code gets the status code for the list derived metrics o k response
func (*ListDerivedMetricsOK) Error ¶
func (o *ListDerivedMetricsOK) Error() string
func (*ListDerivedMetricsOK) GetPayload ¶
func (o *ListDerivedMetricsOK) GetPayload() *models.Configv1ListDerivedMetricsResponse
func (*ListDerivedMetricsOK) IsClientError ¶
func (o *ListDerivedMetricsOK) IsClientError() bool
IsClientError returns true when this list derived metrics o k response has a 4xx status code
func (*ListDerivedMetricsOK) IsCode ¶
func (o *ListDerivedMetricsOK) IsCode(code int) bool
IsCode returns true when this list derived metrics o k response a status code equal to that given
func (*ListDerivedMetricsOK) IsRedirect ¶
func (o *ListDerivedMetricsOK) IsRedirect() bool
IsRedirect returns true when this list derived metrics o k response has a 3xx status code
func (*ListDerivedMetricsOK) IsServerError ¶
func (o *ListDerivedMetricsOK) IsServerError() bool
IsServerError returns true when this list derived metrics o k response has a 5xx status code
func (*ListDerivedMetricsOK) IsSuccess ¶
func (o *ListDerivedMetricsOK) IsSuccess() bool
IsSuccess returns true when this list derived metrics o k response has a 2xx status code
func (*ListDerivedMetricsOK) String ¶
func (o *ListDerivedMetricsOK) String() string
type ListDerivedMetricsParams ¶
type ListDerivedMetricsParams struct { /* Names. Filters results by name, where any DerivedMetric with a matching name in the given list (and matches all other filters) is returned. */ Names []string /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string /* Slugs. Filters results by slug, where any DerivedMetric with a matching slug in the given list (and matches all other filters) is returned. */ Slugs []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDerivedMetricsParams contains all the parameters to send to the API endpoint
for the list derived metrics operation. Typically these are written to a http.Request.
func NewListDerivedMetricsParams ¶
func NewListDerivedMetricsParams() *ListDerivedMetricsParams
NewListDerivedMetricsParams creates a new ListDerivedMetricsParams 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 NewListDerivedMetricsParamsWithContext ¶
func NewListDerivedMetricsParamsWithContext(ctx context.Context) *ListDerivedMetricsParams
NewListDerivedMetricsParamsWithContext creates a new ListDerivedMetricsParams object with the ability to set a context for a request.
func NewListDerivedMetricsParamsWithHTTPClient ¶
func NewListDerivedMetricsParamsWithHTTPClient(client *http.Client) *ListDerivedMetricsParams
NewListDerivedMetricsParamsWithHTTPClient creates a new ListDerivedMetricsParams object with the ability to set a custom HTTPClient for a request.
func NewListDerivedMetricsParamsWithTimeout ¶
func NewListDerivedMetricsParamsWithTimeout(timeout time.Duration) *ListDerivedMetricsParams
NewListDerivedMetricsParamsWithTimeout creates a new ListDerivedMetricsParams object with the ability to set a timeout on a request.
func (*ListDerivedMetricsParams) SetContext ¶
func (o *ListDerivedMetricsParams) SetContext(ctx context.Context)
SetContext adds the context to the list derived metrics params
func (*ListDerivedMetricsParams) SetDefaults ¶
func (o *ListDerivedMetricsParams) SetDefaults()
SetDefaults hydrates default values in the list derived metrics params (not the query body).
All values with no default are reset to their zero value.
func (*ListDerivedMetricsParams) SetHTTPClient ¶
func (o *ListDerivedMetricsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list derived metrics params
func (*ListDerivedMetricsParams) SetNames ¶
func (o *ListDerivedMetricsParams) SetNames(names []string)
SetNames adds the names to the list derived metrics params
func (*ListDerivedMetricsParams) SetPageMaxSize ¶
func (o *ListDerivedMetricsParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list derived metrics params
func (*ListDerivedMetricsParams) SetPageToken ¶
func (o *ListDerivedMetricsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list derived metrics params
func (*ListDerivedMetricsParams) SetSlugs ¶
func (o *ListDerivedMetricsParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list derived metrics params
func (*ListDerivedMetricsParams) SetTimeout ¶
func (o *ListDerivedMetricsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list derived metrics params
func (*ListDerivedMetricsParams) WithContext ¶
func (o *ListDerivedMetricsParams) WithContext(ctx context.Context) *ListDerivedMetricsParams
WithContext adds the context to the list derived metrics params
func (*ListDerivedMetricsParams) WithDefaults ¶
func (o *ListDerivedMetricsParams) WithDefaults() *ListDerivedMetricsParams
WithDefaults hydrates default values in the list derived metrics params (not the query body).
All values with no default are reset to their zero value.
func (*ListDerivedMetricsParams) WithHTTPClient ¶
func (o *ListDerivedMetricsParams) WithHTTPClient(client *http.Client) *ListDerivedMetricsParams
WithHTTPClient adds the HTTPClient to the list derived metrics params
func (*ListDerivedMetricsParams) WithNames ¶
func (o *ListDerivedMetricsParams) WithNames(names []string) *ListDerivedMetricsParams
WithNames adds the names to the list derived metrics params
func (*ListDerivedMetricsParams) WithPageMaxSize ¶
func (o *ListDerivedMetricsParams) WithPageMaxSize(pageMaxSize *int64) *ListDerivedMetricsParams
WithPageMaxSize adds the pageMaxSize to the list derived metrics params
func (*ListDerivedMetricsParams) WithPageToken ¶
func (o *ListDerivedMetricsParams) WithPageToken(pageToken *string) *ListDerivedMetricsParams
WithPageToken adds the pageToken to the list derived metrics params
func (*ListDerivedMetricsParams) WithSlugs ¶
func (o *ListDerivedMetricsParams) WithSlugs(slugs []string) *ListDerivedMetricsParams
WithSlugs adds the slugs to the list derived metrics params
func (*ListDerivedMetricsParams) WithTimeout ¶
func (o *ListDerivedMetricsParams) WithTimeout(timeout time.Duration) *ListDerivedMetricsParams
WithTimeout adds the timeout to the list derived metrics params
func (*ListDerivedMetricsParams) WriteToRequest ¶
func (o *ListDerivedMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDerivedMetricsReader ¶
type ListDerivedMetricsReader struct {
// contains filtered or unexported fields
}
ListDerivedMetricsReader is a Reader for the ListDerivedMetrics structure.
func (*ListDerivedMetricsReader) ReadResponse ¶
func (o *ListDerivedMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadDerivedMetricDefault ¶
type ReadDerivedMetricDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadDerivedMetricDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadDerivedMetricDefault ¶
func NewReadDerivedMetricDefault(code int) *ReadDerivedMetricDefault
NewReadDerivedMetricDefault creates a ReadDerivedMetricDefault with default headers values
func (*ReadDerivedMetricDefault) Code ¶
func (o *ReadDerivedMetricDefault) Code() int
Code gets the status code for the read derived metric default response
func (*ReadDerivedMetricDefault) Error ¶
func (o *ReadDerivedMetricDefault) Error() string
func (*ReadDerivedMetricDefault) GetPayload ¶
func (o *ReadDerivedMetricDefault) GetPayload() models.GenericError
func (*ReadDerivedMetricDefault) IsClientError ¶
func (o *ReadDerivedMetricDefault) IsClientError() bool
IsClientError returns true when this read derived metric default response has a 4xx status code
func (*ReadDerivedMetricDefault) IsCode ¶
func (o *ReadDerivedMetricDefault) IsCode(code int) bool
IsCode returns true when this read derived metric default response a status code equal to that given
func (*ReadDerivedMetricDefault) IsRedirect ¶
func (o *ReadDerivedMetricDefault) IsRedirect() bool
IsRedirect returns true when this read derived metric default response has a 3xx status code
func (*ReadDerivedMetricDefault) IsServerError ¶
func (o *ReadDerivedMetricDefault) IsServerError() bool
IsServerError returns true when this read derived metric default response has a 5xx status code
func (*ReadDerivedMetricDefault) IsSuccess ¶
func (o *ReadDerivedMetricDefault) IsSuccess() bool
IsSuccess returns true when this read derived metric default response has a 2xx status code
func (*ReadDerivedMetricDefault) String ¶
func (o *ReadDerivedMetricDefault) String() string
type ReadDerivedMetricInternalServerError ¶
ReadDerivedMetricInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadDerivedMetricInternalServerError ¶
func NewReadDerivedMetricInternalServerError() *ReadDerivedMetricInternalServerError
NewReadDerivedMetricInternalServerError creates a ReadDerivedMetricInternalServerError with default headers values
func (*ReadDerivedMetricInternalServerError) Code ¶
func (o *ReadDerivedMetricInternalServerError) Code() int
Code gets the status code for the read derived metric internal server error response
func (*ReadDerivedMetricInternalServerError) Error ¶
func (o *ReadDerivedMetricInternalServerError) Error() string
func (*ReadDerivedMetricInternalServerError) GetPayload ¶
func (o *ReadDerivedMetricInternalServerError) GetPayload() *models.APIError
func (*ReadDerivedMetricInternalServerError) IsClientError ¶
func (o *ReadDerivedMetricInternalServerError) IsClientError() bool
IsClientError returns true when this read derived metric internal server error response has a 4xx status code
func (*ReadDerivedMetricInternalServerError) IsCode ¶
func (o *ReadDerivedMetricInternalServerError) IsCode(code int) bool
IsCode returns true when this read derived metric internal server error response a status code equal to that given
func (*ReadDerivedMetricInternalServerError) IsRedirect ¶
func (o *ReadDerivedMetricInternalServerError) IsRedirect() bool
IsRedirect returns true when this read derived metric internal server error response has a 3xx status code
func (*ReadDerivedMetricInternalServerError) IsServerError ¶
func (o *ReadDerivedMetricInternalServerError) IsServerError() bool
IsServerError returns true when this read derived metric internal server error response has a 5xx status code
func (*ReadDerivedMetricInternalServerError) IsSuccess ¶
func (o *ReadDerivedMetricInternalServerError) IsSuccess() bool
IsSuccess returns true when this read derived metric internal server error response has a 2xx status code
func (*ReadDerivedMetricInternalServerError) String ¶
func (o *ReadDerivedMetricInternalServerError) String() string
type ReadDerivedMetricNotFound ¶
ReadDerivedMetricNotFound describes a response with status code 404, with default header values.
Cannot read the DerivedMetric because the slug does not exist.
func NewReadDerivedMetricNotFound ¶
func NewReadDerivedMetricNotFound() *ReadDerivedMetricNotFound
NewReadDerivedMetricNotFound creates a ReadDerivedMetricNotFound with default headers values
func (*ReadDerivedMetricNotFound) Code ¶
func (o *ReadDerivedMetricNotFound) Code() int
Code gets the status code for the read derived metric not found response
func (*ReadDerivedMetricNotFound) Error ¶
func (o *ReadDerivedMetricNotFound) Error() string
func (*ReadDerivedMetricNotFound) GetPayload ¶
func (o *ReadDerivedMetricNotFound) GetPayload() *models.APIError
func (*ReadDerivedMetricNotFound) IsClientError ¶
func (o *ReadDerivedMetricNotFound) IsClientError() bool
IsClientError returns true when this read derived metric not found response has a 4xx status code
func (*ReadDerivedMetricNotFound) IsCode ¶
func (o *ReadDerivedMetricNotFound) IsCode(code int) bool
IsCode returns true when this read derived metric not found response a status code equal to that given
func (*ReadDerivedMetricNotFound) IsRedirect ¶
func (o *ReadDerivedMetricNotFound) IsRedirect() bool
IsRedirect returns true when this read derived metric not found response has a 3xx status code
func (*ReadDerivedMetricNotFound) IsServerError ¶
func (o *ReadDerivedMetricNotFound) IsServerError() bool
IsServerError returns true when this read derived metric not found response has a 5xx status code
func (*ReadDerivedMetricNotFound) IsSuccess ¶
func (o *ReadDerivedMetricNotFound) IsSuccess() bool
IsSuccess returns true when this read derived metric not found response has a 2xx status code
func (*ReadDerivedMetricNotFound) String ¶
func (o *ReadDerivedMetricNotFound) String() string
type ReadDerivedMetricOK ¶
type ReadDerivedMetricOK struct {
Payload *models.Configv1ReadDerivedMetricResponse
}
ReadDerivedMetricOK describes a response with status code 200, with default header values.
A successful response.
func NewReadDerivedMetricOK ¶
func NewReadDerivedMetricOK() *ReadDerivedMetricOK
NewReadDerivedMetricOK creates a ReadDerivedMetricOK with default headers values
func (*ReadDerivedMetricOK) Code ¶
func (o *ReadDerivedMetricOK) Code() int
Code gets the status code for the read derived metric o k response
func (*ReadDerivedMetricOK) Error ¶
func (o *ReadDerivedMetricOK) Error() string
func (*ReadDerivedMetricOK) GetPayload ¶
func (o *ReadDerivedMetricOK) GetPayload() *models.Configv1ReadDerivedMetricResponse
func (*ReadDerivedMetricOK) IsClientError ¶
func (o *ReadDerivedMetricOK) IsClientError() bool
IsClientError returns true when this read derived metric o k response has a 4xx status code
func (*ReadDerivedMetricOK) IsCode ¶
func (o *ReadDerivedMetricOK) IsCode(code int) bool
IsCode returns true when this read derived metric o k response a status code equal to that given
func (*ReadDerivedMetricOK) IsRedirect ¶
func (o *ReadDerivedMetricOK) IsRedirect() bool
IsRedirect returns true when this read derived metric o k response has a 3xx status code
func (*ReadDerivedMetricOK) IsServerError ¶
func (o *ReadDerivedMetricOK) IsServerError() bool
IsServerError returns true when this read derived metric o k response has a 5xx status code
func (*ReadDerivedMetricOK) IsSuccess ¶
func (o *ReadDerivedMetricOK) IsSuccess() bool
IsSuccess returns true when this read derived metric o k response has a 2xx status code
func (*ReadDerivedMetricOK) String ¶
func (o *ReadDerivedMetricOK) String() string
type ReadDerivedMetricParams ¶
type ReadDerivedMetricParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadDerivedMetricParams contains all the parameters to send to the API endpoint
for the read derived metric operation. Typically these are written to a http.Request.
func NewReadDerivedMetricParams ¶
func NewReadDerivedMetricParams() *ReadDerivedMetricParams
NewReadDerivedMetricParams creates a new ReadDerivedMetricParams 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 NewReadDerivedMetricParamsWithContext ¶
func NewReadDerivedMetricParamsWithContext(ctx context.Context) *ReadDerivedMetricParams
NewReadDerivedMetricParamsWithContext creates a new ReadDerivedMetricParams object with the ability to set a context for a request.
func NewReadDerivedMetricParamsWithHTTPClient ¶
func NewReadDerivedMetricParamsWithHTTPClient(client *http.Client) *ReadDerivedMetricParams
NewReadDerivedMetricParamsWithHTTPClient creates a new ReadDerivedMetricParams object with the ability to set a custom HTTPClient for a request.
func NewReadDerivedMetricParamsWithTimeout ¶
func NewReadDerivedMetricParamsWithTimeout(timeout time.Duration) *ReadDerivedMetricParams
NewReadDerivedMetricParamsWithTimeout creates a new ReadDerivedMetricParams object with the ability to set a timeout on a request.
func (*ReadDerivedMetricParams) SetContext ¶
func (o *ReadDerivedMetricParams) SetContext(ctx context.Context)
SetContext adds the context to the read derived metric params
func (*ReadDerivedMetricParams) SetDefaults ¶
func (o *ReadDerivedMetricParams) SetDefaults()
SetDefaults hydrates default values in the read derived metric params (not the query body).
All values with no default are reset to their zero value.
func (*ReadDerivedMetricParams) SetHTTPClient ¶
func (o *ReadDerivedMetricParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read derived metric params
func (*ReadDerivedMetricParams) SetSlug ¶
func (o *ReadDerivedMetricParams) SetSlug(slug string)
SetSlug adds the slug to the read derived metric params
func (*ReadDerivedMetricParams) SetTimeout ¶
func (o *ReadDerivedMetricParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read derived metric params
func (*ReadDerivedMetricParams) WithContext ¶
func (o *ReadDerivedMetricParams) WithContext(ctx context.Context) *ReadDerivedMetricParams
WithContext adds the context to the read derived metric params
func (*ReadDerivedMetricParams) WithDefaults ¶
func (o *ReadDerivedMetricParams) WithDefaults() *ReadDerivedMetricParams
WithDefaults hydrates default values in the read derived metric params (not the query body).
All values with no default are reset to their zero value.
func (*ReadDerivedMetricParams) WithHTTPClient ¶
func (o *ReadDerivedMetricParams) WithHTTPClient(client *http.Client) *ReadDerivedMetricParams
WithHTTPClient adds the HTTPClient to the read derived metric params
func (*ReadDerivedMetricParams) WithSlug ¶
func (o *ReadDerivedMetricParams) WithSlug(slug string) *ReadDerivedMetricParams
WithSlug adds the slug to the read derived metric params
func (*ReadDerivedMetricParams) WithTimeout ¶
func (o *ReadDerivedMetricParams) WithTimeout(timeout time.Duration) *ReadDerivedMetricParams
WithTimeout adds the timeout to the read derived metric params
func (*ReadDerivedMetricParams) WriteToRequest ¶
func (o *ReadDerivedMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadDerivedMetricReader ¶
type ReadDerivedMetricReader struct {
// contains filtered or unexported fields
}
ReadDerivedMetricReader is a Reader for the ReadDerivedMetric structure.
func (*ReadDerivedMetricReader) ReadResponse ¶
func (o *ReadDerivedMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDerivedMetricBadRequest ¶
UpdateDerivedMetricBadRequest describes a response with status code 400, with default header values.
Cannot update the DerivedMetric because the request is invalid.
func NewUpdateDerivedMetricBadRequest ¶
func NewUpdateDerivedMetricBadRequest() *UpdateDerivedMetricBadRequest
NewUpdateDerivedMetricBadRequest creates a UpdateDerivedMetricBadRequest with default headers values
func (*UpdateDerivedMetricBadRequest) Code ¶
func (o *UpdateDerivedMetricBadRequest) Code() int
Code gets the status code for the update derived metric bad request response
func (*UpdateDerivedMetricBadRequest) Error ¶
func (o *UpdateDerivedMetricBadRequest) Error() string
func (*UpdateDerivedMetricBadRequest) GetPayload ¶
func (o *UpdateDerivedMetricBadRequest) GetPayload() *models.APIError
func (*UpdateDerivedMetricBadRequest) IsClientError ¶
func (o *UpdateDerivedMetricBadRequest) IsClientError() bool
IsClientError returns true when this update derived metric bad request response has a 4xx status code
func (*UpdateDerivedMetricBadRequest) IsCode ¶
func (o *UpdateDerivedMetricBadRequest) IsCode(code int) bool
IsCode returns true when this update derived metric bad request response a status code equal to that given
func (*UpdateDerivedMetricBadRequest) IsRedirect ¶
func (o *UpdateDerivedMetricBadRequest) IsRedirect() bool
IsRedirect returns true when this update derived metric bad request response has a 3xx status code
func (*UpdateDerivedMetricBadRequest) IsServerError ¶
func (o *UpdateDerivedMetricBadRequest) IsServerError() bool
IsServerError returns true when this update derived metric bad request response has a 5xx status code
func (*UpdateDerivedMetricBadRequest) IsSuccess ¶
func (o *UpdateDerivedMetricBadRequest) IsSuccess() bool
IsSuccess returns true when this update derived metric bad request response has a 2xx status code
func (*UpdateDerivedMetricBadRequest) String ¶
func (o *UpdateDerivedMetricBadRequest) String() string
type UpdateDerivedMetricBody ¶
type UpdateDerivedMetricBody struct { // If true, the DerivedMetric will be created if it does not already exist, identified by slug. If false, an error will be returned if the DerivedMetric does not already exist. CreateIfMissing bool `json:"create_if_missing,omitempty"` // derived metric DerivedMetric *models.Configv1DerivedMetric `json:"derived_metric,omitempty"` // If true, the DerivedMetric will not be created nor updated, and no response DerivedMetric will be returned. The response will return an error if the given DerivedMetric is invalid. DryRun bool `json:"dry_run,omitempty"` }
UpdateDerivedMetricBody update derived metric body swagger:model UpdateDerivedMetricBody
func (*UpdateDerivedMetricBody) ContextValidate ¶
func (o *UpdateDerivedMetricBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update derived metric body based on the context it is used
func (*UpdateDerivedMetricBody) MarshalBinary ¶
func (o *UpdateDerivedMetricBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDerivedMetricBody) UnmarshalBinary ¶
func (o *UpdateDerivedMetricBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDerivedMetricConflict ¶
UpdateDerivedMetricConflict describes a response with status code 409, with default header values.
Cannot update the DerivedMetric because there is a conflict with an existing DerivedMetric.
func NewUpdateDerivedMetricConflict ¶
func NewUpdateDerivedMetricConflict() *UpdateDerivedMetricConflict
NewUpdateDerivedMetricConflict creates a UpdateDerivedMetricConflict with default headers values
func (*UpdateDerivedMetricConflict) Code ¶
func (o *UpdateDerivedMetricConflict) Code() int
Code gets the status code for the update derived metric conflict response
func (*UpdateDerivedMetricConflict) Error ¶
func (o *UpdateDerivedMetricConflict) Error() string
func (*UpdateDerivedMetricConflict) GetPayload ¶
func (o *UpdateDerivedMetricConflict) GetPayload() *models.APIError
func (*UpdateDerivedMetricConflict) IsClientError ¶
func (o *UpdateDerivedMetricConflict) IsClientError() bool
IsClientError returns true when this update derived metric conflict response has a 4xx status code
func (*UpdateDerivedMetricConflict) IsCode ¶
func (o *UpdateDerivedMetricConflict) IsCode(code int) bool
IsCode returns true when this update derived metric conflict response a status code equal to that given
func (*UpdateDerivedMetricConflict) IsRedirect ¶
func (o *UpdateDerivedMetricConflict) IsRedirect() bool
IsRedirect returns true when this update derived metric conflict response has a 3xx status code
func (*UpdateDerivedMetricConflict) IsServerError ¶
func (o *UpdateDerivedMetricConflict) IsServerError() bool
IsServerError returns true when this update derived metric conflict response has a 5xx status code
func (*UpdateDerivedMetricConflict) IsSuccess ¶
func (o *UpdateDerivedMetricConflict) IsSuccess() bool
IsSuccess returns true when this update derived metric conflict response has a 2xx status code
func (*UpdateDerivedMetricConflict) String ¶
func (o *UpdateDerivedMetricConflict) String() string
type UpdateDerivedMetricDefault ¶
type UpdateDerivedMetricDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateDerivedMetricDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateDerivedMetricDefault ¶
func NewUpdateDerivedMetricDefault(code int) *UpdateDerivedMetricDefault
NewUpdateDerivedMetricDefault creates a UpdateDerivedMetricDefault with default headers values
func (*UpdateDerivedMetricDefault) Code ¶
func (o *UpdateDerivedMetricDefault) Code() int
Code gets the status code for the update derived metric default response
func (*UpdateDerivedMetricDefault) Error ¶
func (o *UpdateDerivedMetricDefault) Error() string
func (*UpdateDerivedMetricDefault) GetPayload ¶
func (o *UpdateDerivedMetricDefault) GetPayload() models.GenericError
func (*UpdateDerivedMetricDefault) IsClientError ¶
func (o *UpdateDerivedMetricDefault) IsClientError() bool
IsClientError returns true when this update derived metric default response has a 4xx status code
func (*UpdateDerivedMetricDefault) IsCode ¶
func (o *UpdateDerivedMetricDefault) IsCode(code int) bool
IsCode returns true when this update derived metric default response a status code equal to that given
func (*UpdateDerivedMetricDefault) IsRedirect ¶
func (o *UpdateDerivedMetricDefault) IsRedirect() bool
IsRedirect returns true when this update derived metric default response has a 3xx status code
func (*UpdateDerivedMetricDefault) IsServerError ¶
func (o *UpdateDerivedMetricDefault) IsServerError() bool
IsServerError returns true when this update derived metric default response has a 5xx status code
func (*UpdateDerivedMetricDefault) IsSuccess ¶
func (o *UpdateDerivedMetricDefault) IsSuccess() bool
IsSuccess returns true when this update derived metric default response has a 2xx status code
func (*UpdateDerivedMetricDefault) String ¶
func (o *UpdateDerivedMetricDefault) String() string
type UpdateDerivedMetricInternalServerError ¶
UpdateDerivedMetricInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateDerivedMetricInternalServerError ¶
func NewUpdateDerivedMetricInternalServerError() *UpdateDerivedMetricInternalServerError
NewUpdateDerivedMetricInternalServerError creates a UpdateDerivedMetricInternalServerError with default headers values
func (*UpdateDerivedMetricInternalServerError) Code ¶
func (o *UpdateDerivedMetricInternalServerError) Code() int
Code gets the status code for the update derived metric internal server error response
func (*UpdateDerivedMetricInternalServerError) Error ¶
func (o *UpdateDerivedMetricInternalServerError) Error() string
func (*UpdateDerivedMetricInternalServerError) GetPayload ¶
func (o *UpdateDerivedMetricInternalServerError) GetPayload() *models.APIError
func (*UpdateDerivedMetricInternalServerError) IsClientError ¶
func (o *UpdateDerivedMetricInternalServerError) IsClientError() bool
IsClientError returns true when this update derived metric internal server error response has a 4xx status code
func (*UpdateDerivedMetricInternalServerError) IsCode ¶
func (o *UpdateDerivedMetricInternalServerError) IsCode(code int) bool
IsCode returns true when this update derived metric internal server error response a status code equal to that given
func (*UpdateDerivedMetricInternalServerError) IsRedirect ¶
func (o *UpdateDerivedMetricInternalServerError) IsRedirect() bool
IsRedirect returns true when this update derived metric internal server error response has a 3xx status code
func (*UpdateDerivedMetricInternalServerError) IsServerError ¶
func (o *UpdateDerivedMetricInternalServerError) IsServerError() bool
IsServerError returns true when this update derived metric internal server error response has a 5xx status code
func (*UpdateDerivedMetricInternalServerError) IsSuccess ¶
func (o *UpdateDerivedMetricInternalServerError) IsSuccess() bool
IsSuccess returns true when this update derived metric internal server error response has a 2xx status code
func (*UpdateDerivedMetricInternalServerError) String ¶
func (o *UpdateDerivedMetricInternalServerError) String() string
type UpdateDerivedMetricNotFound ¶
UpdateDerivedMetricNotFound describes a response with status code 404, with default header values.
Cannot update the DerivedMetric because the slug does not exist.
func NewUpdateDerivedMetricNotFound ¶
func NewUpdateDerivedMetricNotFound() *UpdateDerivedMetricNotFound
NewUpdateDerivedMetricNotFound creates a UpdateDerivedMetricNotFound with default headers values
func (*UpdateDerivedMetricNotFound) Code ¶
func (o *UpdateDerivedMetricNotFound) Code() int
Code gets the status code for the update derived metric not found response
func (*UpdateDerivedMetricNotFound) Error ¶
func (o *UpdateDerivedMetricNotFound) Error() string
func (*UpdateDerivedMetricNotFound) GetPayload ¶
func (o *UpdateDerivedMetricNotFound) GetPayload() *models.APIError
func (*UpdateDerivedMetricNotFound) IsClientError ¶
func (o *UpdateDerivedMetricNotFound) IsClientError() bool
IsClientError returns true when this update derived metric not found response has a 4xx status code
func (*UpdateDerivedMetricNotFound) IsCode ¶
func (o *UpdateDerivedMetricNotFound) IsCode(code int) bool
IsCode returns true when this update derived metric not found response a status code equal to that given
func (*UpdateDerivedMetricNotFound) IsRedirect ¶
func (o *UpdateDerivedMetricNotFound) IsRedirect() bool
IsRedirect returns true when this update derived metric not found response has a 3xx status code
func (*UpdateDerivedMetricNotFound) IsServerError ¶
func (o *UpdateDerivedMetricNotFound) IsServerError() bool
IsServerError returns true when this update derived metric not found response has a 5xx status code
func (*UpdateDerivedMetricNotFound) IsSuccess ¶
func (o *UpdateDerivedMetricNotFound) IsSuccess() bool
IsSuccess returns true when this update derived metric not found response has a 2xx status code
func (*UpdateDerivedMetricNotFound) String ¶
func (o *UpdateDerivedMetricNotFound) String() string
type UpdateDerivedMetricOK ¶
type UpdateDerivedMetricOK struct {
Payload *models.Configv1UpdateDerivedMetricResponse
}
UpdateDerivedMetricOK describes a response with status code 200, with default header values.
A successful response containing the updated DerivedMetric.
func NewUpdateDerivedMetricOK ¶
func NewUpdateDerivedMetricOK() *UpdateDerivedMetricOK
NewUpdateDerivedMetricOK creates a UpdateDerivedMetricOK with default headers values
func (*UpdateDerivedMetricOK) Code ¶
func (o *UpdateDerivedMetricOK) Code() int
Code gets the status code for the update derived metric o k response
func (*UpdateDerivedMetricOK) Error ¶
func (o *UpdateDerivedMetricOK) Error() string
func (*UpdateDerivedMetricOK) GetPayload ¶
func (o *UpdateDerivedMetricOK) GetPayload() *models.Configv1UpdateDerivedMetricResponse
func (*UpdateDerivedMetricOK) IsClientError ¶
func (o *UpdateDerivedMetricOK) IsClientError() bool
IsClientError returns true when this update derived metric o k response has a 4xx status code
func (*UpdateDerivedMetricOK) IsCode ¶
func (o *UpdateDerivedMetricOK) IsCode(code int) bool
IsCode returns true when this update derived metric o k response a status code equal to that given
func (*UpdateDerivedMetricOK) IsRedirect ¶
func (o *UpdateDerivedMetricOK) IsRedirect() bool
IsRedirect returns true when this update derived metric o k response has a 3xx status code
func (*UpdateDerivedMetricOK) IsServerError ¶
func (o *UpdateDerivedMetricOK) IsServerError() bool
IsServerError returns true when this update derived metric o k response has a 5xx status code
func (*UpdateDerivedMetricOK) IsSuccess ¶
func (o *UpdateDerivedMetricOK) IsSuccess() bool
IsSuccess returns true when this update derived metric o k response has a 2xx status code
func (*UpdateDerivedMetricOK) String ¶
func (o *UpdateDerivedMetricOK) String() string
type UpdateDerivedMetricParams ¶
type UpdateDerivedMetricParams struct { // Body. Body UpdateDerivedMetricBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDerivedMetricParams contains all the parameters to send to the API endpoint
for the update derived metric operation. Typically these are written to a http.Request.
func NewUpdateDerivedMetricParams ¶
func NewUpdateDerivedMetricParams() *UpdateDerivedMetricParams
NewUpdateDerivedMetricParams creates a new UpdateDerivedMetricParams 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 NewUpdateDerivedMetricParamsWithContext ¶
func NewUpdateDerivedMetricParamsWithContext(ctx context.Context) *UpdateDerivedMetricParams
NewUpdateDerivedMetricParamsWithContext creates a new UpdateDerivedMetricParams object with the ability to set a context for a request.
func NewUpdateDerivedMetricParamsWithHTTPClient ¶
func NewUpdateDerivedMetricParamsWithHTTPClient(client *http.Client) *UpdateDerivedMetricParams
NewUpdateDerivedMetricParamsWithHTTPClient creates a new UpdateDerivedMetricParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDerivedMetricParamsWithTimeout ¶
func NewUpdateDerivedMetricParamsWithTimeout(timeout time.Duration) *UpdateDerivedMetricParams
NewUpdateDerivedMetricParamsWithTimeout creates a new UpdateDerivedMetricParams object with the ability to set a timeout on a request.
func (*UpdateDerivedMetricParams) SetBody ¶
func (o *UpdateDerivedMetricParams) SetBody(body UpdateDerivedMetricBody)
SetBody adds the body to the update derived metric params
func (*UpdateDerivedMetricParams) SetContext ¶
func (o *UpdateDerivedMetricParams) SetContext(ctx context.Context)
SetContext adds the context to the update derived metric params
func (*UpdateDerivedMetricParams) SetDefaults ¶
func (o *UpdateDerivedMetricParams) SetDefaults()
SetDefaults hydrates default values in the update derived metric params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDerivedMetricParams) SetHTTPClient ¶
func (o *UpdateDerivedMetricParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update derived metric params
func (*UpdateDerivedMetricParams) SetSlug ¶
func (o *UpdateDerivedMetricParams) SetSlug(slug string)
SetSlug adds the slug to the update derived metric params
func (*UpdateDerivedMetricParams) SetTimeout ¶
func (o *UpdateDerivedMetricParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update derived metric params
func (*UpdateDerivedMetricParams) WithBody ¶
func (o *UpdateDerivedMetricParams) WithBody(body UpdateDerivedMetricBody) *UpdateDerivedMetricParams
WithBody adds the body to the update derived metric params
func (*UpdateDerivedMetricParams) WithContext ¶
func (o *UpdateDerivedMetricParams) WithContext(ctx context.Context) *UpdateDerivedMetricParams
WithContext adds the context to the update derived metric params
func (*UpdateDerivedMetricParams) WithDefaults ¶
func (o *UpdateDerivedMetricParams) WithDefaults() *UpdateDerivedMetricParams
WithDefaults hydrates default values in the update derived metric params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDerivedMetricParams) WithHTTPClient ¶
func (o *UpdateDerivedMetricParams) WithHTTPClient(client *http.Client) *UpdateDerivedMetricParams
WithHTTPClient adds the HTTPClient to the update derived metric params
func (*UpdateDerivedMetricParams) WithSlug ¶
func (o *UpdateDerivedMetricParams) WithSlug(slug string) *UpdateDerivedMetricParams
WithSlug adds the slug to the update derived metric params
func (*UpdateDerivedMetricParams) WithTimeout ¶
func (o *UpdateDerivedMetricParams) WithTimeout(timeout time.Duration) *UpdateDerivedMetricParams
WithTimeout adds the timeout to the update derived metric params
func (*UpdateDerivedMetricParams) WriteToRequest ¶
func (o *UpdateDerivedMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDerivedMetricReader ¶
type UpdateDerivedMetricReader struct {
// contains filtered or unexported fields
}
UpdateDerivedMetricReader is a Reader for the UpdateDerivedMetric structure.
func (*UpdateDerivedMetricReader) ReadResponse ¶
func (o *UpdateDerivedMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_derived_metric_parameters.go
- create_derived_metric_responses.go
- delete_derived_metric_parameters.go
- delete_derived_metric_responses.go
- derived_metric_client.go
- list_derived_metrics_parameters.go
- list_derived_metrics_responses.go
- read_derived_metric_parameters.go
- read_derived_metric_responses.go
- update_derived_metric_parameters.go
- update_derived_metric_responses.go