Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) CreateKPIFavorite(params *CreateKPIFavoriteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateKPIFavoriteNoContent, error)
- func (a *Client) CreateKpi(params *CreateKpiParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateKpiOK, error)
- func (a *Client) DeleteKPIFavorite(params *DeleteKPIFavoriteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteKPIFavoriteNoContent, error)
- func (a *Client) DeleteKpi(params *DeleteKpiParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteKpiNoContent, error)
- func (a *Client) GetKpi(params *GetKpiParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetKpiOK, error)
- func (a *Client) GetKpis(params *GetKpisParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetKpisOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateKpi(params *UpdateKpiParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateKpiOK, error)
- type ClientOption
- type ClientService
- type CreateKPIFavoriteDefault
- func (o *CreateKPIFavoriteDefault) Code() int
- func (o *CreateKPIFavoriteDefault) Error() string
- func (o *CreateKPIFavoriteDefault) GetPayload() *models.ErrorPayload
- func (o *CreateKPIFavoriteDefault) IsClientError() bool
- func (o *CreateKPIFavoriteDefault) IsCode(code int) bool
- func (o *CreateKPIFavoriteDefault) IsRedirect() bool
- func (o *CreateKPIFavoriteDefault) IsServerError() bool
- func (o *CreateKPIFavoriteDefault) IsSuccess() bool
- func (o *CreateKPIFavoriteDefault) String() string
- type CreateKPIFavoriteForbidden
- func (o *CreateKPIFavoriteForbidden) Code() int
- func (o *CreateKPIFavoriteForbidden) Error() string
- func (o *CreateKPIFavoriteForbidden) GetPayload() *models.ErrorPayload
- func (o *CreateKPIFavoriteForbidden) IsClientError() bool
- func (o *CreateKPIFavoriteForbidden) IsCode(code int) bool
- func (o *CreateKPIFavoriteForbidden) IsRedirect() bool
- func (o *CreateKPIFavoriteForbidden) IsServerError() bool
- func (o *CreateKPIFavoriteForbidden) IsSuccess() bool
- func (o *CreateKPIFavoriteForbidden) String() string
- type CreateKPIFavoriteNoContent
- func (o *CreateKPIFavoriteNoContent) Code() int
- func (o *CreateKPIFavoriteNoContent) Error() string
- func (o *CreateKPIFavoriteNoContent) IsClientError() bool
- func (o *CreateKPIFavoriteNoContent) IsCode(code int) bool
- func (o *CreateKPIFavoriteNoContent) IsRedirect() bool
- func (o *CreateKPIFavoriteNoContent) IsServerError() bool
- func (o *CreateKPIFavoriteNoContent) IsSuccess() bool
- func (o *CreateKPIFavoriteNoContent) String() string
- type CreateKPIFavoriteNotFound
- func (o *CreateKPIFavoriteNotFound) Code() int
- func (o *CreateKPIFavoriteNotFound) Error() string
- func (o *CreateKPIFavoriteNotFound) GetPayload() *models.ErrorPayload
- func (o *CreateKPIFavoriteNotFound) IsClientError() bool
- func (o *CreateKPIFavoriteNotFound) IsCode(code int) bool
- func (o *CreateKPIFavoriteNotFound) IsRedirect() bool
- func (o *CreateKPIFavoriteNotFound) IsServerError() bool
- func (o *CreateKPIFavoriteNotFound) IsSuccess() bool
- func (o *CreateKPIFavoriteNotFound) String() string
- type CreateKPIFavoriteParams
- func NewCreateKPIFavoriteParams() *CreateKPIFavoriteParams
- func NewCreateKPIFavoriteParamsWithContext(ctx context.Context) *CreateKPIFavoriteParams
- func NewCreateKPIFavoriteParamsWithHTTPClient(client *http.Client) *CreateKPIFavoriteParams
- func NewCreateKPIFavoriteParamsWithTimeout(timeout time.Duration) *CreateKPIFavoriteParams
- func (o *CreateKPIFavoriteParams) SetContext(ctx context.Context)
- func (o *CreateKPIFavoriteParams) SetDefaults()
- func (o *CreateKPIFavoriteParams) SetHTTPClient(client *http.Client)
- func (o *CreateKPIFavoriteParams) SetKpiCanonical(kpiCanonical string)
- func (o *CreateKPIFavoriteParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateKPIFavoriteParams) SetProjectCanonical(projectCanonical string)
- func (o *CreateKPIFavoriteParams) SetTimeout(timeout time.Duration)
- func (o *CreateKPIFavoriteParams) WithContext(ctx context.Context) *CreateKPIFavoriteParams
- func (o *CreateKPIFavoriteParams) WithDefaults() *CreateKPIFavoriteParams
- func (o *CreateKPIFavoriteParams) WithHTTPClient(client *http.Client) *CreateKPIFavoriteParams
- func (o *CreateKPIFavoriteParams) WithKpiCanonical(kpiCanonical string) *CreateKPIFavoriteParams
- func (o *CreateKPIFavoriteParams) WithOrganizationCanonical(organizationCanonical string) *CreateKPIFavoriteParams
- func (o *CreateKPIFavoriteParams) WithProjectCanonical(projectCanonical string) *CreateKPIFavoriteParams
- func (o *CreateKPIFavoriteParams) WithTimeout(timeout time.Duration) *CreateKPIFavoriteParams
- func (o *CreateKPIFavoriteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateKPIFavoriteReader
- type CreateKPIFavoriteUnprocessableEntity
- func (o *CreateKPIFavoriteUnprocessableEntity) Code() int
- func (o *CreateKPIFavoriteUnprocessableEntity) Error() string
- func (o *CreateKPIFavoriteUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *CreateKPIFavoriteUnprocessableEntity) IsClientError() bool
- func (o *CreateKPIFavoriteUnprocessableEntity) IsCode(code int) bool
- func (o *CreateKPIFavoriteUnprocessableEntity) IsRedirect() bool
- func (o *CreateKPIFavoriteUnprocessableEntity) IsServerError() bool
- func (o *CreateKPIFavoriteUnprocessableEntity) IsSuccess() bool
- func (o *CreateKPIFavoriteUnprocessableEntity) String() string
- type CreateKpiDefault
- func (o *CreateKpiDefault) Code() int
- func (o *CreateKpiDefault) Error() string
- func (o *CreateKpiDefault) GetPayload() *models.ErrorPayload
- func (o *CreateKpiDefault) IsClientError() bool
- func (o *CreateKpiDefault) IsCode(code int) bool
- func (o *CreateKpiDefault) IsRedirect() bool
- func (o *CreateKpiDefault) IsServerError() bool
- func (o *CreateKpiDefault) IsSuccess() bool
- func (o *CreateKpiDefault) String() string
- type CreateKpiForbidden
- func (o *CreateKpiForbidden) Code() int
- func (o *CreateKpiForbidden) Error() string
- func (o *CreateKpiForbidden) GetPayload() *models.ErrorPayload
- func (o *CreateKpiForbidden) IsClientError() bool
- func (o *CreateKpiForbidden) IsCode(code int) bool
- func (o *CreateKpiForbidden) IsRedirect() bool
- func (o *CreateKpiForbidden) IsServerError() bool
- func (o *CreateKpiForbidden) IsSuccess() bool
- func (o *CreateKpiForbidden) String() string
- type CreateKpiOK
- func (o *CreateKpiOK) Code() int
- func (o *CreateKpiOK) Error() string
- func (o *CreateKpiOK) GetPayload() *CreateKpiOKBody
- func (o *CreateKpiOK) IsClientError() bool
- func (o *CreateKpiOK) IsCode(code int) bool
- func (o *CreateKpiOK) IsRedirect() bool
- func (o *CreateKpiOK) IsServerError() bool
- func (o *CreateKpiOK) IsSuccess() bool
- func (o *CreateKpiOK) String() string
- type CreateKpiOKBody
- type CreateKpiParams
- func (o *CreateKpiParams) SetBegin(begin *uint64)
- func (o *CreateKpiParams) SetBody(body *models.NewKPI)
- func (o *CreateKpiParams) SetComponentCanonical(componentCanonical *string)
- func (o *CreateKpiParams) SetContext(ctx context.Context)
- func (o *CreateKpiParams) SetDefaults()
- func (o *CreateKpiParams) SetEnd(end *uint64)
- func (o *CreateKpiParams) SetEnvironmentCanonical(environmentCanonical *string)
- func (o *CreateKpiParams) SetFavorite(favorite *bool)
- func (o *CreateKpiParams) SetFetchData(fetchData *bool)
- func (o *CreateKpiParams) SetHTTPClient(client *http.Client)
- func (o *CreateKpiParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateKpiParams) SetPageIndex(pageIndex *uint32)
- func (o *CreateKpiParams) SetPageSize(pageSize *uint32)
- func (o *CreateKpiParams) SetProjectCanonical(projectCanonical string)
- func (o *CreateKpiParams) SetTimeout(timeout time.Duration)
- func (o *CreateKpiParams) WithBegin(begin *uint64) *CreateKpiParams
- func (o *CreateKpiParams) WithBody(body *models.NewKPI) *CreateKpiParams
- func (o *CreateKpiParams) WithComponentCanonical(componentCanonical *string) *CreateKpiParams
- func (o *CreateKpiParams) WithContext(ctx context.Context) *CreateKpiParams
- func (o *CreateKpiParams) WithDefaults() *CreateKpiParams
- func (o *CreateKpiParams) WithEnd(end *uint64) *CreateKpiParams
- func (o *CreateKpiParams) WithEnvironmentCanonical(environmentCanonical *string) *CreateKpiParams
- func (o *CreateKpiParams) WithFavorite(favorite *bool) *CreateKpiParams
- func (o *CreateKpiParams) WithFetchData(fetchData *bool) *CreateKpiParams
- func (o *CreateKpiParams) WithHTTPClient(client *http.Client) *CreateKpiParams
- func (o *CreateKpiParams) WithOrganizationCanonical(organizationCanonical string) *CreateKpiParams
- func (o *CreateKpiParams) WithPageIndex(pageIndex *uint32) *CreateKpiParams
- func (o *CreateKpiParams) WithPageSize(pageSize *uint32) *CreateKpiParams
- func (o *CreateKpiParams) WithProjectCanonical(projectCanonical string) *CreateKpiParams
- func (o *CreateKpiParams) WithTimeout(timeout time.Duration) *CreateKpiParams
- func (o *CreateKpiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateKpiReader
- type CreateKpiUnprocessableEntity
- func (o *CreateKpiUnprocessableEntity) Code() int
- func (o *CreateKpiUnprocessableEntity) Error() string
- func (o *CreateKpiUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *CreateKpiUnprocessableEntity) IsClientError() bool
- func (o *CreateKpiUnprocessableEntity) IsCode(code int) bool
- func (o *CreateKpiUnprocessableEntity) IsRedirect() bool
- func (o *CreateKpiUnprocessableEntity) IsServerError() bool
- func (o *CreateKpiUnprocessableEntity) IsSuccess() bool
- func (o *CreateKpiUnprocessableEntity) String() string
- type DeleteKPIFavoriteDefault
- func (o *DeleteKPIFavoriteDefault) Code() int
- func (o *DeleteKPIFavoriteDefault) Error() string
- func (o *DeleteKPIFavoriteDefault) GetPayload() *models.ErrorPayload
- func (o *DeleteKPIFavoriteDefault) IsClientError() bool
- func (o *DeleteKPIFavoriteDefault) IsCode(code int) bool
- func (o *DeleteKPIFavoriteDefault) IsRedirect() bool
- func (o *DeleteKPIFavoriteDefault) IsServerError() bool
- func (o *DeleteKPIFavoriteDefault) IsSuccess() bool
- func (o *DeleteKPIFavoriteDefault) String() string
- type DeleteKPIFavoriteForbidden
- func (o *DeleteKPIFavoriteForbidden) Code() int
- func (o *DeleteKPIFavoriteForbidden) Error() string
- func (o *DeleteKPIFavoriteForbidden) GetPayload() *models.ErrorPayload
- func (o *DeleteKPIFavoriteForbidden) IsClientError() bool
- func (o *DeleteKPIFavoriteForbidden) IsCode(code int) bool
- func (o *DeleteKPIFavoriteForbidden) IsRedirect() bool
- func (o *DeleteKPIFavoriteForbidden) IsServerError() bool
- func (o *DeleteKPIFavoriteForbidden) IsSuccess() bool
- func (o *DeleteKPIFavoriteForbidden) String() string
- type DeleteKPIFavoriteNoContent
- func (o *DeleteKPIFavoriteNoContent) Code() int
- func (o *DeleteKPIFavoriteNoContent) Error() string
- func (o *DeleteKPIFavoriteNoContent) IsClientError() bool
- func (o *DeleteKPIFavoriteNoContent) IsCode(code int) bool
- func (o *DeleteKPIFavoriteNoContent) IsRedirect() bool
- func (o *DeleteKPIFavoriteNoContent) IsServerError() bool
- func (o *DeleteKPIFavoriteNoContent) IsSuccess() bool
- func (o *DeleteKPIFavoriteNoContent) String() string
- type DeleteKPIFavoriteNotFound
- func (o *DeleteKPIFavoriteNotFound) Code() int
- func (o *DeleteKPIFavoriteNotFound) Error() string
- func (o *DeleteKPIFavoriteNotFound) GetPayload() *models.ErrorPayload
- func (o *DeleteKPIFavoriteNotFound) IsClientError() bool
- func (o *DeleteKPIFavoriteNotFound) IsCode(code int) bool
- func (o *DeleteKPIFavoriteNotFound) IsRedirect() bool
- func (o *DeleteKPIFavoriteNotFound) IsServerError() bool
- func (o *DeleteKPIFavoriteNotFound) IsSuccess() bool
- func (o *DeleteKPIFavoriteNotFound) String() string
- type DeleteKPIFavoriteParams
- func NewDeleteKPIFavoriteParams() *DeleteKPIFavoriteParams
- func NewDeleteKPIFavoriteParamsWithContext(ctx context.Context) *DeleteKPIFavoriteParams
- func NewDeleteKPIFavoriteParamsWithHTTPClient(client *http.Client) *DeleteKPIFavoriteParams
- func NewDeleteKPIFavoriteParamsWithTimeout(timeout time.Duration) *DeleteKPIFavoriteParams
- func (o *DeleteKPIFavoriteParams) SetContext(ctx context.Context)
- func (o *DeleteKPIFavoriteParams) SetDefaults()
- func (o *DeleteKPIFavoriteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteKPIFavoriteParams) SetKpiCanonical(kpiCanonical string)
- func (o *DeleteKPIFavoriteParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteKPIFavoriteParams) SetProjectCanonical(projectCanonical string)
- func (o *DeleteKPIFavoriteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteKPIFavoriteParams) WithContext(ctx context.Context) *DeleteKPIFavoriteParams
- func (o *DeleteKPIFavoriteParams) WithDefaults() *DeleteKPIFavoriteParams
- func (o *DeleteKPIFavoriteParams) WithHTTPClient(client *http.Client) *DeleteKPIFavoriteParams
- func (o *DeleteKPIFavoriteParams) WithKpiCanonical(kpiCanonical string) *DeleteKPIFavoriteParams
- func (o *DeleteKPIFavoriteParams) WithOrganizationCanonical(organizationCanonical string) *DeleteKPIFavoriteParams
- func (o *DeleteKPIFavoriteParams) WithProjectCanonical(projectCanonical string) *DeleteKPIFavoriteParams
- func (o *DeleteKPIFavoriteParams) WithTimeout(timeout time.Duration) *DeleteKPIFavoriteParams
- func (o *DeleteKPIFavoriteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteKPIFavoriteReader
- type DeleteKpiDefault
- func (o *DeleteKpiDefault) Code() int
- func (o *DeleteKpiDefault) Error() string
- func (o *DeleteKpiDefault) GetPayload() *models.ErrorPayload
- func (o *DeleteKpiDefault) IsClientError() bool
- func (o *DeleteKpiDefault) IsCode(code int) bool
- func (o *DeleteKpiDefault) IsRedirect() bool
- func (o *DeleteKpiDefault) IsServerError() bool
- func (o *DeleteKpiDefault) IsSuccess() bool
- func (o *DeleteKpiDefault) String() string
- type DeleteKpiForbidden
- func (o *DeleteKpiForbidden) Code() int
- func (o *DeleteKpiForbidden) Error() string
- func (o *DeleteKpiForbidden) GetPayload() *models.ErrorPayload
- func (o *DeleteKpiForbidden) IsClientError() bool
- func (o *DeleteKpiForbidden) IsCode(code int) bool
- func (o *DeleteKpiForbidden) IsRedirect() bool
- func (o *DeleteKpiForbidden) IsServerError() bool
- func (o *DeleteKpiForbidden) IsSuccess() bool
- func (o *DeleteKpiForbidden) String() string
- type DeleteKpiNoContent
- func (o *DeleteKpiNoContent) Code() int
- func (o *DeleteKpiNoContent) Error() string
- func (o *DeleteKpiNoContent) IsClientError() bool
- func (o *DeleteKpiNoContent) IsCode(code int) bool
- func (o *DeleteKpiNoContent) IsRedirect() bool
- func (o *DeleteKpiNoContent) IsServerError() bool
- func (o *DeleteKpiNoContent) IsSuccess() bool
- func (o *DeleteKpiNoContent) String() string
- type DeleteKpiNotFound
- func (o *DeleteKpiNotFound) Code() int
- func (o *DeleteKpiNotFound) Error() string
- func (o *DeleteKpiNotFound) GetPayload() *models.ErrorPayload
- func (o *DeleteKpiNotFound) IsClientError() bool
- func (o *DeleteKpiNotFound) IsCode(code int) bool
- func (o *DeleteKpiNotFound) IsRedirect() bool
- func (o *DeleteKpiNotFound) IsServerError() bool
- func (o *DeleteKpiNotFound) IsSuccess() bool
- func (o *DeleteKpiNotFound) String() string
- type DeleteKpiParams
- func (o *DeleteKpiParams) SetBegin(begin *uint64)
- func (o *DeleteKpiParams) SetContext(ctx context.Context)
- func (o *DeleteKpiParams) SetDefaults()
- func (o *DeleteKpiParams) SetEnd(end *uint64)
- func (o *DeleteKpiParams) SetFetchData(fetchData *bool)
- func (o *DeleteKpiParams) SetHTTPClient(client *http.Client)
- func (o *DeleteKpiParams) SetKpiCanonical(kpiCanonical string)
- func (o *DeleteKpiParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteKpiParams) SetProjectCanonical(projectCanonical string)
- func (o *DeleteKpiParams) SetTimeout(timeout time.Duration)
- func (o *DeleteKpiParams) WithBegin(begin *uint64) *DeleteKpiParams
- func (o *DeleteKpiParams) WithContext(ctx context.Context) *DeleteKpiParams
- func (o *DeleteKpiParams) WithDefaults() *DeleteKpiParams
- func (o *DeleteKpiParams) WithEnd(end *uint64) *DeleteKpiParams
- func (o *DeleteKpiParams) WithFetchData(fetchData *bool) *DeleteKpiParams
- func (o *DeleteKpiParams) WithHTTPClient(client *http.Client) *DeleteKpiParams
- func (o *DeleteKpiParams) WithKpiCanonical(kpiCanonical string) *DeleteKpiParams
- func (o *DeleteKpiParams) WithOrganizationCanonical(organizationCanonical string) *DeleteKpiParams
- func (o *DeleteKpiParams) WithProjectCanonical(projectCanonical string) *DeleteKpiParams
- func (o *DeleteKpiParams) WithTimeout(timeout time.Duration) *DeleteKpiParams
- func (o *DeleteKpiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteKpiReader
- type GetKpiDefault
- func (o *GetKpiDefault) Code() int
- func (o *GetKpiDefault) Error() string
- func (o *GetKpiDefault) GetPayload() *models.ErrorPayload
- func (o *GetKpiDefault) IsClientError() bool
- func (o *GetKpiDefault) IsCode(code int) bool
- func (o *GetKpiDefault) IsRedirect() bool
- func (o *GetKpiDefault) IsServerError() bool
- func (o *GetKpiDefault) IsSuccess() bool
- func (o *GetKpiDefault) String() string
- type GetKpiForbidden
- func (o *GetKpiForbidden) Code() int
- func (o *GetKpiForbidden) Error() string
- func (o *GetKpiForbidden) GetPayload() *models.ErrorPayload
- func (o *GetKpiForbidden) IsClientError() bool
- func (o *GetKpiForbidden) IsCode(code int) bool
- func (o *GetKpiForbidden) IsRedirect() bool
- func (o *GetKpiForbidden) IsServerError() bool
- func (o *GetKpiForbidden) IsSuccess() bool
- func (o *GetKpiForbidden) String() string
- type GetKpiOK
- func (o *GetKpiOK) Code() int
- func (o *GetKpiOK) Error() string
- func (o *GetKpiOK) GetPayload() *GetKpiOKBody
- func (o *GetKpiOK) IsClientError() bool
- func (o *GetKpiOK) IsCode(code int) bool
- func (o *GetKpiOK) IsRedirect() bool
- func (o *GetKpiOK) IsServerError() bool
- func (o *GetKpiOK) IsSuccess() bool
- func (o *GetKpiOK) String() string
- type GetKpiOKBody
- type GetKpiParams
- func (o *GetKpiParams) SetBegin(begin *uint64)
- func (o *GetKpiParams) SetContext(ctx context.Context)
- func (o *GetKpiParams) SetDefaults()
- func (o *GetKpiParams) SetEnd(end *uint64)
- func (o *GetKpiParams) SetFetchData(fetchData *bool)
- func (o *GetKpiParams) SetHTTPClient(client *http.Client)
- func (o *GetKpiParams) SetKpiCanonical(kpiCanonical string)
- func (o *GetKpiParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetKpiParams) SetProjectCanonical(projectCanonical string)
- func (o *GetKpiParams) SetTimeout(timeout time.Duration)
- func (o *GetKpiParams) WithBegin(begin *uint64) *GetKpiParams
- func (o *GetKpiParams) WithContext(ctx context.Context) *GetKpiParams
- func (o *GetKpiParams) WithDefaults() *GetKpiParams
- func (o *GetKpiParams) WithEnd(end *uint64) *GetKpiParams
- func (o *GetKpiParams) WithFetchData(fetchData *bool) *GetKpiParams
- func (o *GetKpiParams) WithHTTPClient(client *http.Client) *GetKpiParams
- func (o *GetKpiParams) WithKpiCanonical(kpiCanonical string) *GetKpiParams
- func (o *GetKpiParams) WithOrganizationCanonical(organizationCanonical string) *GetKpiParams
- func (o *GetKpiParams) WithProjectCanonical(projectCanonical string) *GetKpiParams
- func (o *GetKpiParams) WithTimeout(timeout time.Duration) *GetKpiParams
- func (o *GetKpiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKpiReader
- type GetKpiUnprocessableEntity
- func (o *GetKpiUnprocessableEntity) Code() int
- func (o *GetKpiUnprocessableEntity) Error() string
- func (o *GetKpiUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *GetKpiUnprocessableEntity) IsClientError() bool
- func (o *GetKpiUnprocessableEntity) IsCode(code int) bool
- func (o *GetKpiUnprocessableEntity) IsRedirect() bool
- func (o *GetKpiUnprocessableEntity) IsServerError() bool
- func (o *GetKpiUnprocessableEntity) IsSuccess() bool
- func (o *GetKpiUnprocessableEntity) String() string
- type GetKpisDefault
- func (o *GetKpisDefault) Code() int
- func (o *GetKpisDefault) Error() string
- func (o *GetKpisDefault) GetPayload() *models.ErrorPayload
- func (o *GetKpisDefault) IsClientError() bool
- func (o *GetKpisDefault) IsCode(code int) bool
- func (o *GetKpisDefault) IsRedirect() bool
- func (o *GetKpisDefault) IsServerError() bool
- func (o *GetKpisDefault) IsSuccess() bool
- func (o *GetKpisDefault) String() string
- type GetKpisForbidden
- func (o *GetKpisForbidden) Code() int
- func (o *GetKpisForbidden) Error() string
- func (o *GetKpisForbidden) GetPayload() *models.ErrorPayload
- func (o *GetKpisForbidden) IsClientError() bool
- func (o *GetKpisForbidden) IsCode(code int) bool
- func (o *GetKpisForbidden) IsRedirect() bool
- func (o *GetKpisForbidden) IsServerError() bool
- func (o *GetKpisForbidden) IsSuccess() bool
- func (o *GetKpisForbidden) String() string
- type GetKpisOK
- func (o *GetKpisOK) Code() int
- func (o *GetKpisOK) Error() string
- func (o *GetKpisOK) GetPayload() *GetKpisOKBody
- func (o *GetKpisOK) IsClientError() bool
- func (o *GetKpisOK) IsCode(code int) bool
- func (o *GetKpisOK) IsRedirect() bool
- func (o *GetKpisOK) IsServerError() bool
- func (o *GetKpisOK) IsSuccess() bool
- func (o *GetKpisOK) String() string
- type GetKpisOKBody
- type GetKpisParams
- func (o *GetKpisParams) SetBegin(begin *uint64)
- func (o *GetKpisParams) SetComponentCanonical(componentCanonical *string)
- func (o *GetKpisParams) SetContext(ctx context.Context)
- func (o *GetKpisParams) SetDefaults()
- func (o *GetKpisParams) SetEnd(end *uint64)
- func (o *GetKpisParams) SetEnvironmentCanonical(environmentCanonical *string)
- func (o *GetKpisParams) SetFavorite(favorite *bool)
- func (o *GetKpisParams) SetFetchData(fetchData *bool)
- func (o *GetKpisParams) SetHTTPClient(client *http.Client)
- func (o *GetKpisParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetKpisParams) SetPageIndex(pageIndex *uint32)
- func (o *GetKpisParams) SetPageSize(pageSize *uint32)
- func (o *GetKpisParams) SetProjectCanonical(projectCanonical string)
- func (o *GetKpisParams) SetTimeout(timeout time.Duration)
- func (o *GetKpisParams) WithBegin(begin *uint64) *GetKpisParams
- func (o *GetKpisParams) WithComponentCanonical(componentCanonical *string) *GetKpisParams
- func (o *GetKpisParams) WithContext(ctx context.Context) *GetKpisParams
- func (o *GetKpisParams) WithDefaults() *GetKpisParams
- func (o *GetKpisParams) WithEnd(end *uint64) *GetKpisParams
- func (o *GetKpisParams) WithEnvironmentCanonical(environmentCanonical *string) *GetKpisParams
- func (o *GetKpisParams) WithFavorite(favorite *bool) *GetKpisParams
- func (o *GetKpisParams) WithFetchData(fetchData *bool) *GetKpisParams
- func (o *GetKpisParams) WithHTTPClient(client *http.Client) *GetKpisParams
- func (o *GetKpisParams) WithOrganizationCanonical(organizationCanonical string) *GetKpisParams
- func (o *GetKpisParams) WithPageIndex(pageIndex *uint32) *GetKpisParams
- func (o *GetKpisParams) WithPageSize(pageSize *uint32) *GetKpisParams
- func (o *GetKpisParams) WithProjectCanonical(projectCanonical string) *GetKpisParams
- func (o *GetKpisParams) WithTimeout(timeout time.Duration) *GetKpisParams
- func (o *GetKpisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKpisReader
- type GetKpisUnprocessableEntity
- func (o *GetKpisUnprocessableEntity) Code() int
- func (o *GetKpisUnprocessableEntity) Error() string
- func (o *GetKpisUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *GetKpisUnprocessableEntity) IsClientError() bool
- func (o *GetKpisUnprocessableEntity) IsCode(code int) bool
- func (o *GetKpisUnprocessableEntity) IsRedirect() bool
- func (o *GetKpisUnprocessableEntity) IsServerError() bool
- func (o *GetKpisUnprocessableEntity) IsSuccess() bool
- func (o *GetKpisUnprocessableEntity) String() string
- type UpdateKpiDefault
- func (o *UpdateKpiDefault) Code() int
- func (o *UpdateKpiDefault) Error() string
- func (o *UpdateKpiDefault) GetPayload() *models.ErrorPayload
- func (o *UpdateKpiDefault) IsClientError() bool
- func (o *UpdateKpiDefault) IsCode(code int) bool
- func (o *UpdateKpiDefault) IsRedirect() bool
- func (o *UpdateKpiDefault) IsServerError() bool
- func (o *UpdateKpiDefault) IsSuccess() bool
- func (o *UpdateKpiDefault) String() string
- type UpdateKpiForbidden
- func (o *UpdateKpiForbidden) Code() int
- func (o *UpdateKpiForbidden) Error() string
- func (o *UpdateKpiForbidden) GetPayload() *models.ErrorPayload
- func (o *UpdateKpiForbidden) IsClientError() bool
- func (o *UpdateKpiForbidden) IsCode(code int) bool
- func (o *UpdateKpiForbidden) IsRedirect() bool
- func (o *UpdateKpiForbidden) IsServerError() bool
- func (o *UpdateKpiForbidden) IsSuccess() bool
- func (o *UpdateKpiForbidden) String() string
- type UpdateKpiLengthRequired
- func (o *UpdateKpiLengthRequired) Code() int
- func (o *UpdateKpiLengthRequired) Error() string
- func (o *UpdateKpiLengthRequired) IsClientError() bool
- func (o *UpdateKpiLengthRequired) IsCode(code int) bool
- func (o *UpdateKpiLengthRequired) IsRedirect() bool
- func (o *UpdateKpiLengthRequired) IsServerError() bool
- func (o *UpdateKpiLengthRequired) IsSuccess() bool
- func (o *UpdateKpiLengthRequired) String() string
- type UpdateKpiNotFound
- func (o *UpdateKpiNotFound) Code() int
- func (o *UpdateKpiNotFound) Error() string
- func (o *UpdateKpiNotFound) GetPayload() *models.ErrorPayload
- func (o *UpdateKpiNotFound) IsClientError() bool
- func (o *UpdateKpiNotFound) IsCode(code int) bool
- func (o *UpdateKpiNotFound) IsRedirect() bool
- func (o *UpdateKpiNotFound) IsServerError() bool
- func (o *UpdateKpiNotFound) IsSuccess() bool
- func (o *UpdateKpiNotFound) String() string
- type UpdateKpiOK
- func (o *UpdateKpiOK) Code() int
- func (o *UpdateKpiOK) Error() string
- func (o *UpdateKpiOK) GetPayload() *UpdateKpiOKBody
- func (o *UpdateKpiOK) IsClientError() bool
- func (o *UpdateKpiOK) IsCode(code int) bool
- func (o *UpdateKpiOK) IsRedirect() bool
- func (o *UpdateKpiOK) IsServerError() bool
- func (o *UpdateKpiOK) IsSuccess() bool
- func (o *UpdateKpiOK) String() string
- type UpdateKpiOKBody
- type UpdateKpiParams
- func (o *UpdateKpiParams) SetBegin(begin *uint64)
- func (o *UpdateKpiParams) SetBody(body *models.NewKPI)
- func (o *UpdateKpiParams) SetContext(ctx context.Context)
- func (o *UpdateKpiParams) SetDefaults()
- func (o *UpdateKpiParams) SetEnd(end *uint64)
- func (o *UpdateKpiParams) SetFetchData(fetchData *bool)
- func (o *UpdateKpiParams) SetHTTPClient(client *http.Client)
- func (o *UpdateKpiParams) SetKpiCanonical(kpiCanonical string)
- func (o *UpdateKpiParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *UpdateKpiParams) SetProjectCanonical(projectCanonical string)
- func (o *UpdateKpiParams) SetTimeout(timeout time.Duration)
- func (o *UpdateKpiParams) WithBegin(begin *uint64) *UpdateKpiParams
- func (o *UpdateKpiParams) WithBody(body *models.NewKPI) *UpdateKpiParams
- func (o *UpdateKpiParams) WithContext(ctx context.Context) *UpdateKpiParams
- func (o *UpdateKpiParams) WithDefaults() *UpdateKpiParams
- func (o *UpdateKpiParams) WithEnd(end *uint64) *UpdateKpiParams
- func (o *UpdateKpiParams) WithFetchData(fetchData *bool) *UpdateKpiParams
- func (o *UpdateKpiParams) WithHTTPClient(client *http.Client) *UpdateKpiParams
- func (o *UpdateKpiParams) WithKpiCanonical(kpiCanonical string) *UpdateKpiParams
- func (o *UpdateKpiParams) WithOrganizationCanonical(organizationCanonical string) *UpdateKpiParams
- func (o *UpdateKpiParams) WithProjectCanonical(projectCanonical string) *UpdateKpiParams
- func (o *UpdateKpiParams) WithTimeout(timeout time.Duration) *UpdateKpiParams
- func (o *UpdateKpiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateKpiReader
- type UpdateKpiUnprocessableEntity
- func (o *UpdateKpiUnprocessableEntity) Code() int
- func (o *UpdateKpiUnprocessableEntity) Error() string
- func (o *UpdateKpiUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *UpdateKpiUnprocessableEntity) IsClientError() bool
- func (o *UpdateKpiUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateKpiUnprocessableEntity) IsRedirect() bool
- func (o *UpdateKpiUnprocessableEntity) IsServerError() bool
- func (o *UpdateKpiUnprocessableEntity) IsSuccess() bool
- func (o *UpdateKpiUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptApplicationVndCycloidIoV1JSON ¶
func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
WithAcceptApplicationVndCycloidIoV1JSON sets the Accept header to "application/vnd.cycloid.io.v1+json".
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationVndCycloidIoV1JSON ¶
func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
WithContentTypeApplicationVndCycloidIoV1JSON sets the Content-Type header to "application/vnd.cycloid.io.v1+json".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for project k p is API
func (*Client) CreateKPIFavorite ¶
func (a *Client) CreateKPIFavorite(params *CreateKPIFavoriteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateKPIFavoriteNoContent, error)
CreateKPIFavorite Add a kpi in the user favorites list.
func (*Client) CreateKpi ¶
func (a *Client) CreateKpi(params *CreateKpiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateKpiOK, error)
CreateKpi Save information about the KPI
func (*Client) DeleteKPIFavorite ¶
func (a *Client) DeleteKPIFavorite(params *DeleteKPIFavoriteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteKPIFavoriteNoContent, error)
DeleteKPIFavorite Remove a kpi from the user favorites list.
func (*Client) DeleteKpi ¶
func (a *Client) DeleteKpi(params *DeleteKpiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteKpiNoContent, error)
DeleteKpi delete a KPI
func (*Client) GetKpi ¶
func (a *Client) GetKpi(params *GetKpiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKpiOK, error)
GetKpi Get the KPI
func (*Client) GetKpis ¶
func (a *Client) GetKpis(params *GetKpisParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKpisOK, error)
GetKpis Get the list of configured KPIs
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateKpi ¶
func (a *Client) UpdateKpi(params *UpdateKpiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateKpiOK, error)
UpdateKpi Update a KPI
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
CreateKPIFavorite(params *CreateKPIFavoriteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateKPIFavoriteNoContent, error)
CreateKpi(params *CreateKpiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateKpiOK, error)
DeleteKPIFavorite(params *DeleteKPIFavoriteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteKPIFavoriteNoContent, error)
DeleteKpi(params *DeleteKpiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteKpiNoContent, error)
GetKpi(params *GetKpiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKpiOK, error)
GetKpis(params *GetKpisParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKpisOK, error)
UpdateKpi(params *UpdateKpiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateKpiOK, 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 project k p is API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new project k p is API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new project k p is API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateKPIFavoriteDefault ¶
type CreateKPIFavoriteDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
CreateKPIFavoriteDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewCreateKPIFavoriteDefault ¶
func NewCreateKPIFavoriteDefault(code int) *CreateKPIFavoriteDefault
NewCreateKPIFavoriteDefault creates a CreateKPIFavoriteDefault with default headers values
func (*CreateKPIFavoriteDefault) Code ¶
func (o *CreateKPIFavoriteDefault) Code() int
Code gets the status code for the create k p i favorite default response
func (*CreateKPIFavoriteDefault) Error ¶
func (o *CreateKPIFavoriteDefault) Error() string
func (*CreateKPIFavoriteDefault) GetPayload ¶
func (o *CreateKPIFavoriteDefault) GetPayload() *models.ErrorPayload
func (*CreateKPIFavoriteDefault) IsClientError ¶
func (o *CreateKPIFavoriteDefault) IsClientError() bool
IsClientError returns true when this create k p i favorite default response has a 4xx status code
func (*CreateKPIFavoriteDefault) IsCode ¶
func (o *CreateKPIFavoriteDefault) IsCode(code int) bool
IsCode returns true when this create k p i favorite default response a status code equal to that given
func (*CreateKPIFavoriteDefault) IsRedirect ¶
func (o *CreateKPIFavoriteDefault) IsRedirect() bool
IsRedirect returns true when this create k p i favorite default response has a 3xx status code
func (*CreateKPIFavoriteDefault) IsServerError ¶
func (o *CreateKPIFavoriteDefault) IsServerError() bool
IsServerError returns true when this create k p i favorite default response has a 5xx status code
func (*CreateKPIFavoriteDefault) IsSuccess ¶
func (o *CreateKPIFavoriteDefault) IsSuccess() bool
IsSuccess returns true when this create k p i favorite default response has a 2xx status code
func (*CreateKPIFavoriteDefault) String ¶
func (o *CreateKPIFavoriteDefault) String() string
type CreateKPIFavoriteForbidden ¶
type CreateKPIFavoriteForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
CreateKPIFavoriteForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewCreateKPIFavoriteForbidden ¶
func NewCreateKPIFavoriteForbidden() *CreateKPIFavoriteForbidden
NewCreateKPIFavoriteForbidden creates a CreateKPIFavoriteForbidden with default headers values
func (*CreateKPIFavoriteForbidden) Code ¶
func (o *CreateKPIFavoriteForbidden) Code() int
Code gets the status code for the create k p i favorite forbidden response
func (*CreateKPIFavoriteForbidden) Error ¶
func (o *CreateKPIFavoriteForbidden) Error() string
func (*CreateKPIFavoriteForbidden) GetPayload ¶
func (o *CreateKPIFavoriteForbidden) GetPayload() *models.ErrorPayload
func (*CreateKPIFavoriteForbidden) IsClientError ¶
func (o *CreateKPIFavoriteForbidden) IsClientError() bool
IsClientError returns true when this create k p i favorite forbidden response has a 4xx status code
func (*CreateKPIFavoriteForbidden) IsCode ¶
func (o *CreateKPIFavoriteForbidden) IsCode(code int) bool
IsCode returns true when this create k p i favorite forbidden response a status code equal to that given
func (*CreateKPIFavoriteForbidden) IsRedirect ¶
func (o *CreateKPIFavoriteForbidden) IsRedirect() bool
IsRedirect returns true when this create k p i favorite forbidden response has a 3xx status code
func (*CreateKPIFavoriteForbidden) IsServerError ¶
func (o *CreateKPIFavoriteForbidden) IsServerError() bool
IsServerError returns true when this create k p i favorite forbidden response has a 5xx status code
func (*CreateKPIFavoriteForbidden) IsSuccess ¶
func (o *CreateKPIFavoriteForbidden) IsSuccess() bool
IsSuccess returns true when this create k p i favorite forbidden response has a 2xx status code
func (*CreateKPIFavoriteForbidden) String ¶
func (o *CreateKPIFavoriteForbidden) String() string
type CreateKPIFavoriteNoContent ¶
type CreateKPIFavoriteNoContent struct {
}
CreateKPIFavoriteNoContent describes a response with status code 204, with default header values.
The kpi has been added to user favorites list.
func NewCreateKPIFavoriteNoContent ¶
func NewCreateKPIFavoriteNoContent() *CreateKPIFavoriteNoContent
NewCreateKPIFavoriteNoContent creates a CreateKPIFavoriteNoContent with default headers values
func (*CreateKPIFavoriteNoContent) Code ¶
func (o *CreateKPIFavoriteNoContent) Code() int
Code gets the status code for the create k p i favorite no content response
func (*CreateKPIFavoriteNoContent) Error ¶
func (o *CreateKPIFavoriteNoContent) Error() string
func (*CreateKPIFavoriteNoContent) IsClientError ¶
func (o *CreateKPIFavoriteNoContent) IsClientError() bool
IsClientError returns true when this create k p i favorite no content response has a 4xx status code
func (*CreateKPIFavoriteNoContent) IsCode ¶
func (o *CreateKPIFavoriteNoContent) IsCode(code int) bool
IsCode returns true when this create k p i favorite no content response a status code equal to that given
func (*CreateKPIFavoriteNoContent) IsRedirect ¶
func (o *CreateKPIFavoriteNoContent) IsRedirect() bool
IsRedirect returns true when this create k p i favorite no content response has a 3xx status code
func (*CreateKPIFavoriteNoContent) IsServerError ¶
func (o *CreateKPIFavoriteNoContent) IsServerError() bool
IsServerError returns true when this create k p i favorite no content response has a 5xx status code
func (*CreateKPIFavoriteNoContent) IsSuccess ¶
func (o *CreateKPIFavoriteNoContent) IsSuccess() bool
IsSuccess returns true when this create k p i favorite no content response has a 2xx status code
func (*CreateKPIFavoriteNoContent) String ¶
func (o *CreateKPIFavoriteNoContent) String() string
type CreateKPIFavoriteNotFound ¶
type CreateKPIFavoriteNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
CreateKPIFavoriteNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewCreateKPIFavoriteNotFound ¶
func NewCreateKPIFavoriteNotFound() *CreateKPIFavoriteNotFound
NewCreateKPIFavoriteNotFound creates a CreateKPIFavoriteNotFound with default headers values
func (*CreateKPIFavoriteNotFound) Code ¶
func (o *CreateKPIFavoriteNotFound) Code() int
Code gets the status code for the create k p i favorite not found response
func (*CreateKPIFavoriteNotFound) Error ¶
func (o *CreateKPIFavoriteNotFound) Error() string
func (*CreateKPIFavoriteNotFound) GetPayload ¶
func (o *CreateKPIFavoriteNotFound) GetPayload() *models.ErrorPayload
func (*CreateKPIFavoriteNotFound) IsClientError ¶
func (o *CreateKPIFavoriteNotFound) IsClientError() bool
IsClientError returns true when this create k p i favorite not found response has a 4xx status code
func (*CreateKPIFavoriteNotFound) IsCode ¶
func (o *CreateKPIFavoriteNotFound) IsCode(code int) bool
IsCode returns true when this create k p i favorite not found response a status code equal to that given
func (*CreateKPIFavoriteNotFound) IsRedirect ¶
func (o *CreateKPIFavoriteNotFound) IsRedirect() bool
IsRedirect returns true when this create k p i favorite not found response has a 3xx status code
func (*CreateKPIFavoriteNotFound) IsServerError ¶
func (o *CreateKPIFavoriteNotFound) IsServerError() bool
IsServerError returns true when this create k p i favorite not found response has a 5xx status code
func (*CreateKPIFavoriteNotFound) IsSuccess ¶
func (o *CreateKPIFavoriteNotFound) IsSuccess() bool
IsSuccess returns true when this create k p i favorite not found response has a 2xx status code
func (*CreateKPIFavoriteNotFound) String ¶
func (o *CreateKPIFavoriteNotFound) String() string
type CreateKPIFavoriteParams ¶
type CreateKPIFavoriteParams struct {
/* KpiCanonical.
A canonical of a kpi.
*/
KpiCanonical string
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
/* ProjectCanonical.
A canonical of a project.
*/
ProjectCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateKPIFavoriteParams contains all the parameters to send to the API endpoint
for the create k p i favorite operation. Typically these are written to a http.Request.
func NewCreateKPIFavoriteParams ¶
func NewCreateKPIFavoriteParams() *CreateKPIFavoriteParams
NewCreateKPIFavoriteParams creates a new CreateKPIFavoriteParams 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 NewCreateKPIFavoriteParamsWithContext ¶
func NewCreateKPIFavoriteParamsWithContext(ctx context.Context) *CreateKPIFavoriteParams
NewCreateKPIFavoriteParamsWithContext creates a new CreateKPIFavoriteParams object with the ability to set a context for a request.
func NewCreateKPIFavoriteParamsWithHTTPClient ¶
func NewCreateKPIFavoriteParamsWithHTTPClient(client *http.Client) *CreateKPIFavoriteParams
NewCreateKPIFavoriteParamsWithHTTPClient creates a new CreateKPIFavoriteParams object with the ability to set a custom HTTPClient for a request.
func NewCreateKPIFavoriteParamsWithTimeout ¶
func NewCreateKPIFavoriteParamsWithTimeout(timeout time.Duration) *CreateKPIFavoriteParams
NewCreateKPIFavoriteParamsWithTimeout creates a new CreateKPIFavoriteParams object with the ability to set a timeout on a request.
func (*CreateKPIFavoriteParams) SetContext ¶
func (o *CreateKPIFavoriteParams) SetContext(ctx context.Context)
SetContext adds the context to the create k p i favorite params
func (*CreateKPIFavoriteParams) SetDefaults ¶
func (o *CreateKPIFavoriteParams) SetDefaults()
SetDefaults hydrates default values in the create k p i favorite params (not the query body).
All values with no default are reset to their zero value.
func (*CreateKPIFavoriteParams) SetHTTPClient ¶
func (o *CreateKPIFavoriteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create k p i favorite params
func (*CreateKPIFavoriteParams) SetKpiCanonical ¶
func (o *CreateKPIFavoriteParams) SetKpiCanonical(kpiCanonical string)
SetKpiCanonical adds the kpiCanonical to the create k p i favorite params
func (*CreateKPIFavoriteParams) SetOrganizationCanonical ¶
func (o *CreateKPIFavoriteParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the create k p i favorite params
func (*CreateKPIFavoriteParams) SetProjectCanonical ¶
func (o *CreateKPIFavoriteParams) SetProjectCanonical(projectCanonical string)
SetProjectCanonical adds the projectCanonical to the create k p i favorite params
func (*CreateKPIFavoriteParams) SetTimeout ¶
func (o *CreateKPIFavoriteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create k p i favorite params
func (*CreateKPIFavoriteParams) WithContext ¶
func (o *CreateKPIFavoriteParams) WithContext(ctx context.Context) *CreateKPIFavoriteParams
WithContext adds the context to the create k p i favorite params
func (*CreateKPIFavoriteParams) WithDefaults ¶
func (o *CreateKPIFavoriteParams) WithDefaults() *CreateKPIFavoriteParams
WithDefaults hydrates default values in the create k p i favorite params (not the query body).
All values with no default are reset to their zero value.
func (*CreateKPIFavoriteParams) WithHTTPClient ¶
func (o *CreateKPIFavoriteParams) WithHTTPClient(client *http.Client) *CreateKPIFavoriteParams
WithHTTPClient adds the HTTPClient to the create k p i favorite params
func (*CreateKPIFavoriteParams) WithKpiCanonical ¶
func (o *CreateKPIFavoriteParams) WithKpiCanonical(kpiCanonical string) *CreateKPIFavoriteParams
WithKpiCanonical adds the kpiCanonical to the create k p i favorite params
func (*CreateKPIFavoriteParams) WithOrganizationCanonical ¶
func (o *CreateKPIFavoriteParams) WithOrganizationCanonical(organizationCanonical string) *CreateKPIFavoriteParams
WithOrganizationCanonical adds the organizationCanonical to the create k p i favorite params
func (*CreateKPIFavoriteParams) WithProjectCanonical ¶
func (o *CreateKPIFavoriteParams) WithProjectCanonical(projectCanonical string) *CreateKPIFavoriteParams
WithProjectCanonical adds the projectCanonical to the create k p i favorite params
func (*CreateKPIFavoriteParams) WithTimeout ¶
func (o *CreateKPIFavoriteParams) WithTimeout(timeout time.Duration) *CreateKPIFavoriteParams
WithTimeout adds the timeout to the create k p i favorite params
func (*CreateKPIFavoriteParams) WriteToRequest ¶
func (o *CreateKPIFavoriteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateKPIFavoriteReader ¶
type CreateKPIFavoriteReader struct {
// contains filtered or unexported fields
}
CreateKPIFavoriteReader is a Reader for the CreateKPIFavorite structure.
func (*CreateKPIFavoriteReader) ReadResponse ¶
func (o *CreateKPIFavoriteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateKPIFavoriteUnprocessableEntity ¶
type CreateKPIFavoriteUnprocessableEntity struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
CreateKPIFavoriteUnprocessableEntity describes a response with status code 422, with default header values.
All the custom errors that are generated from the Cycloid API
func NewCreateKPIFavoriteUnprocessableEntity ¶
func NewCreateKPIFavoriteUnprocessableEntity() *CreateKPIFavoriteUnprocessableEntity
NewCreateKPIFavoriteUnprocessableEntity creates a CreateKPIFavoriteUnprocessableEntity with default headers values
func (*CreateKPIFavoriteUnprocessableEntity) Code ¶
func (o *CreateKPIFavoriteUnprocessableEntity) Code() int
Code gets the status code for the create k p i favorite unprocessable entity response
func (*CreateKPIFavoriteUnprocessableEntity) Error ¶
func (o *CreateKPIFavoriteUnprocessableEntity) Error() string
func (*CreateKPIFavoriteUnprocessableEntity) GetPayload ¶
func (o *CreateKPIFavoriteUnprocessableEntity) GetPayload() *models.ErrorPayload
func (*CreateKPIFavoriteUnprocessableEntity) IsClientError ¶
func (o *CreateKPIFavoriteUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create k p i favorite unprocessable entity response has a 4xx status code
func (*CreateKPIFavoriteUnprocessableEntity) IsCode ¶
func (o *CreateKPIFavoriteUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create k p i favorite unprocessable entity response a status code equal to that given
func (*CreateKPIFavoriteUnprocessableEntity) IsRedirect ¶
func (o *CreateKPIFavoriteUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create k p i favorite unprocessable entity response has a 3xx status code
func (*CreateKPIFavoriteUnprocessableEntity) IsServerError ¶
func (o *CreateKPIFavoriteUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create k p i favorite unprocessable entity response has a 5xx status code
func (*CreateKPIFavoriteUnprocessableEntity) IsSuccess ¶
func (o *CreateKPIFavoriteUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create k p i favorite unprocessable entity response has a 2xx status code
func (*CreateKPIFavoriteUnprocessableEntity) String ¶
func (o *CreateKPIFavoriteUnprocessableEntity) String() string
type CreateKpiDefault ¶
type CreateKpiDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
CreateKpiDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewCreateKpiDefault ¶
func NewCreateKpiDefault(code int) *CreateKpiDefault
NewCreateKpiDefault creates a CreateKpiDefault with default headers values
func (*CreateKpiDefault) Code ¶
func (o *CreateKpiDefault) Code() int
Code gets the status code for the create kpi default response
func (*CreateKpiDefault) Error ¶
func (o *CreateKpiDefault) Error() string
func (*CreateKpiDefault) GetPayload ¶
func (o *CreateKpiDefault) GetPayload() *models.ErrorPayload
func (*CreateKpiDefault) IsClientError ¶
func (o *CreateKpiDefault) IsClientError() bool
IsClientError returns true when this create kpi default response has a 4xx status code
func (*CreateKpiDefault) IsCode ¶
func (o *CreateKpiDefault) IsCode(code int) bool
IsCode returns true when this create kpi default response a status code equal to that given
func (*CreateKpiDefault) IsRedirect ¶
func (o *CreateKpiDefault) IsRedirect() bool
IsRedirect returns true when this create kpi default response has a 3xx status code
func (*CreateKpiDefault) IsServerError ¶
func (o *CreateKpiDefault) IsServerError() bool
IsServerError returns true when this create kpi default response has a 5xx status code
func (*CreateKpiDefault) IsSuccess ¶
func (o *CreateKpiDefault) IsSuccess() bool
IsSuccess returns true when this create kpi default response has a 2xx status code
func (*CreateKpiDefault) String ¶
func (o *CreateKpiDefault) String() string
type CreateKpiForbidden ¶
type CreateKpiForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
CreateKpiForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewCreateKpiForbidden ¶
func NewCreateKpiForbidden() *CreateKpiForbidden
NewCreateKpiForbidden creates a CreateKpiForbidden with default headers values
func (*CreateKpiForbidden) Code ¶
func (o *CreateKpiForbidden) Code() int
Code gets the status code for the create kpi forbidden response
func (*CreateKpiForbidden) Error ¶
func (o *CreateKpiForbidden) Error() string
func (*CreateKpiForbidden) GetPayload ¶
func (o *CreateKpiForbidden) GetPayload() *models.ErrorPayload
func (*CreateKpiForbidden) IsClientError ¶
func (o *CreateKpiForbidden) IsClientError() bool
IsClientError returns true when this create kpi forbidden response has a 4xx status code
func (*CreateKpiForbidden) IsCode ¶
func (o *CreateKpiForbidden) IsCode(code int) bool
IsCode returns true when this create kpi forbidden response a status code equal to that given
func (*CreateKpiForbidden) IsRedirect ¶
func (o *CreateKpiForbidden) IsRedirect() bool
IsRedirect returns true when this create kpi forbidden response has a 3xx status code
func (*CreateKpiForbidden) IsServerError ¶
func (o *CreateKpiForbidden) IsServerError() bool
IsServerError returns true when this create kpi forbidden response has a 5xx status code
func (*CreateKpiForbidden) IsSuccess ¶
func (o *CreateKpiForbidden) IsSuccess() bool
IsSuccess returns true when this create kpi forbidden response has a 2xx status code
func (*CreateKpiForbidden) String ¶
func (o *CreateKpiForbidden) String() string
type CreateKpiOK ¶
type CreateKpiOK struct {
Payload *CreateKpiOKBody
}
CreateKpiOK describes a response with status code 200, with default header values.
KPI has been configured
func NewCreateKpiOK ¶
func NewCreateKpiOK() *CreateKpiOK
NewCreateKpiOK creates a CreateKpiOK with default headers values
func (*CreateKpiOK) Code ¶
func (o *CreateKpiOK) Code() int
Code gets the status code for the create kpi o k response
func (*CreateKpiOK) Error ¶
func (o *CreateKpiOK) Error() string
func (*CreateKpiOK) GetPayload ¶
func (o *CreateKpiOK) GetPayload() *CreateKpiOKBody
func (*CreateKpiOK) IsClientError ¶
func (o *CreateKpiOK) IsClientError() bool
IsClientError returns true when this create kpi o k response has a 4xx status code
func (*CreateKpiOK) IsCode ¶
func (o *CreateKpiOK) IsCode(code int) bool
IsCode returns true when this create kpi o k response a status code equal to that given
func (*CreateKpiOK) IsRedirect ¶
func (o *CreateKpiOK) IsRedirect() bool
IsRedirect returns true when this create kpi o k response has a 3xx status code
func (*CreateKpiOK) IsServerError ¶
func (o *CreateKpiOK) IsServerError() bool
IsServerError returns true when this create kpi o k response has a 5xx status code
func (*CreateKpiOK) IsSuccess ¶
func (o *CreateKpiOK) IsSuccess() bool
IsSuccess returns true when this create kpi o k response has a 2xx status code
func (*CreateKpiOK) String ¶
func (o *CreateKpiOK) String() string
type CreateKpiOKBody ¶
CreateKpiOKBody create kpi o k body swagger:model CreateKpiOKBody
func (*CreateKpiOKBody) ContextValidate ¶
ContextValidate validate this create kpi o k body based on the context it is used
func (*CreateKpiOKBody) MarshalBinary ¶
func (o *CreateKpiOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateKpiOKBody) UnmarshalBinary ¶
func (o *CreateKpiOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateKpiParams ¶
type CreateKpiParams struct {
/* Begin.
The unix timestamp in milliseconds, which indicate the start of the time range.
Format: uint64
*/
Begin *uint64
/* Body.
The information of the KPI
*/
Body *models.NewKPI
/* ComponentCanonical.
A canonical of a component.
*/
ComponentCanonical *string
/* End.
The unix timestamp in milliseconds, which indicate the end of the time range.
Format: uint64
*/
End *uint64
/* EnvironmentCanonical.
A list of environments' canonical to filter from
*/
EnvironmentCanonical *string
/* Favorite.
Flag to retrieve favorite data from the members favorite list.
*/
Favorite *bool
/* FetchData.
Flag to retrieve KPIs' data upon retrieving KPIs themselves
*/
FetchData *bool
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
/* PageIndex.
The page number to request. The first page is 1.
Format: uint32
Default: 1
*/
PageIndex *uint32
/* PageSize.
The number of items at most which the response can have.
Format: uint32
Default: 1000
*/
PageSize *uint32
/* ProjectCanonical.
A canonical of a project.
*/
ProjectCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateKpiParams contains all the parameters to send to the API endpoint
for the create kpi operation. Typically these are written to a http.Request.
func NewCreateKpiParams ¶
func NewCreateKpiParams() *CreateKpiParams
NewCreateKpiParams creates a new CreateKpiParams 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 NewCreateKpiParamsWithContext ¶
func NewCreateKpiParamsWithContext(ctx context.Context) *CreateKpiParams
NewCreateKpiParamsWithContext creates a new CreateKpiParams object with the ability to set a context for a request.
func NewCreateKpiParamsWithHTTPClient ¶
func NewCreateKpiParamsWithHTTPClient(client *http.Client) *CreateKpiParams
NewCreateKpiParamsWithHTTPClient creates a new CreateKpiParams object with the ability to set a custom HTTPClient for a request.
func NewCreateKpiParamsWithTimeout ¶
func NewCreateKpiParamsWithTimeout(timeout time.Duration) *CreateKpiParams
NewCreateKpiParamsWithTimeout creates a new CreateKpiParams object with the ability to set a timeout on a request.
func (*CreateKpiParams) SetBegin ¶
func (o *CreateKpiParams) SetBegin(begin *uint64)
SetBegin adds the begin to the create kpi params
func (*CreateKpiParams) SetBody ¶
func (o *CreateKpiParams) SetBody(body *models.NewKPI)
SetBody adds the body to the create kpi params
func (*CreateKpiParams) SetComponentCanonical ¶
func (o *CreateKpiParams) SetComponentCanonical(componentCanonical *string)
SetComponentCanonical adds the componentCanonical to the create kpi params
func (*CreateKpiParams) SetContext ¶
func (o *CreateKpiParams) SetContext(ctx context.Context)
SetContext adds the context to the create kpi params
func (*CreateKpiParams) SetDefaults ¶
func (o *CreateKpiParams) SetDefaults()
SetDefaults hydrates default values in the create kpi params (not the query body).
All values with no default are reset to their zero value.
func (*CreateKpiParams) SetEnd ¶
func (o *CreateKpiParams) SetEnd(end *uint64)
SetEnd adds the end to the create kpi params
func (*CreateKpiParams) SetEnvironmentCanonical ¶
func (o *CreateKpiParams) SetEnvironmentCanonical(environmentCanonical *string)
SetEnvironmentCanonical adds the environmentCanonical to the create kpi params
func (*CreateKpiParams) SetFavorite ¶
func (o *CreateKpiParams) SetFavorite(favorite *bool)
SetFavorite adds the favorite to the create kpi params
func (*CreateKpiParams) SetFetchData ¶
func (o *CreateKpiParams) SetFetchData(fetchData *bool)
SetFetchData adds the fetchData to the create kpi params
func (*CreateKpiParams) SetHTTPClient ¶
func (o *CreateKpiParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create kpi params
func (*CreateKpiParams) SetOrganizationCanonical ¶
func (o *CreateKpiParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the create kpi params
func (*CreateKpiParams) SetPageIndex ¶
func (o *CreateKpiParams) SetPageIndex(pageIndex *uint32)
SetPageIndex adds the pageIndex to the create kpi params
func (*CreateKpiParams) SetPageSize ¶
func (o *CreateKpiParams) SetPageSize(pageSize *uint32)
SetPageSize adds the pageSize to the create kpi params
func (*CreateKpiParams) SetProjectCanonical ¶
func (o *CreateKpiParams) SetProjectCanonical(projectCanonical string)
SetProjectCanonical adds the projectCanonical to the create kpi params
func (*CreateKpiParams) SetTimeout ¶
func (o *CreateKpiParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create kpi params
func (*CreateKpiParams) WithBegin ¶
func (o *CreateKpiParams) WithBegin(begin *uint64) *CreateKpiParams
WithBegin adds the begin to the create kpi params
func (*CreateKpiParams) WithBody ¶
func (o *CreateKpiParams) WithBody(body *models.NewKPI) *CreateKpiParams
WithBody adds the body to the create kpi params
func (*CreateKpiParams) WithComponentCanonical ¶
func (o *CreateKpiParams) WithComponentCanonical(componentCanonical *string) *CreateKpiParams
WithComponentCanonical adds the componentCanonical to the create kpi params
func (*CreateKpiParams) WithContext ¶
func (o *CreateKpiParams) WithContext(ctx context.Context) *CreateKpiParams
WithContext adds the context to the create kpi params
func (*CreateKpiParams) WithDefaults ¶
func (o *CreateKpiParams) WithDefaults() *CreateKpiParams
WithDefaults hydrates default values in the create kpi params (not the query body).
All values with no default are reset to their zero value.
func (*CreateKpiParams) WithEnd ¶
func (o *CreateKpiParams) WithEnd(end *uint64) *CreateKpiParams
WithEnd adds the end to the create kpi params
func (*CreateKpiParams) WithEnvironmentCanonical ¶
func (o *CreateKpiParams) WithEnvironmentCanonical(environmentCanonical *string) *CreateKpiParams
WithEnvironmentCanonical adds the environmentCanonical to the create kpi params
func (*CreateKpiParams) WithFavorite ¶
func (o *CreateKpiParams) WithFavorite(favorite *bool) *CreateKpiParams
WithFavorite adds the favorite to the create kpi params
func (*CreateKpiParams) WithFetchData ¶
func (o *CreateKpiParams) WithFetchData(fetchData *bool) *CreateKpiParams
WithFetchData adds the fetchData to the create kpi params
func (*CreateKpiParams) WithHTTPClient ¶
func (o *CreateKpiParams) WithHTTPClient(client *http.Client) *CreateKpiParams
WithHTTPClient adds the HTTPClient to the create kpi params
func (*CreateKpiParams) WithOrganizationCanonical ¶
func (o *CreateKpiParams) WithOrganizationCanonical(organizationCanonical string) *CreateKpiParams
WithOrganizationCanonical adds the organizationCanonical to the create kpi params
func (*CreateKpiParams) WithPageIndex ¶
func (o *CreateKpiParams) WithPageIndex(pageIndex *uint32) *CreateKpiParams
WithPageIndex adds the pageIndex to the create kpi params
func (*CreateKpiParams) WithPageSize ¶
func (o *CreateKpiParams) WithPageSize(pageSize *uint32) *CreateKpiParams
WithPageSize adds the pageSize to the create kpi params
func (*CreateKpiParams) WithProjectCanonical ¶
func (o *CreateKpiParams) WithProjectCanonical(projectCanonical string) *CreateKpiParams
WithProjectCanonical adds the projectCanonical to the create kpi params
func (*CreateKpiParams) WithTimeout ¶
func (o *CreateKpiParams) WithTimeout(timeout time.Duration) *CreateKpiParams
WithTimeout adds the timeout to the create kpi params
func (*CreateKpiParams) WriteToRequest ¶
func (o *CreateKpiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateKpiReader ¶
type CreateKpiReader struct {
// contains filtered or unexported fields
}
CreateKpiReader is a Reader for the CreateKpi structure.
func (*CreateKpiReader) ReadResponse ¶
func (o *CreateKpiReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateKpiUnprocessableEntity ¶
type CreateKpiUnprocessableEntity struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
CreateKpiUnprocessableEntity describes a response with status code 422, with default header values.
All the custom errors that are generated from the Cycloid API
func NewCreateKpiUnprocessableEntity ¶
func NewCreateKpiUnprocessableEntity() *CreateKpiUnprocessableEntity
NewCreateKpiUnprocessableEntity creates a CreateKpiUnprocessableEntity with default headers values
func (*CreateKpiUnprocessableEntity) Code ¶
func (o *CreateKpiUnprocessableEntity) Code() int
Code gets the status code for the create kpi unprocessable entity response
func (*CreateKpiUnprocessableEntity) Error ¶
func (o *CreateKpiUnprocessableEntity) Error() string
func (*CreateKpiUnprocessableEntity) GetPayload ¶
func (o *CreateKpiUnprocessableEntity) GetPayload() *models.ErrorPayload
func (*CreateKpiUnprocessableEntity) IsClientError ¶
func (o *CreateKpiUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create kpi unprocessable entity response has a 4xx status code
func (*CreateKpiUnprocessableEntity) IsCode ¶
func (o *CreateKpiUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create kpi unprocessable entity response a status code equal to that given
func (*CreateKpiUnprocessableEntity) IsRedirect ¶
func (o *CreateKpiUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create kpi unprocessable entity response has a 3xx status code
func (*CreateKpiUnprocessableEntity) IsServerError ¶
func (o *CreateKpiUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create kpi unprocessable entity response has a 5xx status code
func (*CreateKpiUnprocessableEntity) IsSuccess ¶
func (o *CreateKpiUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create kpi unprocessable entity response has a 2xx status code
func (*CreateKpiUnprocessableEntity) String ¶
func (o *CreateKpiUnprocessableEntity) String() string
type DeleteKPIFavoriteDefault ¶
type DeleteKPIFavoriteDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
DeleteKPIFavoriteDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewDeleteKPIFavoriteDefault ¶
func NewDeleteKPIFavoriteDefault(code int) *DeleteKPIFavoriteDefault
NewDeleteKPIFavoriteDefault creates a DeleteKPIFavoriteDefault with default headers values
func (*DeleteKPIFavoriteDefault) Code ¶
func (o *DeleteKPIFavoriteDefault) Code() int
Code gets the status code for the delete k p i favorite default response
func (*DeleteKPIFavoriteDefault) Error ¶
func (o *DeleteKPIFavoriteDefault) Error() string
func (*DeleteKPIFavoriteDefault) GetPayload ¶
func (o *DeleteKPIFavoriteDefault) GetPayload() *models.ErrorPayload
func (*DeleteKPIFavoriteDefault) IsClientError ¶
func (o *DeleteKPIFavoriteDefault) IsClientError() bool
IsClientError returns true when this delete k p i favorite default response has a 4xx status code
func (*DeleteKPIFavoriteDefault) IsCode ¶
func (o *DeleteKPIFavoriteDefault) IsCode(code int) bool
IsCode returns true when this delete k p i favorite default response a status code equal to that given
func (*DeleteKPIFavoriteDefault) IsRedirect ¶
func (o *DeleteKPIFavoriteDefault) IsRedirect() bool
IsRedirect returns true when this delete k p i favorite default response has a 3xx status code
func (*DeleteKPIFavoriteDefault) IsServerError ¶
func (o *DeleteKPIFavoriteDefault) IsServerError() bool
IsServerError returns true when this delete k p i favorite default response has a 5xx status code
func (*DeleteKPIFavoriteDefault) IsSuccess ¶
func (o *DeleteKPIFavoriteDefault) IsSuccess() bool
IsSuccess returns true when this delete k p i favorite default response has a 2xx status code
func (*DeleteKPIFavoriteDefault) String ¶
func (o *DeleteKPIFavoriteDefault) String() string
type DeleteKPIFavoriteForbidden ¶
type DeleteKPIFavoriteForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
DeleteKPIFavoriteForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewDeleteKPIFavoriteForbidden ¶
func NewDeleteKPIFavoriteForbidden() *DeleteKPIFavoriteForbidden
NewDeleteKPIFavoriteForbidden creates a DeleteKPIFavoriteForbidden with default headers values
func (*DeleteKPIFavoriteForbidden) Code ¶
func (o *DeleteKPIFavoriteForbidden) Code() int
Code gets the status code for the delete k p i favorite forbidden response
func (*DeleteKPIFavoriteForbidden) Error ¶
func (o *DeleteKPIFavoriteForbidden) Error() string
func (*DeleteKPIFavoriteForbidden) GetPayload ¶
func (o *DeleteKPIFavoriteForbidden) GetPayload() *models.ErrorPayload
func (*DeleteKPIFavoriteForbidden) IsClientError ¶
func (o *DeleteKPIFavoriteForbidden) IsClientError() bool
IsClientError returns true when this delete k p i favorite forbidden response has a 4xx status code
func (*DeleteKPIFavoriteForbidden) IsCode ¶
func (o *DeleteKPIFavoriteForbidden) IsCode(code int) bool
IsCode returns true when this delete k p i favorite forbidden response a status code equal to that given
func (*DeleteKPIFavoriteForbidden) IsRedirect ¶
func (o *DeleteKPIFavoriteForbidden) IsRedirect() bool
IsRedirect returns true when this delete k p i favorite forbidden response has a 3xx status code
func (*DeleteKPIFavoriteForbidden) IsServerError ¶
func (o *DeleteKPIFavoriteForbidden) IsServerError() bool
IsServerError returns true when this delete k p i favorite forbidden response has a 5xx status code
func (*DeleteKPIFavoriteForbidden) IsSuccess ¶
func (o *DeleteKPIFavoriteForbidden) IsSuccess() bool
IsSuccess returns true when this delete k p i favorite forbidden response has a 2xx status code
func (*DeleteKPIFavoriteForbidden) String ¶
func (o *DeleteKPIFavoriteForbidden) String() string
type DeleteKPIFavoriteNoContent ¶
type DeleteKPIFavoriteNoContent struct {
}
DeleteKPIFavoriteNoContent describes a response with status code 204, with default header values.
The kpi has been removed from user favorites list.
func NewDeleteKPIFavoriteNoContent ¶
func NewDeleteKPIFavoriteNoContent() *DeleteKPIFavoriteNoContent
NewDeleteKPIFavoriteNoContent creates a DeleteKPIFavoriteNoContent with default headers values
func (*DeleteKPIFavoriteNoContent) Code ¶
func (o *DeleteKPIFavoriteNoContent) Code() int
Code gets the status code for the delete k p i favorite no content response
func (*DeleteKPIFavoriteNoContent) Error ¶
func (o *DeleteKPIFavoriteNoContent) Error() string
func (*DeleteKPIFavoriteNoContent) IsClientError ¶
func (o *DeleteKPIFavoriteNoContent) IsClientError() bool
IsClientError returns true when this delete k p i favorite no content response has a 4xx status code
func (*DeleteKPIFavoriteNoContent) IsCode ¶
func (o *DeleteKPIFavoriteNoContent) IsCode(code int) bool
IsCode returns true when this delete k p i favorite no content response a status code equal to that given
func (*DeleteKPIFavoriteNoContent) IsRedirect ¶
func (o *DeleteKPIFavoriteNoContent) IsRedirect() bool
IsRedirect returns true when this delete k p i favorite no content response has a 3xx status code
func (*DeleteKPIFavoriteNoContent) IsServerError ¶
func (o *DeleteKPIFavoriteNoContent) IsServerError() bool
IsServerError returns true when this delete k p i favorite no content response has a 5xx status code
func (*DeleteKPIFavoriteNoContent) IsSuccess ¶
func (o *DeleteKPIFavoriteNoContent) IsSuccess() bool
IsSuccess returns true when this delete k p i favorite no content response has a 2xx status code
func (*DeleteKPIFavoriteNoContent) String ¶
func (o *DeleteKPIFavoriteNoContent) String() string
type DeleteKPIFavoriteNotFound ¶
type DeleteKPIFavoriteNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
DeleteKPIFavoriteNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewDeleteKPIFavoriteNotFound ¶
func NewDeleteKPIFavoriteNotFound() *DeleteKPIFavoriteNotFound
NewDeleteKPIFavoriteNotFound creates a DeleteKPIFavoriteNotFound with default headers values
func (*DeleteKPIFavoriteNotFound) Code ¶
func (o *DeleteKPIFavoriteNotFound) Code() int
Code gets the status code for the delete k p i favorite not found response
func (*DeleteKPIFavoriteNotFound) Error ¶
func (o *DeleteKPIFavoriteNotFound) Error() string
func (*DeleteKPIFavoriteNotFound) GetPayload ¶
func (o *DeleteKPIFavoriteNotFound) GetPayload() *models.ErrorPayload
func (*DeleteKPIFavoriteNotFound) IsClientError ¶
func (o *DeleteKPIFavoriteNotFound) IsClientError() bool
IsClientError returns true when this delete k p i favorite not found response has a 4xx status code
func (*DeleteKPIFavoriteNotFound) IsCode ¶
func (o *DeleteKPIFavoriteNotFound) IsCode(code int) bool
IsCode returns true when this delete k p i favorite not found response a status code equal to that given
func (*DeleteKPIFavoriteNotFound) IsRedirect ¶
func (o *DeleteKPIFavoriteNotFound) IsRedirect() bool
IsRedirect returns true when this delete k p i favorite not found response has a 3xx status code
func (*DeleteKPIFavoriteNotFound) IsServerError ¶
func (o *DeleteKPIFavoriteNotFound) IsServerError() bool
IsServerError returns true when this delete k p i favorite not found response has a 5xx status code
func (*DeleteKPIFavoriteNotFound) IsSuccess ¶
func (o *DeleteKPIFavoriteNotFound) IsSuccess() bool
IsSuccess returns true when this delete k p i favorite not found response has a 2xx status code
func (*DeleteKPIFavoriteNotFound) String ¶
func (o *DeleteKPIFavoriteNotFound) String() string
type DeleteKPIFavoriteParams ¶
type DeleteKPIFavoriteParams struct {
/* KpiCanonical.
A canonical of a kpi.
*/
KpiCanonical string
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
/* ProjectCanonical.
A canonical of a project.
*/
ProjectCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteKPIFavoriteParams contains all the parameters to send to the API endpoint
for the delete k p i favorite operation. Typically these are written to a http.Request.
func NewDeleteKPIFavoriteParams ¶
func NewDeleteKPIFavoriteParams() *DeleteKPIFavoriteParams
NewDeleteKPIFavoriteParams creates a new DeleteKPIFavoriteParams 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 NewDeleteKPIFavoriteParamsWithContext ¶
func NewDeleteKPIFavoriteParamsWithContext(ctx context.Context) *DeleteKPIFavoriteParams
NewDeleteKPIFavoriteParamsWithContext creates a new DeleteKPIFavoriteParams object with the ability to set a context for a request.
func NewDeleteKPIFavoriteParamsWithHTTPClient ¶
func NewDeleteKPIFavoriteParamsWithHTTPClient(client *http.Client) *DeleteKPIFavoriteParams
NewDeleteKPIFavoriteParamsWithHTTPClient creates a new DeleteKPIFavoriteParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteKPIFavoriteParamsWithTimeout ¶
func NewDeleteKPIFavoriteParamsWithTimeout(timeout time.Duration) *DeleteKPIFavoriteParams
NewDeleteKPIFavoriteParamsWithTimeout creates a new DeleteKPIFavoriteParams object with the ability to set a timeout on a request.
func (*DeleteKPIFavoriteParams) SetContext ¶
func (o *DeleteKPIFavoriteParams) SetContext(ctx context.Context)
SetContext adds the context to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) SetDefaults ¶
func (o *DeleteKPIFavoriteParams) SetDefaults()
SetDefaults hydrates default values in the delete k p i favorite params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteKPIFavoriteParams) SetHTTPClient ¶
func (o *DeleteKPIFavoriteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) SetKpiCanonical ¶
func (o *DeleteKPIFavoriteParams) SetKpiCanonical(kpiCanonical string)
SetKpiCanonical adds the kpiCanonical to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) SetOrganizationCanonical ¶
func (o *DeleteKPIFavoriteParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) SetProjectCanonical ¶
func (o *DeleteKPIFavoriteParams) SetProjectCanonical(projectCanonical string)
SetProjectCanonical adds the projectCanonical to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) SetTimeout ¶
func (o *DeleteKPIFavoriteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) WithContext ¶
func (o *DeleteKPIFavoriteParams) WithContext(ctx context.Context) *DeleteKPIFavoriteParams
WithContext adds the context to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) WithDefaults ¶
func (o *DeleteKPIFavoriteParams) WithDefaults() *DeleteKPIFavoriteParams
WithDefaults hydrates default values in the delete k p i favorite params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteKPIFavoriteParams) WithHTTPClient ¶
func (o *DeleteKPIFavoriteParams) WithHTTPClient(client *http.Client) *DeleteKPIFavoriteParams
WithHTTPClient adds the HTTPClient to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) WithKpiCanonical ¶
func (o *DeleteKPIFavoriteParams) WithKpiCanonical(kpiCanonical string) *DeleteKPIFavoriteParams
WithKpiCanonical adds the kpiCanonical to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) WithOrganizationCanonical ¶
func (o *DeleteKPIFavoriteParams) WithOrganizationCanonical(organizationCanonical string) *DeleteKPIFavoriteParams
WithOrganizationCanonical adds the organizationCanonical to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) WithProjectCanonical ¶
func (o *DeleteKPIFavoriteParams) WithProjectCanonical(projectCanonical string) *DeleteKPIFavoriteParams
WithProjectCanonical adds the projectCanonical to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) WithTimeout ¶
func (o *DeleteKPIFavoriteParams) WithTimeout(timeout time.Duration) *DeleteKPIFavoriteParams
WithTimeout adds the timeout to the delete k p i favorite params
func (*DeleteKPIFavoriteParams) WriteToRequest ¶
func (o *DeleteKPIFavoriteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteKPIFavoriteReader ¶
type DeleteKPIFavoriteReader struct {
// contains filtered or unexported fields
}
DeleteKPIFavoriteReader is a Reader for the DeleteKPIFavorite structure.
func (*DeleteKPIFavoriteReader) ReadResponse ¶
func (o *DeleteKPIFavoriteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteKpiDefault ¶
type DeleteKpiDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
DeleteKpiDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewDeleteKpiDefault ¶
func NewDeleteKpiDefault(code int) *DeleteKpiDefault
NewDeleteKpiDefault creates a DeleteKpiDefault with default headers values
func (*DeleteKpiDefault) Code ¶
func (o *DeleteKpiDefault) Code() int
Code gets the status code for the delete kpi default response
func (*DeleteKpiDefault) Error ¶
func (o *DeleteKpiDefault) Error() string
func (*DeleteKpiDefault) GetPayload ¶
func (o *DeleteKpiDefault) GetPayload() *models.ErrorPayload
func (*DeleteKpiDefault) IsClientError ¶
func (o *DeleteKpiDefault) IsClientError() bool
IsClientError returns true when this delete kpi default response has a 4xx status code
func (*DeleteKpiDefault) IsCode ¶
func (o *DeleteKpiDefault) IsCode(code int) bool
IsCode returns true when this delete kpi default response a status code equal to that given
func (*DeleteKpiDefault) IsRedirect ¶
func (o *DeleteKpiDefault) IsRedirect() bool
IsRedirect returns true when this delete kpi default response has a 3xx status code
func (*DeleteKpiDefault) IsServerError ¶
func (o *DeleteKpiDefault) IsServerError() bool
IsServerError returns true when this delete kpi default response has a 5xx status code
func (*DeleteKpiDefault) IsSuccess ¶
func (o *DeleteKpiDefault) IsSuccess() bool
IsSuccess returns true when this delete kpi default response has a 2xx status code
func (*DeleteKpiDefault) String ¶
func (o *DeleteKpiDefault) String() string
type DeleteKpiForbidden ¶
type DeleteKpiForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
DeleteKpiForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewDeleteKpiForbidden ¶
func NewDeleteKpiForbidden() *DeleteKpiForbidden
NewDeleteKpiForbidden creates a DeleteKpiForbidden with default headers values
func (*DeleteKpiForbidden) Code ¶
func (o *DeleteKpiForbidden) Code() int
Code gets the status code for the delete kpi forbidden response
func (*DeleteKpiForbidden) Error ¶
func (o *DeleteKpiForbidden) Error() string
func (*DeleteKpiForbidden) GetPayload ¶
func (o *DeleteKpiForbidden) GetPayload() *models.ErrorPayload
func (*DeleteKpiForbidden) IsClientError ¶
func (o *DeleteKpiForbidden) IsClientError() bool
IsClientError returns true when this delete kpi forbidden response has a 4xx status code
func (*DeleteKpiForbidden) IsCode ¶
func (o *DeleteKpiForbidden) IsCode(code int) bool
IsCode returns true when this delete kpi forbidden response a status code equal to that given
func (*DeleteKpiForbidden) IsRedirect ¶
func (o *DeleteKpiForbidden) IsRedirect() bool
IsRedirect returns true when this delete kpi forbidden response has a 3xx status code
func (*DeleteKpiForbidden) IsServerError ¶
func (o *DeleteKpiForbidden) IsServerError() bool
IsServerError returns true when this delete kpi forbidden response has a 5xx status code
func (*DeleteKpiForbidden) IsSuccess ¶
func (o *DeleteKpiForbidden) IsSuccess() bool
IsSuccess returns true when this delete kpi forbidden response has a 2xx status code
func (*DeleteKpiForbidden) String ¶
func (o *DeleteKpiForbidden) String() string
type DeleteKpiNoContent ¶
type DeleteKpiNoContent struct {
}
DeleteKpiNoContent describes a response with status code 204, with default header values.
Organization's KPI has been deleted
func NewDeleteKpiNoContent ¶
func NewDeleteKpiNoContent() *DeleteKpiNoContent
NewDeleteKpiNoContent creates a DeleteKpiNoContent with default headers values
func (*DeleteKpiNoContent) Code ¶
func (o *DeleteKpiNoContent) Code() int
Code gets the status code for the delete kpi no content response
func (*DeleteKpiNoContent) Error ¶
func (o *DeleteKpiNoContent) Error() string
func (*DeleteKpiNoContent) IsClientError ¶
func (o *DeleteKpiNoContent) IsClientError() bool
IsClientError returns true when this delete kpi no content response has a 4xx status code
func (*DeleteKpiNoContent) IsCode ¶
func (o *DeleteKpiNoContent) IsCode(code int) bool
IsCode returns true when this delete kpi no content response a status code equal to that given
func (*DeleteKpiNoContent) IsRedirect ¶
func (o *DeleteKpiNoContent) IsRedirect() bool
IsRedirect returns true when this delete kpi no content response has a 3xx status code
func (*DeleteKpiNoContent) IsServerError ¶
func (o *DeleteKpiNoContent) IsServerError() bool
IsServerError returns true when this delete kpi no content response has a 5xx status code
func (*DeleteKpiNoContent) IsSuccess ¶
func (o *DeleteKpiNoContent) IsSuccess() bool
IsSuccess returns true when this delete kpi no content response has a 2xx status code
func (*DeleteKpiNoContent) String ¶
func (o *DeleteKpiNoContent) String() string
type DeleteKpiNotFound ¶
type DeleteKpiNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
DeleteKpiNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewDeleteKpiNotFound ¶
func NewDeleteKpiNotFound() *DeleteKpiNotFound
NewDeleteKpiNotFound creates a DeleteKpiNotFound with default headers values
func (*DeleteKpiNotFound) Code ¶
func (o *DeleteKpiNotFound) Code() int
Code gets the status code for the delete kpi not found response
func (*DeleteKpiNotFound) Error ¶
func (o *DeleteKpiNotFound) Error() string
func (*DeleteKpiNotFound) GetPayload ¶
func (o *DeleteKpiNotFound) GetPayload() *models.ErrorPayload
func (*DeleteKpiNotFound) IsClientError ¶
func (o *DeleteKpiNotFound) IsClientError() bool
IsClientError returns true when this delete kpi not found response has a 4xx status code
func (*DeleteKpiNotFound) IsCode ¶
func (o *DeleteKpiNotFound) IsCode(code int) bool
IsCode returns true when this delete kpi not found response a status code equal to that given
func (*DeleteKpiNotFound) IsRedirect ¶
func (o *DeleteKpiNotFound) IsRedirect() bool
IsRedirect returns true when this delete kpi not found response has a 3xx status code
func (*DeleteKpiNotFound) IsServerError ¶
func (o *DeleteKpiNotFound) IsServerError() bool
IsServerError returns true when this delete kpi not found response has a 5xx status code
func (*DeleteKpiNotFound) IsSuccess ¶
func (o *DeleteKpiNotFound) IsSuccess() bool
IsSuccess returns true when this delete kpi not found response has a 2xx status code
func (*DeleteKpiNotFound) String ¶
func (o *DeleteKpiNotFound) String() string
type DeleteKpiParams ¶
type DeleteKpiParams struct {
/* Begin.
The unix timestamp in milliseconds, which indicate the start of the time range.
Format: uint64
*/
Begin *uint64
/* End.
The unix timestamp in milliseconds, which indicate the end of the time range.
Format: uint64
*/
End *uint64
/* FetchData.
Flag to retrieve KPIs' data upon retrieving KPIs themselves
*/
FetchData *bool
/* KpiCanonical.
A canonical of a kpi.
*/
KpiCanonical string
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
/* ProjectCanonical.
A canonical of a project.
*/
ProjectCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteKpiParams contains all the parameters to send to the API endpoint
for the delete kpi operation. Typically these are written to a http.Request.
func NewDeleteKpiParams ¶
func NewDeleteKpiParams() *DeleteKpiParams
NewDeleteKpiParams creates a new DeleteKpiParams 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 NewDeleteKpiParamsWithContext ¶
func NewDeleteKpiParamsWithContext(ctx context.Context) *DeleteKpiParams
NewDeleteKpiParamsWithContext creates a new DeleteKpiParams object with the ability to set a context for a request.
func NewDeleteKpiParamsWithHTTPClient ¶
func NewDeleteKpiParamsWithHTTPClient(client *http.Client) *DeleteKpiParams
NewDeleteKpiParamsWithHTTPClient creates a new DeleteKpiParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteKpiParamsWithTimeout ¶
func NewDeleteKpiParamsWithTimeout(timeout time.Duration) *DeleteKpiParams
NewDeleteKpiParamsWithTimeout creates a new DeleteKpiParams object with the ability to set a timeout on a request.
func (*DeleteKpiParams) SetBegin ¶
func (o *DeleteKpiParams) SetBegin(begin *uint64)
SetBegin adds the begin to the delete kpi params
func (*DeleteKpiParams) SetContext ¶
func (o *DeleteKpiParams) SetContext(ctx context.Context)
SetContext adds the context to the delete kpi params
func (*DeleteKpiParams) SetDefaults ¶
func (o *DeleteKpiParams) SetDefaults()
SetDefaults hydrates default values in the delete kpi params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteKpiParams) SetEnd ¶
func (o *DeleteKpiParams) SetEnd(end *uint64)
SetEnd adds the end to the delete kpi params
func (*DeleteKpiParams) SetFetchData ¶
func (o *DeleteKpiParams) SetFetchData(fetchData *bool)
SetFetchData adds the fetchData to the delete kpi params
func (*DeleteKpiParams) SetHTTPClient ¶
func (o *DeleteKpiParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete kpi params
func (*DeleteKpiParams) SetKpiCanonical ¶
func (o *DeleteKpiParams) SetKpiCanonical(kpiCanonical string)
SetKpiCanonical adds the kpiCanonical to the delete kpi params
func (*DeleteKpiParams) SetOrganizationCanonical ¶
func (o *DeleteKpiParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the delete kpi params
func (*DeleteKpiParams) SetProjectCanonical ¶
func (o *DeleteKpiParams) SetProjectCanonical(projectCanonical string)
SetProjectCanonical adds the projectCanonical to the delete kpi params
func (*DeleteKpiParams) SetTimeout ¶
func (o *DeleteKpiParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete kpi params
func (*DeleteKpiParams) WithBegin ¶
func (o *DeleteKpiParams) WithBegin(begin *uint64) *DeleteKpiParams
WithBegin adds the begin to the delete kpi params
func (*DeleteKpiParams) WithContext ¶
func (o *DeleteKpiParams) WithContext(ctx context.Context) *DeleteKpiParams
WithContext adds the context to the delete kpi params
func (*DeleteKpiParams) WithDefaults ¶
func (o *DeleteKpiParams) WithDefaults() *DeleteKpiParams
WithDefaults hydrates default values in the delete kpi params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteKpiParams) WithEnd ¶
func (o *DeleteKpiParams) WithEnd(end *uint64) *DeleteKpiParams
WithEnd adds the end to the delete kpi params
func (*DeleteKpiParams) WithFetchData ¶
func (o *DeleteKpiParams) WithFetchData(fetchData *bool) *DeleteKpiParams
WithFetchData adds the fetchData to the delete kpi params
func (*DeleteKpiParams) WithHTTPClient ¶
func (o *DeleteKpiParams) WithHTTPClient(client *http.Client) *DeleteKpiParams
WithHTTPClient adds the HTTPClient to the delete kpi params
func (*DeleteKpiParams) WithKpiCanonical ¶
func (o *DeleteKpiParams) WithKpiCanonical(kpiCanonical string) *DeleteKpiParams
WithKpiCanonical adds the kpiCanonical to the delete kpi params
func (*DeleteKpiParams) WithOrganizationCanonical ¶
func (o *DeleteKpiParams) WithOrganizationCanonical(organizationCanonical string) *DeleteKpiParams
WithOrganizationCanonical adds the organizationCanonical to the delete kpi params
func (*DeleteKpiParams) WithProjectCanonical ¶
func (o *DeleteKpiParams) WithProjectCanonical(projectCanonical string) *DeleteKpiParams
WithProjectCanonical adds the projectCanonical to the delete kpi params
func (*DeleteKpiParams) WithTimeout ¶
func (o *DeleteKpiParams) WithTimeout(timeout time.Duration) *DeleteKpiParams
WithTimeout adds the timeout to the delete kpi params
func (*DeleteKpiParams) WriteToRequest ¶
func (o *DeleteKpiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteKpiReader ¶
type DeleteKpiReader struct {
// contains filtered or unexported fields
}
DeleteKpiReader is a Reader for the DeleteKpi structure.
func (*DeleteKpiReader) ReadResponse ¶
func (o *DeleteKpiReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKpiDefault ¶
type GetKpiDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetKpiDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetKpiDefault ¶
func NewGetKpiDefault(code int) *GetKpiDefault
NewGetKpiDefault creates a GetKpiDefault with default headers values
func (*GetKpiDefault) Code ¶
func (o *GetKpiDefault) Code() int
Code gets the status code for the get kpi default response
func (*GetKpiDefault) Error ¶
func (o *GetKpiDefault) Error() string
func (*GetKpiDefault) GetPayload ¶
func (o *GetKpiDefault) GetPayload() *models.ErrorPayload
func (*GetKpiDefault) IsClientError ¶
func (o *GetKpiDefault) IsClientError() bool
IsClientError returns true when this get kpi default response has a 4xx status code
func (*GetKpiDefault) IsCode ¶
func (o *GetKpiDefault) IsCode(code int) bool
IsCode returns true when this get kpi default response a status code equal to that given
func (*GetKpiDefault) IsRedirect ¶
func (o *GetKpiDefault) IsRedirect() bool
IsRedirect returns true when this get kpi default response has a 3xx status code
func (*GetKpiDefault) IsServerError ¶
func (o *GetKpiDefault) IsServerError() bool
IsServerError returns true when this get kpi default response has a 5xx status code
func (*GetKpiDefault) IsSuccess ¶
func (o *GetKpiDefault) IsSuccess() bool
IsSuccess returns true when this get kpi default response has a 2xx status code
func (*GetKpiDefault) String ¶
func (o *GetKpiDefault) String() string
type GetKpiForbidden ¶
type GetKpiForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetKpiForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetKpiForbidden ¶
func NewGetKpiForbidden() *GetKpiForbidden
NewGetKpiForbidden creates a GetKpiForbidden with default headers values
func (*GetKpiForbidden) Code ¶
func (o *GetKpiForbidden) Code() int
Code gets the status code for the get kpi forbidden response
func (*GetKpiForbidden) Error ¶
func (o *GetKpiForbidden) Error() string
func (*GetKpiForbidden) GetPayload ¶
func (o *GetKpiForbidden) GetPayload() *models.ErrorPayload
func (*GetKpiForbidden) IsClientError ¶
func (o *GetKpiForbidden) IsClientError() bool
IsClientError returns true when this get kpi forbidden response has a 4xx status code
func (*GetKpiForbidden) IsCode ¶
func (o *GetKpiForbidden) IsCode(code int) bool
IsCode returns true when this get kpi forbidden response a status code equal to that given
func (*GetKpiForbidden) IsRedirect ¶
func (o *GetKpiForbidden) IsRedirect() bool
IsRedirect returns true when this get kpi forbidden response has a 3xx status code
func (*GetKpiForbidden) IsServerError ¶
func (o *GetKpiForbidden) IsServerError() bool
IsServerError returns true when this get kpi forbidden response has a 5xx status code
func (*GetKpiForbidden) IsSuccess ¶
func (o *GetKpiForbidden) IsSuccess() bool
IsSuccess returns true when this get kpi forbidden response has a 2xx status code
func (*GetKpiForbidden) String ¶
func (o *GetKpiForbidden) String() string
type GetKpiOK ¶
type GetKpiOK struct {
Payload *GetKpiOKBody
}
GetKpiOK describes a response with status code 200, with default header values.
The KPI
func NewGetKpiOK ¶
func NewGetKpiOK() *GetKpiOK
NewGetKpiOK creates a GetKpiOK with default headers values
func (*GetKpiOK) GetPayload ¶
func (o *GetKpiOK) GetPayload() *GetKpiOKBody
func (*GetKpiOK) IsClientError ¶
IsClientError returns true when this get kpi o k response has a 4xx status code
func (*GetKpiOK) IsCode ¶
IsCode returns true when this get kpi o k response a status code equal to that given
func (*GetKpiOK) IsRedirect ¶
IsRedirect returns true when this get kpi o k response has a 3xx status code
func (*GetKpiOK) IsServerError ¶
IsServerError returns true when this get kpi o k response has a 5xx status code
type GetKpiOKBody ¶
GetKpiOKBody get kpi o k body swagger:model GetKpiOKBody
func (*GetKpiOKBody) ContextValidate ¶
ContextValidate validate this get kpi o k body based on the context it is used
func (*GetKpiOKBody) MarshalBinary ¶
func (o *GetKpiOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetKpiOKBody) UnmarshalBinary ¶
func (o *GetKpiOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetKpiParams ¶
type GetKpiParams struct {
/* Begin.
The unix timestamp in milliseconds, which indicate the start of the time range.
Format: uint64
*/
Begin *uint64
/* End.
The unix timestamp in milliseconds, which indicate the end of the time range.
Format: uint64
*/
End *uint64
/* FetchData.
Flag to retrieve KPIs' data upon retrieving KPIs themselves
*/
FetchData *bool
/* KpiCanonical.
A canonical of a kpi.
*/
KpiCanonical string
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
/* ProjectCanonical.
A canonical of a project.
*/
ProjectCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetKpiParams contains all the parameters to send to the API endpoint
for the get kpi operation. Typically these are written to a http.Request.
func NewGetKpiParams ¶
func NewGetKpiParams() *GetKpiParams
NewGetKpiParams creates a new GetKpiParams 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 NewGetKpiParamsWithContext ¶
func NewGetKpiParamsWithContext(ctx context.Context) *GetKpiParams
NewGetKpiParamsWithContext creates a new GetKpiParams object with the ability to set a context for a request.
func NewGetKpiParamsWithHTTPClient ¶
func NewGetKpiParamsWithHTTPClient(client *http.Client) *GetKpiParams
NewGetKpiParamsWithHTTPClient creates a new GetKpiParams object with the ability to set a custom HTTPClient for a request.
func NewGetKpiParamsWithTimeout ¶
func NewGetKpiParamsWithTimeout(timeout time.Duration) *GetKpiParams
NewGetKpiParamsWithTimeout creates a new GetKpiParams object with the ability to set a timeout on a request.
func (*GetKpiParams) SetBegin ¶
func (o *GetKpiParams) SetBegin(begin *uint64)
SetBegin adds the begin to the get kpi params
func (*GetKpiParams) SetContext ¶
func (o *GetKpiParams) SetContext(ctx context.Context)
SetContext adds the context to the get kpi params
func (*GetKpiParams) SetDefaults ¶
func (o *GetKpiParams) SetDefaults()
SetDefaults hydrates default values in the get kpi params (not the query body).
All values with no default are reset to their zero value.
func (*GetKpiParams) SetEnd ¶
func (o *GetKpiParams) SetEnd(end *uint64)
SetEnd adds the end to the get kpi params
func (*GetKpiParams) SetFetchData ¶
func (o *GetKpiParams) SetFetchData(fetchData *bool)
SetFetchData adds the fetchData to the get kpi params
func (*GetKpiParams) SetHTTPClient ¶
func (o *GetKpiParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get kpi params
func (*GetKpiParams) SetKpiCanonical ¶
func (o *GetKpiParams) SetKpiCanonical(kpiCanonical string)
SetKpiCanonical adds the kpiCanonical to the get kpi params
func (*GetKpiParams) SetOrganizationCanonical ¶
func (o *GetKpiParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get kpi params
func (*GetKpiParams) SetProjectCanonical ¶
func (o *GetKpiParams) SetProjectCanonical(projectCanonical string)
SetProjectCanonical adds the projectCanonical to the get kpi params
func (*GetKpiParams) SetTimeout ¶
func (o *GetKpiParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get kpi params
func (*GetKpiParams) WithBegin ¶
func (o *GetKpiParams) WithBegin(begin *uint64) *GetKpiParams
WithBegin adds the begin to the get kpi params
func (*GetKpiParams) WithContext ¶
func (o *GetKpiParams) WithContext(ctx context.Context) *GetKpiParams
WithContext adds the context to the get kpi params
func (*GetKpiParams) WithDefaults ¶
func (o *GetKpiParams) WithDefaults() *GetKpiParams
WithDefaults hydrates default values in the get kpi params (not the query body).
All values with no default are reset to their zero value.
func (*GetKpiParams) WithEnd ¶
func (o *GetKpiParams) WithEnd(end *uint64) *GetKpiParams
WithEnd adds the end to the get kpi params
func (*GetKpiParams) WithFetchData ¶
func (o *GetKpiParams) WithFetchData(fetchData *bool) *GetKpiParams
WithFetchData adds the fetchData to the get kpi params
func (*GetKpiParams) WithHTTPClient ¶
func (o *GetKpiParams) WithHTTPClient(client *http.Client) *GetKpiParams
WithHTTPClient adds the HTTPClient to the get kpi params
func (*GetKpiParams) WithKpiCanonical ¶
func (o *GetKpiParams) WithKpiCanonical(kpiCanonical string) *GetKpiParams
WithKpiCanonical adds the kpiCanonical to the get kpi params
func (*GetKpiParams) WithOrganizationCanonical ¶
func (o *GetKpiParams) WithOrganizationCanonical(organizationCanonical string) *GetKpiParams
WithOrganizationCanonical adds the organizationCanonical to the get kpi params
func (*GetKpiParams) WithProjectCanonical ¶
func (o *GetKpiParams) WithProjectCanonical(projectCanonical string) *GetKpiParams
WithProjectCanonical adds the projectCanonical to the get kpi params
func (*GetKpiParams) WithTimeout ¶
func (o *GetKpiParams) WithTimeout(timeout time.Duration) *GetKpiParams
WithTimeout adds the timeout to the get kpi params
func (*GetKpiParams) WriteToRequest ¶
func (o *GetKpiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKpiReader ¶
type GetKpiReader struct {
// contains filtered or unexported fields
}
GetKpiReader is a Reader for the GetKpi structure.
func (*GetKpiReader) ReadResponse ¶
func (o *GetKpiReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKpiUnprocessableEntity ¶
type GetKpiUnprocessableEntity struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetKpiUnprocessableEntity describes a response with status code 422, with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetKpiUnprocessableEntity ¶
func NewGetKpiUnprocessableEntity() *GetKpiUnprocessableEntity
NewGetKpiUnprocessableEntity creates a GetKpiUnprocessableEntity with default headers values
func (*GetKpiUnprocessableEntity) Code ¶
func (o *GetKpiUnprocessableEntity) Code() int
Code gets the status code for the get kpi unprocessable entity response
func (*GetKpiUnprocessableEntity) Error ¶
func (o *GetKpiUnprocessableEntity) Error() string
func (*GetKpiUnprocessableEntity) GetPayload ¶
func (o *GetKpiUnprocessableEntity) GetPayload() *models.ErrorPayload
func (*GetKpiUnprocessableEntity) IsClientError ¶
func (o *GetKpiUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get kpi unprocessable entity response has a 4xx status code
func (*GetKpiUnprocessableEntity) IsCode ¶
func (o *GetKpiUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get kpi unprocessable entity response a status code equal to that given
func (*GetKpiUnprocessableEntity) IsRedirect ¶
func (o *GetKpiUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get kpi unprocessable entity response has a 3xx status code
func (*GetKpiUnprocessableEntity) IsServerError ¶
func (o *GetKpiUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get kpi unprocessable entity response has a 5xx status code
func (*GetKpiUnprocessableEntity) IsSuccess ¶
func (o *GetKpiUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get kpi unprocessable entity response has a 2xx status code
func (*GetKpiUnprocessableEntity) String ¶
func (o *GetKpiUnprocessableEntity) String() string
type GetKpisDefault ¶
type GetKpisDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetKpisDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetKpisDefault ¶
func NewGetKpisDefault(code int) *GetKpisDefault
NewGetKpisDefault creates a GetKpisDefault with default headers values
func (*GetKpisDefault) Code ¶
func (o *GetKpisDefault) Code() int
Code gets the status code for the get kpis default response
func (*GetKpisDefault) Error ¶
func (o *GetKpisDefault) Error() string
func (*GetKpisDefault) GetPayload ¶
func (o *GetKpisDefault) GetPayload() *models.ErrorPayload
func (*GetKpisDefault) IsClientError ¶
func (o *GetKpisDefault) IsClientError() bool
IsClientError returns true when this get kpis default response has a 4xx status code
func (*GetKpisDefault) IsCode ¶
func (o *GetKpisDefault) IsCode(code int) bool
IsCode returns true when this get kpis default response a status code equal to that given
func (*GetKpisDefault) IsRedirect ¶
func (o *GetKpisDefault) IsRedirect() bool
IsRedirect returns true when this get kpis default response has a 3xx status code
func (*GetKpisDefault) IsServerError ¶
func (o *GetKpisDefault) IsServerError() bool
IsServerError returns true when this get kpis default response has a 5xx status code
func (*GetKpisDefault) IsSuccess ¶
func (o *GetKpisDefault) IsSuccess() bool
IsSuccess returns true when this get kpis default response has a 2xx status code
func (*GetKpisDefault) String ¶
func (o *GetKpisDefault) String() string
type GetKpisForbidden ¶
type GetKpisForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetKpisForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetKpisForbidden ¶
func NewGetKpisForbidden() *GetKpisForbidden
NewGetKpisForbidden creates a GetKpisForbidden with default headers values
func (*GetKpisForbidden) Code ¶
func (o *GetKpisForbidden) Code() int
Code gets the status code for the get kpis forbidden response
func (*GetKpisForbidden) Error ¶
func (o *GetKpisForbidden) Error() string
func (*GetKpisForbidden) GetPayload ¶
func (o *GetKpisForbidden) GetPayload() *models.ErrorPayload
func (*GetKpisForbidden) IsClientError ¶
func (o *GetKpisForbidden) IsClientError() bool
IsClientError returns true when this get kpis forbidden response has a 4xx status code
func (*GetKpisForbidden) IsCode ¶
func (o *GetKpisForbidden) IsCode(code int) bool
IsCode returns true when this get kpis forbidden response a status code equal to that given
func (*GetKpisForbidden) IsRedirect ¶
func (o *GetKpisForbidden) IsRedirect() bool
IsRedirect returns true when this get kpis forbidden response has a 3xx status code
func (*GetKpisForbidden) IsServerError ¶
func (o *GetKpisForbidden) IsServerError() bool
IsServerError returns true when this get kpis forbidden response has a 5xx status code
func (*GetKpisForbidden) IsSuccess ¶
func (o *GetKpisForbidden) IsSuccess() bool
IsSuccess returns true when this get kpis forbidden response has a 2xx status code
func (*GetKpisForbidden) String ¶
func (o *GetKpisForbidden) String() string
type GetKpisOK ¶
type GetKpisOK struct {
Payload *GetKpisOKBody
}
GetKpisOK describes a response with status code 200, with default header values.
The list of the KPIs
func NewGetKpisOK ¶
func NewGetKpisOK() *GetKpisOK
NewGetKpisOK creates a GetKpisOK with default headers values
func (*GetKpisOK) GetPayload ¶
func (o *GetKpisOK) GetPayload() *GetKpisOKBody
func (*GetKpisOK) IsClientError ¶
IsClientError returns true when this get kpis o k response has a 4xx status code
func (*GetKpisOK) IsCode ¶
IsCode returns true when this get kpis o k response a status code equal to that given
func (*GetKpisOK) IsRedirect ¶
IsRedirect returns true when this get kpis o k response has a 3xx status code
func (*GetKpisOK) IsServerError ¶
IsServerError returns true when this get kpis o k response has a 5xx status code
type GetKpisOKBody ¶
type GetKpisOKBody struct {
// data
// Required: true
Data []*models.KPI `json:"data"`
// pagination
Pagination *models.Pagination `json:"pagination,omitempty"`
}
GetKpisOKBody get kpis o k body swagger:model GetKpisOKBody
func (*GetKpisOKBody) ContextValidate ¶
ContextValidate validate this get kpis o k body based on the context it is used
func (*GetKpisOKBody) MarshalBinary ¶
func (o *GetKpisOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetKpisOKBody) UnmarshalBinary ¶
func (o *GetKpisOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetKpisParams ¶
type GetKpisParams struct {
/* Begin.
The unix timestamp in milliseconds, which indicate the start of the time range.
Format: uint64
*/
Begin *uint64
/* ComponentCanonical.
A canonical of a component.
*/
ComponentCanonical *string
/* End.
The unix timestamp in milliseconds, which indicate the end of the time range.
Format: uint64
*/
End *uint64
/* EnvironmentCanonical.
A list of environments' canonical to filter from
*/
EnvironmentCanonical *string
/* Favorite.
Flag to retrieve favorite data from the members favorite list.
*/
Favorite *bool
/* FetchData.
Flag to retrieve KPIs' data upon retrieving KPIs themselves
*/
FetchData *bool
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
/* PageIndex.
The page number to request. The first page is 1.
Format: uint32
Default: 1
*/
PageIndex *uint32
/* PageSize.
The number of items at most which the response can have.
Format: uint32
Default: 1000
*/
PageSize *uint32
/* ProjectCanonical.
A canonical of a project.
*/
ProjectCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetKpisParams contains all the parameters to send to the API endpoint
for the get kpis operation. Typically these are written to a http.Request.
func NewGetKpisParams ¶
func NewGetKpisParams() *GetKpisParams
NewGetKpisParams creates a new GetKpisParams 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 NewGetKpisParamsWithContext ¶
func NewGetKpisParamsWithContext(ctx context.Context) *GetKpisParams
NewGetKpisParamsWithContext creates a new GetKpisParams object with the ability to set a context for a request.
func NewGetKpisParamsWithHTTPClient ¶
func NewGetKpisParamsWithHTTPClient(client *http.Client) *GetKpisParams
NewGetKpisParamsWithHTTPClient creates a new GetKpisParams object with the ability to set a custom HTTPClient for a request.
func NewGetKpisParamsWithTimeout ¶
func NewGetKpisParamsWithTimeout(timeout time.Duration) *GetKpisParams
NewGetKpisParamsWithTimeout creates a new GetKpisParams object with the ability to set a timeout on a request.
func (*GetKpisParams) SetBegin ¶
func (o *GetKpisParams) SetBegin(begin *uint64)
SetBegin adds the begin to the get kpis params
func (*GetKpisParams) SetComponentCanonical ¶
func (o *GetKpisParams) SetComponentCanonical(componentCanonical *string)
SetComponentCanonical adds the componentCanonical to the get kpis params
func (*GetKpisParams) SetContext ¶
func (o *GetKpisParams) SetContext(ctx context.Context)
SetContext adds the context to the get kpis params
func (*GetKpisParams) SetDefaults ¶
func (o *GetKpisParams) SetDefaults()
SetDefaults hydrates default values in the get kpis params (not the query body).
All values with no default are reset to their zero value.
func (*GetKpisParams) SetEnd ¶
func (o *GetKpisParams) SetEnd(end *uint64)
SetEnd adds the end to the get kpis params
func (*GetKpisParams) SetEnvironmentCanonical ¶
func (o *GetKpisParams) SetEnvironmentCanonical(environmentCanonical *string)
SetEnvironmentCanonical adds the environmentCanonical to the get kpis params
func (*GetKpisParams) SetFavorite ¶
func (o *GetKpisParams) SetFavorite(favorite *bool)
SetFavorite adds the favorite to the get kpis params
func (*GetKpisParams) SetFetchData ¶
func (o *GetKpisParams) SetFetchData(fetchData *bool)
SetFetchData adds the fetchData to the get kpis params
func (*GetKpisParams) SetHTTPClient ¶
func (o *GetKpisParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get kpis params
func (*GetKpisParams) SetOrganizationCanonical ¶
func (o *GetKpisParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get kpis params
func (*GetKpisParams) SetPageIndex ¶
func (o *GetKpisParams) SetPageIndex(pageIndex *uint32)
SetPageIndex adds the pageIndex to the get kpis params
func (*GetKpisParams) SetPageSize ¶
func (o *GetKpisParams) SetPageSize(pageSize *uint32)
SetPageSize adds the pageSize to the get kpis params
func (*GetKpisParams) SetProjectCanonical ¶
func (o *GetKpisParams) SetProjectCanonical(projectCanonical string)
SetProjectCanonical adds the projectCanonical to the get kpis params
func (*GetKpisParams) SetTimeout ¶
func (o *GetKpisParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get kpis params
func (*GetKpisParams) WithBegin ¶
func (o *GetKpisParams) WithBegin(begin *uint64) *GetKpisParams
WithBegin adds the begin to the get kpis params
func (*GetKpisParams) WithComponentCanonical ¶
func (o *GetKpisParams) WithComponentCanonical(componentCanonical *string) *GetKpisParams
WithComponentCanonical adds the componentCanonical to the get kpis params
func (*GetKpisParams) WithContext ¶
func (o *GetKpisParams) WithContext(ctx context.Context) *GetKpisParams
WithContext adds the context to the get kpis params
func (*GetKpisParams) WithDefaults ¶
func (o *GetKpisParams) WithDefaults() *GetKpisParams
WithDefaults hydrates default values in the get kpis params (not the query body).
All values with no default are reset to their zero value.
func (*GetKpisParams) WithEnd ¶
func (o *GetKpisParams) WithEnd(end *uint64) *GetKpisParams
WithEnd adds the end to the get kpis params
func (*GetKpisParams) WithEnvironmentCanonical ¶
func (o *GetKpisParams) WithEnvironmentCanonical(environmentCanonical *string) *GetKpisParams
WithEnvironmentCanonical adds the environmentCanonical to the get kpis params
func (*GetKpisParams) WithFavorite ¶
func (o *GetKpisParams) WithFavorite(favorite *bool) *GetKpisParams
WithFavorite adds the favorite to the get kpis params
func (*GetKpisParams) WithFetchData ¶
func (o *GetKpisParams) WithFetchData(fetchData *bool) *GetKpisParams
WithFetchData adds the fetchData to the get kpis params
func (*GetKpisParams) WithHTTPClient ¶
func (o *GetKpisParams) WithHTTPClient(client *http.Client) *GetKpisParams
WithHTTPClient adds the HTTPClient to the get kpis params
func (*GetKpisParams) WithOrganizationCanonical ¶
func (o *GetKpisParams) WithOrganizationCanonical(organizationCanonical string) *GetKpisParams
WithOrganizationCanonical adds the organizationCanonical to the get kpis params
func (*GetKpisParams) WithPageIndex ¶
func (o *GetKpisParams) WithPageIndex(pageIndex *uint32) *GetKpisParams
WithPageIndex adds the pageIndex to the get kpis params
func (*GetKpisParams) WithPageSize ¶
func (o *GetKpisParams) WithPageSize(pageSize *uint32) *GetKpisParams
WithPageSize adds the pageSize to the get kpis params
func (*GetKpisParams) WithProjectCanonical ¶
func (o *GetKpisParams) WithProjectCanonical(projectCanonical string) *GetKpisParams
WithProjectCanonical adds the projectCanonical to the get kpis params
func (*GetKpisParams) WithTimeout ¶
func (o *GetKpisParams) WithTimeout(timeout time.Duration) *GetKpisParams
WithTimeout adds the timeout to the get kpis params
func (*GetKpisParams) WriteToRequest ¶
func (o *GetKpisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKpisReader ¶
type GetKpisReader struct {
// contains filtered or unexported fields
}
GetKpisReader is a Reader for the GetKpis structure.
func (*GetKpisReader) ReadResponse ¶
func (o *GetKpisReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKpisUnprocessableEntity ¶
type GetKpisUnprocessableEntity struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetKpisUnprocessableEntity describes a response with status code 422, with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetKpisUnprocessableEntity ¶
func NewGetKpisUnprocessableEntity() *GetKpisUnprocessableEntity
NewGetKpisUnprocessableEntity creates a GetKpisUnprocessableEntity with default headers values
func (*GetKpisUnprocessableEntity) Code ¶
func (o *GetKpisUnprocessableEntity) Code() int
Code gets the status code for the get kpis unprocessable entity response
func (*GetKpisUnprocessableEntity) Error ¶
func (o *GetKpisUnprocessableEntity) Error() string
func (*GetKpisUnprocessableEntity) GetPayload ¶
func (o *GetKpisUnprocessableEntity) GetPayload() *models.ErrorPayload
func (*GetKpisUnprocessableEntity) IsClientError ¶
func (o *GetKpisUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get kpis unprocessable entity response has a 4xx status code
func (*GetKpisUnprocessableEntity) IsCode ¶
func (o *GetKpisUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get kpis unprocessable entity response a status code equal to that given
func (*GetKpisUnprocessableEntity) IsRedirect ¶
func (o *GetKpisUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get kpis unprocessable entity response has a 3xx status code
func (*GetKpisUnprocessableEntity) IsServerError ¶
func (o *GetKpisUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get kpis unprocessable entity response has a 5xx status code
func (*GetKpisUnprocessableEntity) IsSuccess ¶
func (o *GetKpisUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get kpis unprocessable entity response has a 2xx status code
func (*GetKpisUnprocessableEntity) String ¶
func (o *GetKpisUnprocessableEntity) String() string
type UpdateKpiDefault ¶
type UpdateKpiDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
UpdateKpiDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewUpdateKpiDefault ¶
func NewUpdateKpiDefault(code int) *UpdateKpiDefault
NewUpdateKpiDefault creates a UpdateKpiDefault with default headers values
func (*UpdateKpiDefault) Code ¶
func (o *UpdateKpiDefault) Code() int
Code gets the status code for the update kpi default response
func (*UpdateKpiDefault) Error ¶
func (o *UpdateKpiDefault) Error() string
func (*UpdateKpiDefault) GetPayload ¶
func (o *UpdateKpiDefault) GetPayload() *models.ErrorPayload
func (*UpdateKpiDefault) IsClientError ¶
func (o *UpdateKpiDefault) IsClientError() bool
IsClientError returns true when this update kpi default response has a 4xx status code
func (*UpdateKpiDefault) IsCode ¶
func (o *UpdateKpiDefault) IsCode(code int) bool
IsCode returns true when this update kpi default response a status code equal to that given
func (*UpdateKpiDefault) IsRedirect ¶
func (o *UpdateKpiDefault) IsRedirect() bool
IsRedirect returns true when this update kpi default response has a 3xx status code
func (*UpdateKpiDefault) IsServerError ¶
func (o *UpdateKpiDefault) IsServerError() bool
IsServerError returns true when this update kpi default response has a 5xx status code
func (*UpdateKpiDefault) IsSuccess ¶
func (o *UpdateKpiDefault) IsSuccess() bool
IsSuccess returns true when this update kpi default response has a 2xx status code
func (*UpdateKpiDefault) String ¶
func (o *UpdateKpiDefault) String() string
type UpdateKpiForbidden ¶
type UpdateKpiForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
UpdateKpiForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewUpdateKpiForbidden ¶
func NewUpdateKpiForbidden() *UpdateKpiForbidden
NewUpdateKpiForbidden creates a UpdateKpiForbidden with default headers values
func (*UpdateKpiForbidden) Code ¶
func (o *UpdateKpiForbidden) Code() int
Code gets the status code for the update kpi forbidden response
func (*UpdateKpiForbidden) Error ¶
func (o *UpdateKpiForbidden) Error() string
func (*UpdateKpiForbidden) GetPayload ¶
func (o *UpdateKpiForbidden) GetPayload() *models.ErrorPayload
func (*UpdateKpiForbidden) IsClientError ¶
func (o *UpdateKpiForbidden) IsClientError() bool
IsClientError returns true when this update kpi forbidden response has a 4xx status code
func (*UpdateKpiForbidden) IsCode ¶
func (o *UpdateKpiForbidden) IsCode(code int) bool
IsCode returns true when this update kpi forbidden response a status code equal to that given
func (*UpdateKpiForbidden) IsRedirect ¶
func (o *UpdateKpiForbidden) IsRedirect() bool
IsRedirect returns true when this update kpi forbidden response has a 3xx status code
func (*UpdateKpiForbidden) IsServerError ¶
func (o *UpdateKpiForbidden) IsServerError() bool
IsServerError returns true when this update kpi forbidden response has a 5xx status code
func (*UpdateKpiForbidden) IsSuccess ¶
func (o *UpdateKpiForbidden) IsSuccess() bool
IsSuccess returns true when this update kpi forbidden response has a 2xx status code
func (*UpdateKpiForbidden) String ¶
func (o *UpdateKpiForbidden) String() string
type UpdateKpiLengthRequired ¶
type UpdateKpiLengthRequired struct {
}
UpdateKpiLengthRequired describes a response with status code 411, with default header values.
The request has a body but it doesn't have a Content-Length header.
func NewUpdateKpiLengthRequired ¶
func NewUpdateKpiLengthRequired() *UpdateKpiLengthRequired
NewUpdateKpiLengthRequired creates a UpdateKpiLengthRequired with default headers values
func (*UpdateKpiLengthRequired) Code ¶
func (o *UpdateKpiLengthRequired) Code() int
Code gets the status code for the update kpi length required response
func (*UpdateKpiLengthRequired) Error ¶
func (o *UpdateKpiLengthRequired) Error() string
func (*UpdateKpiLengthRequired) IsClientError ¶
func (o *UpdateKpiLengthRequired) IsClientError() bool
IsClientError returns true when this update kpi length required response has a 4xx status code
func (*UpdateKpiLengthRequired) IsCode ¶
func (o *UpdateKpiLengthRequired) IsCode(code int) bool
IsCode returns true when this update kpi length required response a status code equal to that given
func (*UpdateKpiLengthRequired) IsRedirect ¶
func (o *UpdateKpiLengthRequired) IsRedirect() bool
IsRedirect returns true when this update kpi length required response has a 3xx status code
func (*UpdateKpiLengthRequired) IsServerError ¶
func (o *UpdateKpiLengthRequired) IsServerError() bool
IsServerError returns true when this update kpi length required response has a 5xx status code
func (*UpdateKpiLengthRequired) IsSuccess ¶
func (o *UpdateKpiLengthRequired) IsSuccess() bool
IsSuccess returns true when this update kpi length required response has a 2xx status code
func (*UpdateKpiLengthRequired) String ¶
func (o *UpdateKpiLengthRequired) String() string
type UpdateKpiNotFound ¶
type UpdateKpiNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
UpdateKpiNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewUpdateKpiNotFound ¶
func NewUpdateKpiNotFound() *UpdateKpiNotFound
NewUpdateKpiNotFound creates a UpdateKpiNotFound with default headers values
func (*UpdateKpiNotFound) Code ¶
func (o *UpdateKpiNotFound) Code() int
Code gets the status code for the update kpi not found response
func (*UpdateKpiNotFound) Error ¶
func (o *UpdateKpiNotFound) Error() string
func (*UpdateKpiNotFound) GetPayload ¶
func (o *UpdateKpiNotFound) GetPayload() *models.ErrorPayload
func (*UpdateKpiNotFound) IsClientError ¶
func (o *UpdateKpiNotFound) IsClientError() bool
IsClientError returns true when this update kpi not found response has a 4xx status code
func (*UpdateKpiNotFound) IsCode ¶
func (o *UpdateKpiNotFound) IsCode(code int) bool
IsCode returns true when this update kpi not found response a status code equal to that given
func (*UpdateKpiNotFound) IsRedirect ¶
func (o *UpdateKpiNotFound) IsRedirect() bool
IsRedirect returns true when this update kpi not found response has a 3xx status code
func (*UpdateKpiNotFound) IsServerError ¶
func (o *UpdateKpiNotFound) IsServerError() bool
IsServerError returns true when this update kpi not found response has a 5xx status code
func (*UpdateKpiNotFound) IsSuccess ¶
func (o *UpdateKpiNotFound) IsSuccess() bool
IsSuccess returns true when this update kpi not found response has a 2xx status code
func (*UpdateKpiNotFound) String ¶
func (o *UpdateKpiNotFound) String() string
type UpdateKpiOK ¶
type UpdateKpiOK struct {
Payload *UpdateKpiOKBody
}
UpdateKpiOK describes a response with status code 200, with default header values.
Success update
func NewUpdateKpiOK ¶
func NewUpdateKpiOK() *UpdateKpiOK
NewUpdateKpiOK creates a UpdateKpiOK with default headers values
func (*UpdateKpiOK) Code ¶
func (o *UpdateKpiOK) Code() int
Code gets the status code for the update kpi o k response
func (*UpdateKpiOK) Error ¶
func (o *UpdateKpiOK) Error() string
func (*UpdateKpiOK) GetPayload ¶
func (o *UpdateKpiOK) GetPayload() *UpdateKpiOKBody
func (*UpdateKpiOK) IsClientError ¶
func (o *UpdateKpiOK) IsClientError() bool
IsClientError returns true when this update kpi o k response has a 4xx status code
func (*UpdateKpiOK) IsCode ¶
func (o *UpdateKpiOK) IsCode(code int) bool
IsCode returns true when this update kpi o k response a status code equal to that given
func (*UpdateKpiOK) IsRedirect ¶
func (o *UpdateKpiOK) IsRedirect() bool
IsRedirect returns true when this update kpi o k response has a 3xx status code
func (*UpdateKpiOK) IsServerError ¶
func (o *UpdateKpiOK) IsServerError() bool
IsServerError returns true when this update kpi o k response has a 5xx status code
func (*UpdateKpiOK) IsSuccess ¶
func (o *UpdateKpiOK) IsSuccess() bool
IsSuccess returns true when this update kpi o k response has a 2xx status code
func (*UpdateKpiOK) String ¶
func (o *UpdateKpiOK) String() string
type UpdateKpiOKBody ¶
UpdateKpiOKBody update kpi o k body swagger:model UpdateKpiOKBody
func (*UpdateKpiOKBody) ContextValidate ¶
ContextValidate validate this update kpi o k body based on the context it is used
func (*UpdateKpiOKBody) MarshalBinary ¶
func (o *UpdateKpiOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateKpiOKBody) UnmarshalBinary ¶
func (o *UpdateKpiOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateKpiParams ¶
type UpdateKpiParams struct {
/* Begin.
The unix timestamp in milliseconds, which indicate the start of the time range.
Format: uint64
*/
Begin *uint64
/* Body.
The information of the KPI new data
*/
Body *models.NewKPI
/* End.
The unix timestamp in milliseconds, which indicate the end of the time range.
Format: uint64
*/
End *uint64
/* FetchData.
Flag to retrieve KPIs' data upon retrieving KPIs themselves
*/
FetchData *bool
/* KpiCanonical.
A canonical of a kpi.
*/
KpiCanonical string
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
/* ProjectCanonical.
A canonical of a project.
*/
ProjectCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateKpiParams contains all the parameters to send to the API endpoint
for the update kpi operation. Typically these are written to a http.Request.
func NewUpdateKpiParams ¶
func NewUpdateKpiParams() *UpdateKpiParams
NewUpdateKpiParams creates a new UpdateKpiParams 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 NewUpdateKpiParamsWithContext ¶
func NewUpdateKpiParamsWithContext(ctx context.Context) *UpdateKpiParams
NewUpdateKpiParamsWithContext creates a new UpdateKpiParams object with the ability to set a context for a request.
func NewUpdateKpiParamsWithHTTPClient ¶
func NewUpdateKpiParamsWithHTTPClient(client *http.Client) *UpdateKpiParams
NewUpdateKpiParamsWithHTTPClient creates a new UpdateKpiParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateKpiParamsWithTimeout ¶
func NewUpdateKpiParamsWithTimeout(timeout time.Duration) *UpdateKpiParams
NewUpdateKpiParamsWithTimeout creates a new UpdateKpiParams object with the ability to set a timeout on a request.
func (*UpdateKpiParams) SetBegin ¶
func (o *UpdateKpiParams) SetBegin(begin *uint64)
SetBegin adds the begin to the update kpi params
func (*UpdateKpiParams) SetBody ¶
func (o *UpdateKpiParams) SetBody(body *models.NewKPI)
SetBody adds the body to the update kpi params
func (*UpdateKpiParams) SetContext ¶
func (o *UpdateKpiParams) SetContext(ctx context.Context)
SetContext adds the context to the update kpi params
func (*UpdateKpiParams) SetDefaults ¶
func (o *UpdateKpiParams) SetDefaults()
SetDefaults hydrates default values in the update kpi params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateKpiParams) SetEnd ¶
func (o *UpdateKpiParams) SetEnd(end *uint64)
SetEnd adds the end to the update kpi params
func (*UpdateKpiParams) SetFetchData ¶
func (o *UpdateKpiParams) SetFetchData(fetchData *bool)
SetFetchData adds the fetchData to the update kpi params
func (*UpdateKpiParams) SetHTTPClient ¶
func (o *UpdateKpiParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update kpi params
func (*UpdateKpiParams) SetKpiCanonical ¶
func (o *UpdateKpiParams) SetKpiCanonical(kpiCanonical string)
SetKpiCanonical adds the kpiCanonical to the update kpi params
func (*UpdateKpiParams) SetOrganizationCanonical ¶
func (o *UpdateKpiParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the update kpi params
func (*UpdateKpiParams) SetProjectCanonical ¶
func (o *UpdateKpiParams) SetProjectCanonical(projectCanonical string)
SetProjectCanonical adds the projectCanonical to the update kpi params
func (*UpdateKpiParams) SetTimeout ¶
func (o *UpdateKpiParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update kpi params
func (*UpdateKpiParams) WithBegin ¶
func (o *UpdateKpiParams) WithBegin(begin *uint64) *UpdateKpiParams
WithBegin adds the begin to the update kpi params
func (*UpdateKpiParams) WithBody ¶
func (o *UpdateKpiParams) WithBody(body *models.NewKPI) *UpdateKpiParams
WithBody adds the body to the update kpi params
func (*UpdateKpiParams) WithContext ¶
func (o *UpdateKpiParams) WithContext(ctx context.Context) *UpdateKpiParams
WithContext adds the context to the update kpi params
func (*UpdateKpiParams) WithDefaults ¶
func (o *UpdateKpiParams) WithDefaults() *UpdateKpiParams
WithDefaults hydrates default values in the update kpi params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateKpiParams) WithEnd ¶
func (o *UpdateKpiParams) WithEnd(end *uint64) *UpdateKpiParams
WithEnd adds the end to the update kpi params
func (*UpdateKpiParams) WithFetchData ¶
func (o *UpdateKpiParams) WithFetchData(fetchData *bool) *UpdateKpiParams
WithFetchData adds the fetchData to the update kpi params
func (*UpdateKpiParams) WithHTTPClient ¶
func (o *UpdateKpiParams) WithHTTPClient(client *http.Client) *UpdateKpiParams
WithHTTPClient adds the HTTPClient to the update kpi params
func (*UpdateKpiParams) WithKpiCanonical ¶
func (o *UpdateKpiParams) WithKpiCanonical(kpiCanonical string) *UpdateKpiParams
WithKpiCanonical adds the kpiCanonical to the update kpi params
func (*UpdateKpiParams) WithOrganizationCanonical ¶
func (o *UpdateKpiParams) WithOrganizationCanonical(organizationCanonical string) *UpdateKpiParams
WithOrganizationCanonical adds the organizationCanonical to the update kpi params
func (*UpdateKpiParams) WithProjectCanonical ¶
func (o *UpdateKpiParams) WithProjectCanonical(projectCanonical string) *UpdateKpiParams
WithProjectCanonical adds the projectCanonical to the update kpi params
func (*UpdateKpiParams) WithTimeout ¶
func (o *UpdateKpiParams) WithTimeout(timeout time.Duration) *UpdateKpiParams
WithTimeout adds the timeout to the update kpi params
func (*UpdateKpiParams) WriteToRequest ¶
func (o *UpdateKpiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateKpiReader ¶
type UpdateKpiReader struct {
// contains filtered or unexported fields
}
UpdateKpiReader is a Reader for the UpdateKpi structure.
func (*UpdateKpiReader) ReadResponse ¶
func (o *UpdateKpiReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateKpiUnprocessableEntity ¶
type UpdateKpiUnprocessableEntity struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
UpdateKpiUnprocessableEntity describes a response with status code 422, with default header values.
All the custom errors that are generated from the Cycloid API
func NewUpdateKpiUnprocessableEntity ¶
func NewUpdateKpiUnprocessableEntity() *UpdateKpiUnprocessableEntity
NewUpdateKpiUnprocessableEntity creates a UpdateKpiUnprocessableEntity with default headers values
func (*UpdateKpiUnprocessableEntity) Code ¶
func (o *UpdateKpiUnprocessableEntity) Code() int
Code gets the status code for the update kpi unprocessable entity response
func (*UpdateKpiUnprocessableEntity) Error ¶
func (o *UpdateKpiUnprocessableEntity) Error() string
func (*UpdateKpiUnprocessableEntity) GetPayload ¶
func (o *UpdateKpiUnprocessableEntity) GetPayload() *models.ErrorPayload
func (*UpdateKpiUnprocessableEntity) IsClientError ¶
func (o *UpdateKpiUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update kpi unprocessable entity response has a 4xx status code
func (*UpdateKpiUnprocessableEntity) IsCode ¶
func (o *UpdateKpiUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update kpi unprocessable entity response a status code equal to that given
func (*UpdateKpiUnprocessableEntity) IsRedirect ¶
func (o *UpdateKpiUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update kpi unprocessable entity response has a 3xx status code
func (*UpdateKpiUnprocessableEntity) IsServerError ¶
func (o *UpdateKpiUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update kpi unprocessable entity response has a 5xx status code
func (*UpdateKpiUnprocessableEntity) IsSuccess ¶
func (o *UpdateKpiUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update kpi unprocessable entity response has a 2xx status code
func (*UpdateKpiUnprocessableEntity) String ¶
func (o *UpdateKpiUnprocessableEntity) String() string
Source Files
¶
- create_k_p_i_favorite_parameters.go
- create_k_p_i_favorite_responses.go
- create_kpi_parameters.go
- create_kpi_responses.go
- delete_k_p_i_favorite_parameters.go
- delete_k_p_i_favorite_responses.go
- delete_kpi_parameters.go
- delete_kpi_responses.go
- get_kpi_parameters.go
- get_kpi_responses.go
- get_kpis_parameters.go
- get_kpis_responses.go
- projectkp_is_client.go
- update_kpi_parameters.go
- update_kpi_responses.go