Documentation
¶
Index ¶
- type CalculateDashboardDiffForbidden
- type CalculateDashboardDiffInternalServerError
- type CalculateDashboardDiffOK
- 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
- type Client
- func (a *Client) CalculateDashboardDiff(params *CalculateDashboardDiffParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CalculateDashboardDiffOK, error)
- func (a *Client) DeleteDashboardByUID(params *DeleteDashboardByUIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteDashboardByUIDOK, error)
- func (a *Client) GetDashboardByUID(params *GetDashboardByUIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDashboardByUIDOK, error)
- func (a *Client) GetDashboardTags(params *GetDashboardTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDashboardTagsOK, error)
- func (a *Client) GetHomeDashboard(params *GetHomeDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHomeDashboardOK, error)
- func (a *Client) ImportDashboard(params *ImportDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ImportDashboardOK, error)
- func (a *Client) PostDashboard(params *PostDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostDashboardOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TrimDashboard(params *TrimDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TrimDashboardOK, error)
- type ClientOption
- type ClientService
- type DeleteDashboardByUIDForbidden
- type DeleteDashboardByUIDInternalServerError
- type DeleteDashboardByUIDNotFound
- type DeleteDashboardByUIDOK
- 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
- type GetDashboardByUIDForbidden
- type GetDashboardByUIDInternalServerError
- type GetDashboardByUIDNotFound
- type GetDashboardByUIDOK
- 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
- type GetDashboardTagsInternalServerError
- type GetDashboardTagsOK
- 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
- type GetHomeDashboardInternalServerError
- type GetHomeDashboardOK
- 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
- type ImportDashboardBadRequest
- type ImportDashboardInternalServerError
- type ImportDashboardOK
- 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
- type ImportDashboardReader
- type ImportDashboardUnauthorized
- type ImportDashboardUnprocessableEntity
- type PostDashboardBadRequest
- type PostDashboardForbidden
- type PostDashboardInternalServerError
- type PostDashboardNotFound
- type PostDashboardOK
- 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
- type PostDashboardReader
- type PostDashboardUnauthorized
- type PostDashboardUnprocessableEntity
- type TrimDashboardInternalServerError
- type TrimDashboardOK
- type TrimDashboardParams
- func (o *TrimDashboardParams) SetBody(body *models.TrimDashboardCommand)
- func (o *TrimDashboardParams) SetContext(ctx context.Context)
- func (o *TrimDashboardParams) SetDefaults()
- func (o *TrimDashboardParams) SetHTTPClient(client *http.Client)
- func (o *TrimDashboardParams) SetTimeout(timeout time.Duration)
- func (o *TrimDashboardParams) WithBody(body *models.TrimDashboardCommand) *TrimDashboardParams
- func (o *TrimDashboardParams) WithContext(ctx context.Context) *TrimDashboardParams
- func (o *TrimDashboardParams) WithDefaults() *TrimDashboardParams
- func (o *TrimDashboardParams) WithHTTPClient(client *http.Client) *TrimDashboardParams
- func (o *TrimDashboardParams) WithTimeout(timeout time.Duration) *TrimDashboardParams
- func (o *TrimDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TrimDashboardReader
- type TrimDashboardUnauthorized
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) Error ¶
func (o *CalculateDashboardDiffForbidden) Error() string
func (*CalculateDashboardDiffForbidden) GetPayload ¶
func (o *CalculateDashboardDiffForbidden) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *CalculateDashboardDiffInternalServerError) Error() string
func (*CalculateDashboardDiffInternalServerError) GetPayload ¶
func (o *CalculateDashboardDiffInternalServerError) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *CalculateDashboardDiffOK) Error() string
func (*CalculateDashboardDiffOK) GetPayload ¶
func (o *CalculateDashboardDiffOK) GetPayload() []uint8
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) Error ¶
func (o *CalculateDashboardDiffUnauthorized) Error() string
func (*CalculateDashboardDiffUnauthorized) GetPayload ¶
func (o *CalculateDashboardDiffUnauthorized) GetPayload() *models.ErrorResponseBody
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for dashboards API
func (*Client) CalculateDashboardDiff ¶
func (a *Client) CalculateDashboardDiff(params *CalculateDashboardDiffParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CalculateDashboardDiffOK, error)
CalculateDashboardDiff performs diff on two dashboards
func (*Client) DeleteDashboardByUID ¶
func (a *Client) DeleteDashboardByUID(params *DeleteDashboardByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardByUIDOK, error)
DeleteDashboardByUID deletes dashboard by uid
Will delete the dashboard given the specified unique identifier (uid).
func (*Client) GetDashboardByUID ¶
func (a *Client) GetDashboardByUID(params *GetDashboardByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardByUIDOK, error)
GetDashboardByUID gets dashboard by uid
Will return the dashboard given the dashboard unique identifier (uid).
func (*Client) GetDashboardTags ¶
func (a *Client) GetDashboardTags(params *GetDashboardTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardTagsOK, error)
GetDashboardTags gets all dashboards tags of an organisation
func (*Client) GetHomeDashboard ¶
func (a *Client) GetHomeDashboard(params *GetHomeDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHomeDashboardOK, error)
GetHomeDashboard gets home dashboard
func (*Client) ImportDashboard ¶
func (a *Client) ImportDashboard(params *ImportDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportDashboardOK, error)
ImportDashboard imports dashboard
func (*Client) PostDashboard ¶
func (a *Client) PostDashboard(params *PostDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDashboardOK, error)
PostDashboard creates update dashboard
Creates a new dashboard or updates an existing dashboard.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TrimDashboard ¶
func (a *Client) TrimDashboard(params *TrimDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TrimDashboardOK, error)
TrimDashboard trims defaults from dashboard
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CalculateDashboardDiff(params *CalculateDashboardDiffParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CalculateDashboardDiffOK, error) DeleteDashboardByUID(params *DeleteDashboardByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardByUIDOK, error) GetDashboardByUID(params *GetDashboardByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardByUIDOK, error) GetDashboardTags(params *GetDashboardTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardTagsOK, error) GetHomeDashboard(params *GetHomeDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHomeDashboardOK, error) ImportDashboard(params *ImportDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportDashboardOK, error) PostDashboard(params *PostDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDashboardOK, error) TrimDashboard(params *TrimDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TrimDashboardOK, 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) Error ¶
func (o *DeleteDashboardByUIDForbidden) Error() string
func (*DeleteDashboardByUIDForbidden) GetPayload ¶
func (o *DeleteDashboardByUIDForbidden) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *DeleteDashboardByUIDInternalServerError) Error() string
func (*DeleteDashboardByUIDInternalServerError) GetPayload ¶
func (o *DeleteDashboardByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *DeleteDashboardByUIDNotFound) Error() string
func (*DeleteDashboardByUIDNotFound) GetPayload ¶
func (o *DeleteDashboardByUIDNotFound) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *DeleteDashboardByUIDOK) Error() string
func (*DeleteDashboardByUIDOK) GetPayload ¶
func (o *DeleteDashboardByUIDOK) GetPayload() *models.DeleteDashboardByUIDOKBody
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) Error ¶
func (o *DeleteDashboardByUIDUnauthorized) Error() string
func (*DeleteDashboardByUIDUnauthorized) GetPayload ¶
func (o *DeleteDashboardByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *GetDashboardByUIDForbidden) Error() string
func (*GetDashboardByUIDForbidden) GetPayload ¶
func (o *GetDashboardByUIDForbidden) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *GetDashboardByUIDInternalServerError) Error() string
func (*GetDashboardByUIDInternalServerError) GetPayload ¶
func (o *GetDashboardByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *GetDashboardByUIDNotFound) Error() string
func (*GetDashboardByUIDNotFound) GetPayload ¶
func (o *GetDashboardByUIDNotFound) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *GetDashboardByUIDOK) Error() string
func (*GetDashboardByUIDOK) GetPayload ¶
func (o *GetDashboardByUIDOK) GetPayload() *models.DashboardFullWithMeta
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) Error ¶
func (o *GetDashboardByUIDUnauthorized) Error() string
func (*GetDashboardByUIDUnauthorized) GetPayload ¶
func (o *GetDashboardByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *GetDashboardTagsInternalServerError) Error() string
func (*GetDashboardTagsInternalServerError) GetPayload ¶
func (o *GetDashboardTagsInternalServerError) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *GetDashboardTagsOK) Error() string
func (*GetDashboardTagsOK) GetPayload ¶
func (o *GetDashboardTagsOK) GetPayload() []*models.DashboardTagCloudItem
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) Error ¶
func (o *GetDashboardTagsUnauthorized) Error() string
func (*GetDashboardTagsUnauthorized) GetPayload ¶
func (o *GetDashboardTagsUnauthorized) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *GetHomeDashboardInternalServerError) Error() string
func (*GetHomeDashboardInternalServerError) GetPayload ¶
func (o *GetHomeDashboardInternalServerError) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *GetHomeDashboardOK) Error() string
func (*GetHomeDashboardOK) GetPayload ¶
func (o *GetHomeDashboardOK) GetPayload() *models.GetHomeDashboardResponse
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) Error ¶
func (o *GetHomeDashboardUnauthorized) Error() string
func (*GetHomeDashboardUnauthorized) GetPayload ¶
func (o *GetHomeDashboardUnauthorized) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *ImportDashboardBadRequest) Error() string
func (*ImportDashboardBadRequest) GetPayload ¶
func (o *ImportDashboardBadRequest) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *ImportDashboardInternalServerError) Error() string
func (*ImportDashboardInternalServerError) GetPayload ¶
func (o *ImportDashboardInternalServerError) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *ImportDashboardOK) Error() string
func (*ImportDashboardOK) GetPayload ¶
func (o *ImportDashboardOK) GetPayload() *models.ImportDashboardResponse
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) Error ¶
func (o *ImportDashboardPreconditionFailed) Error() string
func (*ImportDashboardPreconditionFailed) GetPayload ¶
func (o *ImportDashboardPreconditionFailed) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *ImportDashboardUnauthorized) Error() string
func (*ImportDashboardUnauthorized) GetPayload ¶
func (o *ImportDashboardUnauthorized) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *ImportDashboardUnprocessableEntity) Error() string
func (*ImportDashboardUnprocessableEntity) GetPayload ¶
func (o *ImportDashboardUnprocessableEntity) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *PostDashboardBadRequest) Error() string
func (*PostDashboardBadRequest) GetPayload ¶
func (o *PostDashboardBadRequest) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *PostDashboardForbidden) Error() string
func (*PostDashboardForbidden) GetPayload ¶
func (o *PostDashboardForbidden) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *PostDashboardInternalServerError) Error() string
func (*PostDashboardInternalServerError) GetPayload ¶
func (o *PostDashboardInternalServerError) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *PostDashboardNotFound) Error() string
func (*PostDashboardNotFound) GetPayload ¶
func (o *PostDashboardNotFound) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *PostDashboardOK) Error() string
func (*PostDashboardOK) GetPayload ¶
func (o *PostDashboardOK) GetPayload() *models.PostDashboardOKBody
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) Error ¶
func (o *PostDashboardPreconditionFailed) Error() string
func (*PostDashboardPreconditionFailed) GetPayload ¶
func (o *PostDashboardPreconditionFailed) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *PostDashboardUnauthorized) Error() string
func (*PostDashboardUnauthorized) GetPayload ¶
func (o *PostDashboardUnauthorized) GetPayload() *models.ErrorResponseBody
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) Error ¶
func (o *PostDashboardUnprocessableEntity) Error() string
func (*PostDashboardUnprocessableEntity) GetPayload ¶
func (o *PostDashboardUnprocessableEntity) GetPayload() *models.ErrorResponseBody
type TrimDashboardInternalServerError ¶
type TrimDashboardInternalServerError struct {
Payload *models.ErrorResponseBody
}
TrimDashboardInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewTrimDashboardInternalServerError ¶
func NewTrimDashboardInternalServerError() *TrimDashboardInternalServerError
NewTrimDashboardInternalServerError creates a TrimDashboardInternalServerError with default headers values
func (*TrimDashboardInternalServerError) Error ¶
func (o *TrimDashboardInternalServerError) Error() string
func (*TrimDashboardInternalServerError) GetPayload ¶
func (o *TrimDashboardInternalServerError) GetPayload() *models.ErrorResponseBody
type TrimDashboardOK ¶
type TrimDashboardOK struct {
Payload *models.TrimDashboardFullWithMeta
}
TrimDashboardOK describes a response with status code 200, with default header values.
(empty)
func NewTrimDashboardOK ¶
func NewTrimDashboardOK() *TrimDashboardOK
NewTrimDashboardOK creates a TrimDashboardOK with default headers values
func (*TrimDashboardOK) Error ¶
func (o *TrimDashboardOK) Error() string
func (*TrimDashboardOK) GetPayload ¶
func (o *TrimDashboardOK) GetPayload() *models.TrimDashboardFullWithMeta
type TrimDashboardParams ¶
type TrimDashboardParams struct { // Body. Body *models.TrimDashboardCommand Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TrimDashboardParams contains all the parameters to send to the API endpoint
for the trim dashboard operation. Typically these are written to a http.Request.
func NewTrimDashboardParams ¶
func NewTrimDashboardParams() *TrimDashboardParams
NewTrimDashboardParams creates a new TrimDashboardParams 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 NewTrimDashboardParamsWithContext ¶
func NewTrimDashboardParamsWithContext(ctx context.Context) *TrimDashboardParams
NewTrimDashboardParamsWithContext creates a new TrimDashboardParams object with the ability to set a context for a request.
func NewTrimDashboardParamsWithHTTPClient ¶
func NewTrimDashboardParamsWithHTTPClient(client *http.Client) *TrimDashboardParams
NewTrimDashboardParamsWithHTTPClient creates a new TrimDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewTrimDashboardParamsWithTimeout ¶
func NewTrimDashboardParamsWithTimeout(timeout time.Duration) *TrimDashboardParams
NewTrimDashboardParamsWithTimeout creates a new TrimDashboardParams object with the ability to set a timeout on a request.
func (*TrimDashboardParams) SetBody ¶
func (o *TrimDashboardParams) SetBody(body *models.TrimDashboardCommand)
SetBody adds the body to the trim dashboard params
func (*TrimDashboardParams) SetContext ¶
func (o *TrimDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the trim dashboard params
func (*TrimDashboardParams) SetDefaults ¶
func (o *TrimDashboardParams) SetDefaults()
SetDefaults hydrates default values in the trim dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*TrimDashboardParams) SetHTTPClient ¶
func (o *TrimDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the trim dashboard params
func (*TrimDashboardParams) SetTimeout ¶
func (o *TrimDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the trim dashboard params
func (*TrimDashboardParams) WithBody ¶
func (o *TrimDashboardParams) WithBody(body *models.TrimDashboardCommand) *TrimDashboardParams
WithBody adds the body to the trim dashboard params
func (*TrimDashboardParams) WithContext ¶
func (o *TrimDashboardParams) WithContext(ctx context.Context) *TrimDashboardParams
WithContext adds the context to the trim dashboard params
func (*TrimDashboardParams) WithDefaults ¶
func (o *TrimDashboardParams) WithDefaults() *TrimDashboardParams
WithDefaults hydrates default values in the trim dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*TrimDashboardParams) WithHTTPClient ¶
func (o *TrimDashboardParams) WithHTTPClient(client *http.Client) *TrimDashboardParams
WithHTTPClient adds the HTTPClient to the trim dashboard params
func (*TrimDashboardParams) WithTimeout ¶
func (o *TrimDashboardParams) WithTimeout(timeout time.Duration) *TrimDashboardParams
WithTimeout adds the timeout to the trim dashboard params
func (*TrimDashboardParams) WriteToRequest ¶
func (o *TrimDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TrimDashboardReader ¶
type TrimDashboardReader struct {
// contains filtered or unexported fields
}
TrimDashboardReader is a Reader for the TrimDashboard structure.
func (*TrimDashboardReader) ReadResponse ¶
func (o *TrimDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TrimDashboardUnauthorized ¶
type TrimDashboardUnauthorized struct {
}TrimDashboardUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewTrimDashboardUnauthorized ¶
func NewTrimDashboardUnauthorized() *TrimDashboardUnauthorized
NewTrimDashboardUnauthorized creates a TrimDashboardUnauthorized with default headers values
func (*TrimDashboardUnauthorized) Error ¶
func (o *TrimDashboardUnauthorized) Error() string
func (*TrimDashboardUnauthorized) GetPayload ¶
func (o *TrimDashboardUnauthorized) GetPayload() *models.ErrorResponseBody
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
- import_dashboard_parameters.go
- import_dashboard_responses.go
- post_dashboard_parameters.go
- post_dashboard_responses.go
- trim_dashboard_parameters.go
- trim_dashboard_responses.go