Documentation ¶
Index ¶
- type CalculateDashboardDiffForbidden
- func (o *CalculateDashboardDiffForbidden) Code() int
- func (o *CalculateDashboardDiffForbidden) Error() string
- func (o *CalculateDashboardDiffForbidden) GetPayload() *models.ErrorResponseBody
- func (o *CalculateDashboardDiffForbidden) IsClientError() bool
- func (o *CalculateDashboardDiffForbidden) IsCode(code int) bool
- func (o *CalculateDashboardDiffForbidden) IsRedirect() bool
- func (o *CalculateDashboardDiffForbidden) IsServerError() bool
- func (o *CalculateDashboardDiffForbidden) IsSuccess() bool
- func (o *CalculateDashboardDiffForbidden) String() string
- type CalculateDashboardDiffInternalServerError
- func (o *CalculateDashboardDiffInternalServerError) Code() int
- func (o *CalculateDashboardDiffInternalServerError) Error() string
- func (o *CalculateDashboardDiffInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *CalculateDashboardDiffInternalServerError) IsClientError() bool
- func (o *CalculateDashboardDiffInternalServerError) IsCode(code int) bool
- func (o *CalculateDashboardDiffInternalServerError) IsRedirect() bool
- func (o *CalculateDashboardDiffInternalServerError) IsServerError() bool
- func (o *CalculateDashboardDiffInternalServerError) IsSuccess() bool
- func (o *CalculateDashboardDiffInternalServerError) String() string
- type CalculateDashboardDiffOK
- func (o *CalculateDashboardDiffOK) Code() int
- func (o *CalculateDashboardDiffOK) Error() string
- func (o *CalculateDashboardDiffOK) GetPayload() []uint8
- func (o *CalculateDashboardDiffOK) IsClientError() bool
- func (o *CalculateDashboardDiffOK) IsCode(code int) bool
- func (o *CalculateDashboardDiffOK) IsRedirect() bool
- func (o *CalculateDashboardDiffOK) IsServerError() bool
- func (o *CalculateDashboardDiffOK) IsSuccess() bool
- func (o *CalculateDashboardDiffOK) String() string
- type CalculateDashboardDiffParams
- func NewCalculateDashboardDiffParams() *CalculateDashboardDiffParams
- func NewCalculateDashboardDiffParamsWithContext(ctx context.Context) *CalculateDashboardDiffParams
- func NewCalculateDashboardDiffParamsWithHTTPClient(client *http.Client) *CalculateDashboardDiffParams
- func NewCalculateDashboardDiffParamsWithTimeout(timeout time.Duration) *CalculateDashboardDiffParams
- func (o *CalculateDashboardDiffParams) SetBody(body *models.CalculateDashboardDiffParamsBody)
- func (o *CalculateDashboardDiffParams) SetContext(ctx context.Context)
- func (o *CalculateDashboardDiffParams) SetDefaults()
- func (o *CalculateDashboardDiffParams) SetHTTPClient(client *http.Client)
- func (o *CalculateDashboardDiffParams) SetTimeout(timeout time.Duration)
- func (o *CalculateDashboardDiffParams) WithBody(body *models.CalculateDashboardDiffParamsBody) *CalculateDashboardDiffParams
- func (o *CalculateDashboardDiffParams) WithContext(ctx context.Context) *CalculateDashboardDiffParams
- func (o *CalculateDashboardDiffParams) WithDefaults() *CalculateDashboardDiffParams
- func (o *CalculateDashboardDiffParams) WithHTTPClient(client *http.Client) *CalculateDashboardDiffParams
- func (o *CalculateDashboardDiffParams) WithTimeout(timeout time.Duration) *CalculateDashboardDiffParams
- func (o *CalculateDashboardDiffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CalculateDashboardDiffReader
- type CalculateDashboardDiffUnauthorized
- func (o *CalculateDashboardDiffUnauthorized) Code() int
- func (o *CalculateDashboardDiffUnauthorized) Error() string
- func (o *CalculateDashboardDiffUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *CalculateDashboardDiffUnauthorized) IsClientError() bool
- func (o *CalculateDashboardDiffUnauthorized) IsCode(code int) bool
- func (o *CalculateDashboardDiffUnauthorized) IsRedirect() bool
- func (o *CalculateDashboardDiffUnauthorized) IsServerError() bool
- func (o *CalculateDashboardDiffUnauthorized) IsSuccess() bool
- func (o *CalculateDashboardDiffUnauthorized) String() string
- type Client
- func (a *Client) CalculateDashboardDiff(body *models.CalculateDashboardDiffParamsBody, opts ...ClientOption) (*CalculateDashboardDiffOK, error)
- func (a *Client) CalculateDashboardDiffWithParams(params *CalculateDashboardDiffParams, opts ...ClientOption) (*CalculateDashboardDiffOK, error)
- func (a *Client) DeleteDashboardByUID(uid string, opts ...ClientOption) (*DeleteDashboardByUIDOK, error)
- func (a *Client) DeleteDashboardByUIDWithParams(params *DeleteDashboardByUIDParams, opts ...ClientOption) (*DeleteDashboardByUIDOK, error)
- func (a *Client) GetDashboardByUID(uid string, opts ...ClientOption) (*GetDashboardByUIDOK, error)
- func (a *Client) GetDashboardByUIDWithParams(params *GetDashboardByUIDParams, opts ...ClientOption) (*GetDashboardByUIDOK, error)
- func (a *Client) GetDashboardTags(opts ...ClientOption) (*GetDashboardTagsOK, error)
- func (a *Client) GetDashboardTagsWithParams(params *GetDashboardTagsParams, opts ...ClientOption) (*GetDashboardTagsOK, error)
- func (a *Client) GetHomeDashboard(opts ...ClientOption) (*GetHomeDashboardOK, error)
- func (a *Client) GetHomeDashboardWithParams(params *GetHomeDashboardParams, opts ...ClientOption) (*GetHomeDashboardOK, error)
- func (a *Client) HardDeleteDashboardByUID(uid string, opts ...ClientOption) (*HardDeleteDashboardByUIDOK, error)
- func (a *Client) HardDeleteDashboardByUIDWithParams(params *HardDeleteDashboardByUIDParams, opts ...ClientOption) (*HardDeleteDashboardByUIDOK, error)
- func (a *Client) ImportDashboard(body *models.ImportDashboardRequest, opts ...ClientOption) (*ImportDashboardOK, error)
- func (a *Client) ImportDashboardWithParams(params *ImportDashboardParams, opts ...ClientOption) (*ImportDashboardOK, error)
- func (a *Client) PostDashboard(body *models.SaveDashboardCommand, opts ...ClientOption) (*PostDashboardOK, error)
- func (a *Client) PostDashboardWithParams(params *PostDashboardParams, opts ...ClientOption) (*PostDashboardOK, error)
- func (a *Client) RestoreDeletedDashboardByUID(uid string, body *models.RestoreDeletedDashboardCommand, opts ...ClientOption) (*RestoreDeletedDashboardByUIDOK, error)
- func (a *Client) RestoreDeletedDashboardByUIDWithParams(params *RestoreDeletedDashboardByUIDParams, opts ...ClientOption) (*RestoreDeletedDashboardByUIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteDashboardByUIDForbidden
- func (o *DeleteDashboardByUIDForbidden) Code() int
- func (o *DeleteDashboardByUIDForbidden) Error() string
- func (o *DeleteDashboardByUIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *DeleteDashboardByUIDForbidden) IsClientError() bool
- func (o *DeleteDashboardByUIDForbidden) IsCode(code int) bool
- func (o *DeleteDashboardByUIDForbidden) IsRedirect() bool
- func (o *DeleteDashboardByUIDForbidden) IsServerError() bool
- func (o *DeleteDashboardByUIDForbidden) IsSuccess() bool
- func (o *DeleteDashboardByUIDForbidden) String() string
- type DeleteDashboardByUIDInternalServerError
- func (o *DeleteDashboardByUIDInternalServerError) Code() int
- func (o *DeleteDashboardByUIDInternalServerError) Error() string
- func (o *DeleteDashboardByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *DeleteDashboardByUIDInternalServerError) IsClientError() bool
- func (o *DeleteDashboardByUIDInternalServerError) IsCode(code int) bool
- func (o *DeleteDashboardByUIDInternalServerError) IsRedirect() bool
- func (o *DeleteDashboardByUIDInternalServerError) IsServerError() bool
- func (o *DeleteDashboardByUIDInternalServerError) IsSuccess() bool
- func (o *DeleteDashboardByUIDInternalServerError) String() string
- type DeleteDashboardByUIDNotFound
- func (o *DeleteDashboardByUIDNotFound) Code() int
- func (o *DeleteDashboardByUIDNotFound) Error() string
- func (o *DeleteDashboardByUIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *DeleteDashboardByUIDNotFound) IsClientError() bool
- func (o *DeleteDashboardByUIDNotFound) IsCode(code int) bool
- func (o *DeleteDashboardByUIDNotFound) IsRedirect() bool
- func (o *DeleteDashboardByUIDNotFound) IsServerError() bool
- func (o *DeleteDashboardByUIDNotFound) IsSuccess() bool
- func (o *DeleteDashboardByUIDNotFound) String() string
- type DeleteDashboardByUIDOK
- func (o *DeleteDashboardByUIDOK) Code() int
- func (o *DeleteDashboardByUIDOK) Error() string
- func (o *DeleteDashboardByUIDOK) GetPayload() *models.DeleteDashboardByUIDOKBody
- func (o *DeleteDashboardByUIDOK) IsClientError() bool
- func (o *DeleteDashboardByUIDOK) IsCode(code int) bool
- func (o *DeleteDashboardByUIDOK) IsRedirect() bool
- func (o *DeleteDashboardByUIDOK) IsServerError() bool
- func (o *DeleteDashboardByUIDOK) IsSuccess() bool
- func (o *DeleteDashboardByUIDOK) String() string
- type DeleteDashboardByUIDParams
- func NewDeleteDashboardByUIDParams() *DeleteDashboardByUIDParams
- func NewDeleteDashboardByUIDParamsWithContext(ctx context.Context) *DeleteDashboardByUIDParams
- func NewDeleteDashboardByUIDParamsWithHTTPClient(client *http.Client) *DeleteDashboardByUIDParams
- func NewDeleteDashboardByUIDParamsWithTimeout(timeout time.Duration) *DeleteDashboardByUIDParams
- func (o *DeleteDashboardByUIDParams) SetContext(ctx context.Context)
- func (o *DeleteDashboardByUIDParams) SetDefaults()
- func (o *DeleteDashboardByUIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDashboardByUIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDashboardByUIDParams) SetUID(uid string)
- func (o *DeleteDashboardByUIDParams) WithContext(ctx context.Context) *DeleteDashboardByUIDParams
- func (o *DeleteDashboardByUIDParams) WithDefaults() *DeleteDashboardByUIDParams
- func (o *DeleteDashboardByUIDParams) WithHTTPClient(client *http.Client) *DeleteDashboardByUIDParams
- func (o *DeleteDashboardByUIDParams) WithTimeout(timeout time.Duration) *DeleteDashboardByUIDParams
- func (o *DeleteDashboardByUIDParams) WithUID(uid string) *DeleteDashboardByUIDParams
- func (o *DeleteDashboardByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDashboardByUIDReader
- type DeleteDashboardByUIDUnauthorized
- func (o *DeleteDashboardByUIDUnauthorized) Code() int
- func (o *DeleteDashboardByUIDUnauthorized) Error() string
- func (o *DeleteDashboardByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *DeleteDashboardByUIDUnauthorized) IsClientError() bool
- func (o *DeleteDashboardByUIDUnauthorized) IsCode(code int) bool
- func (o *DeleteDashboardByUIDUnauthorized) IsRedirect() bool
- func (o *DeleteDashboardByUIDUnauthorized) IsServerError() bool
- func (o *DeleteDashboardByUIDUnauthorized) IsSuccess() bool
- func (o *DeleteDashboardByUIDUnauthorized) String() string
- type GetDashboardByUIDForbidden
- func (o *GetDashboardByUIDForbidden) Code() int
- func (o *GetDashboardByUIDForbidden) Error() string
- func (o *GetDashboardByUIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardByUIDForbidden) IsClientError() bool
- func (o *GetDashboardByUIDForbidden) IsCode(code int) bool
- func (o *GetDashboardByUIDForbidden) IsRedirect() bool
- func (o *GetDashboardByUIDForbidden) IsServerError() bool
- func (o *GetDashboardByUIDForbidden) IsSuccess() bool
- func (o *GetDashboardByUIDForbidden) String() string
- type GetDashboardByUIDInternalServerError
- func (o *GetDashboardByUIDInternalServerError) Code() int
- func (o *GetDashboardByUIDInternalServerError) Error() string
- func (o *GetDashboardByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardByUIDInternalServerError) IsClientError() bool
- func (o *GetDashboardByUIDInternalServerError) IsCode(code int) bool
- func (o *GetDashboardByUIDInternalServerError) IsRedirect() bool
- func (o *GetDashboardByUIDInternalServerError) IsServerError() bool
- func (o *GetDashboardByUIDInternalServerError) IsSuccess() bool
- func (o *GetDashboardByUIDInternalServerError) String() string
- type GetDashboardByUIDNotFound
- func (o *GetDashboardByUIDNotFound) Code() int
- func (o *GetDashboardByUIDNotFound) Error() string
- func (o *GetDashboardByUIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardByUIDNotFound) IsClientError() bool
- func (o *GetDashboardByUIDNotFound) IsCode(code int) bool
- func (o *GetDashboardByUIDNotFound) IsRedirect() bool
- func (o *GetDashboardByUIDNotFound) IsServerError() bool
- func (o *GetDashboardByUIDNotFound) IsSuccess() bool
- func (o *GetDashboardByUIDNotFound) String() string
- type GetDashboardByUIDOK
- func (o *GetDashboardByUIDOK) Code() int
- func (o *GetDashboardByUIDOK) Error() string
- func (o *GetDashboardByUIDOK) GetPayload() *models.DashboardFullWithMeta
- func (o *GetDashboardByUIDOK) IsClientError() bool
- func (o *GetDashboardByUIDOK) IsCode(code int) bool
- func (o *GetDashboardByUIDOK) IsRedirect() bool
- func (o *GetDashboardByUIDOK) IsServerError() bool
- func (o *GetDashboardByUIDOK) IsSuccess() bool
- func (o *GetDashboardByUIDOK) String() string
- type GetDashboardByUIDParams
- func NewGetDashboardByUIDParams() *GetDashboardByUIDParams
- func NewGetDashboardByUIDParamsWithContext(ctx context.Context) *GetDashboardByUIDParams
- func NewGetDashboardByUIDParamsWithHTTPClient(client *http.Client) *GetDashboardByUIDParams
- func NewGetDashboardByUIDParamsWithTimeout(timeout time.Duration) *GetDashboardByUIDParams
- func (o *GetDashboardByUIDParams) SetContext(ctx context.Context)
- func (o *GetDashboardByUIDParams) SetDefaults()
- func (o *GetDashboardByUIDParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardByUIDParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardByUIDParams) SetUID(uid string)
- func (o *GetDashboardByUIDParams) WithContext(ctx context.Context) *GetDashboardByUIDParams
- func (o *GetDashboardByUIDParams) WithDefaults() *GetDashboardByUIDParams
- func (o *GetDashboardByUIDParams) WithHTTPClient(client *http.Client) *GetDashboardByUIDParams
- func (o *GetDashboardByUIDParams) WithTimeout(timeout time.Duration) *GetDashboardByUIDParams
- func (o *GetDashboardByUIDParams) WithUID(uid string) *GetDashboardByUIDParams
- func (o *GetDashboardByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardByUIDReader
- type GetDashboardByUIDUnauthorized
- func (o *GetDashboardByUIDUnauthorized) Code() int
- func (o *GetDashboardByUIDUnauthorized) Error() string
- func (o *GetDashboardByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardByUIDUnauthorized) IsClientError() bool
- func (o *GetDashboardByUIDUnauthorized) IsCode(code int) bool
- func (o *GetDashboardByUIDUnauthorized) IsRedirect() bool
- func (o *GetDashboardByUIDUnauthorized) IsServerError() bool
- func (o *GetDashboardByUIDUnauthorized) IsSuccess() bool
- func (o *GetDashboardByUIDUnauthorized) String() string
- type GetDashboardTagsInternalServerError
- func (o *GetDashboardTagsInternalServerError) Code() int
- func (o *GetDashboardTagsInternalServerError) Error() string
- func (o *GetDashboardTagsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardTagsInternalServerError) IsClientError() bool
- func (o *GetDashboardTagsInternalServerError) IsCode(code int) bool
- func (o *GetDashboardTagsInternalServerError) IsRedirect() bool
- func (o *GetDashboardTagsInternalServerError) IsServerError() bool
- func (o *GetDashboardTagsInternalServerError) IsSuccess() bool
- func (o *GetDashboardTagsInternalServerError) String() string
- type GetDashboardTagsOK
- func (o *GetDashboardTagsOK) Code() int
- func (o *GetDashboardTagsOK) Error() string
- func (o *GetDashboardTagsOK) GetPayload() []*models.DashboardTagCloudItem
- func (o *GetDashboardTagsOK) IsClientError() bool
- func (o *GetDashboardTagsOK) IsCode(code int) bool
- func (o *GetDashboardTagsOK) IsRedirect() bool
- func (o *GetDashboardTagsOK) IsServerError() bool
- func (o *GetDashboardTagsOK) IsSuccess() bool
- func (o *GetDashboardTagsOK) String() string
- type GetDashboardTagsParams
- func NewGetDashboardTagsParams() *GetDashboardTagsParams
- func NewGetDashboardTagsParamsWithContext(ctx context.Context) *GetDashboardTagsParams
- func NewGetDashboardTagsParamsWithHTTPClient(client *http.Client) *GetDashboardTagsParams
- func NewGetDashboardTagsParamsWithTimeout(timeout time.Duration) *GetDashboardTagsParams
- func (o *GetDashboardTagsParams) SetContext(ctx context.Context)
- func (o *GetDashboardTagsParams) SetDefaults()
- func (o *GetDashboardTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardTagsParams) WithContext(ctx context.Context) *GetDashboardTagsParams
- func (o *GetDashboardTagsParams) WithDefaults() *GetDashboardTagsParams
- func (o *GetDashboardTagsParams) WithHTTPClient(client *http.Client) *GetDashboardTagsParams
- func (o *GetDashboardTagsParams) WithTimeout(timeout time.Duration) *GetDashboardTagsParams
- func (o *GetDashboardTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardTagsReader
- type GetDashboardTagsUnauthorized
- func (o *GetDashboardTagsUnauthorized) Code() int
- func (o *GetDashboardTagsUnauthorized) Error() string
- func (o *GetDashboardTagsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardTagsUnauthorized) IsClientError() bool
- func (o *GetDashboardTagsUnauthorized) IsCode(code int) bool
- func (o *GetDashboardTagsUnauthorized) IsRedirect() bool
- func (o *GetDashboardTagsUnauthorized) IsServerError() bool
- func (o *GetDashboardTagsUnauthorized) IsSuccess() bool
- func (o *GetDashboardTagsUnauthorized) String() string
- type GetHomeDashboardInternalServerError
- func (o *GetHomeDashboardInternalServerError) Code() int
- func (o *GetHomeDashboardInternalServerError) Error() string
- func (o *GetHomeDashboardInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetHomeDashboardInternalServerError) IsClientError() bool
- func (o *GetHomeDashboardInternalServerError) IsCode(code int) bool
- func (o *GetHomeDashboardInternalServerError) IsRedirect() bool
- func (o *GetHomeDashboardInternalServerError) IsServerError() bool
- func (o *GetHomeDashboardInternalServerError) IsSuccess() bool
- func (o *GetHomeDashboardInternalServerError) String() string
- type GetHomeDashboardOK
- func (o *GetHomeDashboardOK) Code() int
- func (o *GetHomeDashboardOK) Error() string
- func (o *GetHomeDashboardOK) GetPayload() *models.GetHomeDashboardResponse
- func (o *GetHomeDashboardOK) IsClientError() bool
- func (o *GetHomeDashboardOK) IsCode(code int) bool
- func (o *GetHomeDashboardOK) IsRedirect() bool
- func (o *GetHomeDashboardOK) IsServerError() bool
- func (o *GetHomeDashboardOK) IsSuccess() bool
- func (o *GetHomeDashboardOK) String() string
- type GetHomeDashboardParams
- func NewGetHomeDashboardParams() *GetHomeDashboardParams
- func NewGetHomeDashboardParamsWithContext(ctx context.Context) *GetHomeDashboardParams
- func NewGetHomeDashboardParamsWithHTTPClient(client *http.Client) *GetHomeDashboardParams
- func NewGetHomeDashboardParamsWithTimeout(timeout time.Duration) *GetHomeDashboardParams
- func (o *GetHomeDashboardParams) SetContext(ctx context.Context)
- func (o *GetHomeDashboardParams) SetDefaults()
- func (o *GetHomeDashboardParams) SetHTTPClient(client *http.Client)
- func (o *GetHomeDashboardParams) SetTimeout(timeout time.Duration)
- func (o *GetHomeDashboardParams) WithContext(ctx context.Context) *GetHomeDashboardParams
- func (o *GetHomeDashboardParams) WithDefaults() *GetHomeDashboardParams
- func (o *GetHomeDashboardParams) WithHTTPClient(client *http.Client) *GetHomeDashboardParams
- func (o *GetHomeDashboardParams) WithTimeout(timeout time.Duration) *GetHomeDashboardParams
- func (o *GetHomeDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHomeDashboardReader
- type GetHomeDashboardUnauthorized
- func (o *GetHomeDashboardUnauthorized) Code() int
- func (o *GetHomeDashboardUnauthorized) Error() string
- func (o *GetHomeDashboardUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetHomeDashboardUnauthorized) IsClientError() bool
- func (o *GetHomeDashboardUnauthorized) IsCode(code int) bool
- func (o *GetHomeDashboardUnauthorized) IsRedirect() bool
- func (o *GetHomeDashboardUnauthorized) IsServerError() bool
- func (o *GetHomeDashboardUnauthorized) IsSuccess() bool
- func (o *GetHomeDashboardUnauthorized) String() string
- type HardDeleteDashboardByUIDForbidden
- func (o *HardDeleteDashboardByUIDForbidden) Code() int
- func (o *HardDeleteDashboardByUIDForbidden) Error() string
- func (o *HardDeleteDashboardByUIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *HardDeleteDashboardByUIDForbidden) IsClientError() bool
- func (o *HardDeleteDashboardByUIDForbidden) IsCode(code int) bool
- func (o *HardDeleteDashboardByUIDForbidden) IsRedirect() bool
- func (o *HardDeleteDashboardByUIDForbidden) IsServerError() bool
- func (o *HardDeleteDashboardByUIDForbidden) IsSuccess() bool
- func (o *HardDeleteDashboardByUIDForbidden) String() string
- type HardDeleteDashboardByUIDInternalServerError
- func (o *HardDeleteDashboardByUIDInternalServerError) Code() int
- func (o *HardDeleteDashboardByUIDInternalServerError) Error() string
- func (o *HardDeleteDashboardByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *HardDeleteDashboardByUIDInternalServerError) IsClientError() bool
- func (o *HardDeleteDashboardByUIDInternalServerError) IsCode(code int) bool
- func (o *HardDeleteDashboardByUIDInternalServerError) IsRedirect() bool
- func (o *HardDeleteDashboardByUIDInternalServerError) IsServerError() bool
- func (o *HardDeleteDashboardByUIDInternalServerError) IsSuccess() bool
- func (o *HardDeleteDashboardByUIDInternalServerError) String() string
- type HardDeleteDashboardByUIDNotFound
- func (o *HardDeleteDashboardByUIDNotFound) Code() int
- func (o *HardDeleteDashboardByUIDNotFound) Error() string
- func (o *HardDeleteDashboardByUIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *HardDeleteDashboardByUIDNotFound) IsClientError() bool
- func (o *HardDeleteDashboardByUIDNotFound) IsCode(code int) bool
- func (o *HardDeleteDashboardByUIDNotFound) IsRedirect() bool
- func (o *HardDeleteDashboardByUIDNotFound) IsServerError() bool
- func (o *HardDeleteDashboardByUIDNotFound) IsSuccess() bool
- func (o *HardDeleteDashboardByUIDNotFound) String() string
- type HardDeleteDashboardByUIDOK
- func (o *HardDeleteDashboardByUIDOK) Code() int
- func (o *HardDeleteDashboardByUIDOK) Error() string
- func (o *HardDeleteDashboardByUIDOK) GetPayload() *models.HardDeleteDashboardByUIDOKBody
- func (o *HardDeleteDashboardByUIDOK) IsClientError() bool
- func (o *HardDeleteDashboardByUIDOK) IsCode(code int) bool
- func (o *HardDeleteDashboardByUIDOK) IsRedirect() bool
- func (o *HardDeleteDashboardByUIDOK) IsServerError() bool
- func (o *HardDeleteDashboardByUIDOK) IsSuccess() bool
- func (o *HardDeleteDashboardByUIDOK) String() string
- type HardDeleteDashboardByUIDParams
- func NewHardDeleteDashboardByUIDParams() *HardDeleteDashboardByUIDParams
- func NewHardDeleteDashboardByUIDParamsWithContext(ctx context.Context) *HardDeleteDashboardByUIDParams
- func NewHardDeleteDashboardByUIDParamsWithHTTPClient(client *http.Client) *HardDeleteDashboardByUIDParams
- func NewHardDeleteDashboardByUIDParamsWithTimeout(timeout time.Duration) *HardDeleteDashboardByUIDParams
- func (o *HardDeleteDashboardByUIDParams) SetContext(ctx context.Context)
- func (o *HardDeleteDashboardByUIDParams) SetDefaults()
- func (o *HardDeleteDashboardByUIDParams) SetHTTPClient(client *http.Client)
- func (o *HardDeleteDashboardByUIDParams) SetTimeout(timeout time.Duration)
- func (o *HardDeleteDashboardByUIDParams) SetUID(uid string)
- func (o *HardDeleteDashboardByUIDParams) WithContext(ctx context.Context) *HardDeleteDashboardByUIDParams
- func (o *HardDeleteDashboardByUIDParams) WithDefaults() *HardDeleteDashboardByUIDParams
- func (o *HardDeleteDashboardByUIDParams) WithHTTPClient(client *http.Client) *HardDeleteDashboardByUIDParams
- func (o *HardDeleteDashboardByUIDParams) WithTimeout(timeout time.Duration) *HardDeleteDashboardByUIDParams
- func (o *HardDeleteDashboardByUIDParams) WithUID(uid string) *HardDeleteDashboardByUIDParams
- func (o *HardDeleteDashboardByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardDeleteDashboardByUIDReader
- type HardDeleteDashboardByUIDUnauthorized
- func (o *HardDeleteDashboardByUIDUnauthorized) Code() int
- func (o *HardDeleteDashboardByUIDUnauthorized) Error() string
- func (o *HardDeleteDashboardByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *HardDeleteDashboardByUIDUnauthorized) IsClientError() bool
- func (o *HardDeleteDashboardByUIDUnauthorized) IsCode(code int) bool
- func (o *HardDeleteDashboardByUIDUnauthorized) IsRedirect() bool
- func (o *HardDeleteDashboardByUIDUnauthorized) IsServerError() bool
- func (o *HardDeleteDashboardByUIDUnauthorized) IsSuccess() bool
- func (o *HardDeleteDashboardByUIDUnauthorized) String() string
- type ImportDashboardBadRequest
- func (o *ImportDashboardBadRequest) Code() int
- func (o *ImportDashboardBadRequest) Error() string
- func (o *ImportDashboardBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *ImportDashboardBadRequest) IsClientError() bool
- func (o *ImportDashboardBadRequest) IsCode(code int) bool
- func (o *ImportDashboardBadRequest) IsRedirect() bool
- func (o *ImportDashboardBadRequest) IsServerError() bool
- func (o *ImportDashboardBadRequest) IsSuccess() bool
- func (o *ImportDashboardBadRequest) String() string
- type ImportDashboardInternalServerError
- func (o *ImportDashboardInternalServerError) Code() int
- func (o *ImportDashboardInternalServerError) Error() string
- func (o *ImportDashboardInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *ImportDashboardInternalServerError) IsClientError() bool
- func (o *ImportDashboardInternalServerError) IsCode(code int) bool
- func (o *ImportDashboardInternalServerError) IsRedirect() bool
- func (o *ImportDashboardInternalServerError) IsServerError() bool
- func (o *ImportDashboardInternalServerError) IsSuccess() bool
- func (o *ImportDashboardInternalServerError) String() string
- type ImportDashboardOK
- func (o *ImportDashboardOK) Code() int
- func (o *ImportDashboardOK) Error() string
- func (o *ImportDashboardOK) GetPayload() *models.ImportDashboardResponse
- func (o *ImportDashboardOK) IsClientError() bool
- func (o *ImportDashboardOK) IsCode(code int) bool
- func (o *ImportDashboardOK) IsRedirect() bool
- func (o *ImportDashboardOK) IsServerError() bool
- func (o *ImportDashboardOK) IsSuccess() bool
- func (o *ImportDashboardOK) String() string
- type ImportDashboardParams
- func NewImportDashboardParams() *ImportDashboardParams
- func NewImportDashboardParamsWithContext(ctx context.Context) *ImportDashboardParams
- func NewImportDashboardParamsWithHTTPClient(client *http.Client) *ImportDashboardParams
- func NewImportDashboardParamsWithTimeout(timeout time.Duration) *ImportDashboardParams
- func (o *ImportDashboardParams) SetBody(body *models.ImportDashboardRequest)
- func (o *ImportDashboardParams) SetContext(ctx context.Context)
- func (o *ImportDashboardParams) SetDefaults()
- func (o *ImportDashboardParams) SetHTTPClient(client *http.Client)
- func (o *ImportDashboardParams) SetTimeout(timeout time.Duration)
- func (o *ImportDashboardParams) WithBody(body *models.ImportDashboardRequest) *ImportDashboardParams
- func (o *ImportDashboardParams) WithContext(ctx context.Context) *ImportDashboardParams
- func (o *ImportDashboardParams) WithDefaults() *ImportDashboardParams
- func (o *ImportDashboardParams) WithHTTPClient(client *http.Client) *ImportDashboardParams
- func (o *ImportDashboardParams) WithTimeout(timeout time.Duration) *ImportDashboardParams
- func (o *ImportDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportDashboardPreconditionFailed
- func (o *ImportDashboardPreconditionFailed) Code() int
- func (o *ImportDashboardPreconditionFailed) Error() string
- func (o *ImportDashboardPreconditionFailed) GetPayload() *models.ErrorResponseBody
- func (o *ImportDashboardPreconditionFailed) IsClientError() bool
- func (o *ImportDashboardPreconditionFailed) IsCode(code int) bool
- func (o *ImportDashboardPreconditionFailed) IsRedirect() bool
- func (o *ImportDashboardPreconditionFailed) IsServerError() bool
- func (o *ImportDashboardPreconditionFailed) IsSuccess() bool
- func (o *ImportDashboardPreconditionFailed) String() string
- type ImportDashboardReader
- type ImportDashboardUnauthorized
- func (o *ImportDashboardUnauthorized) Code() int
- func (o *ImportDashboardUnauthorized) Error() string
- func (o *ImportDashboardUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *ImportDashboardUnauthorized) IsClientError() bool
- func (o *ImportDashboardUnauthorized) IsCode(code int) bool
- func (o *ImportDashboardUnauthorized) IsRedirect() bool
- func (o *ImportDashboardUnauthorized) IsServerError() bool
- func (o *ImportDashboardUnauthorized) IsSuccess() bool
- func (o *ImportDashboardUnauthorized) String() string
- type ImportDashboardUnprocessableEntity
- func (o *ImportDashboardUnprocessableEntity) Code() int
- func (o *ImportDashboardUnprocessableEntity) Error() string
- func (o *ImportDashboardUnprocessableEntity) GetPayload() *models.ErrorResponseBody
- func (o *ImportDashboardUnprocessableEntity) IsClientError() bool
- func (o *ImportDashboardUnprocessableEntity) IsCode(code int) bool
- func (o *ImportDashboardUnprocessableEntity) IsRedirect() bool
- func (o *ImportDashboardUnprocessableEntity) IsServerError() bool
- func (o *ImportDashboardUnprocessableEntity) IsSuccess() bool
- func (o *ImportDashboardUnprocessableEntity) String() string
- type PostDashboardBadRequest
- func (o *PostDashboardBadRequest) Code() int
- func (o *PostDashboardBadRequest) Error() string
- func (o *PostDashboardBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *PostDashboardBadRequest) IsClientError() bool
- func (o *PostDashboardBadRequest) IsCode(code int) bool
- func (o *PostDashboardBadRequest) IsRedirect() bool
- func (o *PostDashboardBadRequest) IsServerError() bool
- func (o *PostDashboardBadRequest) IsSuccess() bool
- func (o *PostDashboardBadRequest) String() string
- type PostDashboardForbidden
- func (o *PostDashboardForbidden) Code() int
- func (o *PostDashboardForbidden) Error() string
- func (o *PostDashboardForbidden) GetPayload() *models.ErrorResponseBody
- func (o *PostDashboardForbidden) IsClientError() bool
- func (o *PostDashboardForbidden) IsCode(code int) bool
- func (o *PostDashboardForbidden) IsRedirect() bool
- func (o *PostDashboardForbidden) IsServerError() bool
- func (o *PostDashboardForbidden) IsSuccess() bool
- func (o *PostDashboardForbidden) String() string
- type PostDashboardInternalServerError
- func (o *PostDashboardInternalServerError) Code() int
- func (o *PostDashboardInternalServerError) Error() string
- func (o *PostDashboardInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *PostDashboardInternalServerError) IsClientError() bool
- func (o *PostDashboardInternalServerError) IsCode(code int) bool
- func (o *PostDashboardInternalServerError) IsRedirect() bool
- func (o *PostDashboardInternalServerError) IsServerError() bool
- func (o *PostDashboardInternalServerError) IsSuccess() bool
- func (o *PostDashboardInternalServerError) String() string
- type PostDashboardNotFound
- func (o *PostDashboardNotFound) Code() int
- func (o *PostDashboardNotFound) Error() string
- func (o *PostDashboardNotFound) GetPayload() *models.ErrorResponseBody
- func (o *PostDashboardNotFound) IsClientError() bool
- func (o *PostDashboardNotFound) IsCode(code int) bool
- func (o *PostDashboardNotFound) IsRedirect() bool
- func (o *PostDashboardNotFound) IsServerError() bool
- func (o *PostDashboardNotFound) IsSuccess() bool
- func (o *PostDashboardNotFound) String() string
- type PostDashboardOK
- func (o *PostDashboardOK) Code() int
- func (o *PostDashboardOK) Error() string
- func (o *PostDashboardOK) GetPayload() *models.PostDashboardOKBody
- func (o *PostDashboardOK) IsClientError() bool
- func (o *PostDashboardOK) IsCode(code int) bool
- func (o *PostDashboardOK) IsRedirect() bool
- func (o *PostDashboardOK) IsServerError() bool
- func (o *PostDashboardOK) IsSuccess() bool
- func (o *PostDashboardOK) String() string
- type PostDashboardParams
- func (o *PostDashboardParams) SetBody(body *models.SaveDashboardCommand)
- func (o *PostDashboardParams) SetContext(ctx context.Context)
- func (o *PostDashboardParams) SetDefaults()
- func (o *PostDashboardParams) SetHTTPClient(client *http.Client)
- func (o *PostDashboardParams) SetTimeout(timeout time.Duration)
- func (o *PostDashboardParams) WithBody(body *models.SaveDashboardCommand) *PostDashboardParams
- func (o *PostDashboardParams) WithContext(ctx context.Context) *PostDashboardParams
- func (o *PostDashboardParams) WithDefaults() *PostDashboardParams
- func (o *PostDashboardParams) WithHTTPClient(client *http.Client) *PostDashboardParams
- func (o *PostDashboardParams) WithTimeout(timeout time.Duration) *PostDashboardParams
- func (o *PostDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostDashboardPreconditionFailed
- func (o *PostDashboardPreconditionFailed) Code() int
- func (o *PostDashboardPreconditionFailed) Error() string
- func (o *PostDashboardPreconditionFailed) GetPayload() *models.ErrorResponseBody
- func (o *PostDashboardPreconditionFailed) IsClientError() bool
- func (o *PostDashboardPreconditionFailed) IsCode(code int) bool
- func (o *PostDashboardPreconditionFailed) IsRedirect() bool
- func (o *PostDashboardPreconditionFailed) IsServerError() bool
- func (o *PostDashboardPreconditionFailed) IsSuccess() bool
- func (o *PostDashboardPreconditionFailed) String() string
- type PostDashboardReader
- type PostDashboardUnauthorized
- func (o *PostDashboardUnauthorized) Code() int
- func (o *PostDashboardUnauthorized) Error() string
- func (o *PostDashboardUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *PostDashboardUnauthorized) IsClientError() bool
- func (o *PostDashboardUnauthorized) IsCode(code int) bool
- func (o *PostDashboardUnauthorized) IsRedirect() bool
- func (o *PostDashboardUnauthorized) IsServerError() bool
- func (o *PostDashboardUnauthorized) IsSuccess() bool
- func (o *PostDashboardUnauthorized) String() string
- type PostDashboardUnprocessableEntity
- func (o *PostDashboardUnprocessableEntity) Code() int
- func (o *PostDashboardUnprocessableEntity) Error() string
- func (o *PostDashboardUnprocessableEntity) GetPayload() *models.ErrorResponseBody
- func (o *PostDashboardUnprocessableEntity) IsClientError() bool
- func (o *PostDashboardUnprocessableEntity) IsCode(code int) bool
- func (o *PostDashboardUnprocessableEntity) IsRedirect() bool
- func (o *PostDashboardUnprocessableEntity) IsServerError() bool
- func (o *PostDashboardUnprocessableEntity) IsSuccess() bool
- func (o *PostDashboardUnprocessableEntity) String() string
- type RestoreDeletedDashboardByUIDBadRequest
- func (o *RestoreDeletedDashboardByUIDBadRequest) Code() int
- func (o *RestoreDeletedDashboardByUIDBadRequest) Error() string
- func (o *RestoreDeletedDashboardByUIDBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *RestoreDeletedDashboardByUIDBadRequest) IsClientError() bool
- func (o *RestoreDeletedDashboardByUIDBadRequest) IsCode(code int) bool
- func (o *RestoreDeletedDashboardByUIDBadRequest) IsRedirect() bool
- func (o *RestoreDeletedDashboardByUIDBadRequest) IsServerError() bool
- func (o *RestoreDeletedDashboardByUIDBadRequest) IsSuccess() bool
- func (o *RestoreDeletedDashboardByUIDBadRequest) String() string
- type RestoreDeletedDashboardByUIDForbidden
- func (o *RestoreDeletedDashboardByUIDForbidden) Code() int
- func (o *RestoreDeletedDashboardByUIDForbidden) Error() string
- func (o *RestoreDeletedDashboardByUIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *RestoreDeletedDashboardByUIDForbidden) IsClientError() bool
- func (o *RestoreDeletedDashboardByUIDForbidden) IsCode(code int) bool
- func (o *RestoreDeletedDashboardByUIDForbidden) IsRedirect() bool
- func (o *RestoreDeletedDashboardByUIDForbidden) IsServerError() bool
- func (o *RestoreDeletedDashboardByUIDForbidden) IsSuccess() bool
- func (o *RestoreDeletedDashboardByUIDForbidden) String() string
- type RestoreDeletedDashboardByUIDInternalServerError
- func (o *RestoreDeletedDashboardByUIDInternalServerError) Code() int
- func (o *RestoreDeletedDashboardByUIDInternalServerError) Error() string
- func (o *RestoreDeletedDashboardByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *RestoreDeletedDashboardByUIDInternalServerError) IsClientError() bool
- func (o *RestoreDeletedDashboardByUIDInternalServerError) IsCode(code int) bool
- func (o *RestoreDeletedDashboardByUIDInternalServerError) IsRedirect() bool
- func (o *RestoreDeletedDashboardByUIDInternalServerError) IsServerError() bool
- func (o *RestoreDeletedDashboardByUIDInternalServerError) IsSuccess() bool
- func (o *RestoreDeletedDashboardByUIDInternalServerError) String() string
- type RestoreDeletedDashboardByUIDNotFound
- func (o *RestoreDeletedDashboardByUIDNotFound) Code() int
- func (o *RestoreDeletedDashboardByUIDNotFound) Error() string
- func (o *RestoreDeletedDashboardByUIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *RestoreDeletedDashboardByUIDNotFound) IsClientError() bool
- func (o *RestoreDeletedDashboardByUIDNotFound) IsCode(code int) bool
- func (o *RestoreDeletedDashboardByUIDNotFound) IsRedirect() bool
- func (o *RestoreDeletedDashboardByUIDNotFound) IsServerError() bool
- func (o *RestoreDeletedDashboardByUIDNotFound) IsSuccess() bool
- func (o *RestoreDeletedDashboardByUIDNotFound) String() string
- type RestoreDeletedDashboardByUIDOK
- func (o *RestoreDeletedDashboardByUIDOK) Code() int
- func (o *RestoreDeletedDashboardByUIDOK) Error() string
- func (o *RestoreDeletedDashboardByUIDOK) GetPayload() *models.RestoreDeletedDashboardByUIDOKBody
- func (o *RestoreDeletedDashboardByUIDOK) IsClientError() bool
- func (o *RestoreDeletedDashboardByUIDOK) IsCode(code int) bool
- func (o *RestoreDeletedDashboardByUIDOK) IsRedirect() bool
- func (o *RestoreDeletedDashboardByUIDOK) IsServerError() bool
- func (o *RestoreDeletedDashboardByUIDOK) IsSuccess() bool
- func (o *RestoreDeletedDashboardByUIDOK) String() string
- type RestoreDeletedDashboardByUIDParams
- func NewRestoreDeletedDashboardByUIDParams() *RestoreDeletedDashboardByUIDParams
- func NewRestoreDeletedDashboardByUIDParamsWithContext(ctx context.Context) *RestoreDeletedDashboardByUIDParams
- func NewRestoreDeletedDashboardByUIDParamsWithHTTPClient(client *http.Client) *RestoreDeletedDashboardByUIDParams
- func NewRestoreDeletedDashboardByUIDParamsWithTimeout(timeout time.Duration) *RestoreDeletedDashboardByUIDParams
- func (o *RestoreDeletedDashboardByUIDParams) SetBody(body *models.RestoreDeletedDashboardCommand)
- func (o *RestoreDeletedDashboardByUIDParams) SetContext(ctx context.Context)
- func (o *RestoreDeletedDashboardByUIDParams) SetDefaults()
- func (o *RestoreDeletedDashboardByUIDParams) SetHTTPClient(client *http.Client)
- func (o *RestoreDeletedDashboardByUIDParams) SetTimeout(timeout time.Duration)
- func (o *RestoreDeletedDashboardByUIDParams) SetUID(uid string)
- func (o *RestoreDeletedDashboardByUIDParams) WithBody(body *models.RestoreDeletedDashboardCommand) *RestoreDeletedDashboardByUIDParams
- func (o *RestoreDeletedDashboardByUIDParams) WithContext(ctx context.Context) *RestoreDeletedDashboardByUIDParams
- func (o *RestoreDeletedDashboardByUIDParams) WithDefaults() *RestoreDeletedDashboardByUIDParams
- func (o *RestoreDeletedDashboardByUIDParams) WithHTTPClient(client *http.Client) *RestoreDeletedDashboardByUIDParams
- func (o *RestoreDeletedDashboardByUIDParams) WithTimeout(timeout time.Duration) *RestoreDeletedDashboardByUIDParams
- func (o *RestoreDeletedDashboardByUIDParams) WithUID(uid string) *RestoreDeletedDashboardByUIDParams
- func (o *RestoreDeletedDashboardByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoreDeletedDashboardByUIDReader
- type RestoreDeletedDashboardByUIDUnauthorized
- func (o *RestoreDeletedDashboardByUIDUnauthorized) Code() int
- func (o *RestoreDeletedDashboardByUIDUnauthorized) Error() string
- func (o *RestoreDeletedDashboardByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *RestoreDeletedDashboardByUIDUnauthorized) IsClientError() bool
- func (o *RestoreDeletedDashboardByUIDUnauthorized) IsCode(code int) bool
- func (o *RestoreDeletedDashboardByUIDUnauthorized) IsRedirect() bool
- func (o *RestoreDeletedDashboardByUIDUnauthorized) IsServerError() bool
- func (o *RestoreDeletedDashboardByUIDUnauthorized) IsSuccess() bool
- func (o *RestoreDeletedDashboardByUIDUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalculateDashboardDiffForbidden ¶
type CalculateDashboardDiffForbidden struct {
Payload *models.ErrorResponseBody
}
CalculateDashboardDiffForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewCalculateDashboardDiffForbidden ¶
func NewCalculateDashboardDiffForbidden() *CalculateDashboardDiffForbidden
NewCalculateDashboardDiffForbidden creates a CalculateDashboardDiffForbidden with default headers values
func (*CalculateDashboardDiffForbidden) Code ¶
func (o *CalculateDashboardDiffForbidden) Code() int
Code gets the status code for the calculate dashboard diff forbidden response
func (*CalculateDashboardDiffForbidden) Error ¶
func (o *CalculateDashboardDiffForbidden) Error() string
func (*CalculateDashboardDiffForbidden) GetPayload ¶
func (o *CalculateDashboardDiffForbidden) GetPayload() *models.ErrorResponseBody
func (*CalculateDashboardDiffForbidden) IsClientError ¶
func (o *CalculateDashboardDiffForbidden) IsClientError() bool
IsClientError returns true when this calculate dashboard diff forbidden response has a 4xx status code
func (*CalculateDashboardDiffForbidden) IsCode ¶
func (o *CalculateDashboardDiffForbidden) IsCode(code int) bool
IsCode returns true when this calculate dashboard diff forbidden response a status code equal to that given
func (*CalculateDashboardDiffForbidden) IsRedirect ¶
func (o *CalculateDashboardDiffForbidden) IsRedirect() bool
IsRedirect returns true when this calculate dashboard diff forbidden response has a 3xx status code
func (*CalculateDashboardDiffForbidden) IsServerError ¶
func (o *CalculateDashboardDiffForbidden) IsServerError() bool
IsServerError returns true when this calculate dashboard diff forbidden response has a 5xx status code
func (*CalculateDashboardDiffForbidden) IsSuccess ¶
func (o *CalculateDashboardDiffForbidden) IsSuccess() bool
IsSuccess returns true when this calculate dashboard diff forbidden response has a 2xx status code
func (*CalculateDashboardDiffForbidden) String ¶
func (o *CalculateDashboardDiffForbidden) String() string
type CalculateDashboardDiffInternalServerError ¶
type CalculateDashboardDiffInternalServerError struct {
Payload *models.ErrorResponseBody
}
CalculateDashboardDiffInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewCalculateDashboardDiffInternalServerError ¶
func NewCalculateDashboardDiffInternalServerError() *CalculateDashboardDiffInternalServerError
NewCalculateDashboardDiffInternalServerError creates a CalculateDashboardDiffInternalServerError with default headers values
func (*CalculateDashboardDiffInternalServerError) Code ¶
func (o *CalculateDashboardDiffInternalServerError) Code() int
Code gets the status code for the calculate dashboard diff internal server error response
func (*CalculateDashboardDiffInternalServerError) Error ¶
func (o *CalculateDashboardDiffInternalServerError) Error() string
func (*CalculateDashboardDiffInternalServerError) GetPayload ¶
func (o *CalculateDashboardDiffInternalServerError) GetPayload() *models.ErrorResponseBody
func (*CalculateDashboardDiffInternalServerError) IsClientError ¶
func (o *CalculateDashboardDiffInternalServerError) IsClientError() bool
IsClientError returns true when this calculate dashboard diff internal server error response has a 4xx status code
func (*CalculateDashboardDiffInternalServerError) IsCode ¶
func (o *CalculateDashboardDiffInternalServerError) IsCode(code int) bool
IsCode returns true when this calculate dashboard diff internal server error response a status code equal to that given
func (*CalculateDashboardDiffInternalServerError) IsRedirect ¶
func (o *CalculateDashboardDiffInternalServerError) IsRedirect() bool
IsRedirect returns true when this calculate dashboard diff internal server error response has a 3xx status code
func (*CalculateDashboardDiffInternalServerError) IsServerError ¶
func (o *CalculateDashboardDiffInternalServerError) IsServerError() bool
IsServerError returns true when this calculate dashboard diff internal server error response has a 5xx status code
func (*CalculateDashboardDiffInternalServerError) IsSuccess ¶
func (o *CalculateDashboardDiffInternalServerError) IsSuccess() bool
IsSuccess returns true when this calculate dashboard diff internal server error response has a 2xx status code
func (*CalculateDashboardDiffInternalServerError) String ¶
func (o *CalculateDashboardDiffInternalServerError) String() string
type CalculateDashboardDiffOK ¶
type CalculateDashboardDiffOK struct {
Payload []uint8
}
CalculateDashboardDiffOK describes a response with status code 200, with default header values.
(empty)
func NewCalculateDashboardDiffOK ¶
func NewCalculateDashboardDiffOK() *CalculateDashboardDiffOK
NewCalculateDashboardDiffOK creates a CalculateDashboardDiffOK with default headers values
func (*CalculateDashboardDiffOK) Code ¶
func (o *CalculateDashboardDiffOK) Code() int
Code gets the status code for the calculate dashboard diff Ok response
func (*CalculateDashboardDiffOK) Error ¶
func (o *CalculateDashboardDiffOK) Error() string
func (*CalculateDashboardDiffOK) GetPayload ¶
func (o *CalculateDashboardDiffOK) GetPayload() []uint8
func (*CalculateDashboardDiffOK) IsClientError ¶
func (o *CalculateDashboardDiffOK) IsClientError() bool
IsClientError returns true when this calculate dashboard diff Ok response has a 4xx status code
func (*CalculateDashboardDiffOK) IsCode ¶
func (o *CalculateDashboardDiffOK) IsCode(code int) bool
IsCode returns true when this calculate dashboard diff Ok response a status code equal to that given
func (*CalculateDashboardDiffOK) IsRedirect ¶
func (o *CalculateDashboardDiffOK) IsRedirect() bool
IsRedirect returns true when this calculate dashboard diff Ok response has a 3xx status code
func (*CalculateDashboardDiffOK) IsServerError ¶
func (o *CalculateDashboardDiffOK) IsServerError() bool
IsServerError returns true when this calculate dashboard diff Ok response has a 5xx status code
func (*CalculateDashboardDiffOK) IsSuccess ¶
func (o *CalculateDashboardDiffOK) IsSuccess() bool
IsSuccess returns true when this calculate dashboard diff Ok response has a 2xx status code
func (*CalculateDashboardDiffOK) String ¶
func (o *CalculateDashboardDiffOK) String() string
type CalculateDashboardDiffParams ¶
type CalculateDashboardDiffParams struct { // Body. Body *models.CalculateDashboardDiffParamsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CalculateDashboardDiffParams contains all the parameters to send to the API endpoint
for the calculate dashboard diff operation. Typically these are written to a http.Request.
func NewCalculateDashboardDiffParams ¶
func NewCalculateDashboardDiffParams() *CalculateDashboardDiffParams
NewCalculateDashboardDiffParams creates a new CalculateDashboardDiffParams 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 NewCalculateDashboardDiffParamsWithContext ¶
func NewCalculateDashboardDiffParamsWithContext(ctx context.Context) *CalculateDashboardDiffParams
NewCalculateDashboardDiffParamsWithContext creates a new CalculateDashboardDiffParams object with the ability to set a context for a request.
func NewCalculateDashboardDiffParamsWithHTTPClient ¶
func NewCalculateDashboardDiffParamsWithHTTPClient(client *http.Client) *CalculateDashboardDiffParams
NewCalculateDashboardDiffParamsWithHTTPClient creates a new CalculateDashboardDiffParams object with the ability to set a custom HTTPClient for a request.
func NewCalculateDashboardDiffParamsWithTimeout ¶
func NewCalculateDashboardDiffParamsWithTimeout(timeout time.Duration) *CalculateDashboardDiffParams
NewCalculateDashboardDiffParamsWithTimeout creates a new CalculateDashboardDiffParams object with the ability to set a timeout on a request.
func (*CalculateDashboardDiffParams) SetBody ¶
func (o *CalculateDashboardDiffParams) SetBody(body *models.CalculateDashboardDiffParamsBody)
SetBody adds the body to the calculate dashboard diff params
func (*CalculateDashboardDiffParams) SetContext ¶
func (o *CalculateDashboardDiffParams) SetContext(ctx context.Context)
SetContext adds the context to the calculate dashboard diff params
func (*CalculateDashboardDiffParams) SetDefaults ¶
func (o *CalculateDashboardDiffParams) SetDefaults()
SetDefaults hydrates default values in the calculate dashboard diff params (not the query body).
All values with no default are reset to their zero value.
func (*CalculateDashboardDiffParams) SetHTTPClient ¶
func (o *CalculateDashboardDiffParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the calculate dashboard diff params
func (*CalculateDashboardDiffParams) SetTimeout ¶
func (o *CalculateDashboardDiffParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the calculate dashboard diff params
func (*CalculateDashboardDiffParams) WithBody ¶
func (o *CalculateDashboardDiffParams) WithBody(body *models.CalculateDashboardDiffParamsBody) *CalculateDashboardDiffParams
WithBody adds the body to the calculate dashboard diff params
func (*CalculateDashboardDiffParams) WithContext ¶
func (o *CalculateDashboardDiffParams) WithContext(ctx context.Context) *CalculateDashboardDiffParams
WithContext adds the context to the calculate dashboard diff params
func (*CalculateDashboardDiffParams) WithDefaults ¶
func (o *CalculateDashboardDiffParams) WithDefaults() *CalculateDashboardDiffParams
WithDefaults hydrates default values in the calculate dashboard diff params (not the query body).
All values with no default are reset to their zero value.
func (*CalculateDashboardDiffParams) WithHTTPClient ¶
func (o *CalculateDashboardDiffParams) WithHTTPClient(client *http.Client) *CalculateDashboardDiffParams
WithHTTPClient adds the HTTPClient to the calculate dashboard diff params
func (*CalculateDashboardDiffParams) WithTimeout ¶
func (o *CalculateDashboardDiffParams) WithTimeout(timeout time.Duration) *CalculateDashboardDiffParams
WithTimeout adds the timeout to the calculate dashboard diff params
func (*CalculateDashboardDiffParams) WriteToRequest ¶
func (o *CalculateDashboardDiffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CalculateDashboardDiffReader ¶
type CalculateDashboardDiffReader struct {
// contains filtered or unexported fields
}
CalculateDashboardDiffReader is a Reader for the CalculateDashboardDiff structure.
func (*CalculateDashboardDiffReader) ReadResponse ¶
func (o *CalculateDashboardDiffReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CalculateDashboardDiffUnauthorized ¶
type CalculateDashboardDiffUnauthorized struct {
}CalculateDashboardDiffUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewCalculateDashboardDiffUnauthorized ¶
func NewCalculateDashboardDiffUnauthorized() *CalculateDashboardDiffUnauthorized
NewCalculateDashboardDiffUnauthorized creates a CalculateDashboardDiffUnauthorized with default headers values
func (*CalculateDashboardDiffUnauthorized) Code ¶
func (o *CalculateDashboardDiffUnauthorized) Code() int
Code gets the status code for the calculate dashboard diff unauthorized response
func (*CalculateDashboardDiffUnauthorized) Error ¶
func (o *CalculateDashboardDiffUnauthorized) Error() string
func (*CalculateDashboardDiffUnauthorized) GetPayload ¶
func (o *CalculateDashboardDiffUnauthorized) GetPayload() *models.ErrorResponseBody
func (*CalculateDashboardDiffUnauthorized) IsClientError ¶
func (o *CalculateDashboardDiffUnauthorized) IsClientError() bool
IsClientError returns true when this calculate dashboard diff unauthorized response has a 4xx status code
func (*CalculateDashboardDiffUnauthorized) IsCode ¶
func (o *CalculateDashboardDiffUnauthorized) IsCode(code int) bool
IsCode returns true when this calculate dashboard diff unauthorized response a status code equal to that given
func (*CalculateDashboardDiffUnauthorized) IsRedirect ¶
func (o *CalculateDashboardDiffUnauthorized) IsRedirect() bool
IsRedirect returns true when this calculate dashboard diff unauthorized response has a 3xx status code
func (*CalculateDashboardDiffUnauthorized) IsServerError ¶
func (o *CalculateDashboardDiffUnauthorized) IsServerError() bool
IsServerError returns true when this calculate dashboard diff unauthorized response has a 5xx status code
func (*CalculateDashboardDiffUnauthorized) IsSuccess ¶
func (o *CalculateDashboardDiffUnauthorized) IsSuccess() bool
IsSuccess returns true when this calculate dashboard diff unauthorized response has a 2xx status code
func (*CalculateDashboardDiffUnauthorized) String ¶
func (o *CalculateDashboardDiffUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for dashboards API
func (*Client) CalculateDashboardDiff ¶
func (a *Client) CalculateDashboardDiff(body *models.CalculateDashboardDiffParamsBody, opts ...ClientOption) (*CalculateDashboardDiffOK, error)
CalculateDashboardDiff performs diff on two dashboards
func (*Client) CalculateDashboardDiffWithParams ¶
func (a *Client) CalculateDashboardDiffWithParams(params *CalculateDashboardDiffParams, opts ...ClientOption) (*CalculateDashboardDiffOK, error)
func (*Client) DeleteDashboardByUID ¶
func (a *Client) DeleteDashboardByUID(uid string, opts ...ClientOption) (*DeleteDashboardByUIDOK, error)
DeleteDashboardByUID deletes dashboard by uid
Will delete the dashboard given the specified unique identifier (uid).
func (*Client) DeleteDashboardByUIDWithParams ¶
func (a *Client) DeleteDashboardByUIDWithParams(params *DeleteDashboardByUIDParams, opts ...ClientOption) (*DeleteDashboardByUIDOK, error)
func (*Client) GetDashboardByUID ¶
func (a *Client) GetDashboardByUID(uid string, opts ...ClientOption) (*GetDashboardByUIDOK, error)
GetDashboardByUID gets dashboard by uid
Will return the dashboard given the dashboard unique identifier (uid).
func (*Client) GetDashboardByUIDWithParams ¶
func (a *Client) GetDashboardByUIDWithParams(params *GetDashboardByUIDParams, opts ...ClientOption) (*GetDashboardByUIDOK, error)
func (*Client) GetDashboardTags ¶
func (a *Client) GetDashboardTags(opts ...ClientOption) (*GetDashboardTagsOK, error)
GetDashboardTags gets all dashboards tags of an organisation
func (*Client) GetDashboardTagsWithParams ¶
func (a *Client) GetDashboardTagsWithParams(params *GetDashboardTagsParams, opts ...ClientOption) (*GetDashboardTagsOK, error)
func (*Client) GetHomeDashboard ¶
func (a *Client) GetHomeDashboard(opts ...ClientOption) (*GetHomeDashboardOK, error)
GetHomeDashboard gets home dashboard
func (*Client) GetHomeDashboardWithParams ¶
func (a *Client) GetHomeDashboardWithParams(params *GetHomeDashboardParams, opts ...ClientOption) (*GetHomeDashboardOK, error)
func (*Client) HardDeleteDashboardByUID ¶
func (a *Client) HardDeleteDashboardByUID(uid string, opts ...ClientOption) (*HardDeleteDashboardByUIDOK, error)
HardDeleteDashboardByUID hards delete dashboard by uid
Will delete the dashboard given the specified unique identifier (uid).
func (*Client) HardDeleteDashboardByUIDWithParams ¶
func (a *Client) HardDeleteDashboardByUIDWithParams(params *HardDeleteDashboardByUIDParams, opts ...ClientOption) (*HardDeleteDashboardByUIDOK, error)
func (*Client) ImportDashboard ¶
func (a *Client) ImportDashboard(body *models.ImportDashboardRequest, opts ...ClientOption) (*ImportDashboardOK, error)
ImportDashboard imports dashboard
func (*Client) ImportDashboardWithParams ¶
func (a *Client) ImportDashboardWithParams(params *ImportDashboardParams, opts ...ClientOption) (*ImportDashboardOK, error)
func (*Client) PostDashboard ¶
func (a *Client) PostDashboard(body *models.SaveDashboardCommand, opts ...ClientOption) (*PostDashboardOK, error)
PostDashboard creates update dashboard
Creates a new dashboard or updates an existing dashboard. Note: This endpoint is not intended for creating folders, use `POST /api/folders` for that.
func (*Client) PostDashboardWithParams ¶
func (a *Client) PostDashboardWithParams(params *PostDashboardParams, opts ...ClientOption) (*PostDashboardOK, error)
func (*Client) RestoreDeletedDashboardByUID ¶
func (a *Client) RestoreDeletedDashboardByUID(uid string, body *models.RestoreDeletedDashboardCommand, opts ...ClientOption) (*RestoreDeletedDashboardByUIDOK, error)
RestoreDeletedDashboardByUID restores a dashboard to a given dashboard version using UID
func (*Client) RestoreDeletedDashboardByUIDWithParams ¶
func (a *Client) RestoreDeletedDashboardByUIDWithParams(params *RestoreDeletedDashboardByUIDParams, opts ...ClientOption) (*RestoreDeletedDashboardByUIDOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { CalculateDashboardDiff(body *models.CalculateDashboardDiffParamsBody, opts ...ClientOption) (*CalculateDashboardDiffOK, error) CalculateDashboardDiffWithParams(params *CalculateDashboardDiffParams, opts ...ClientOption) (*CalculateDashboardDiffOK, error) DeleteDashboardByUID(uid string, opts ...ClientOption) (*DeleteDashboardByUIDOK, error) DeleteDashboardByUIDWithParams(params *DeleteDashboardByUIDParams, opts ...ClientOption) (*DeleteDashboardByUIDOK, error) GetDashboardByUID(uid string, opts ...ClientOption) (*GetDashboardByUIDOK, error) GetDashboardByUIDWithParams(params *GetDashboardByUIDParams, opts ...ClientOption) (*GetDashboardByUIDOK, error) GetDashboardTags(opts ...ClientOption) (*GetDashboardTagsOK, error) GetDashboardTagsWithParams(params *GetDashboardTagsParams, opts ...ClientOption) (*GetDashboardTagsOK, error) GetHomeDashboard(opts ...ClientOption) (*GetHomeDashboardOK, error) GetHomeDashboardWithParams(params *GetHomeDashboardParams, opts ...ClientOption) (*GetHomeDashboardOK, error) HardDeleteDashboardByUID(uid string, opts ...ClientOption) (*HardDeleteDashboardByUIDOK, error) HardDeleteDashboardByUIDWithParams(params *HardDeleteDashboardByUIDParams, opts ...ClientOption) (*HardDeleteDashboardByUIDOK, error) ImportDashboard(body *models.ImportDashboardRequest, opts ...ClientOption) (*ImportDashboardOK, error) ImportDashboardWithParams(params *ImportDashboardParams, opts ...ClientOption) (*ImportDashboardOK, error) PostDashboard(body *models.SaveDashboardCommand, opts ...ClientOption) (*PostDashboardOK, error) PostDashboardWithParams(params *PostDashboardParams, opts ...ClientOption) (*PostDashboardOK, error) RestoreDeletedDashboardByUID(uid string, body *models.RestoreDeletedDashboardCommand, opts ...ClientOption) (*RestoreDeletedDashboardByUIDOK, error) RestoreDeletedDashboardByUIDWithParams(params *RestoreDeletedDashboardByUIDParams, opts ...ClientOption) (*RestoreDeletedDashboardByUIDOK, 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 dashboards API client.
type DeleteDashboardByUIDForbidden ¶
type DeleteDashboardByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteDashboardByUIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewDeleteDashboardByUIDForbidden ¶
func NewDeleteDashboardByUIDForbidden() *DeleteDashboardByUIDForbidden
NewDeleteDashboardByUIDForbidden creates a DeleteDashboardByUIDForbidden with default headers values
func (*DeleteDashboardByUIDForbidden) Code ¶
func (o *DeleteDashboardByUIDForbidden) Code() int
Code gets the status code for the delete dashboard by Uid forbidden response
func (*DeleteDashboardByUIDForbidden) Error ¶
func (o *DeleteDashboardByUIDForbidden) Error() string
func (*DeleteDashboardByUIDForbidden) GetPayload ¶
func (o *DeleteDashboardByUIDForbidden) GetPayload() *models.ErrorResponseBody
func (*DeleteDashboardByUIDForbidden) IsClientError ¶
func (o *DeleteDashboardByUIDForbidden) IsClientError() bool
IsClientError returns true when this delete dashboard by Uid forbidden response has a 4xx status code
func (*DeleteDashboardByUIDForbidden) IsCode ¶
func (o *DeleteDashboardByUIDForbidden) IsCode(code int) bool
IsCode returns true when this delete dashboard by Uid forbidden response a status code equal to that given
func (*DeleteDashboardByUIDForbidden) IsRedirect ¶
func (o *DeleteDashboardByUIDForbidden) IsRedirect() bool
IsRedirect returns true when this delete dashboard by Uid forbidden response has a 3xx status code
func (*DeleteDashboardByUIDForbidden) IsServerError ¶
func (o *DeleteDashboardByUIDForbidden) IsServerError() bool
IsServerError returns true when this delete dashboard by Uid forbidden response has a 5xx status code
func (*DeleteDashboardByUIDForbidden) IsSuccess ¶
func (o *DeleteDashboardByUIDForbidden) IsSuccess() bool
IsSuccess returns true when this delete dashboard by Uid forbidden response has a 2xx status code
func (*DeleteDashboardByUIDForbidden) String ¶
func (o *DeleteDashboardByUIDForbidden) String() string
type DeleteDashboardByUIDInternalServerError ¶
type DeleteDashboardByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteDashboardByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteDashboardByUIDInternalServerError ¶
func NewDeleteDashboardByUIDInternalServerError() *DeleteDashboardByUIDInternalServerError
NewDeleteDashboardByUIDInternalServerError creates a DeleteDashboardByUIDInternalServerError with default headers values
func (*DeleteDashboardByUIDInternalServerError) Code ¶
func (o *DeleteDashboardByUIDInternalServerError) Code() int
Code gets the status code for the delete dashboard by Uid internal server error response
func (*DeleteDashboardByUIDInternalServerError) Error ¶
func (o *DeleteDashboardByUIDInternalServerError) Error() string
func (*DeleteDashboardByUIDInternalServerError) GetPayload ¶
func (o *DeleteDashboardByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*DeleteDashboardByUIDInternalServerError) IsClientError ¶
func (o *DeleteDashboardByUIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete dashboard by Uid internal server error response has a 4xx status code
func (*DeleteDashboardByUIDInternalServerError) IsCode ¶
func (o *DeleteDashboardByUIDInternalServerError) IsCode(code int) bool
IsCode returns true when this delete dashboard by Uid internal server error response a status code equal to that given
func (*DeleteDashboardByUIDInternalServerError) IsRedirect ¶
func (o *DeleteDashboardByUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete dashboard by Uid internal server error response has a 3xx status code
func (*DeleteDashboardByUIDInternalServerError) IsServerError ¶
func (o *DeleteDashboardByUIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete dashboard by Uid internal server error response has a 5xx status code
func (*DeleteDashboardByUIDInternalServerError) IsSuccess ¶
func (o *DeleteDashboardByUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete dashboard by Uid internal server error response has a 2xx status code
func (*DeleteDashboardByUIDInternalServerError) String ¶
func (o *DeleteDashboardByUIDInternalServerError) String() string
type DeleteDashboardByUIDNotFound ¶
type DeleteDashboardByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteDashboardByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteDashboardByUIDNotFound ¶
func NewDeleteDashboardByUIDNotFound() *DeleteDashboardByUIDNotFound
NewDeleteDashboardByUIDNotFound creates a DeleteDashboardByUIDNotFound with default headers values
func (*DeleteDashboardByUIDNotFound) Code ¶
func (o *DeleteDashboardByUIDNotFound) Code() int
Code gets the status code for the delete dashboard by Uid not found response
func (*DeleteDashboardByUIDNotFound) Error ¶
func (o *DeleteDashboardByUIDNotFound) Error() string
func (*DeleteDashboardByUIDNotFound) GetPayload ¶
func (o *DeleteDashboardByUIDNotFound) GetPayload() *models.ErrorResponseBody
func (*DeleteDashboardByUIDNotFound) IsClientError ¶
func (o *DeleteDashboardByUIDNotFound) IsClientError() bool
IsClientError returns true when this delete dashboard by Uid not found response has a 4xx status code
func (*DeleteDashboardByUIDNotFound) IsCode ¶
func (o *DeleteDashboardByUIDNotFound) IsCode(code int) bool
IsCode returns true when this delete dashboard by Uid not found response a status code equal to that given
func (*DeleteDashboardByUIDNotFound) IsRedirect ¶
func (o *DeleteDashboardByUIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete dashboard by Uid not found response has a 3xx status code
func (*DeleteDashboardByUIDNotFound) IsServerError ¶
func (o *DeleteDashboardByUIDNotFound) IsServerError() bool
IsServerError returns true when this delete dashboard by Uid not found response has a 5xx status code
func (*DeleteDashboardByUIDNotFound) IsSuccess ¶
func (o *DeleteDashboardByUIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete dashboard by Uid not found response has a 2xx status code
func (*DeleteDashboardByUIDNotFound) String ¶
func (o *DeleteDashboardByUIDNotFound) String() string
type DeleteDashboardByUIDOK ¶
type DeleteDashboardByUIDOK struct {
Payload *models.DeleteDashboardByUIDOKBody
}
DeleteDashboardByUIDOK describes a response with status code 200, with default header values.
(empty)
func NewDeleteDashboardByUIDOK ¶
func NewDeleteDashboardByUIDOK() *DeleteDashboardByUIDOK
NewDeleteDashboardByUIDOK creates a DeleteDashboardByUIDOK with default headers values
func (*DeleteDashboardByUIDOK) Code ¶
func (o *DeleteDashboardByUIDOK) Code() int
Code gets the status code for the delete dashboard by Uid Ok response
func (*DeleteDashboardByUIDOK) Error ¶
func (o *DeleteDashboardByUIDOK) Error() string
func (*DeleteDashboardByUIDOK) GetPayload ¶
func (o *DeleteDashboardByUIDOK) GetPayload() *models.DeleteDashboardByUIDOKBody
func (*DeleteDashboardByUIDOK) IsClientError ¶
func (o *DeleteDashboardByUIDOK) IsClientError() bool
IsClientError returns true when this delete dashboard by Uid Ok response has a 4xx status code
func (*DeleteDashboardByUIDOK) IsCode ¶
func (o *DeleteDashboardByUIDOK) IsCode(code int) bool
IsCode returns true when this delete dashboard by Uid Ok response a status code equal to that given
func (*DeleteDashboardByUIDOK) IsRedirect ¶
func (o *DeleteDashboardByUIDOK) IsRedirect() bool
IsRedirect returns true when this delete dashboard by Uid Ok response has a 3xx status code
func (*DeleteDashboardByUIDOK) IsServerError ¶
func (o *DeleteDashboardByUIDOK) IsServerError() bool
IsServerError returns true when this delete dashboard by Uid Ok response has a 5xx status code
func (*DeleteDashboardByUIDOK) IsSuccess ¶
func (o *DeleteDashboardByUIDOK) IsSuccess() bool
IsSuccess returns true when this delete dashboard by Uid Ok response has a 2xx status code
func (*DeleteDashboardByUIDOK) String ¶
func (o *DeleteDashboardByUIDOK) String() string
type DeleteDashboardByUIDParams ¶
type DeleteDashboardByUIDParams struct { // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDashboardByUIDParams contains all the parameters to send to the API endpoint
for the delete dashboard by UID operation. Typically these are written to a http.Request.
func NewDeleteDashboardByUIDParams ¶
func NewDeleteDashboardByUIDParams() *DeleteDashboardByUIDParams
NewDeleteDashboardByUIDParams creates a new DeleteDashboardByUIDParams 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 NewDeleteDashboardByUIDParamsWithContext ¶
func NewDeleteDashboardByUIDParamsWithContext(ctx context.Context) *DeleteDashboardByUIDParams
NewDeleteDashboardByUIDParamsWithContext creates a new DeleteDashboardByUIDParams object with the ability to set a context for a request.
func NewDeleteDashboardByUIDParamsWithHTTPClient ¶
func NewDeleteDashboardByUIDParamsWithHTTPClient(client *http.Client) *DeleteDashboardByUIDParams
NewDeleteDashboardByUIDParamsWithHTTPClient creates a new DeleteDashboardByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDashboardByUIDParamsWithTimeout ¶
func NewDeleteDashboardByUIDParamsWithTimeout(timeout time.Duration) *DeleteDashboardByUIDParams
NewDeleteDashboardByUIDParamsWithTimeout creates a new DeleteDashboardByUIDParams object with the ability to set a timeout on a request.
func (*DeleteDashboardByUIDParams) SetContext ¶
func (o *DeleteDashboardByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete dashboard by UID params
func (*DeleteDashboardByUIDParams) SetDefaults ¶
func (o *DeleteDashboardByUIDParams) SetDefaults()
SetDefaults hydrates default values in the delete dashboard by UID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDashboardByUIDParams) SetHTTPClient ¶
func (o *DeleteDashboardByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete dashboard by UID params
func (*DeleteDashboardByUIDParams) SetTimeout ¶
func (o *DeleteDashboardByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete dashboard by UID params
func (*DeleteDashboardByUIDParams) SetUID ¶
func (o *DeleteDashboardByUIDParams) SetUID(uid string)
SetUID adds the uid to the delete dashboard by UID params
func (*DeleteDashboardByUIDParams) WithContext ¶
func (o *DeleteDashboardByUIDParams) WithContext(ctx context.Context) *DeleteDashboardByUIDParams
WithContext adds the context to the delete dashboard by UID params
func (*DeleteDashboardByUIDParams) WithDefaults ¶
func (o *DeleteDashboardByUIDParams) WithDefaults() *DeleteDashboardByUIDParams
WithDefaults hydrates default values in the delete dashboard by UID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDashboardByUIDParams) WithHTTPClient ¶
func (o *DeleteDashboardByUIDParams) WithHTTPClient(client *http.Client) *DeleteDashboardByUIDParams
WithHTTPClient adds the HTTPClient to the delete dashboard by UID params
func (*DeleteDashboardByUIDParams) WithTimeout ¶
func (o *DeleteDashboardByUIDParams) WithTimeout(timeout time.Duration) *DeleteDashboardByUIDParams
WithTimeout adds the timeout to the delete dashboard by UID params
func (*DeleteDashboardByUIDParams) WithUID ¶
func (o *DeleteDashboardByUIDParams) WithUID(uid string) *DeleteDashboardByUIDParams
WithUID adds the uid to the delete dashboard by UID params
func (*DeleteDashboardByUIDParams) WriteToRequest ¶
func (o *DeleteDashboardByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDashboardByUIDReader ¶
type DeleteDashboardByUIDReader struct {
// contains filtered or unexported fields
}
DeleteDashboardByUIDReader is a Reader for the DeleteDashboardByUID structure.
func (*DeleteDashboardByUIDReader) ReadResponse ¶
func (o *DeleteDashboardByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDashboardByUIDUnauthorized ¶
type DeleteDashboardByUIDUnauthorized struct {
}DeleteDashboardByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewDeleteDashboardByUIDUnauthorized ¶
func NewDeleteDashboardByUIDUnauthorized() *DeleteDashboardByUIDUnauthorized
NewDeleteDashboardByUIDUnauthorized creates a DeleteDashboardByUIDUnauthorized with default headers values
func (*DeleteDashboardByUIDUnauthorized) Code ¶
func (o *DeleteDashboardByUIDUnauthorized) Code() int
Code gets the status code for the delete dashboard by Uid unauthorized response
func (*DeleteDashboardByUIDUnauthorized) Error ¶
func (o *DeleteDashboardByUIDUnauthorized) Error() string
func (*DeleteDashboardByUIDUnauthorized) GetPayload ¶
func (o *DeleteDashboardByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*DeleteDashboardByUIDUnauthorized) IsClientError ¶
func (o *DeleteDashboardByUIDUnauthorized) IsClientError() bool
IsClientError returns true when this delete dashboard by Uid unauthorized response has a 4xx status code
func (*DeleteDashboardByUIDUnauthorized) IsCode ¶
func (o *DeleteDashboardByUIDUnauthorized) IsCode(code int) bool
IsCode returns true when this delete dashboard by Uid unauthorized response a status code equal to that given
func (*DeleteDashboardByUIDUnauthorized) IsRedirect ¶
func (o *DeleteDashboardByUIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete dashboard by Uid unauthorized response has a 3xx status code
func (*DeleteDashboardByUIDUnauthorized) IsServerError ¶
func (o *DeleteDashboardByUIDUnauthorized) IsServerError() bool
IsServerError returns true when this delete dashboard by Uid unauthorized response has a 5xx status code
func (*DeleteDashboardByUIDUnauthorized) IsSuccess ¶
func (o *DeleteDashboardByUIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete dashboard by Uid unauthorized response has a 2xx status code
func (*DeleteDashboardByUIDUnauthorized) String ¶
func (o *DeleteDashboardByUIDUnauthorized) String() string
type GetDashboardByUIDForbidden ¶
type GetDashboardByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetDashboardByUIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetDashboardByUIDForbidden ¶
func NewGetDashboardByUIDForbidden() *GetDashboardByUIDForbidden
NewGetDashboardByUIDForbidden creates a GetDashboardByUIDForbidden with default headers values
func (*GetDashboardByUIDForbidden) Code ¶
func (o *GetDashboardByUIDForbidden) Code() int
Code gets the status code for the get dashboard by Uid forbidden response
func (*GetDashboardByUIDForbidden) Error ¶
func (o *GetDashboardByUIDForbidden) Error() string
func (*GetDashboardByUIDForbidden) GetPayload ¶
func (o *GetDashboardByUIDForbidden) GetPayload() *models.ErrorResponseBody
func (*GetDashboardByUIDForbidden) IsClientError ¶
func (o *GetDashboardByUIDForbidden) IsClientError() bool
IsClientError returns true when this get dashboard by Uid forbidden response has a 4xx status code
func (*GetDashboardByUIDForbidden) IsCode ¶
func (o *GetDashboardByUIDForbidden) IsCode(code int) bool
IsCode returns true when this get dashboard by Uid forbidden response a status code equal to that given
func (*GetDashboardByUIDForbidden) IsRedirect ¶
func (o *GetDashboardByUIDForbidden) IsRedirect() bool
IsRedirect returns true when this get dashboard by Uid forbidden response has a 3xx status code
func (*GetDashboardByUIDForbidden) IsServerError ¶
func (o *GetDashboardByUIDForbidden) IsServerError() bool
IsServerError returns true when this get dashboard by Uid forbidden response has a 5xx status code
func (*GetDashboardByUIDForbidden) IsSuccess ¶
func (o *GetDashboardByUIDForbidden) IsSuccess() bool
IsSuccess returns true when this get dashboard by Uid forbidden response has a 2xx status code
func (*GetDashboardByUIDForbidden) String ¶
func (o *GetDashboardByUIDForbidden) String() string
type GetDashboardByUIDInternalServerError ¶
type GetDashboardByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetDashboardByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetDashboardByUIDInternalServerError ¶
func NewGetDashboardByUIDInternalServerError() *GetDashboardByUIDInternalServerError
NewGetDashboardByUIDInternalServerError creates a GetDashboardByUIDInternalServerError with default headers values
func (*GetDashboardByUIDInternalServerError) Code ¶
func (o *GetDashboardByUIDInternalServerError) Code() int
Code gets the status code for the get dashboard by Uid internal server error response
func (*GetDashboardByUIDInternalServerError) Error ¶
func (o *GetDashboardByUIDInternalServerError) Error() string
func (*GetDashboardByUIDInternalServerError) GetPayload ¶
func (o *GetDashboardByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetDashboardByUIDInternalServerError) IsClientError ¶
func (o *GetDashboardByUIDInternalServerError) IsClientError() bool
IsClientError returns true when this get dashboard by Uid internal server error response has a 4xx status code
func (*GetDashboardByUIDInternalServerError) IsCode ¶
func (o *GetDashboardByUIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get dashboard by Uid internal server error response a status code equal to that given
func (*GetDashboardByUIDInternalServerError) IsRedirect ¶
func (o *GetDashboardByUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get dashboard by Uid internal server error response has a 3xx status code
func (*GetDashboardByUIDInternalServerError) IsServerError ¶
func (o *GetDashboardByUIDInternalServerError) IsServerError() bool
IsServerError returns true when this get dashboard by Uid internal server error response has a 5xx status code
func (*GetDashboardByUIDInternalServerError) IsSuccess ¶
func (o *GetDashboardByUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get dashboard by Uid internal server error response has a 2xx status code
func (*GetDashboardByUIDInternalServerError) String ¶
func (o *GetDashboardByUIDInternalServerError) String() string
type GetDashboardByUIDNotFound ¶
type GetDashboardByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetDashboardByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetDashboardByUIDNotFound ¶
func NewGetDashboardByUIDNotFound() *GetDashboardByUIDNotFound
NewGetDashboardByUIDNotFound creates a GetDashboardByUIDNotFound with default headers values
func (*GetDashboardByUIDNotFound) Code ¶
func (o *GetDashboardByUIDNotFound) Code() int
Code gets the status code for the get dashboard by Uid not found response
func (*GetDashboardByUIDNotFound) Error ¶
func (o *GetDashboardByUIDNotFound) Error() string
func (*GetDashboardByUIDNotFound) GetPayload ¶
func (o *GetDashboardByUIDNotFound) GetPayload() *models.ErrorResponseBody
func (*GetDashboardByUIDNotFound) IsClientError ¶
func (o *GetDashboardByUIDNotFound) IsClientError() bool
IsClientError returns true when this get dashboard by Uid not found response has a 4xx status code
func (*GetDashboardByUIDNotFound) IsCode ¶
func (o *GetDashboardByUIDNotFound) IsCode(code int) bool
IsCode returns true when this get dashboard by Uid not found response a status code equal to that given
func (*GetDashboardByUIDNotFound) IsRedirect ¶
func (o *GetDashboardByUIDNotFound) IsRedirect() bool
IsRedirect returns true when this get dashboard by Uid not found response has a 3xx status code
func (*GetDashboardByUIDNotFound) IsServerError ¶
func (o *GetDashboardByUIDNotFound) IsServerError() bool
IsServerError returns true when this get dashboard by Uid not found response has a 5xx status code
func (*GetDashboardByUIDNotFound) IsSuccess ¶
func (o *GetDashboardByUIDNotFound) IsSuccess() bool
IsSuccess returns true when this get dashboard by Uid not found response has a 2xx status code
func (*GetDashboardByUIDNotFound) String ¶
func (o *GetDashboardByUIDNotFound) String() string
type GetDashboardByUIDOK ¶
type GetDashboardByUIDOK struct {
Payload *models.DashboardFullWithMeta
}
GetDashboardByUIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetDashboardByUIDOK ¶
func NewGetDashboardByUIDOK() *GetDashboardByUIDOK
NewGetDashboardByUIDOK creates a GetDashboardByUIDOK with default headers values
func (*GetDashboardByUIDOK) Code ¶
func (o *GetDashboardByUIDOK) Code() int
Code gets the status code for the get dashboard by Uid Ok response
func (*GetDashboardByUIDOK) Error ¶
func (o *GetDashboardByUIDOK) Error() string
func (*GetDashboardByUIDOK) GetPayload ¶
func (o *GetDashboardByUIDOK) GetPayload() *models.DashboardFullWithMeta
func (*GetDashboardByUIDOK) IsClientError ¶
func (o *GetDashboardByUIDOK) IsClientError() bool
IsClientError returns true when this get dashboard by Uid Ok response has a 4xx status code
func (*GetDashboardByUIDOK) IsCode ¶
func (o *GetDashboardByUIDOK) IsCode(code int) bool
IsCode returns true when this get dashboard by Uid Ok response a status code equal to that given
func (*GetDashboardByUIDOK) IsRedirect ¶
func (o *GetDashboardByUIDOK) IsRedirect() bool
IsRedirect returns true when this get dashboard by Uid Ok response has a 3xx status code
func (*GetDashboardByUIDOK) IsServerError ¶
func (o *GetDashboardByUIDOK) IsServerError() bool
IsServerError returns true when this get dashboard by Uid Ok response has a 5xx status code
func (*GetDashboardByUIDOK) IsSuccess ¶
func (o *GetDashboardByUIDOK) IsSuccess() bool
IsSuccess returns true when this get dashboard by Uid Ok response has a 2xx status code
func (*GetDashboardByUIDOK) String ¶
func (o *GetDashboardByUIDOK) String() string
type GetDashboardByUIDParams ¶
type GetDashboardByUIDParams struct { // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardByUIDParams contains all the parameters to send to the API endpoint
for the get dashboard by UID operation. Typically these are written to a http.Request.
func NewGetDashboardByUIDParams ¶
func NewGetDashboardByUIDParams() *GetDashboardByUIDParams
NewGetDashboardByUIDParams creates a new GetDashboardByUIDParams 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 NewGetDashboardByUIDParamsWithContext ¶
func NewGetDashboardByUIDParamsWithContext(ctx context.Context) *GetDashboardByUIDParams
NewGetDashboardByUIDParamsWithContext creates a new GetDashboardByUIDParams object with the ability to set a context for a request.
func NewGetDashboardByUIDParamsWithHTTPClient ¶
func NewGetDashboardByUIDParamsWithHTTPClient(client *http.Client) *GetDashboardByUIDParams
NewGetDashboardByUIDParamsWithHTTPClient creates a new GetDashboardByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardByUIDParamsWithTimeout ¶
func NewGetDashboardByUIDParamsWithTimeout(timeout time.Duration) *GetDashboardByUIDParams
NewGetDashboardByUIDParamsWithTimeout creates a new GetDashboardByUIDParams object with the ability to set a timeout on a request.
func (*GetDashboardByUIDParams) SetContext ¶
func (o *GetDashboardByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard by UID params
func (*GetDashboardByUIDParams) SetDefaults ¶
func (o *GetDashboardByUIDParams) SetDefaults()
SetDefaults hydrates default values in the get dashboard by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardByUIDParams) SetHTTPClient ¶
func (o *GetDashboardByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard by UID params
func (*GetDashboardByUIDParams) SetTimeout ¶
func (o *GetDashboardByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard by UID params
func (*GetDashboardByUIDParams) SetUID ¶
func (o *GetDashboardByUIDParams) SetUID(uid string)
SetUID adds the uid to the get dashboard by UID params
func (*GetDashboardByUIDParams) WithContext ¶
func (o *GetDashboardByUIDParams) WithContext(ctx context.Context) *GetDashboardByUIDParams
WithContext adds the context to the get dashboard by UID params
func (*GetDashboardByUIDParams) WithDefaults ¶
func (o *GetDashboardByUIDParams) WithDefaults() *GetDashboardByUIDParams
WithDefaults hydrates default values in the get dashboard by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardByUIDParams) WithHTTPClient ¶
func (o *GetDashboardByUIDParams) WithHTTPClient(client *http.Client) *GetDashboardByUIDParams
WithHTTPClient adds the HTTPClient to the get dashboard by UID params
func (*GetDashboardByUIDParams) WithTimeout ¶
func (o *GetDashboardByUIDParams) WithTimeout(timeout time.Duration) *GetDashboardByUIDParams
WithTimeout adds the timeout to the get dashboard by UID params
func (*GetDashboardByUIDParams) WithUID ¶
func (o *GetDashboardByUIDParams) WithUID(uid string) *GetDashboardByUIDParams
WithUID adds the uid to the get dashboard by UID params
func (*GetDashboardByUIDParams) WriteToRequest ¶
func (o *GetDashboardByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardByUIDReader ¶
type GetDashboardByUIDReader struct {
// contains filtered or unexported fields
}
GetDashboardByUIDReader is a Reader for the GetDashboardByUID structure.
func (*GetDashboardByUIDReader) ReadResponse ¶
func (o *GetDashboardByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDashboardByUIDUnauthorized ¶
type GetDashboardByUIDUnauthorized struct {
}GetDashboardByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetDashboardByUIDUnauthorized ¶
func NewGetDashboardByUIDUnauthorized() *GetDashboardByUIDUnauthorized
NewGetDashboardByUIDUnauthorized creates a GetDashboardByUIDUnauthorized with default headers values
func (*GetDashboardByUIDUnauthorized) Code ¶
func (o *GetDashboardByUIDUnauthorized) Code() int
Code gets the status code for the get dashboard by Uid unauthorized response
func (*GetDashboardByUIDUnauthorized) Error ¶
func (o *GetDashboardByUIDUnauthorized) Error() string
func (*GetDashboardByUIDUnauthorized) GetPayload ¶
func (o *GetDashboardByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetDashboardByUIDUnauthorized) IsClientError ¶
func (o *GetDashboardByUIDUnauthorized) IsClientError() bool
IsClientError returns true when this get dashboard by Uid unauthorized response has a 4xx status code
func (*GetDashboardByUIDUnauthorized) IsCode ¶
func (o *GetDashboardByUIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get dashboard by Uid unauthorized response a status code equal to that given
func (*GetDashboardByUIDUnauthorized) IsRedirect ¶
func (o *GetDashboardByUIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get dashboard by Uid unauthorized response has a 3xx status code
func (*GetDashboardByUIDUnauthorized) IsServerError ¶
func (o *GetDashboardByUIDUnauthorized) IsServerError() bool
IsServerError returns true when this get dashboard by Uid unauthorized response has a 5xx status code
func (*GetDashboardByUIDUnauthorized) IsSuccess ¶
func (o *GetDashboardByUIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get dashboard by Uid unauthorized response has a 2xx status code
func (*GetDashboardByUIDUnauthorized) String ¶
func (o *GetDashboardByUIDUnauthorized) String() string
type GetDashboardTagsInternalServerError ¶
type GetDashboardTagsInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetDashboardTagsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetDashboardTagsInternalServerError ¶
func NewGetDashboardTagsInternalServerError() *GetDashboardTagsInternalServerError
NewGetDashboardTagsInternalServerError creates a GetDashboardTagsInternalServerError with default headers values
func (*GetDashboardTagsInternalServerError) Code ¶
func (o *GetDashboardTagsInternalServerError) Code() int
Code gets the status code for the get dashboard tags internal server error response
func (*GetDashboardTagsInternalServerError) Error ¶
func (o *GetDashboardTagsInternalServerError) Error() string
func (*GetDashboardTagsInternalServerError) GetPayload ¶
func (o *GetDashboardTagsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetDashboardTagsInternalServerError) IsClientError ¶
func (o *GetDashboardTagsInternalServerError) IsClientError() bool
IsClientError returns true when this get dashboard tags internal server error response has a 4xx status code
func (*GetDashboardTagsInternalServerError) IsCode ¶
func (o *GetDashboardTagsInternalServerError) IsCode(code int) bool
IsCode returns true when this get dashboard tags internal server error response a status code equal to that given
func (*GetDashboardTagsInternalServerError) IsRedirect ¶
func (o *GetDashboardTagsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get dashboard tags internal server error response has a 3xx status code
func (*GetDashboardTagsInternalServerError) IsServerError ¶
func (o *GetDashboardTagsInternalServerError) IsServerError() bool
IsServerError returns true when this get dashboard tags internal server error response has a 5xx status code
func (*GetDashboardTagsInternalServerError) IsSuccess ¶
func (o *GetDashboardTagsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get dashboard tags internal server error response has a 2xx status code
func (*GetDashboardTagsInternalServerError) String ¶
func (o *GetDashboardTagsInternalServerError) String() string
type GetDashboardTagsOK ¶
type GetDashboardTagsOK struct {
Payload []*models.DashboardTagCloudItem
}
GetDashboardTagsOK describes a response with status code 200, with default header values.
(empty)
func NewGetDashboardTagsOK ¶
func NewGetDashboardTagsOK() *GetDashboardTagsOK
NewGetDashboardTagsOK creates a GetDashboardTagsOK with default headers values
func (*GetDashboardTagsOK) Code ¶
func (o *GetDashboardTagsOK) Code() int
Code gets the status code for the get dashboard tags Ok response
func (*GetDashboardTagsOK) Error ¶
func (o *GetDashboardTagsOK) Error() string
func (*GetDashboardTagsOK) GetPayload ¶
func (o *GetDashboardTagsOK) GetPayload() []*models.DashboardTagCloudItem
func (*GetDashboardTagsOK) IsClientError ¶
func (o *GetDashboardTagsOK) IsClientError() bool
IsClientError returns true when this get dashboard tags Ok response has a 4xx status code
func (*GetDashboardTagsOK) IsCode ¶
func (o *GetDashboardTagsOK) IsCode(code int) bool
IsCode returns true when this get dashboard tags Ok response a status code equal to that given
func (*GetDashboardTagsOK) IsRedirect ¶
func (o *GetDashboardTagsOK) IsRedirect() bool
IsRedirect returns true when this get dashboard tags Ok response has a 3xx status code
func (*GetDashboardTagsOK) IsServerError ¶
func (o *GetDashboardTagsOK) IsServerError() bool
IsServerError returns true when this get dashboard tags Ok response has a 5xx status code
func (*GetDashboardTagsOK) IsSuccess ¶
func (o *GetDashboardTagsOK) IsSuccess() bool
IsSuccess returns true when this get dashboard tags Ok response has a 2xx status code
func (*GetDashboardTagsOK) String ¶
func (o *GetDashboardTagsOK) String() string
type GetDashboardTagsParams ¶
type GetDashboardTagsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardTagsParams contains all the parameters to send to the API endpoint
for the get dashboard tags operation. Typically these are written to a http.Request.
func NewGetDashboardTagsParams ¶
func NewGetDashboardTagsParams() *GetDashboardTagsParams
NewGetDashboardTagsParams creates a new GetDashboardTagsParams 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 NewGetDashboardTagsParamsWithContext ¶
func NewGetDashboardTagsParamsWithContext(ctx context.Context) *GetDashboardTagsParams
NewGetDashboardTagsParamsWithContext creates a new GetDashboardTagsParams object with the ability to set a context for a request.
func NewGetDashboardTagsParamsWithHTTPClient ¶
func NewGetDashboardTagsParamsWithHTTPClient(client *http.Client) *GetDashboardTagsParams
NewGetDashboardTagsParamsWithHTTPClient creates a new GetDashboardTagsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardTagsParamsWithTimeout ¶
func NewGetDashboardTagsParamsWithTimeout(timeout time.Duration) *GetDashboardTagsParams
NewGetDashboardTagsParamsWithTimeout creates a new GetDashboardTagsParams object with the ability to set a timeout on a request.
func (*GetDashboardTagsParams) SetContext ¶
func (o *GetDashboardTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard tags params
func (*GetDashboardTagsParams) SetDefaults ¶
func (o *GetDashboardTagsParams) SetDefaults()
SetDefaults hydrates default values in the get dashboard tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardTagsParams) SetHTTPClient ¶
func (o *GetDashboardTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard tags params
func (*GetDashboardTagsParams) SetTimeout ¶
func (o *GetDashboardTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard tags params
func (*GetDashboardTagsParams) WithContext ¶
func (o *GetDashboardTagsParams) WithContext(ctx context.Context) *GetDashboardTagsParams
WithContext adds the context to the get dashboard tags params
func (*GetDashboardTagsParams) WithDefaults ¶
func (o *GetDashboardTagsParams) WithDefaults() *GetDashboardTagsParams
WithDefaults hydrates default values in the get dashboard tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardTagsParams) WithHTTPClient ¶
func (o *GetDashboardTagsParams) WithHTTPClient(client *http.Client) *GetDashboardTagsParams
WithHTTPClient adds the HTTPClient to the get dashboard tags params
func (*GetDashboardTagsParams) WithTimeout ¶
func (o *GetDashboardTagsParams) WithTimeout(timeout time.Duration) *GetDashboardTagsParams
WithTimeout adds the timeout to the get dashboard tags params
func (*GetDashboardTagsParams) WriteToRequest ¶
func (o *GetDashboardTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardTagsReader ¶
type GetDashboardTagsReader struct {
// contains filtered or unexported fields
}
GetDashboardTagsReader is a Reader for the GetDashboardTags structure.
func (*GetDashboardTagsReader) ReadResponse ¶
func (o *GetDashboardTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDashboardTagsUnauthorized ¶
type GetDashboardTagsUnauthorized struct {
}GetDashboardTagsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetDashboardTagsUnauthorized ¶
func NewGetDashboardTagsUnauthorized() *GetDashboardTagsUnauthorized
NewGetDashboardTagsUnauthorized creates a GetDashboardTagsUnauthorized with default headers values
func (*GetDashboardTagsUnauthorized) Code ¶
func (o *GetDashboardTagsUnauthorized) Code() int
Code gets the status code for the get dashboard tags unauthorized response
func (*GetDashboardTagsUnauthorized) Error ¶
func (o *GetDashboardTagsUnauthorized) Error() string
func (*GetDashboardTagsUnauthorized) GetPayload ¶
func (o *GetDashboardTagsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetDashboardTagsUnauthorized) IsClientError ¶
func (o *GetDashboardTagsUnauthorized) IsClientError() bool
IsClientError returns true when this get dashboard tags unauthorized response has a 4xx status code
func (*GetDashboardTagsUnauthorized) IsCode ¶
func (o *GetDashboardTagsUnauthorized) IsCode(code int) bool
IsCode returns true when this get dashboard tags unauthorized response a status code equal to that given
func (*GetDashboardTagsUnauthorized) IsRedirect ¶
func (o *GetDashboardTagsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get dashboard tags unauthorized response has a 3xx status code
func (*GetDashboardTagsUnauthorized) IsServerError ¶
func (o *GetDashboardTagsUnauthorized) IsServerError() bool
IsServerError returns true when this get dashboard tags unauthorized response has a 5xx status code
func (*GetDashboardTagsUnauthorized) IsSuccess ¶
func (o *GetDashboardTagsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get dashboard tags unauthorized response has a 2xx status code
func (*GetDashboardTagsUnauthorized) String ¶
func (o *GetDashboardTagsUnauthorized) String() string
type GetHomeDashboardInternalServerError ¶
type GetHomeDashboardInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetHomeDashboardInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetHomeDashboardInternalServerError ¶
func NewGetHomeDashboardInternalServerError() *GetHomeDashboardInternalServerError
NewGetHomeDashboardInternalServerError creates a GetHomeDashboardInternalServerError with default headers values
func (*GetHomeDashboardInternalServerError) Code ¶
func (o *GetHomeDashboardInternalServerError) Code() int
Code gets the status code for the get home dashboard internal server error response
func (*GetHomeDashboardInternalServerError) Error ¶
func (o *GetHomeDashboardInternalServerError) Error() string
func (*GetHomeDashboardInternalServerError) GetPayload ¶
func (o *GetHomeDashboardInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetHomeDashboardInternalServerError) IsClientError ¶
func (o *GetHomeDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this get home dashboard internal server error response has a 4xx status code
func (*GetHomeDashboardInternalServerError) IsCode ¶
func (o *GetHomeDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this get home dashboard internal server error response a status code equal to that given
func (*GetHomeDashboardInternalServerError) IsRedirect ¶
func (o *GetHomeDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this get home dashboard internal server error response has a 3xx status code
func (*GetHomeDashboardInternalServerError) IsServerError ¶
func (o *GetHomeDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this get home dashboard internal server error response has a 5xx status code
func (*GetHomeDashboardInternalServerError) IsSuccess ¶
func (o *GetHomeDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this get home dashboard internal server error response has a 2xx status code
func (*GetHomeDashboardInternalServerError) String ¶
func (o *GetHomeDashboardInternalServerError) String() string
type GetHomeDashboardOK ¶
type GetHomeDashboardOK struct {
Payload *models.GetHomeDashboardResponse
}
GetHomeDashboardOK describes a response with status code 200, with default header values.
(empty)
func NewGetHomeDashboardOK ¶
func NewGetHomeDashboardOK() *GetHomeDashboardOK
NewGetHomeDashboardOK creates a GetHomeDashboardOK with default headers values
func (*GetHomeDashboardOK) Code ¶
func (o *GetHomeDashboardOK) Code() int
Code gets the status code for the get home dashboard Ok response
func (*GetHomeDashboardOK) Error ¶
func (o *GetHomeDashboardOK) Error() string
func (*GetHomeDashboardOK) GetPayload ¶
func (o *GetHomeDashboardOK) GetPayload() *models.GetHomeDashboardResponse
func (*GetHomeDashboardOK) IsClientError ¶
func (o *GetHomeDashboardOK) IsClientError() bool
IsClientError returns true when this get home dashboard Ok response has a 4xx status code
func (*GetHomeDashboardOK) IsCode ¶
func (o *GetHomeDashboardOK) IsCode(code int) bool
IsCode returns true when this get home dashboard Ok response a status code equal to that given
func (*GetHomeDashboardOK) IsRedirect ¶
func (o *GetHomeDashboardOK) IsRedirect() bool
IsRedirect returns true when this get home dashboard Ok response has a 3xx status code
func (*GetHomeDashboardOK) IsServerError ¶
func (o *GetHomeDashboardOK) IsServerError() bool
IsServerError returns true when this get home dashboard Ok response has a 5xx status code
func (*GetHomeDashboardOK) IsSuccess ¶
func (o *GetHomeDashboardOK) IsSuccess() bool
IsSuccess returns true when this get home dashboard Ok response has a 2xx status code
func (*GetHomeDashboardOK) String ¶
func (o *GetHomeDashboardOK) String() string
type GetHomeDashboardParams ¶
type GetHomeDashboardParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetHomeDashboardParams contains all the parameters to send to the API endpoint
for the get home dashboard operation. Typically these are written to a http.Request.
func NewGetHomeDashboardParams ¶
func NewGetHomeDashboardParams() *GetHomeDashboardParams
NewGetHomeDashboardParams creates a new GetHomeDashboardParams 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 NewGetHomeDashboardParamsWithContext ¶
func NewGetHomeDashboardParamsWithContext(ctx context.Context) *GetHomeDashboardParams
NewGetHomeDashboardParamsWithContext creates a new GetHomeDashboardParams object with the ability to set a context for a request.
func NewGetHomeDashboardParamsWithHTTPClient ¶
func NewGetHomeDashboardParamsWithHTTPClient(client *http.Client) *GetHomeDashboardParams
NewGetHomeDashboardParamsWithHTTPClient creates a new GetHomeDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewGetHomeDashboardParamsWithTimeout ¶
func NewGetHomeDashboardParamsWithTimeout(timeout time.Duration) *GetHomeDashboardParams
NewGetHomeDashboardParamsWithTimeout creates a new GetHomeDashboardParams object with the ability to set a timeout on a request.
func (*GetHomeDashboardParams) SetContext ¶
func (o *GetHomeDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the get home dashboard params
func (*GetHomeDashboardParams) SetDefaults ¶
func (o *GetHomeDashboardParams) SetDefaults()
SetDefaults hydrates default values in the get home dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*GetHomeDashboardParams) SetHTTPClient ¶
func (o *GetHomeDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get home dashboard params
func (*GetHomeDashboardParams) SetTimeout ¶
func (o *GetHomeDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get home dashboard params
func (*GetHomeDashboardParams) WithContext ¶
func (o *GetHomeDashboardParams) WithContext(ctx context.Context) *GetHomeDashboardParams
WithContext adds the context to the get home dashboard params
func (*GetHomeDashboardParams) WithDefaults ¶
func (o *GetHomeDashboardParams) WithDefaults() *GetHomeDashboardParams
WithDefaults hydrates default values in the get home dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*GetHomeDashboardParams) WithHTTPClient ¶
func (o *GetHomeDashboardParams) WithHTTPClient(client *http.Client) *GetHomeDashboardParams
WithHTTPClient adds the HTTPClient to the get home dashboard params
func (*GetHomeDashboardParams) WithTimeout ¶
func (o *GetHomeDashboardParams) WithTimeout(timeout time.Duration) *GetHomeDashboardParams
WithTimeout adds the timeout to the get home dashboard params
func (*GetHomeDashboardParams) WriteToRequest ¶
func (o *GetHomeDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHomeDashboardReader ¶
type GetHomeDashboardReader struct {
// contains filtered or unexported fields
}
GetHomeDashboardReader is a Reader for the GetHomeDashboard structure.
func (*GetHomeDashboardReader) ReadResponse ¶
func (o *GetHomeDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHomeDashboardUnauthorized ¶
type GetHomeDashboardUnauthorized struct {
}GetHomeDashboardUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetHomeDashboardUnauthorized ¶
func NewGetHomeDashboardUnauthorized() *GetHomeDashboardUnauthorized
NewGetHomeDashboardUnauthorized creates a GetHomeDashboardUnauthorized with default headers values
func (*GetHomeDashboardUnauthorized) Code ¶
func (o *GetHomeDashboardUnauthorized) Code() int
Code gets the status code for the get home dashboard unauthorized response
func (*GetHomeDashboardUnauthorized) Error ¶
func (o *GetHomeDashboardUnauthorized) Error() string
func (*GetHomeDashboardUnauthorized) GetPayload ¶
func (o *GetHomeDashboardUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetHomeDashboardUnauthorized) IsClientError ¶
func (o *GetHomeDashboardUnauthorized) IsClientError() bool
IsClientError returns true when this get home dashboard unauthorized response has a 4xx status code
func (*GetHomeDashboardUnauthorized) IsCode ¶
func (o *GetHomeDashboardUnauthorized) IsCode(code int) bool
IsCode returns true when this get home dashboard unauthorized response a status code equal to that given
func (*GetHomeDashboardUnauthorized) IsRedirect ¶
func (o *GetHomeDashboardUnauthorized) IsRedirect() bool
IsRedirect returns true when this get home dashboard unauthorized response has a 3xx status code
func (*GetHomeDashboardUnauthorized) IsServerError ¶
func (o *GetHomeDashboardUnauthorized) IsServerError() bool
IsServerError returns true when this get home dashboard unauthorized response has a 5xx status code
func (*GetHomeDashboardUnauthorized) IsSuccess ¶
func (o *GetHomeDashboardUnauthorized) IsSuccess() bool
IsSuccess returns true when this get home dashboard unauthorized response has a 2xx status code
func (*GetHomeDashboardUnauthorized) String ¶
func (o *GetHomeDashboardUnauthorized) String() string
type HardDeleteDashboardByUIDForbidden ¶
type HardDeleteDashboardByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
HardDeleteDashboardByUIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewHardDeleteDashboardByUIDForbidden ¶
func NewHardDeleteDashboardByUIDForbidden() *HardDeleteDashboardByUIDForbidden
NewHardDeleteDashboardByUIDForbidden creates a HardDeleteDashboardByUIDForbidden with default headers values
func (*HardDeleteDashboardByUIDForbidden) Code ¶
func (o *HardDeleteDashboardByUIDForbidden) Code() int
Code gets the status code for the hard delete dashboard by Uid forbidden response
func (*HardDeleteDashboardByUIDForbidden) Error ¶
func (o *HardDeleteDashboardByUIDForbidden) Error() string
func (*HardDeleteDashboardByUIDForbidden) GetPayload ¶
func (o *HardDeleteDashboardByUIDForbidden) GetPayload() *models.ErrorResponseBody
func (*HardDeleteDashboardByUIDForbidden) IsClientError ¶
func (o *HardDeleteDashboardByUIDForbidden) IsClientError() bool
IsClientError returns true when this hard delete dashboard by Uid forbidden response has a 4xx status code
func (*HardDeleteDashboardByUIDForbidden) IsCode ¶
func (o *HardDeleteDashboardByUIDForbidden) IsCode(code int) bool
IsCode returns true when this hard delete dashboard by Uid forbidden response a status code equal to that given
func (*HardDeleteDashboardByUIDForbidden) IsRedirect ¶
func (o *HardDeleteDashboardByUIDForbidden) IsRedirect() bool
IsRedirect returns true when this hard delete dashboard by Uid forbidden response has a 3xx status code
func (*HardDeleteDashboardByUIDForbidden) IsServerError ¶
func (o *HardDeleteDashboardByUIDForbidden) IsServerError() bool
IsServerError returns true when this hard delete dashboard by Uid forbidden response has a 5xx status code
func (*HardDeleteDashboardByUIDForbidden) IsSuccess ¶
func (o *HardDeleteDashboardByUIDForbidden) IsSuccess() bool
IsSuccess returns true when this hard delete dashboard by Uid forbidden response has a 2xx status code
func (*HardDeleteDashboardByUIDForbidden) String ¶
func (o *HardDeleteDashboardByUIDForbidden) String() string
type HardDeleteDashboardByUIDInternalServerError ¶
type HardDeleteDashboardByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
HardDeleteDashboardByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewHardDeleteDashboardByUIDInternalServerError ¶
func NewHardDeleteDashboardByUIDInternalServerError() *HardDeleteDashboardByUIDInternalServerError
NewHardDeleteDashboardByUIDInternalServerError creates a HardDeleteDashboardByUIDInternalServerError with default headers values
func (*HardDeleteDashboardByUIDInternalServerError) Code ¶
func (o *HardDeleteDashboardByUIDInternalServerError) Code() int
Code gets the status code for the hard delete dashboard by Uid internal server error response
func (*HardDeleteDashboardByUIDInternalServerError) Error ¶
func (o *HardDeleteDashboardByUIDInternalServerError) Error() string
func (*HardDeleteDashboardByUIDInternalServerError) GetPayload ¶
func (o *HardDeleteDashboardByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*HardDeleteDashboardByUIDInternalServerError) IsClientError ¶
func (o *HardDeleteDashboardByUIDInternalServerError) IsClientError() bool
IsClientError returns true when this hard delete dashboard by Uid internal server error response has a 4xx status code
func (*HardDeleteDashboardByUIDInternalServerError) IsCode ¶
func (o *HardDeleteDashboardByUIDInternalServerError) IsCode(code int) bool
IsCode returns true when this hard delete dashboard by Uid internal server error response a status code equal to that given
func (*HardDeleteDashboardByUIDInternalServerError) IsRedirect ¶
func (o *HardDeleteDashboardByUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this hard delete dashboard by Uid internal server error response has a 3xx status code
func (*HardDeleteDashboardByUIDInternalServerError) IsServerError ¶
func (o *HardDeleteDashboardByUIDInternalServerError) IsServerError() bool
IsServerError returns true when this hard delete dashboard by Uid internal server error response has a 5xx status code
func (*HardDeleteDashboardByUIDInternalServerError) IsSuccess ¶
func (o *HardDeleteDashboardByUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this hard delete dashboard by Uid internal server error response has a 2xx status code
func (*HardDeleteDashboardByUIDInternalServerError) String ¶
func (o *HardDeleteDashboardByUIDInternalServerError) String() string
type HardDeleteDashboardByUIDNotFound ¶
type HardDeleteDashboardByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
HardDeleteDashboardByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewHardDeleteDashboardByUIDNotFound ¶
func NewHardDeleteDashboardByUIDNotFound() *HardDeleteDashboardByUIDNotFound
NewHardDeleteDashboardByUIDNotFound creates a HardDeleteDashboardByUIDNotFound with default headers values
func (*HardDeleteDashboardByUIDNotFound) Code ¶
func (o *HardDeleteDashboardByUIDNotFound) Code() int
Code gets the status code for the hard delete dashboard by Uid not found response
func (*HardDeleteDashboardByUIDNotFound) Error ¶
func (o *HardDeleteDashboardByUIDNotFound) Error() string
func (*HardDeleteDashboardByUIDNotFound) GetPayload ¶
func (o *HardDeleteDashboardByUIDNotFound) GetPayload() *models.ErrorResponseBody
func (*HardDeleteDashboardByUIDNotFound) IsClientError ¶
func (o *HardDeleteDashboardByUIDNotFound) IsClientError() bool
IsClientError returns true when this hard delete dashboard by Uid not found response has a 4xx status code
func (*HardDeleteDashboardByUIDNotFound) IsCode ¶
func (o *HardDeleteDashboardByUIDNotFound) IsCode(code int) bool
IsCode returns true when this hard delete dashboard by Uid not found response a status code equal to that given
func (*HardDeleteDashboardByUIDNotFound) IsRedirect ¶
func (o *HardDeleteDashboardByUIDNotFound) IsRedirect() bool
IsRedirect returns true when this hard delete dashboard by Uid not found response has a 3xx status code
func (*HardDeleteDashboardByUIDNotFound) IsServerError ¶
func (o *HardDeleteDashboardByUIDNotFound) IsServerError() bool
IsServerError returns true when this hard delete dashboard by Uid not found response has a 5xx status code
func (*HardDeleteDashboardByUIDNotFound) IsSuccess ¶
func (o *HardDeleteDashboardByUIDNotFound) IsSuccess() bool
IsSuccess returns true when this hard delete dashboard by Uid not found response has a 2xx status code
func (*HardDeleteDashboardByUIDNotFound) String ¶
func (o *HardDeleteDashboardByUIDNotFound) String() string
type HardDeleteDashboardByUIDOK ¶
type HardDeleteDashboardByUIDOK struct {
Payload *models.HardDeleteDashboardByUIDOKBody
}
HardDeleteDashboardByUIDOK describes a response with status code 200, with default header values.
(empty)
func NewHardDeleteDashboardByUIDOK ¶
func NewHardDeleteDashboardByUIDOK() *HardDeleteDashboardByUIDOK
NewHardDeleteDashboardByUIDOK creates a HardDeleteDashboardByUIDOK with default headers values
func (*HardDeleteDashboardByUIDOK) Code ¶
func (o *HardDeleteDashboardByUIDOK) Code() int
Code gets the status code for the hard delete dashboard by Uid Ok response
func (*HardDeleteDashboardByUIDOK) Error ¶
func (o *HardDeleteDashboardByUIDOK) Error() string
func (*HardDeleteDashboardByUIDOK) GetPayload ¶
func (o *HardDeleteDashboardByUIDOK) GetPayload() *models.HardDeleteDashboardByUIDOKBody
func (*HardDeleteDashboardByUIDOK) IsClientError ¶
func (o *HardDeleteDashboardByUIDOK) IsClientError() bool
IsClientError returns true when this hard delete dashboard by Uid Ok response has a 4xx status code
func (*HardDeleteDashboardByUIDOK) IsCode ¶
func (o *HardDeleteDashboardByUIDOK) IsCode(code int) bool
IsCode returns true when this hard delete dashboard by Uid Ok response a status code equal to that given
func (*HardDeleteDashboardByUIDOK) IsRedirect ¶
func (o *HardDeleteDashboardByUIDOK) IsRedirect() bool
IsRedirect returns true when this hard delete dashboard by Uid Ok response has a 3xx status code
func (*HardDeleteDashboardByUIDOK) IsServerError ¶
func (o *HardDeleteDashboardByUIDOK) IsServerError() bool
IsServerError returns true when this hard delete dashboard by Uid Ok response has a 5xx status code
func (*HardDeleteDashboardByUIDOK) IsSuccess ¶
func (o *HardDeleteDashboardByUIDOK) IsSuccess() bool
IsSuccess returns true when this hard delete dashboard by Uid Ok response has a 2xx status code
func (*HardDeleteDashboardByUIDOK) String ¶
func (o *HardDeleteDashboardByUIDOK) String() string
type HardDeleteDashboardByUIDParams ¶
type HardDeleteDashboardByUIDParams struct { // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HardDeleteDashboardByUIDParams contains all the parameters to send to the API endpoint
for the hard delete dashboard by UID operation. Typically these are written to a http.Request.
func NewHardDeleteDashboardByUIDParams ¶
func NewHardDeleteDashboardByUIDParams() *HardDeleteDashboardByUIDParams
NewHardDeleteDashboardByUIDParams creates a new HardDeleteDashboardByUIDParams 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 NewHardDeleteDashboardByUIDParamsWithContext ¶
func NewHardDeleteDashboardByUIDParamsWithContext(ctx context.Context) *HardDeleteDashboardByUIDParams
NewHardDeleteDashboardByUIDParamsWithContext creates a new HardDeleteDashboardByUIDParams object with the ability to set a context for a request.
func NewHardDeleteDashboardByUIDParamsWithHTTPClient ¶
func NewHardDeleteDashboardByUIDParamsWithHTTPClient(client *http.Client) *HardDeleteDashboardByUIDParams
NewHardDeleteDashboardByUIDParamsWithHTTPClient creates a new HardDeleteDashboardByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewHardDeleteDashboardByUIDParamsWithTimeout ¶
func NewHardDeleteDashboardByUIDParamsWithTimeout(timeout time.Duration) *HardDeleteDashboardByUIDParams
NewHardDeleteDashboardByUIDParamsWithTimeout creates a new HardDeleteDashboardByUIDParams object with the ability to set a timeout on a request.
func (*HardDeleteDashboardByUIDParams) SetContext ¶
func (o *HardDeleteDashboardByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the hard delete dashboard by UID params
func (*HardDeleteDashboardByUIDParams) SetDefaults ¶
func (o *HardDeleteDashboardByUIDParams) SetDefaults()
SetDefaults hydrates default values in the hard delete dashboard by UID params (not the query body).
All values with no default are reset to their zero value.
func (*HardDeleteDashboardByUIDParams) SetHTTPClient ¶
func (o *HardDeleteDashboardByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hard delete dashboard by UID params
func (*HardDeleteDashboardByUIDParams) SetTimeout ¶
func (o *HardDeleteDashboardByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hard delete dashboard by UID params
func (*HardDeleteDashboardByUIDParams) SetUID ¶
func (o *HardDeleteDashboardByUIDParams) SetUID(uid string)
SetUID adds the uid to the hard delete dashboard by UID params
func (*HardDeleteDashboardByUIDParams) WithContext ¶
func (o *HardDeleteDashboardByUIDParams) WithContext(ctx context.Context) *HardDeleteDashboardByUIDParams
WithContext adds the context to the hard delete dashboard by UID params
func (*HardDeleteDashboardByUIDParams) WithDefaults ¶
func (o *HardDeleteDashboardByUIDParams) WithDefaults() *HardDeleteDashboardByUIDParams
WithDefaults hydrates default values in the hard delete dashboard by UID params (not the query body).
All values with no default are reset to their zero value.
func (*HardDeleteDashboardByUIDParams) WithHTTPClient ¶
func (o *HardDeleteDashboardByUIDParams) WithHTTPClient(client *http.Client) *HardDeleteDashboardByUIDParams
WithHTTPClient adds the HTTPClient to the hard delete dashboard by UID params
func (*HardDeleteDashboardByUIDParams) WithTimeout ¶
func (o *HardDeleteDashboardByUIDParams) WithTimeout(timeout time.Duration) *HardDeleteDashboardByUIDParams
WithTimeout adds the timeout to the hard delete dashboard by UID params
func (*HardDeleteDashboardByUIDParams) WithUID ¶
func (o *HardDeleteDashboardByUIDParams) WithUID(uid string) *HardDeleteDashboardByUIDParams
WithUID adds the uid to the hard delete dashboard by UID params
func (*HardDeleteDashboardByUIDParams) WriteToRequest ¶
func (o *HardDeleteDashboardByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardDeleteDashboardByUIDReader ¶
type HardDeleteDashboardByUIDReader struct {
// contains filtered or unexported fields
}
HardDeleteDashboardByUIDReader is a Reader for the HardDeleteDashboardByUID structure.
func (*HardDeleteDashboardByUIDReader) ReadResponse ¶
func (o *HardDeleteDashboardByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardDeleteDashboardByUIDUnauthorized ¶
type HardDeleteDashboardByUIDUnauthorized struct {
}HardDeleteDashboardByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewHardDeleteDashboardByUIDUnauthorized ¶
func NewHardDeleteDashboardByUIDUnauthorized() *HardDeleteDashboardByUIDUnauthorized
NewHardDeleteDashboardByUIDUnauthorized creates a HardDeleteDashboardByUIDUnauthorized with default headers values
func (*HardDeleteDashboardByUIDUnauthorized) Code ¶
func (o *HardDeleteDashboardByUIDUnauthorized) Code() int
Code gets the status code for the hard delete dashboard by Uid unauthorized response
func (*HardDeleteDashboardByUIDUnauthorized) Error ¶
func (o *HardDeleteDashboardByUIDUnauthorized) Error() string
func (*HardDeleteDashboardByUIDUnauthorized) GetPayload ¶
func (o *HardDeleteDashboardByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*HardDeleteDashboardByUIDUnauthorized) IsClientError ¶
func (o *HardDeleteDashboardByUIDUnauthorized) IsClientError() bool
IsClientError returns true when this hard delete dashboard by Uid unauthorized response has a 4xx status code
func (*HardDeleteDashboardByUIDUnauthorized) IsCode ¶
func (o *HardDeleteDashboardByUIDUnauthorized) IsCode(code int) bool
IsCode returns true when this hard delete dashboard by Uid unauthorized response a status code equal to that given
func (*HardDeleteDashboardByUIDUnauthorized) IsRedirect ¶
func (o *HardDeleteDashboardByUIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this hard delete dashboard by Uid unauthorized response has a 3xx status code
func (*HardDeleteDashboardByUIDUnauthorized) IsServerError ¶
func (o *HardDeleteDashboardByUIDUnauthorized) IsServerError() bool
IsServerError returns true when this hard delete dashboard by Uid unauthorized response has a 5xx status code
func (*HardDeleteDashboardByUIDUnauthorized) IsSuccess ¶
func (o *HardDeleteDashboardByUIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this hard delete dashboard by Uid unauthorized response has a 2xx status code
func (*HardDeleteDashboardByUIDUnauthorized) String ¶
func (o *HardDeleteDashboardByUIDUnauthorized) String() string
type ImportDashboardBadRequest ¶
type ImportDashboardBadRequest struct {
Payload *models.ErrorResponseBody
}
ImportDashboardBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewImportDashboardBadRequest ¶
func NewImportDashboardBadRequest() *ImportDashboardBadRequest
NewImportDashboardBadRequest creates a ImportDashboardBadRequest with default headers values
func (*ImportDashboardBadRequest) Code ¶
func (o *ImportDashboardBadRequest) Code() int
Code gets the status code for the import dashboard bad request response
func (*ImportDashboardBadRequest) Error ¶
func (o *ImportDashboardBadRequest) Error() string
func (*ImportDashboardBadRequest) GetPayload ¶
func (o *ImportDashboardBadRequest) GetPayload() *models.ErrorResponseBody
func (*ImportDashboardBadRequest) IsClientError ¶
func (o *ImportDashboardBadRequest) IsClientError() bool
IsClientError returns true when this import dashboard bad request response has a 4xx status code
func (*ImportDashboardBadRequest) IsCode ¶
func (o *ImportDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this import dashboard bad request response a status code equal to that given
func (*ImportDashboardBadRequest) IsRedirect ¶
func (o *ImportDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this import dashboard bad request response has a 3xx status code
func (*ImportDashboardBadRequest) IsServerError ¶
func (o *ImportDashboardBadRequest) IsServerError() bool
IsServerError returns true when this import dashboard bad request response has a 5xx status code
func (*ImportDashboardBadRequest) IsSuccess ¶
func (o *ImportDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this import dashboard bad request response has a 2xx status code
func (*ImportDashboardBadRequest) String ¶
func (o *ImportDashboardBadRequest) String() string
type ImportDashboardInternalServerError ¶
type ImportDashboardInternalServerError struct {
Payload *models.ErrorResponseBody
}
ImportDashboardInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewImportDashboardInternalServerError ¶
func NewImportDashboardInternalServerError() *ImportDashboardInternalServerError
NewImportDashboardInternalServerError creates a ImportDashboardInternalServerError with default headers values
func (*ImportDashboardInternalServerError) Code ¶
func (o *ImportDashboardInternalServerError) Code() int
Code gets the status code for the import dashboard internal server error response
func (*ImportDashboardInternalServerError) Error ¶
func (o *ImportDashboardInternalServerError) Error() string
func (*ImportDashboardInternalServerError) GetPayload ¶
func (o *ImportDashboardInternalServerError) GetPayload() *models.ErrorResponseBody
func (*ImportDashboardInternalServerError) IsClientError ¶
func (o *ImportDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this import dashboard internal server error response has a 4xx status code
func (*ImportDashboardInternalServerError) IsCode ¶
func (o *ImportDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this import dashboard internal server error response a status code equal to that given
func (*ImportDashboardInternalServerError) IsRedirect ¶
func (o *ImportDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this import dashboard internal server error response has a 3xx status code
func (*ImportDashboardInternalServerError) IsServerError ¶
func (o *ImportDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this import dashboard internal server error response has a 5xx status code
func (*ImportDashboardInternalServerError) IsSuccess ¶
func (o *ImportDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this import dashboard internal server error response has a 2xx status code
func (*ImportDashboardInternalServerError) String ¶
func (o *ImportDashboardInternalServerError) String() string
type ImportDashboardOK ¶
type ImportDashboardOK struct {
Payload *models.ImportDashboardResponse
}
ImportDashboardOK describes a response with status code 200, with default header values.
(empty)
func NewImportDashboardOK ¶
func NewImportDashboardOK() *ImportDashboardOK
NewImportDashboardOK creates a ImportDashboardOK with default headers values
func (*ImportDashboardOK) Code ¶
func (o *ImportDashboardOK) Code() int
Code gets the status code for the import dashboard Ok response
func (*ImportDashboardOK) Error ¶
func (o *ImportDashboardOK) Error() string
func (*ImportDashboardOK) GetPayload ¶
func (o *ImportDashboardOK) GetPayload() *models.ImportDashboardResponse
func (*ImportDashboardOK) IsClientError ¶
func (o *ImportDashboardOK) IsClientError() bool
IsClientError returns true when this import dashboard Ok response has a 4xx status code
func (*ImportDashboardOK) IsCode ¶
func (o *ImportDashboardOK) IsCode(code int) bool
IsCode returns true when this import dashboard Ok response a status code equal to that given
func (*ImportDashboardOK) IsRedirect ¶
func (o *ImportDashboardOK) IsRedirect() bool
IsRedirect returns true when this import dashboard Ok response has a 3xx status code
func (*ImportDashboardOK) IsServerError ¶
func (o *ImportDashboardOK) IsServerError() bool
IsServerError returns true when this import dashboard Ok response has a 5xx status code
func (*ImportDashboardOK) IsSuccess ¶
func (o *ImportDashboardOK) IsSuccess() bool
IsSuccess returns true when this import dashboard Ok response has a 2xx status code
func (*ImportDashboardOK) String ¶
func (o *ImportDashboardOK) String() string
type ImportDashboardParams ¶
type ImportDashboardParams struct { // Body. Body *models.ImportDashboardRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportDashboardParams contains all the parameters to send to the API endpoint
for the import dashboard operation. Typically these are written to a http.Request.
func NewImportDashboardParams ¶
func NewImportDashboardParams() *ImportDashboardParams
NewImportDashboardParams creates a new ImportDashboardParams 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 NewImportDashboardParamsWithContext ¶
func NewImportDashboardParamsWithContext(ctx context.Context) *ImportDashboardParams
NewImportDashboardParamsWithContext creates a new ImportDashboardParams object with the ability to set a context for a request.
func NewImportDashboardParamsWithHTTPClient ¶
func NewImportDashboardParamsWithHTTPClient(client *http.Client) *ImportDashboardParams
NewImportDashboardParamsWithHTTPClient creates a new ImportDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewImportDashboardParamsWithTimeout ¶
func NewImportDashboardParamsWithTimeout(timeout time.Duration) *ImportDashboardParams
NewImportDashboardParamsWithTimeout creates a new ImportDashboardParams object with the ability to set a timeout on a request.
func (*ImportDashboardParams) SetBody ¶
func (o *ImportDashboardParams) SetBody(body *models.ImportDashboardRequest)
SetBody adds the body to the import dashboard params
func (*ImportDashboardParams) SetContext ¶
func (o *ImportDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the import dashboard params
func (*ImportDashboardParams) SetDefaults ¶
func (o *ImportDashboardParams) SetDefaults()
SetDefaults hydrates default values in the import dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*ImportDashboardParams) SetHTTPClient ¶
func (o *ImportDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import dashboard params
func (*ImportDashboardParams) SetTimeout ¶
func (o *ImportDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import dashboard params
func (*ImportDashboardParams) WithBody ¶
func (o *ImportDashboardParams) WithBody(body *models.ImportDashboardRequest) *ImportDashboardParams
WithBody adds the body to the import dashboard params
func (*ImportDashboardParams) WithContext ¶
func (o *ImportDashboardParams) WithContext(ctx context.Context) *ImportDashboardParams
WithContext adds the context to the import dashboard params
func (*ImportDashboardParams) WithDefaults ¶
func (o *ImportDashboardParams) WithDefaults() *ImportDashboardParams
WithDefaults hydrates default values in the import dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*ImportDashboardParams) WithHTTPClient ¶
func (o *ImportDashboardParams) WithHTTPClient(client *http.Client) *ImportDashboardParams
WithHTTPClient adds the HTTPClient to the import dashboard params
func (*ImportDashboardParams) WithTimeout ¶
func (o *ImportDashboardParams) WithTimeout(timeout time.Duration) *ImportDashboardParams
WithTimeout adds the timeout to the import dashboard params
func (*ImportDashboardParams) WriteToRequest ¶
func (o *ImportDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportDashboardPreconditionFailed ¶
type ImportDashboardPreconditionFailed struct {
Payload *models.ErrorResponseBody
}
ImportDashboardPreconditionFailed describes a response with status code 412, with default header values.
PreconditionFailedError
func NewImportDashboardPreconditionFailed ¶
func NewImportDashboardPreconditionFailed() *ImportDashboardPreconditionFailed
NewImportDashboardPreconditionFailed creates a ImportDashboardPreconditionFailed with default headers values
func (*ImportDashboardPreconditionFailed) Code ¶
func (o *ImportDashboardPreconditionFailed) Code() int
Code gets the status code for the import dashboard precondition failed response
func (*ImportDashboardPreconditionFailed) Error ¶
func (o *ImportDashboardPreconditionFailed) Error() string
func (*ImportDashboardPreconditionFailed) GetPayload ¶
func (o *ImportDashboardPreconditionFailed) GetPayload() *models.ErrorResponseBody
func (*ImportDashboardPreconditionFailed) IsClientError ¶
func (o *ImportDashboardPreconditionFailed) IsClientError() bool
IsClientError returns true when this import dashboard precondition failed response has a 4xx status code
func (*ImportDashboardPreconditionFailed) IsCode ¶
func (o *ImportDashboardPreconditionFailed) IsCode(code int) bool
IsCode returns true when this import dashboard precondition failed response a status code equal to that given
func (*ImportDashboardPreconditionFailed) IsRedirect ¶
func (o *ImportDashboardPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this import dashboard precondition failed response has a 3xx status code
func (*ImportDashboardPreconditionFailed) IsServerError ¶
func (o *ImportDashboardPreconditionFailed) IsServerError() bool
IsServerError returns true when this import dashboard precondition failed response has a 5xx status code
func (*ImportDashboardPreconditionFailed) IsSuccess ¶
func (o *ImportDashboardPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this import dashboard precondition failed response has a 2xx status code
func (*ImportDashboardPreconditionFailed) String ¶
func (o *ImportDashboardPreconditionFailed) String() string
type ImportDashboardReader ¶
type ImportDashboardReader struct {
// contains filtered or unexported fields
}
ImportDashboardReader is a Reader for the ImportDashboard structure.
func (*ImportDashboardReader) ReadResponse ¶
func (o *ImportDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportDashboardUnauthorized ¶
type ImportDashboardUnauthorized struct {
}ImportDashboardUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewImportDashboardUnauthorized ¶
func NewImportDashboardUnauthorized() *ImportDashboardUnauthorized
NewImportDashboardUnauthorized creates a ImportDashboardUnauthorized with default headers values
func (*ImportDashboardUnauthorized) Code ¶
func (o *ImportDashboardUnauthorized) Code() int
Code gets the status code for the import dashboard unauthorized response
func (*ImportDashboardUnauthorized) Error ¶
func (o *ImportDashboardUnauthorized) Error() string
func (*ImportDashboardUnauthorized) GetPayload ¶
func (o *ImportDashboardUnauthorized) GetPayload() *models.ErrorResponseBody
func (*ImportDashboardUnauthorized) IsClientError ¶
func (o *ImportDashboardUnauthorized) IsClientError() bool
IsClientError returns true when this import dashboard unauthorized response has a 4xx status code
func (*ImportDashboardUnauthorized) IsCode ¶
func (o *ImportDashboardUnauthorized) IsCode(code int) bool
IsCode returns true when this import dashboard unauthorized response a status code equal to that given
func (*ImportDashboardUnauthorized) IsRedirect ¶
func (o *ImportDashboardUnauthorized) IsRedirect() bool
IsRedirect returns true when this import dashboard unauthorized response has a 3xx status code
func (*ImportDashboardUnauthorized) IsServerError ¶
func (o *ImportDashboardUnauthorized) IsServerError() bool
IsServerError returns true when this import dashboard unauthorized response has a 5xx status code
func (*ImportDashboardUnauthorized) IsSuccess ¶
func (o *ImportDashboardUnauthorized) IsSuccess() bool
IsSuccess returns true when this import dashboard unauthorized response has a 2xx status code
func (*ImportDashboardUnauthorized) String ¶
func (o *ImportDashboardUnauthorized) String() string
type ImportDashboardUnprocessableEntity ¶
type ImportDashboardUnprocessableEntity struct {
Payload *models.ErrorResponseBody
}
ImportDashboardUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntityError
func NewImportDashboardUnprocessableEntity ¶
func NewImportDashboardUnprocessableEntity() *ImportDashboardUnprocessableEntity
NewImportDashboardUnprocessableEntity creates a ImportDashboardUnprocessableEntity with default headers values
func (*ImportDashboardUnprocessableEntity) Code ¶
func (o *ImportDashboardUnprocessableEntity) Code() int
Code gets the status code for the import dashboard unprocessable entity response
func (*ImportDashboardUnprocessableEntity) Error ¶
func (o *ImportDashboardUnprocessableEntity) Error() string
func (*ImportDashboardUnprocessableEntity) GetPayload ¶
func (o *ImportDashboardUnprocessableEntity) GetPayload() *models.ErrorResponseBody
func (*ImportDashboardUnprocessableEntity) IsClientError ¶
func (o *ImportDashboardUnprocessableEntity) IsClientError() bool
IsClientError returns true when this import dashboard unprocessable entity response has a 4xx status code
func (*ImportDashboardUnprocessableEntity) IsCode ¶
func (o *ImportDashboardUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this import dashboard unprocessable entity response a status code equal to that given
func (*ImportDashboardUnprocessableEntity) IsRedirect ¶
func (o *ImportDashboardUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this import dashboard unprocessable entity response has a 3xx status code
func (*ImportDashboardUnprocessableEntity) IsServerError ¶
func (o *ImportDashboardUnprocessableEntity) IsServerError() bool
IsServerError returns true when this import dashboard unprocessable entity response has a 5xx status code
func (*ImportDashboardUnprocessableEntity) IsSuccess ¶
func (o *ImportDashboardUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this import dashboard unprocessable entity response has a 2xx status code
func (*ImportDashboardUnprocessableEntity) String ¶
func (o *ImportDashboardUnprocessableEntity) String() string
type PostDashboardBadRequest ¶
type PostDashboardBadRequest struct {
Payload *models.ErrorResponseBody
}
PostDashboardBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewPostDashboardBadRequest ¶
func NewPostDashboardBadRequest() *PostDashboardBadRequest
NewPostDashboardBadRequest creates a PostDashboardBadRequest with default headers values
func (*PostDashboardBadRequest) Code ¶
func (o *PostDashboardBadRequest) Code() int
Code gets the status code for the post dashboard bad request response
func (*PostDashboardBadRequest) Error ¶
func (o *PostDashboardBadRequest) Error() string
func (*PostDashboardBadRequest) GetPayload ¶
func (o *PostDashboardBadRequest) GetPayload() *models.ErrorResponseBody
func (*PostDashboardBadRequest) IsClientError ¶
func (o *PostDashboardBadRequest) IsClientError() bool
IsClientError returns true when this post dashboard bad request response has a 4xx status code
func (*PostDashboardBadRequest) IsCode ¶
func (o *PostDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this post dashboard bad request response a status code equal to that given
func (*PostDashboardBadRequest) IsRedirect ¶
func (o *PostDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this post dashboard bad request response has a 3xx status code
func (*PostDashboardBadRequest) IsServerError ¶
func (o *PostDashboardBadRequest) IsServerError() bool
IsServerError returns true when this post dashboard bad request response has a 5xx status code
func (*PostDashboardBadRequest) IsSuccess ¶
func (o *PostDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this post dashboard bad request response has a 2xx status code
func (*PostDashboardBadRequest) String ¶
func (o *PostDashboardBadRequest) String() string
type PostDashboardForbidden ¶
type PostDashboardForbidden struct {
Payload *models.ErrorResponseBody
}
PostDashboardForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewPostDashboardForbidden ¶
func NewPostDashboardForbidden() *PostDashboardForbidden
NewPostDashboardForbidden creates a PostDashboardForbidden with default headers values
func (*PostDashboardForbidden) Code ¶
func (o *PostDashboardForbidden) Code() int
Code gets the status code for the post dashboard forbidden response
func (*PostDashboardForbidden) Error ¶
func (o *PostDashboardForbidden) Error() string
func (*PostDashboardForbidden) GetPayload ¶
func (o *PostDashboardForbidden) GetPayload() *models.ErrorResponseBody
func (*PostDashboardForbidden) IsClientError ¶
func (o *PostDashboardForbidden) IsClientError() bool
IsClientError returns true when this post dashboard forbidden response has a 4xx status code
func (*PostDashboardForbidden) IsCode ¶
func (o *PostDashboardForbidden) IsCode(code int) bool
IsCode returns true when this post dashboard forbidden response a status code equal to that given
func (*PostDashboardForbidden) IsRedirect ¶
func (o *PostDashboardForbidden) IsRedirect() bool
IsRedirect returns true when this post dashboard forbidden response has a 3xx status code
func (*PostDashboardForbidden) IsServerError ¶
func (o *PostDashboardForbidden) IsServerError() bool
IsServerError returns true when this post dashboard forbidden response has a 5xx status code
func (*PostDashboardForbidden) IsSuccess ¶
func (o *PostDashboardForbidden) IsSuccess() bool
IsSuccess returns true when this post dashboard forbidden response has a 2xx status code
func (*PostDashboardForbidden) String ¶
func (o *PostDashboardForbidden) String() string
type PostDashboardInternalServerError ¶
type PostDashboardInternalServerError struct {
Payload *models.ErrorResponseBody
}
PostDashboardInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewPostDashboardInternalServerError ¶
func NewPostDashboardInternalServerError() *PostDashboardInternalServerError
NewPostDashboardInternalServerError creates a PostDashboardInternalServerError with default headers values
func (*PostDashboardInternalServerError) Code ¶
func (o *PostDashboardInternalServerError) Code() int
Code gets the status code for the post dashboard internal server error response
func (*PostDashboardInternalServerError) Error ¶
func (o *PostDashboardInternalServerError) Error() string
func (*PostDashboardInternalServerError) GetPayload ¶
func (o *PostDashboardInternalServerError) GetPayload() *models.ErrorResponseBody
func (*PostDashboardInternalServerError) IsClientError ¶
func (o *PostDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this post dashboard internal server error response has a 4xx status code
func (*PostDashboardInternalServerError) IsCode ¶
func (o *PostDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this post dashboard internal server error response a status code equal to that given
func (*PostDashboardInternalServerError) IsRedirect ¶
func (o *PostDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this post dashboard internal server error response has a 3xx status code
func (*PostDashboardInternalServerError) IsServerError ¶
func (o *PostDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this post dashboard internal server error response has a 5xx status code
func (*PostDashboardInternalServerError) IsSuccess ¶
func (o *PostDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this post dashboard internal server error response has a 2xx status code
func (*PostDashboardInternalServerError) String ¶
func (o *PostDashboardInternalServerError) String() string
type PostDashboardNotFound ¶
type PostDashboardNotFound struct {
Payload *models.ErrorResponseBody
}
PostDashboardNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewPostDashboardNotFound ¶
func NewPostDashboardNotFound() *PostDashboardNotFound
NewPostDashboardNotFound creates a PostDashboardNotFound with default headers values
func (*PostDashboardNotFound) Code ¶
func (o *PostDashboardNotFound) Code() int
Code gets the status code for the post dashboard not found response
func (*PostDashboardNotFound) Error ¶
func (o *PostDashboardNotFound) Error() string
func (*PostDashboardNotFound) GetPayload ¶
func (o *PostDashboardNotFound) GetPayload() *models.ErrorResponseBody
func (*PostDashboardNotFound) IsClientError ¶
func (o *PostDashboardNotFound) IsClientError() bool
IsClientError returns true when this post dashboard not found response has a 4xx status code
func (*PostDashboardNotFound) IsCode ¶
func (o *PostDashboardNotFound) IsCode(code int) bool
IsCode returns true when this post dashboard not found response a status code equal to that given
func (*PostDashboardNotFound) IsRedirect ¶
func (o *PostDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this post dashboard not found response has a 3xx status code
func (*PostDashboardNotFound) IsServerError ¶
func (o *PostDashboardNotFound) IsServerError() bool
IsServerError returns true when this post dashboard not found response has a 5xx status code
func (*PostDashboardNotFound) IsSuccess ¶
func (o *PostDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this post dashboard not found response has a 2xx status code
func (*PostDashboardNotFound) String ¶
func (o *PostDashboardNotFound) String() string
type PostDashboardOK ¶
type PostDashboardOK struct {
Payload *models.PostDashboardOKBody
}
PostDashboardOK describes a response with status code 200, with default header values.
(empty)
func NewPostDashboardOK ¶
func NewPostDashboardOK() *PostDashboardOK
NewPostDashboardOK creates a PostDashboardOK with default headers values
func (*PostDashboardOK) Code ¶
func (o *PostDashboardOK) Code() int
Code gets the status code for the post dashboard Ok response
func (*PostDashboardOK) Error ¶
func (o *PostDashboardOK) Error() string
func (*PostDashboardOK) GetPayload ¶
func (o *PostDashboardOK) GetPayload() *models.PostDashboardOKBody
func (*PostDashboardOK) IsClientError ¶
func (o *PostDashboardOK) IsClientError() bool
IsClientError returns true when this post dashboard Ok response has a 4xx status code
func (*PostDashboardOK) IsCode ¶
func (o *PostDashboardOK) IsCode(code int) bool
IsCode returns true when this post dashboard Ok response a status code equal to that given
func (*PostDashboardOK) IsRedirect ¶
func (o *PostDashboardOK) IsRedirect() bool
IsRedirect returns true when this post dashboard Ok response has a 3xx status code
func (*PostDashboardOK) IsServerError ¶
func (o *PostDashboardOK) IsServerError() bool
IsServerError returns true when this post dashboard Ok response has a 5xx status code
func (*PostDashboardOK) IsSuccess ¶
func (o *PostDashboardOK) IsSuccess() bool
IsSuccess returns true when this post dashboard Ok response has a 2xx status code
func (*PostDashboardOK) String ¶
func (o *PostDashboardOK) String() string
type PostDashboardParams ¶
type PostDashboardParams struct { // Body. Body *models.SaveDashboardCommand Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostDashboardParams contains all the parameters to send to the API endpoint
for the post dashboard operation. Typically these are written to a http.Request.
func NewPostDashboardParams ¶
func NewPostDashboardParams() *PostDashboardParams
NewPostDashboardParams creates a new PostDashboardParams 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 NewPostDashboardParamsWithContext ¶
func NewPostDashboardParamsWithContext(ctx context.Context) *PostDashboardParams
NewPostDashboardParamsWithContext creates a new PostDashboardParams object with the ability to set a context for a request.
func NewPostDashboardParamsWithHTTPClient ¶
func NewPostDashboardParamsWithHTTPClient(client *http.Client) *PostDashboardParams
NewPostDashboardParamsWithHTTPClient creates a new PostDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewPostDashboardParamsWithTimeout ¶
func NewPostDashboardParamsWithTimeout(timeout time.Duration) *PostDashboardParams
NewPostDashboardParamsWithTimeout creates a new PostDashboardParams object with the ability to set a timeout on a request.
func (*PostDashboardParams) SetBody ¶
func (o *PostDashboardParams) SetBody(body *models.SaveDashboardCommand)
SetBody adds the body to the post dashboard params
func (*PostDashboardParams) SetContext ¶
func (o *PostDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the post dashboard params
func (*PostDashboardParams) SetDefaults ¶
func (o *PostDashboardParams) SetDefaults()
SetDefaults hydrates default values in the post dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*PostDashboardParams) SetHTTPClient ¶
func (o *PostDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post dashboard params
func (*PostDashboardParams) SetTimeout ¶
func (o *PostDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post dashboard params
func (*PostDashboardParams) WithBody ¶
func (o *PostDashboardParams) WithBody(body *models.SaveDashboardCommand) *PostDashboardParams
WithBody adds the body to the post dashboard params
func (*PostDashboardParams) WithContext ¶
func (o *PostDashboardParams) WithContext(ctx context.Context) *PostDashboardParams
WithContext adds the context to the post dashboard params
func (*PostDashboardParams) WithDefaults ¶
func (o *PostDashboardParams) WithDefaults() *PostDashboardParams
WithDefaults hydrates default values in the post dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*PostDashboardParams) WithHTTPClient ¶
func (o *PostDashboardParams) WithHTTPClient(client *http.Client) *PostDashboardParams
WithHTTPClient adds the HTTPClient to the post dashboard params
func (*PostDashboardParams) WithTimeout ¶
func (o *PostDashboardParams) WithTimeout(timeout time.Duration) *PostDashboardParams
WithTimeout adds the timeout to the post dashboard params
func (*PostDashboardParams) WriteToRequest ¶
func (o *PostDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostDashboardPreconditionFailed ¶
type PostDashboardPreconditionFailed struct {
Payload *models.ErrorResponseBody
}
PostDashboardPreconditionFailed describes a response with status code 412, with default header values.
PreconditionFailedError
func NewPostDashboardPreconditionFailed ¶
func NewPostDashboardPreconditionFailed() *PostDashboardPreconditionFailed
NewPostDashboardPreconditionFailed creates a PostDashboardPreconditionFailed with default headers values
func (*PostDashboardPreconditionFailed) Code ¶
func (o *PostDashboardPreconditionFailed) Code() int
Code gets the status code for the post dashboard precondition failed response
func (*PostDashboardPreconditionFailed) Error ¶
func (o *PostDashboardPreconditionFailed) Error() string
func (*PostDashboardPreconditionFailed) GetPayload ¶
func (o *PostDashboardPreconditionFailed) GetPayload() *models.ErrorResponseBody
func (*PostDashboardPreconditionFailed) IsClientError ¶
func (o *PostDashboardPreconditionFailed) IsClientError() bool
IsClientError returns true when this post dashboard precondition failed response has a 4xx status code
func (*PostDashboardPreconditionFailed) IsCode ¶
func (o *PostDashboardPreconditionFailed) IsCode(code int) bool
IsCode returns true when this post dashboard precondition failed response a status code equal to that given
func (*PostDashboardPreconditionFailed) IsRedirect ¶
func (o *PostDashboardPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this post dashboard precondition failed response has a 3xx status code
func (*PostDashboardPreconditionFailed) IsServerError ¶
func (o *PostDashboardPreconditionFailed) IsServerError() bool
IsServerError returns true when this post dashboard precondition failed response has a 5xx status code
func (*PostDashboardPreconditionFailed) IsSuccess ¶
func (o *PostDashboardPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this post dashboard precondition failed response has a 2xx status code
func (*PostDashboardPreconditionFailed) String ¶
func (o *PostDashboardPreconditionFailed) String() string
type PostDashboardReader ¶
type PostDashboardReader struct {
// contains filtered or unexported fields
}
PostDashboardReader is a Reader for the PostDashboard structure.
func (*PostDashboardReader) ReadResponse ¶
func (o *PostDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostDashboardUnauthorized ¶
type PostDashboardUnauthorized struct {
}PostDashboardUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewPostDashboardUnauthorized ¶
func NewPostDashboardUnauthorized() *PostDashboardUnauthorized
NewPostDashboardUnauthorized creates a PostDashboardUnauthorized with default headers values
func (*PostDashboardUnauthorized) Code ¶
func (o *PostDashboardUnauthorized) Code() int
Code gets the status code for the post dashboard unauthorized response
func (*PostDashboardUnauthorized) Error ¶
func (o *PostDashboardUnauthorized) Error() string
func (*PostDashboardUnauthorized) GetPayload ¶
func (o *PostDashboardUnauthorized) GetPayload() *models.ErrorResponseBody
func (*PostDashboardUnauthorized) IsClientError ¶
func (o *PostDashboardUnauthorized) IsClientError() bool
IsClientError returns true when this post dashboard unauthorized response has a 4xx status code
func (*PostDashboardUnauthorized) IsCode ¶
func (o *PostDashboardUnauthorized) IsCode(code int) bool
IsCode returns true when this post dashboard unauthorized response a status code equal to that given
func (*PostDashboardUnauthorized) IsRedirect ¶
func (o *PostDashboardUnauthorized) IsRedirect() bool
IsRedirect returns true when this post dashboard unauthorized response has a 3xx status code
func (*PostDashboardUnauthorized) IsServerError ¶
func (o *PostDashboardUnauthorized) IsServerError() bool
IsServerError returns true when this post dashboard unauthorized response has a 5xx status code
func (*PostDashboardUnauthorized) IsSuccess ¶
func (o *PostDashboardUnauthorized) IsSuccess() bool
IsSuccess returns true when this post dashboard unauthorized response has a 2xx status code
func (*PostDashboardUnauthorized) String ¶
func (o *PostDashboardUnauthorized) String() string
type PostDashboardUnprocessableEntity ¶
type PostDashboardUnprocessableEntity struct {
Payload *models.ErrorResponseBody
}
PostDashboardUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntityError
func NewPostDashboardUnprocessableEntity ¶
func NewPostDashboardUnprocessableEntity() *PostDashboardUnprocessableEntity
NewPostDashboardUnprocessableEntity creates a PostDashboardUnprocessableEntity with default headers values
func (*PostDashboardUnprocessableEntity) Code ¶
func (o *PostDashboardUnprocessableEntity) Code() int
Code gets the status code for the post dashboard unprocessable entity response
func (*PostDashboardUnprocessableEntity) Error ¶
func (o *PostDashboardUnprocessableEntity) Error() string
func (*PostDashboardUnprocessableEntity) GetPayload ¶
func (o *PostDashboardUnprocessableEntity) GetPayload() *models.ErrorResponseBody
func (*PostDashboardUnprocessableEntity) IsClientError ¶
func (o *PostDashboardUnprocessableEntity) IsClientError() bool
IsClientError returns true when this post dashboard unprocessable entity response has a 4xx status code
func (*PostDashboardUnprocessableEntity) IsCode ¶
func (o *PostDashboardUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this post dashboard unprocessable entity response a status code equal to that given
func (*PostDashboardUnprocessableEntity) IsRedirect ¶
func (o *PostDashboardUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this post dashboard unprocessable entity response has a 3xx status code
func (*PostDashboardUnprocessableEntity) IsServerError ¶
func (o *PostDashboardUnprocessableEntity) IsServerError() bool
IsServerError returns true when this post dashboard unprocessable entity response has a 5xx status code
func (*PostDashboardUnprocessableEntity) IsSuccess ¶
func (o *PostDashboardUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this post dashboard unprocessable entity response has a 2xx status code
func (*PostDashboardUnprocessableEntity) String ¶
func (o *PostDashboardUnprocessableEntity) String() string
type RestoreDeletedDashboardByUIDBadRequest ¶
type RestoreDeletedDashboardByUIDBadRequest struct {
Payload *models.ErrorResponseBody
}
RestoreDeletedDashboardByUIDBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewRestoreDeletedDashboardByUIDBadRequest ¶
func NewRestoreDeletedDashboardByUIDBadRequest() *RestoreDeletedDashboardByUIDBadRequest
NewRestoreDeletedDashboardByUIDBadRequest creates a RestoreDeletedDashboardByUIDBadRequest with default headers values
func (*RestoreDeletedDashboardByUIDBadRequest) Code ¶
func (o *RestoreDeletedDashboardByUIDBadRequest) Code() int
Code gets the status code for the restore deleted dashboard by Uid bad request response
func (*RestoreDeletedDashboardByUIDBadRequest) Error ¶
func (o *RestoreDeletedDashboardByUIDBadRequest) Error() string
func (*RestoreDeletedDashboardByUIDBadRequest) GetPayload ¶
func (o *RestoreDeletedDashboardByUIDBadRequest) GetPayload() *models.ErrorResponseBody
func (*RestoreDeletedDashboardByUIDBadRequest) IsClientError ¶
func (o *RestoreDeletedDashboardByUIDBadRequest) IsClientError() bool
IsClientError returns true when this restore deleted dashboard by Uid bad request response has a 4xx status code
func (*RestoreDeletedDashboardByUIDBadRequest) IsCode ¶
func (o *RestoreDeletedDashboardByUIDBadRequest) IsCode(code int) bool
IsCode returns true when this restore deleted dashboard by Uid bad request response a status code equal to that given
func (*RestoreDeletedDashboardByUIDBadRequest) IsRedirect ¶
func (o *RestoreDeletedDashboardByUIDBadRequest) IsRedirect() bool
IsRedirect returns true when this restore deleted dashboard by Uid bad request response has a 3xx status code
func (*RestoreDeletedDashboardByUIDBadRequest) IsServerError ¶
func (o *RestoreDeletedDashboardByUIDBadRequest) IsServerError() bool
IsServerError returns true when this restore deleted dashboard by Uid bad request response has a 5xx status code
func (*RestoreDeletedDashboardByUIDBadRequest) IsSuccess ¶
func (o *RestoreDeletedDashboardByUIDBadRequest) IsSuccess() bool
IsSuccess returns true when this restore deleted dashboard by Uid bad request response has a 2xx status code
func (*RestoreDeletedDashboardByUIDBadRequest) String ¶
func (o *RestoreDeletedDashboardByUIDBadRequest) String() string
type RestoreDeletedDashboardByUIDForbidden ¶
type RestoreDeletedDashboardByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
RestoreDeletedDashboardByUIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewRestoreDeletedDashboardByUIDForbidden ¶
func NewRestoreDeletedDashboardByUIDForbidden() *RestoreDeletedDashboardByUIDForbidden
NewRestoreDeletedDashboardByUIDForbidden creates a RestoreDeletedDashboardByUIDForbidden with default headers values
func (*RestoreDeletedDashboardByUIDForbidden) Code ¶
func (o *RestoreDeletedDashboardByUIDForbidden) Code() int
Code gets the status code for the restore deleted dashboard by Uid forbidden response
func (*RestoreDeletedDashboardByUIDForbidden) Error ¶
func (o *RestoreDeletedDashboardByUIDForbidden) Error() string
func (*RestoreDeletedDashboardByUIDForbidden) GetPayload ¶
func (o *RestoreDeletedDashboardByUIDForbidden) GetPayload() *models.ErrorResponseBody
func (*RestoreDeletedDashboardByUIDForbidden) IsClientError ¶
func (o *RestoreDeletedDashboardByUIDForbidden) IsClientError() bool
IsClientError returns true when this restore deleted dashboard by Uid forbidden response has a 4xx status code
func (*RestoreDeletedDashboardByUIDForbidden) IsCode ¶
func (o *RestoreDeletedDashboardByUIDForbidden) IsCode(code int) bool
IsCode returns true when this restore deleted dashboard by Uid forbidden response a status code equal to that given
func (*RestoreDeletedDashboardByUIDForbidden) IsRedirect ¶
func (o *RestoreDeletedDashboardByUIDForbidden) IsRedirect() bool
IsRedirect returns true when this restore deleted dashboard by Uid forbidden response has a 3xx status code
func (*RestoreDeletedDashboardByUIDForbidden) IsServerError ¶
func (o *RestoreDeletedDashboardByUIDForbidden) IsServerError() bool
IsServerError returns true when this restore deleted dashboard by Uid forbidden response has a 5xx status code
func (*RestoreDeletedDashboardByUIDForbidden) IsSuccess ¶
func (o *RestoreDeletedDashboardByUIDForbidden) IsSuccess() bool
IsSuccess returns true when this restore deleted dashboard by Uid forbidden response has a 2xx status code
func (*RestoreDeletedDashboardByUIDForbidden) String ¶
func (o *RestoreDeletedDashboardByUIDForbidden) String() string
type RestoreDeletedDashboardByUIDInternalServerError ¶
type RestoreDeletedDashboardByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
RestoreDeletedDashboardByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewRestoreDeletedDashboardByUIDInternalServerError ¶
func NewRestoreDeletedDashboardByUIDInternalServerError() *RestoreDeletedDashboardByUIDInternalServerError
NewRestoreDeletedDashboardByUIDInternalServerError creates a RestoreDeletedDashboardByUIDInternalServerError with default headers values
func (*RestoreDeletedDashboardByUIDInternalServerError) Code ¶
func (o *RestoreDeletedDashboardByUIDInternalServerError) Code() int
Code gets the status code for the restore deleted dashboard by Uid internal server error response
func (*RestoreDeletedDashboardByUIDInternalServerError) Error ¶
func (o *RestoreDeletedDashboardByUIDInternalServerError) Error() string
func (*RestoreDeletedDashboardByUIDInternalServerError) GetPayload ¶
func (o *RestoreDeletedDashboardByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*RestoreDeletedDashboardByUIDInternalServerError) IsClientError ¶
func (o *RestoreDeletedDashboardByUIDInternalServerError) IsClientError() bool
IsClientError returns true when this restore deleted dashboard by Uid internal server error response has a 4xx status code
func (*RestoreDeletedDashboardByUIDInternalServerError) IsCode ¶
func (o *RestoreDeletedDashboardByUIDInternalServerError) IsCode(code int) bool
IsCode returns true when this restore deleted dashboard by Uid internal server error response a status code equal to that given
func (*RestoreDeletedDashboardByUIDInternalServerError) IsRedirect ¶
func (o *RestoreDeletedDashboardByUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this restore deleted dashboard by Uid internal server error response has a 3xx status code
func (*RestoreDeletedDashboardByUIDInternalServerError) IsServerError ¶
func (o *RestoreDeletedDashboardByUIDInternalServerError) IsServerError() bool
IsServerError returns true when this restore deleted dashboard by Uid internal server error response has a 5xx status code
func (*RestoreDeletedDashboardByUIDInternalServerError) IsSuccess ¶
func (o *RestoreDeletedDashboardByUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this restore deleted dashboard by Uid internal server error response has a 2xx status code
func (*RestoreDeletedDashboardByUIDInternalServerError) String ¶
func (o *RestoreDeletedDashboardByUIDInternalServerError) String() string
type RestoreDeletedDashboardByUIDNotFound ¶
type RestoreDeletedDashboardByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
RestoreDeletedDashboardByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewRestoreDeletedDashboardByUIDNotFound ¶
func NewRestoreDeletedDashboardByUIDNotFound() *RestoreDeletedDashboardByUIDNotFound
NewRestoreDeletedDashboardByUIDNotFound creates a RestoreDeletedDashboardByUIDNotFound with default headers values
func (*RestoreDeletedDashboardByUIDNotFound) Code ¶
func (o *RestoreDeletedDashboardByUIDNotFound) Code() int
Code gets the status code for the restore deleted dashboard by Uid not found response
func (*RestoreDeletedDashboardByUIDNotFound) Error ¶
func (o *RestoreDeletedDashboardByUIDNotFound) Error() string
func (*RestoreDeletedDashboardByUIDNotFound) GetPayload ¶
func (o *RestoreDeletedDashboardByUIDNotFound) GetPayload() *models.ErrorResponseBody
func (*RestoreDeletedDashboardByUIDNotFound) IsClientError ¶
func (o *RestoreDeletedDashboardByUIDNotFound) IsClientError() bool
IsClientError returns true when this restore deleted dashboard by Uid not found response has a 4xx status code
func (*RestoreDeletedDashboardByUIDNotFound) IsCode ¶
func (o *RestoreDeletedDashboardByUIDNotFound) IsCode(code int) bool
IsCode returns true when this restore deleted dashboard by Uid not found response a status code equal to that given
func (*RestoreDeletedDashboardByUIDNotFound) IsRedirect ¶
func (o *RestoreDeletedDashboardByUIDNotFound) IsRedirect() bool
IsRedirect returns true when this restore deleted dashboard by Uid not found response has a 3xx status code
func (*RestoreDeletedDashboardByUIDNotFound) IsServerError ¶
func (o *RestoreDeletedDashboardByUIDNotFound) IsServerError() bool
IsServerError returns true when this restore deleted dashboard by Uid not found response has a 5xx status code
func (*RestoreDeletedDashboardByUIDNotFound) IsSuccess ¶
func (o *RestoreDeletedDashboardByUIDNotFound) IsSuccess() bool
IsSuccess returns true when this restore deleted dashboard by Uid not found response has a 2xx status code
func (*RestoreDeletedDashboardByUIDNotFound) String ¶
func (o *RestoreDeletedDashboardByUIDNotFound) String() string
type RestoreDeletedDashboardByUIDOK ¶
type RestoreDeletedDashboardByUIDOK struct {
Payload *models.RestoreDeletedDashboardByUIDOKBody
}
RestoreDeletedDashboardByUIDOK describes a response with status code 200, with default header values.
(empty)
func NewRestoreDeletedDashboardByUIDOK ¶
func NewRestoreDeletedDashboardByUIDOK() *RestoreDeletedDashboardByUIDOK
NewRestoreDeletedDashboardByUIDOK creates a RestoreDeletedDashboardByUIDOK with default headers values
func (*RestoreDeletedDashboardByUIDOK) Code ¶
func (o *RestoreDeletedDashboardByUIDOK) Code() int
Code gets the status code for the restore deleted dashboard by Uid Ok response
func (*RestoreDeletedDashboardByUIDOK) Error ¶
func (o *RestoreDeletedDashboardByUIDOK) Error() string
func (*RestoreDeletedDashboardByUIDOK) GetPayload ¶
func (o *RestoreDeletedDashboardByUIDOK) GetPayload() *models.RestoreDeletedDashboardByUIDOKBody
func (*RestoreDeletedDashboardByUIDOK) IsClientError ¶
func (o *RestoreDeletedDashboardByUIDOK) IsClientError() bool
IsClientError returns true when this restore deleted dashboard by Uid Ok response has a 4xx status code
func (*RestoreDeletedDashboardByUIDOK) IsCode ¶
func (o *RestoreDeletedDashboardByUIDOK) IsCode(code int) bool
IsCode returns true when this restore deleted dashboard by Uid Ok response a status code equal to that given
func (*RestoreDeletedDashboardByUIDOK) IsRedirect ¶
func (o *RestoreDeletedDashboardByUIDOK) IsRedirect() bool
IsRedirect returns true when this restore deleted dashboard by Uid Ok response has a 3xx status code
func (*RestoreDeletedDashboardByUIDOK) IsServerError ¶
func (o *RestoreDeletedDashboardByUIDOK) IsServerError() bool
IsServerError returns true when this restore deleted dashboard by Uid Ok response has a 5xx status code
func (*RestoreDeletedDashboardByUIDOK) IsSuccess ¶
func (o *RestoreDeletedDashboardByUIDOK) IsSuccess() bool
IsSuccess returns true when this restore deleted dashboard by Uid Ok response has a 2xx status code
func (*RestoreDeletedDashboardByUIDOK) String ¶
func (o *RestoreDeletedDashboardByUIDOK) String() string
type RestoreDeletedDashboardByUIDParams ¶
type RestoreDeletedDashboardByUIDParams struct { // Body. Body *models.RestoreDeletedDashboardCommand // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestoreDeletedDashboardByUIDParams contains all the parameters to send to the API endpoint
for the restore deleted dashboard by UID operation. Typically these are written to a http.Request.
func NewRestoreDeletedDashboardByUIDParams ¶
func NewRestoreDeletedDashboardByUIDParams() *RestoreDeletedDashboardByUIDParams
NewRestoreDeletedDashboardByUIDParams creates a new RestoreDeletedDashboardByUIDParams 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 NewRestoreDeletedDashboardByUIDParamsWithContext ¶
func NewRestoreDeletedDashboardByUIDParamsWithContext(ctx context.Context) *RestoreDeletedDashboardByUIDParams
NewRestoreDeletedDashboardByUIDParamsWithContext creates a new RestoreDeletedDashboardByUIDParams object with the ability to set a context for a request.
func NewRestoreDeletedDashboardByUIDParamsWithHTTPClient ¶
func NewRestoreDeletedDashboardByUIDParamsWithHTTPClient(client *http.Client) *RestoreDeletedDashboardByUIDParams
NewRestoreDeletedDashboardByUIDParamsWithHTTPClient creates a new RestoreDeletedDashboardByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewRestoreDeletedDashboardByUIDParamsWithTimeout ¶
func NewRestoreDeletedDashboardByUIDParamsWithTimeout(timeout time.Duration) *RestoreDeletedDashboardByUIDParams
NewRestoreDeletedDashboardByUIDParamsWithTimeout creates a new RestoreDeletedDashboardByUIDParams object with the ability to set a timeout on a request.
func (*RestoreDeletedDashboardByUIDParams) SetBody ¶
func (o *RestoreDeletedDashboardByUIDParams) SetBody(body *models.RestoreDeletedDashboardCommand)
SetBody adds the body to the restore deleted dashboard by UID params
func (*RestoreDeletedDashboardByUIDParams) SetContext ¶
func (o *RestoreDeletedDashboardByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the restore deleted dashboard by UID params
func (*RestoreDeletedDashboardByUIDParams) SetDefaults ¶
func (o *RestoreDeletedDashboardByUIDParams) SetDefaults()
SetDefaults hydrates default values in the restore deleted dashboard by UID params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreDeletedDashboardByUIDParams) SetHTTPClient ¶
func (o *RestoreDeletedDashboardByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restore deleted dashboard by UID params
func (*RestoreDeletedDashboardByUIDParams) SetTimeout ¶
func (o *RestoreDeletedDashboardByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restore deleted dashboard by UID params
func (*RestoreDeletedDashboardByUIDParams) SetUID ¶
func (o *RestoreDeletedDashboardByUIDParams) SetUID(uid string)
SetUID adds the uid to the restore deleted dashboard by UID params
func (*RestoreDeletedDashboardByUIDParams) WithBody ¶
func (o *RestoreDeletedDashboardByUIDParams) WithBody(body *models.RestoreDeletedDashboardCommand) *RestoreDeletedDashboardByUIDParams
WithBody adds the body to the restore deleted dashboard by UID params
func (*RestoreDeletedDashboardByUIDParams) WithContext ¶
func (o *RestoreDeletedDashboardByUIDParams) WithContext(ctx context.Context) *RestoreDeletedDashboardByUIDParams
WithContext adds the context to the restore deleted dashboard by UID params
func (*RestoreDeletedDashboardByUIDParams) WithDefaults ¶
func (o *RestoreDeletedDashboardByUIDParams) WithDefaults() *RestoreDeletedDashboardByUIDParams
WithDefaults hydrates default values in the restore deleted dashboard by UID params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreDeletedDashboardByUIDParams) WithHTTPClient ¶
func (o *RestoreDeletedDashboardByUIDParams) WithHTTPClient(client *http.Client) *RestoreDeletedDashboardByUIDParams
WithHTTPClient adds the HTTPClient to the restore deleted dashboard by UID params
func (*RestoreDeletedDashboardByUIDParams) WithTimeout ¶
func (o *RestoreDeletedDashboardByUIDParams) WithTimeout(timeout time.Duration) *RestoreDeletedDashboardByUIDParams
WithTimeout adds the timeout to the restore deleted dashboard by UID params
func (*RestoreDeletedDashboardByUIDParams) WithUID ¶
func (o *RestoreDeletedDashboardByUIDParams) WithUID(uid string) *RestoreDeletedDashboardByUIDParams
WithUID adds the uid to the restore deleted dashboard by UID params
func (*RestoreDeletedDashboardByUIDParams) WriteToRequest ¶
func (o *RestoreDeletedDashboardByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestoreDeletedDashboardByUIDReader ¶
type RestoreDeletedDashboardByUIDReader struct {
// contains filtered or unexported fields
}
RestoreDeletedDashboardByUIDReader is a Reader for the RestoreDeletedDashboardByUID structure.
func (*RestoreDeletedDashboardByUIDReader) ReadResponse ¶
func (o *RestoreDeletedDashboardByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestoreDeletedDashboardByUIDUnauthorized ¶
type RestoreDeletedDashboardByUIDUnauthorized struct {
}RestoreDeletedDashboardByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewRestoreDeletedDashboardByUIDUnauthorized ¶
func NewRestoreDeletedDashboardByUIDUnauthorized() *RestoreDeletedDashboardByUIDUnauthorized
NewRestoreDeletedDashboardByUIDUnauthorized creates a RestoreDeletedDashboardByUIDUnauthorized with default headers values
func (*RestoreDeletedDashboardByUIDUnauthorized) Code ¶
func (o *RestoreDeletedDashboardByUIDUnauthorized) Code() int
Code gets the status code for the restore deleted dashboard by Uid unauthorized response
func (*RestoreDeletedDashboardByUIDUnauthorized) Error ¶
func (o *RestoreDeletedDashboardByUIDUnauthorized) Error() string
func (*RestoreDeletedDashboardByUIDUnauthorized) GetPayload ¶
func (o *RestoreDeletedDashboardByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*RestoreDeletedDashboardByUIDUnauthorized) IsClientError ¶
func (o *RestoreDeletedDashboardByUIDUnauthorized) IsClientError() bool
IsClientError returns true when this restore deleted dashboard by Uid unauthorized response has a 4xx status code
func (*RestoreDeletedDashboardByUIDUnauthorized) IsCode ¶
func (o *RestoreDeletedDashboardByUIDUnauthorized) IsCode(code int) bool
IsCode returns true when this restore deleted dashboard by Uid unauthorized response a status code equal to that given
func (*RestoreDeletedDashboardByUIDUnauthorized) IsRedirect ¶
func (o *RestoreDeletedDashboardByUIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this restore deleted dashboard by Uid unauthorized response has a 3xx status code
func (*RestoreDeletedDashboardByUIDUnauthorized) IsServerError ¶
func (o *RestoreDeletedDashboardByUIDUnauthorized) IsServerError() bool
IsServerError returns true when this restore deleted dashboard by Uid unauthorized response has a 5xx status code
func (*RestoreDeletedDashboardByUIDUnauthorized) IsSuccess ¶
func (o *RestoreDeletedDashboardByUIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this restore deleted dashboard by Uid unauthorized response has a 2xx status code
func (*RestoreDeletedDashboardByUIDUnauthorized) String ¶
func (o *RestoreDeletedDashboardByUIDUnauthorized) String() string
Source Files ¶
- calculate_dashboard_diff_parameters.go
- calculate_dashboard_diff_responses.go
- dashboards_client.go
- delete_dashboard_by_uid_parameters.go
- delete_dashboard_by_uid_responses.go
- get_dashboard_by_uid_parameters.go
- get_dashboard_by_uid_responses.go
- get_dashboard_tags_parameters.go
- get_dashboard_tags_responses.go
- get_home_dashboard_parameters.go
- get_home_dashboard_responses.go
- hard_delete_dashboard_by_uid_parameters.go
- hard_delete_dashboard_by_uid_responses.go
- import_dashboard_parameters.go
- import_dashboard_responses.go
- post_dashboard_parameters.go
- post_dashboard_responses.go
- restore_deleted_dashboard_by_uid_parameters.go
- restore_deleted_dashboard_by_uid_responses.go