Documentation ¶
Index ¶
- type Client
- func (a *Client) GetDashboardVersionByID(params *GetDashboardVersionByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDashboardVersionByIDOK, error)
- func (a *Client) GetDashboardVersionByUID(params *GetDashboardVersionByUIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDashboardVersionByUIDOK, error)
- func (a *Client) GetDashboardVersionsByID(params *GetDashboardVersionsByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDashboardVersionsByIDOK, error)
- func (a *Client) GetDashboardVersionsByUID(params *GetDashboardVersionsByUIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDashboardVersionsByUIDOK, error)
- func (a *Client) RestoreDashboardVersionByID(params *RestoreDashboardVersionByIDParams, ...) (*RestoreDashboardVersionByIDOK, error)
- func (a *Client) RestoreDashboardVersionByUID(params *RestoreDashboardVersionByUIDParams, ...) (*RestoreDashboardVersionByUIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetDashboardVersionByIDForbidden
- type GetDashboardVersionByIDInternalServerError
- type GetDashboardVersionByIDNotFound
- type GetDashboardVersionByIDOK
- type GetDashboardVersionByIDParams
- func NewGetDashboardVersionByIDParams() *GetDashboardVersionByIDParams
- func NewGetDashboardVersionByIDParamsWithContext(ctx context.Context) *GetDashboardVersionByIDParams
- func NewGetDashboardVersionByIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionByIDParams
- func NewGetDashboardVersionByIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionByIDParams
- func (o *GetDashboardVersionByIDParams) SetContext(ctx context.Context)
- func (o *GetDashboardVersionByIDParams) SetDashboardID(dashboardID int64)
- func (o *GetDashboardVersionByIDParams) SetDashboardVersionID(dashboardVersionID int64)
- func (o *GetDashboardVersionByIDParams) SetDefaults()
- func (o *GetDashboardVersionByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardVersionByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardVersionByIDParams) WithContext(ctx context.Context) *GetDashboardVersionByIDParams
- func (o *GetDashboardVersionByIDParams) WithDashboardID(dashboardID int64) *GetDashboardVersionByIDParams
- func (o *GetDashboardVersionByIDParams) WithDashboardVersionID(dashboardVersionID int64) *GetDashboardVersionByIDParams
- func (o *GetDashboardVersionByIDParams) WithDefaults() *GetDashboardVersionByIDParams
- func (o *GetDashboardVersionByIDParams) WithHTTPClient(client *http.Client) *GetDashboardVersionByIDParams
- func (o *GetDashboardVersionByIDParams) WithTimeout(timeout time.Duration) *GetDashboardVersionByIDParams
- func (o *GetDashboardVersionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardVersionByIDReader
- type GetDashboardVersionByIDUnauthorized
- type GetDashboardVersionByUIDForbidden
- type GetDashboardVersionByUIDInternalServerError
- type GetDashboardVersionByUIDNotFound
- type GetDashboardVersionByUIDOK
- type GetDashboardVersionByUIDParams
- func NewGetDashboardVersionByUIDParams() *GetDashboardVersionByUIDParams
- func NewGetDashboardVersionByUIDParamsWithContext(ctx context.Context) *GetDashboardVersionByUIDParams
- func NewGetDashboardVersionByUIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionByUIDParams
- func NewGetDashboardVersionByUIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionByUIDParams
- func (o *GetDashboardVersionByUIDParams) SetContext(ctx context.Context)
- func (o *GetDashboardVersionByUIDParams) SetDashboardVersionID(dashboardVersionID int64)
- func (o *GetDashboardVersionByUIDParams) SetDefaults()
- func (o *GetDashboardVersionByUIDParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardVersionByUIDParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardVersionByUIDParams) SetUID(uid string)
- func (o *GetDashboardVersionByUIDParams) WithContext(ctx context.Context) *GetDashboardVersionByUIDParams
- func (o *GetDashboardVersionByUIDParams) WithDashboardVersionID(dashboardVersionID int64) *GetDashboardVersionByUIDParams
- func (o *GetDashboardVersionByUIDParams) WithDefaults() *GetDashboardVersionByUIDParams
- func (o *GetDashboardVersionByUIDParams) WithHTTPClient(client *http.Client) *GetDashboardVersionByUIDParams
- func (o *GetDashboardVersionByUIDParams) WithTimeout(timeout time.Duration) *GetDashboardVersionByUIDParams
- func (o *GetDashboardVersionByUIDParams) WithUID(uid string) *GetDashboardVersionByUIDParams
- func (o *GetDashboardVersionByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardVersionByUIDReader
- type GetDashboardVersionByUIDUnauthorized
- type GetDashboardVersionsByIDForbidden
- type GetDashboardVersionsByIDInternalServerError
- type GetDashboardVersionsByIDNotFound
- type GetDashboardVersionsByIDOK
- type GetDashboardVersionsByIDParams
- func NewGetDashboardVersionsByIDParams() *GetDashboardVersionsByIDParams
- func NewGetDashboardVersionsByIDParamsWithContext(ctx context.Context) *GetDashboardVersionsByIDParams
- func NewGetDashboardVersionsByIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionsByIDParams
- func NewGetDashboardVersionsByIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionsByIDParams
- func (o *GetDashboardVersionsByIDParams) SetContext(ctx context.Context)
- func (o *GetDashboardVersionsByIDParams) SetDashboardID(dashboardID int64)
- func (o *GetDashboardVersionsByIDParams) SetDefaults()
- func (o *GetDashboardVersionsByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardVersionsByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardVersionsByIDParams) WithContext(ctx context.Context) *GetDashboardVersionsByIDParams
- func (o *GetDashboardVersionsByIDParams) WithDashboardID(dashboardID int64) *GetDashboardVersionsByIDParams
- func (o *GetDashboardVersionsByIDParams) WithDefaults() *GetDashboardVersionsByIDParams
- func (o *GetDashboardVersionsByIDParams) WithHTTPClient(client *http.Client) *GetDashboardVersionsByIDParams
- func (o *GetDashboardVersionsByIDParams) WithTimeout(timeout time.Duration) *GetDashboardVersionsByIDParams
- func (o *GetDashboardVersionsByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardVersionsByIDReader
- type GetDashboardVersionsByIDUnauthorized
- type GetDashboardVersionsByUIDForbidden
- type GetDashboardVersionsByUIDInternalServerError
- type GetDashboardVersionsByUIDNotFound
- type GetDashboardVersionsByUIDOK
- type GetDashboardVersionsByUIDParams
- func NewGetDashboardVersionsByUIDParams() *GetDashboardVersionsByUIDParams
- func NewGetDashboardVersionsByUIDParamsWithContext(ctx context.Context) *GetDashboardVersionsByUIDParams
- func NewGetDashboardVersionsByUIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionsByUIDParams
- func NewGetDashboardVersionsByUIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionsByUIDParams
- func (o *GetDashboardVersionsByUIDParams) SetContext(ctx context.Context)
- func (o *GetDashboardVersionsByUIDParams) SetDefaults()
- func (o *GetDashboardVersionsByUIDParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardVersionsByUIDParams) SetLimit(limit *int64)
- func (o *GetDashboardVersionsByUIDParams) SetStart(start *int64)
- func (o *GetDashboardVersionsByUIDParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardVersionsByUIDParams) SetUID(uid string)
- func (o *GetDashboardVersionsByUIDParams) WithContext(ctx context.Context) *GetDashboardVersionsByUIDParams
- func (o *GetDashboardVersionsByUIDParams) WithDefaults() *GetDashboardVersionsByUIDParams
- func (o *GetDashboardVersionsByUIDParams) WithHTTPClient(client *http.Client) *GetDashboardVersionsByUIDParams
- func (o *GetDashboardVersionsByUIDParams) WithLimit(limit *int64) *GetDashboardVersionsByUIDParams
- func (o *GetDashboardVersionsByUIDParams) WithStart(start *int64) *GetDashboardVersionsByUIDParams
- func (o *GetDashboardVersionsByUIDParams) WithTimeout(timeout time.Duration) *GetDashboardVersionsByUIDParams
- func (o *GetDashboardVersionsByUIDParams) WithUID(uid string) *GetDashboardVersionsByUIDParams
- func (o *GetDashboardVersionsByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardVersionsByUIDReader
- type GetDashboardVersionsByUIDUnauthorized
- type RestoreDashboardVersionByIDForbidden
- type RestoreDashboardVersionByIDInternalServerError
- type RestoreDashboardVersionByIDNotFound
- type RestoreDashboardVersionByIDOK
- type RestoreDashboardVersionByIDParams
- func NewRestoreDashboardVersionByIDParams() *RestoreDashboardVersionByIDParams
- func NewRestoreDashboardVersionByIDParamsWithContext(ctx context.Context) *RestoreDashboardVersionByIDParams
- func NewRestoreDashboardVersionByIDParamsWithHTTPClient(client *http.Client) *RestoreDashboardVersionByIDParams
- func NewRestoreDashboardVersionByIDParamsWithTimeout(timeout time.Duration) *RestoreDashboardVersionByIDParams
- func (o *RestoreDashboardVersionByIDParams) SetBody(body *models.RestoreDashboardVersionCommand)
- func (o *RestoreDashboardVersionByIDParams) SetContext(ctx context.Context)
- func (o *RestoreDashboardVersionByIDParams) SetDashboardID(dashboardID int64)
- func (o *RestoreDashboardVersionByIDParams) SetDefaults()
- func (o *RestoreDashboardVersionByIDParams) SetHTTPClient(client *http.Client)
- func (o *RestoreDashboardVersionByIDParams) SetTimeout(timeout time.Duration)
- func (o *RestoreDashboardVersionByIDParams) WithBody(body *models.RestoreDashboardVersionCommand) *RestoreDashboardVersionByIDParams
- func (o *RestoreDashboardVersionByIDParams) WithContext(ctx context.Context) *RestoreDashboardVersionByIDParams
- func (o *RestoreDashboardVersionByIDParams) WithDashboardID(dashboardID int64) *RestoreDashboardVersionByIDParams
- func (o *RestoreDashboardVersionByIDParams) WithDefaults() *RestoreDashboardVersionByIDParams
- func (o *RestoreDashboardVersionByIDParams) WithHTTPClient(client *http.Client) *RestoreDashboardVersionByIDParams
- func (o *RestoreDashboardVersionByIDParams) WithTimeout(timeout time.Duration) *RestoreDashboardVersionByIDParams
- func (o *RestoreDashboardVersionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoreDashboardVersionByIDReader
- type RestoreDashboardVersionByIDUnauthorized
- type RestoreDashboardVersionByUIDForbidden
- type RestoreDashboardVersionByUIDInternalServerError
- type RestoreDashboardVersionByUIDNotFound
- type RestoreDashboardVersionByUIDOK
- type RestoreDashboardVersionByUIDParams
- func NewRestoreDashboardVersionByUIDParams() *RestoreDashboardVersionByUIDParams
- func NewRestoreDashboardVersionByUIDParamsWithContext(ctx context.Context) *RestoreDashboardVersionByUIDParams
- func NewRestoreDashboardVersionByUIDParamsWithHTTPClient(client *http.Client) *RestoreDashboardVersionByUIDParams
- func NewRestoreDashboardVersionByUIDParamsWithTimeout(timeout time.Duration) *RestoreDashboardVersionByUIDParams
- func (o *RestoreDashboardVersionByUIDParams) SetBody(body *models.RestoreDashboardVersionCommand)
- func (o *RestoreDashboardVersionByUIDParams) SetContext(ctx context.Context)
- func (o *RestoreDashboardVersionByUIDParams) SetDefaults()
- func (o *RestoreDashboardVersionByUIDParams) SetHTTPClient(client *http.Client)
- func (o *RestoreDashboardVersionByUIDParams) SetTimeout(timeout time.Duration)
- func (o *RestoreDashboardVersionByUIDParams) SetUID(uid string)
- func (o *RestoreDashboardVersionByUIDParams) WithBody(body *models.RestoreDashboardVersionCommand) *RestoreDashboardVersionByUIDParams
- func (o *RestoreDashboardVersionByUIDParams) WithContext(ctx context.Context) *RestoreDashboardVersionByUIDParams
- func (o *RestoreDashboardVersionByUIDParams) WithDefaults() *RestoreDashboardVersionByUIDParams
- func (o *RestoreDashboardVersionByUIDParams) WithHTTPClient(client *http.Client) *RestoreDashboardVersionByUIDParams
- func (o *RestoreDashboardVersionByUIDParams) WithTimeout(timeout time.Duration) *RestoreDashboardVersionByUIDParams
- func (o *RestoreDashboardVersionByUIDParams) WithUID(uid string) *RestoreDashboardVersionByUIDParams
- func (o *RestoreDashboardVersionByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoreDashboardVersionByUIDReader
- type RestoreDashboardVersionByUIDUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for dashboard versions API
func (*Client) GetDashboardVersionByID ¶
func (a *Client) GetDashboardVersionByID(params *GetDashboardVersionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardVersionByIDOK, error)
GetDashboardVersionByID gets a specific dashboard version
Please refer to [updated API](#/dashboard_versions/getDashboardVersionByUID) instead
func (*Client) GetDashboardVersionByUID ¶
func (a *Client) GetDashboardVersionByUID(params *GetDashboardVersionByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardVersionByUIDOK, error)
GetDashboardVersionByUID gets a specific dashboard version using UID
func (*Client) GetDashboardVersionsByID ¶
func (a *Client) GetDashboardVersionsByID(params *GetDashboardVersionsByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardVersionsByIDOK, error)
GetDashboardVersionsByID gets all existing versions for the dashboard
Please refer to [updated API](#/dashboard_versions/getDashboardVersionsByUID) instead
func (*Client) GetDashboardVersionsByUID ¶
func (a *Client) GetDashboardVersionsByUID(params *GetDashboardVersionsByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardVersionsByUIDOK, error)
GetDashboardVersionsByUID gets all existing versions for the dashboard using UID
func (*Client) RestoreDashboardVersionByID ¶
func (a *Client) RestoreDashboardVersionByID(params *RestoreDashboardVersionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreDashboardVersionByIDOK, error)
RestoreDashboardVersionByID restores a dashboard to a given dashboard version
Please refer to [updated API](#/dashboard_versions/restoreDashboardVersionByUID) instead
func (*Client) RestoreDashboardVersionByUID ¶
func (a *Client) RestoreDashboardVersionByUID(params *RestoreDashboardVersionByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreDashboardVersionByUIDOK, error)
RestoreDashboardVersionByUID restores a dashboard to a given dashboard version using UID
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
type ClientService ¶
type ClientService interface { GetDashboardVersionByID(params *GetDashboardVersionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardVersionByIDOK, error) GetDashboardVersionByUID(params *GetDashboardVersionByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardVersionByUIDOK, error) GetDashboardVersionsByID(params *GetDashboardVersionsByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardVersionsByIDOK, error) GetDashboardVersionsByUID(params *GetDashboardVersionsByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardVersionsByUIDOK, error) RestoreDashboardVersionByID(params *RestoreDashboardVersionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreDashboardVersionByIDOK, error) RestoreDashboardVersionByUID(params *RestoreDashboardVersionByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreDashboardVersionByUIDOK, 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 dashboard versions API client.
type GetDashboardVersionByIDForbidden ¶
type GetDashboardVersionByIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionByIDForbidden 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 NewGetDashboardVersionByIDForbidden ¶
func NewGetDashboardVersionByIDForbidden() *GetDashboardVersionByIDForbidden
NewGetDashboardVersionByIDForbidden creates a GetDashboardVersionByIDForbidden with default headers values
func (*GetDashboardVersionByIDForbidden) Error ¶
func (o *GetDashboardVersionByIDForbidden) Error() string
func (*GetDashboardVersionByIDForbidden) GetPayload ¶
func (o *GetDashboardVersionByIDForbidden) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionByIDInternalServerError ¶
type GetDashboardVersionByIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionByIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetDashboardVersionByIDInternalServerError ¶
func NewGetDashboardVersionByIDInternalServerError() *GetDashboardVersionByIDInternalServerError
NewGetDashboardVersionByIDInternalServerError creates a GetDashboardVersionByIDInternalServerError with default headers values
func (*GetDashboardVersionByIDInternalServerError) Error ¶
func (o *GetDashboardVersionByIDInternalServerError) Error() string
func (*GetDashboardVersionByIDInternalServerError) GetPayload ¶
func (o *GetDashboardVersionByIDInternalServerError) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionByIDNotFound ¶
type GetDashboardVersionByIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionByIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetDashboardVersionByIDNotFound ¶
func NewGetDashboardVersionByIDNotFound() *GetDashboardVersionByIDNotFound
NewGetDashboardVersionByIDNotFound creates a GetDashboardVersionByIDNotFound with default headers values
func (*GetDashboardVersionByIDNotFound) Error ¶
func (o *GetDashboardVersionByIDNotFound) Error() string
func (*GetDashboardVersionByIDNotFound) GetPayload ¶
func (o *GetDashboardVersionByIDNotFound) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionByIDOK ¶
type GetDashboardVersionByIDOK struct {
Payload *models.DashboardVersionMeta
}
GetDashboardVersionByIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetDashboardVersionByIDOK ¶
func NewGetDashboardVersionByIDOK() *GetDashboardVersionByIDOK
NewGetDashboardVersionByIDOK creates a GetDashboardVersionByIDOK with default headers values
func (*GetDashboardVersionByIDOK) Error ¶
func (o *GetDashboardVersionByIDOK) Error() string
func (*GetDashboardVersionByIDOK) GetPayload ¶
func (o *GetDashboardVersionByIDOK) GetPayload() *models.DashboardVersionMeta
type GetDashboardVersionByIDParams ¶
type GetDashboardVersionByIDParams struct { // DashboardID. // // Format: int64 DashboardID int64 // DashboardVersionID. // // Format: int64 DashboardVersionID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardVersionByIDParams contains all the parameters to send to the API endpoint
for the get dashboard version by ID operation. Typically these are written to a http.Request.
func NewGetDashboardVersionByIDParams ¶
func NewGetDashboardVersionByIDParams() *GetDashboardVersionByIDParams
NewGetDashboardVersionByIDParams creates a new GetDashboardVersionByIDParams 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 NewGetDashboardVersionByIDParamsWithContext ¶
func NewGetDashboardVersionByIDParamsWithContext(ctx context.Context) *GetDashboardVersionByIDParams
NewGetDashboardVersionByIDParamsWithContext creates a new GetDashboardVersionByIDParams object with the ability to set a context for a request.
func NewGetDashboardVersionByIDParamsWithHTTPClient ¶
func NewGetDashboardVersionByIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionByIDParams
NewGetDashboardVersionByIDParamsWithHTTPClient creates a new GetDashboardVersionByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardVersionByIDParamsWithTimeout ¶
func NewGetDashboardVersionByIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionByIDParams
NewGetDashboardVersionByIDParamsWithTimeout creates a new GetDashboardVersionByIDParams object with the ability to set a timeout on a request.
func (*GetDashboardVersionByIDParams) SetContext ¶
func (o *GetDashboardVersionByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard version by ID params
func (*GetDashboardVersionByIDParams) SetDashboardID ¶
func (o *GetDashboardVersionByIDParams) SetDashboardID(dashboardID int64)
SetDashboardID adds the dashboardId to the get dashboard version by ID params
func (*GetDashboardVersionByIDParams) SetDashboardVersionID ¶
func (o *GetDashboardVersionByIDParams) SetDashboardVersionID(dashboardVersionID int64)
SetDashboardVersionID adds the dashboardVersionId to the get dashboard version by ID params
func (*GetDashboardVersionByIDParams) SetDefaults ¶
func (o *GetDashboardVersionByIDParams) SetDefaults()
SetDefaults hydrates default values in the get dashboard version by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardVersionByIDParams) SetHTTPClient ¶
func (o *GetDashboardVersionByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard version by ID params
func (*GetDashboardVersionByIDParams) SetTimeout ¶
func (o *GetDashboardVersionByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard version by ID params
func (*GetDashboardVersionByIDParams) WithContext ¶
func (o *GetDashboardVersionByIDParams) WithContext(ctx context.Context) *GetDashboardVersionByIDParams
WithContext adds the context to the get dashboard version by ID params
func (*GetDashboardVersionByIDParams) WithDashboardID ¶
func (o *GetDashboardVersionByIDParams) WithDashboardID(dashboardID int64) *GetDashboardVersionByIDParams
WithDashboardID adds the dashboardID to the get dashboard version by ID params
func (*GetDashboardVersionByIDParams) WithDashboardVersionID ¶
func (o *GetDashboardVersionByIDParams) WithDashboardVersionID(dashboardVersionID int64) *GetDashboardVersionByIDParams
WithDashboardVersionID adds the dashboardVersionID to the get dashboard version by ID params
func (*GetDashboardVersionByIDParams) WithDefaults ¶
func (o *GetDashboardVersionByIDParams) WithDefaults() *GetDashboardVersionByIDParams
WithDefaults hydrates default values in the get dashboard version by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardVersionByIDParams) WithHTTPClient ¶
func (o *GetDashboardVersionByIDParams) WithHTTPClient(client *http.Client) *GetDashboardVersionByIDParams
WithHTTPClient adds the HTTPClient to the get dashboard version by ID params
func (*GetDashboardVersionByIDParams) WithTimeout ¶
func (o *GetDashboardVersionByIDParams) WithTimeout(timeout time.Duration) *GetDashboardVersionByIDParams
WithTimeout adds the timeout to the get dashboard version by ID params
func (*GetDashboardVersionByIDParams) WriteToRequest ¶
func (o *GetDashboardVersionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardVersionByIDReader ¶
type GetDashboardVersionByIDReader struct {
// contains filtered or unexported fields
}
GetDashboardVersionByIDReader is a Reader for the GetDashboardVersionByID structure.
func (*GetDashboardVersionByIDReader) ReadResponse ¶
func (o *GetDashboardVersionByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDashboardVersionByIDUnauthorized ¶
type GetDashboardVersionByIDUnauthorized struct {
}GetDashboardVersionByIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetDashboardVersionByIDUnauthorized ¶
func NewGetDashboardVersionByIDUnauthorized() *GetDashboardVersionByIDUnauthorized
NewGetDashboardVersionByIDUnauthorized creates a GetDashboardVersionByIDUnauthorized with default headers values
func (*GetDashboardVersionByIDUnauthorized) Error ¶
func (o *GetDashboardVersionByIDUnauthorized) Error() string
func (*GetDashboardVersionByIDUnauthorized) GetPayload ¶
func (o *GetDashboardVersionByIDUnauthorized) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionByUIDForbidden ¶
type GetDashboardVersionByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionByUIDForbidden 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 NewGetDashboardVersionByUIDForbidden ¶
func NewGetDashboardVersionByUIDForbidden() *GetDashboardVersionByUIDForbidden
NewGetDashboardVersionByUIDForbidden creates a GetDashboardVersionByUIDForbidden with default headers values
func (*GetDashboardVersionByUIDForbidden) Error ¶
func (o *GetDashboardVersionByUIDForbidden) Error() string
func (*GetDashboardVersionByUIDForbidden) GetPayload ¶
func (o *GetDashboardVersionByUIDForbidden) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionByUIDInternalServerError ¶
type GetDashboardVersionByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetDashboardVersionByUIDInternalServerError ¶
func NewGetDashboardVersionByUIDInternalServerError() *GetDashboardVersionByUIDInternalServerError
NewGetDashboardVersionByUIDInternalServerError creates a GetDashboardVersionByUIDInternalServerError with default headers values
func (*GetDashboardVersionByUIDInternalServerError) Error ¶
func (o *GetDashboardVersionByUIDInternalServerError) Error() string
func (*GetDashboardVersionByUIDInternalServerError) GetPayload ¶
func (o *GetDashboardVersionByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionByUIDNotFound ¶
type GetDashboardVersionByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetDashboardVersionByUIDNotFound ¶
func NewGetDashboardVersionByUIDNotFound() *GetDashboardVersionByUIDNotFound
NewGetDashboardVersionByUIDNotFound creates a GetDashboardVersionByUIDNotFound with default headers values
func (*GetDashboardVersionByUIDNotFound) Error ¶
func (o *GetDashboardVersionByUIDNotFound) Error() string
func (*GetDashboardVersionByUIDNotFound) GetPayload ¶
func (o *GetDashboardVersionByUIDNotFound) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionByUIDOK ¶
type GetDashboardVersionByUIDOK struct {
Payload *models.DashboardVersionMeta
}
GetDashboardVersionByUIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetDashboardVersionByUIDOK ¶
func NewGetDashboardVersionByUIDOK() *GetDashboardVersionByUIDOK
NewGetDashboardVersionByUIDOK creates a GetDashboardVersionByUIDOK with default headers values
func (*GetDashboardVersionByUIDOK) Error ¶
func (o *GetDashboardVersionByUIDOK) Error() string
func (*GetDashboardVersionByUIDOK) GetPayload ¶
func (o *GetDashboardVersionByUIDOK) GetPayload() *models.DashboardVersionMeta
type GetDashboardVersionByUIDParams ¶
type GetDashboardVersionByUIDParams struct { // DashboardVersionID. // // Format: int64 DashboardVersionID int64 // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardVersionByUIDParams contains all the parameters to send to the API endpoint
for the get dashboard version by UID operation. Typically these are written to a http.Request.
func NewGetDashboardVersionByUIDParams ¶
func NewGetDashboardVersionByUIDParams() *GetDashboardVersionByUIDParams
NewGetDashboardVersionByUIDParams creates a new GetDashboardVersionByUIDParams 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 NewGetDashboardVersionByUIDParamsWithContext ¶
func NewGetDashboardVersionByUIDParamsWithContext(ctx context.Context) *GetDashboardVersionByUIDParams
NewGetDashboardVersionByUIDParamsWithContext creates a new GetDashboardVersionByUIDParams object with the ability to set a context for a request.
func NewGetDashboardVersionByUIDParamsWithHTTPClient ¶
func NewGetDashboardVersionByUIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionByUIDParams
NewGetDashboardVersionByUIDParamsWithHTTPClient creates a new GetDashboardVersionByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardVersionByUIDParamsWithTimeout ¶
func NewGetDashboardVersionByUIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionByUIDParams
NewGetDashboardVersionByUIDParamsWithTimeout creates a new GetDashboardVersionByUIDParams object with the ability to set a timeout on a request.
func (*GetDashboardVersionByUIDParams) SetContext ¶
func (o *GetDashboardVersionByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard version by UID params
func (*GetDashboardVersionByUIDParams) SetDashboardVersionID ¶
func (o *GetDashboardVersionByUIDParams) SetDashboardVersionID(dashboardVersionID int64)
SetDashboardVersionID adds the dashboardVersionId to the get dashboard version by UID params
func (*GetDashboardVersionByUIDParams) SetDefaults ¶
func (o *GetDashboardVersionByUIDParams) SetDefaults()
SetDefaults hydrates default values in the get dashboard version by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardVersionByUIDParams) SetHTTPClient ¶
func (o *GetDashboardVersionByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard version by UID params
func (*GetDashboardVersionByUIDParams) SetTimeout ¶
func (o *GetDashboardVersionByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard version by UID params
func (*GetDashboardVersionByUIDParams) SetUID ¶
func (o *GetDashboardVersionByUIDParams) SetUID(uid string)
SetUID adds the uid to the get dashboard version by UID params
func (*GetDashboardVersionByUIDParams) WithContext ¶
func (o *GetDashboardVersionByUIDParams) WithContext(ctx context.Context) *GetDashboardVersionByUIDParams
WithContext adds the context to the get dashboard version by UID params
func (*GetDashboardVersionByUIDParams) WithDashboardVersionID ¶
func (o *GetDashboardVersionByUIDParams) WithDashboardVersionID(dashboardVersionID int64) *GetDashboardVersionByUIDParams
WithDashboardVersionID adds the dashboardVersionID to the get dashboard version by UID params
func (*GetDashboardVersionByUIDParams) WithDefaults ¶
func (o *GetDashboardVersionByUIDParams) WithDefaults() *GetDashboardVersionByUIDParams
WithDefaults hydrates default values in the get dashboard version by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardVersionByUIDParams) WithHTTPClient ¶
func (o *GetDashboardVersionByUIDParams) WithHTTPClient(client *http.Client) *GetDashboardVersionByUIDParams
WithHTTPClient adds the HTTPClient to the get dashboard version by UID params
func (*GetDashboardVersionByUIDParams) WithTimeout ¶
func (o *GetDashboardVersionByUIDParams) WithTimeout(timeout time.Duration) *GetDashboardVersionByUIDParams
WithTimeout adds the timeout to the get dashboard version by UID params
func (*GetDashboardVersionByUIDParams) WithUID ¶
func (o *GetDashboardVersionByUIDParams) WithUID(uid string) *GetDashboardVersionByUIDParams
WithUID adds the uid to the get dashboard version by UID params
func (*GetDashboardVersionByUIDParams) WriteToRequest ¶
func (o *GetDashboardVersionByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardVersionByUIDReader ¶
type GetDashboardVersionByUIDReader struct {
// contains filtered or unexported fields
}
GetDashboardVersionByUIDReader is a Reader for the GetDashboardVersionByUID structure.
func (*GetDashboardVersionByUIDReader) ReadResponse ¶
func (o *GetDashboardVersionByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDashboardVersionByUIDUnauthorized ¶
type GetDashboardVersionByUIDUnauthorized struct {
}GetDashboardVersionByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetDashboardVersionByUIDUnauthorized ¶
func NewGetDashboardVersionByUIDUnauthorized() *GetDashboardVersionByUIDUnauthorized
NewGetDashboardVersionByUIDUnauthorized creates a GetDashboardVersionByUIDUnauthorized with default headers values
func (*GetDashboardVersionByUIDUnauthorized) Error ¶
func (o *GetDashboardVersionByUIDUnauthorized) Error() string
func (*GetDashboardVersionByUIDUnauthorized) GetPayload ¶
func (o *GetDashboardVersionByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionsByIDForbidden ¶
type GetDashboardVersionsByIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionsByIDForbidden 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 NewGetDashboardVersionsByIDForbidden ¶
func NewGetDashboardVersionsByIDForbidden() *GetDashboardVersionsByIDForbidden
NewGetDashboardVersionsByIDForbidden creates a GetDashboardVersionsByIDForbidden with default headers values
func (*GetDashboardVersionsByIDForbidden) Error ¶
func (o *GetDashboardVersionsByIDForbidden) Error() string
func (*GetDashboardVersionsByIDForbidden) GetPayload ¶
func (o *GetDashboardVersionsByIDForbidden) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionsByIDInternalServerError ¶
type GetDashboardVersionsByIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionsByIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetDashboardVersionsByIDInternalServerError ¶
func NewGetDashboardVersionsByIDInternalServerError() *GetDashboardVersionsByIDInternalServerError
NewGetDashboardVersionsByIDInternalServerError creates a GetDashboardVersionsByIDInternalServerError with default headers values
func (*GetDashboardVersionsByIDInternalServerError) Error ¶
func (o *GetDashboardVersionsByIDInternalServerError) Error() string
func (*GetDashboardVersionsByIDInternalServerError) GetPayload ¶
func (o *GetDashboardVersionsByIDInternalServerError) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionsByIDNotFound ¶
type GetDashboardVersionsByIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionsByIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetDashboardVersionsByIDNotFound ¶
func NewGetDashboardVersionsByIDNotFound() *GetDashboardVersionsByIDNotFound
NewGetDashboardVersionsByIDNotFound creates a GetDashboardVersionsByIDNotFound with default headers values
func (*GetDashboardVersionsByIDNotFound) Error ¶
func (o *GetDashboardVersionsByIDNotFound) Error() string
func (*GetDashboardVersionsByIDNotFound) GetPayload ¶
func (o *GetDashboardVersionsByIDNotFound) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionsByIDOK ¶
type GetDashboardVersionsByIDOK struct {
Payload []*models.DashboardVersionMeta
}
GetDashboardVersionsByIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetDashboardVersionsByIDOK ¶
func NewGetDashboardVersionsByIDOK() *GetDashboardVersionsByIDOK
NewGetDashboardVersionsByIDOK creates a GetDashboardVersionsByIDOK with default headers values
func (*GetDashboardVersionsByIDOK) Error ¶
func (o *GetDashboardVersionsByIDOK) Error() string
func (*GetDashboardVersionsByIDOK) GetPayload ¶
func (o *GetDashboardVersionsByIDOK) GetPayload() []*models.DashboardVersionMeta
type GetDashboardVersionsByIDParams ¶
type GetDashboardVersionsByIDParams struct { // DashboardID. // // Format: int64 DashboardID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardVersionsByIDParams contains all the parameters to send to the API endpoint
for the get dashboard versions by ID operation. Typically these are written to a http.Request.
func NewGetDashboardVersionsByIDParams ¶
func NewGetDashboardVersionsByIDParams() *GetDashboardVersionsByIDParams
NewGetDashboardVersionsByIDParams creates a new GetDashboardVersionsByIDParams 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 NewGetDashboardVersionsByIDParamsWithContext ¶
func NewGetDashboardVersionsByIDParamsWithContext(ctx context.Context) *GetDashboardVersionsByIDParams
NewGetDashboardVersionsByIDParamsWithContext creates a new GetDashboardVersionsByIDParams object with the ability to set a context for a request.
func NewGetDashboardVersionsByIDParamsWithHTTPClient ¶
func NewGetDashboardVersionsByIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionsByIDParams
NewGetDashboardVersionsByIDParamsWithHTTPClient creates a new GetDashboardVersionsByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardVersionsByIDParamsWithTimeout ¶
func NewGetDashboardVersionsByIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionsByIDParams
NewGetDashboardVersionsByIDParamsWithTimeout creates a new GetDashboardVersionsByIDParams object with the ability to set a timeout on a request.
func (*GetDashboardVersionsByIDParams) SetContext ¶
func (o *GetDashboardVersionsByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard versions by ID params
func (*GetDashboardVersionsByIDParams) SetDashboardID ¶
func (o *GetDashboardVersionsByIDParams) SetDashboardID(dashboardID int64)
SetDashboardID adds the dashboardId to the get dashboard versions by ID params
func (*GetDashboardVersionsByIDParams) SetDefaults ¶
func (o *GetDashboardVersionsByIDParams) SetDefaults()
SetDefaults hydrates default values in the get dashboard versions by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardVersionsByIDParams) SetHTTPClient ¶
func (o *GetDashboardVersionsByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard versions by ID params
func (*GetDashboardVersionsByIDParams) SetTimeout ¶
func (o *GetDashboardVersionsByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard versions by ID params
func (*GetDashboardVersionsByIDParams) WithContext ¶
func (o *GetDashboardVersionsByIDParams) WithContext(ctx context.Context) *GetDashboardVersionsByIDParams
WithContext adds the context to the get dashboard versions by ID params
func (*GetDashboardVersionsByIDParams) WithDashboardID ¶
func (o *GetDashboardVersionsByIDParams) WithDashboardID(dashboardID int64) *GetDashboardVersionsByIDParams
WithDashboardID adds the dashboardID to the get dashboard versions by ID params
func (*GetDashboardVersionsByIDParams) WithDefaults ¶
func (o *GetDashboardVersionsByIDParams) WithDefaults() *GetDashboardVersionsByIDParams
WithDefaults hydrates default values in the get dashboard versions by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardVersionsByIDParams) WithHTTPClient ¶
func (o *GetDashboardVersionsByIDParams) WithHTTPClient(client *http.Client) *GetDashboardVersionsByIDParams
WithHTTPClient adds the HTTPClient to the get dashboard versions by ID params
func (*GetDashboardVersionsByIDParams) WithTimeout ¶
func (o *GetDashboardVersionsByIDParams) WithTimeout(timeout time.Duration) *GetDashboardVersionsByIDParams
WithTimeout adds the timeout to the get dashboard versions by ID params
func (*GetDashboardVersionsByIDParams) WriteToRequest ¶
func (o *GetDashboardVersionsByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardVersionsByIDReader ¶
type GetDashboardVersionsByIDReader struct {
// contains filtered or unexported fields
}
GetDashboardVersionsByIDReader is a Reader for the GetDashboardVersionsByID structure.
func (*GetDashboardVersionsByIDReader) ReadResponse ¶
func (o *GetDashboardVersionsByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDashboardVersionsByIDUnauthorized ¶
type GetDashboardVersionsByIDUnauthorized struct {
}GetDashboardVersionsByIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetDashboardVersionsByIDUnauthorized ¶
func NewGetDashboardVersionsByIDUnauthorized() *GetDashboardVersionsByIDUnauthorized
NewGetDashboardVersionsByIDUnauthorized creates a GetDashboardVersionsByIDUnauthorized with default headers values
func (*GetDashboardVersionsByIDUnauthorized) Error ¶
func (o *GetDashboardVersionsByIDUnauthorized) Error() string
func (*GetDashboardVersionsByIDUnauthorized) GetPayload ¶
func (o *GetDashboardVersionsByIDUnauthorized) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionsByUIDForbidden ¶
type GetDashboardVersionsByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionsByUIDForbidden 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 NewGetDashboardVersionsByUIDForbidden ¶
func NewGetDashboardVersionsByUIDForbidden() *GetDashboardVersionsByUIDForbidden
NewGetDashboardVersionsByUIDForbidden creates a GetDashboardVersionsByUIDForbidden with default headers values
func (*GetDashboardVersionsByUIDForbidden) Error ¶
func (o *GetDashboardVersionsByUIDForbidden) Error() string
func (*GetDashboardVersionsByUIDForbidden) GetPayload ¶
func (o *GetDashboardVersionsByUIDForbidden) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionsByUIDInternalServerError ¶
type GetDashboardVersionsByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionsByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetDashboardVersionsByUIDInternalServerError ¶
func NewGetDashboardVersionsByUIDInternalServerError() *GetDashboardVersionsByUIDInternalServerError
NewGetDashboardVersionsByUIDInternalServerError creates a GetDashboardVersionsByUIDInternalServerError with default headers values
func (*GetDashboardVersionsByUIDInternalServerError) Error ¶
func (o *GetDashboardVersionsByUIDInternalServerError) Error() string
func (*GetDashboardVersionsByUIDInternalServerError) GetPayload ¶
func (o *GetDashboardVersionsByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionsByUIDNotFound ¶
type GetDashboardVersionsByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetDashboardVersionsByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetDashboardVersionsByUIDNotFound ¶
func NewGetDashboardVersionsByUIDNotFound() *GetDashboardVersionsByUIDNotFound
NewGetDashboardVersionsByUIDNotFound creates a GetDashboardVersionsByUIDNotFound with default headers values
func (*GetDashboardVersionsByUIDNotFound) Error ¶
func (o *GetDashboardVersionsByUIDNotFound) Error() string
func (*GetDashboardVersionsByUIDNotFound) GetPayload ¶
func (o *GetDashboardVersionsByUIDNotFound) GetPayload() *models.ErrorResponseBody
type GetDashboardVersionsByUIDOK ¶
type GetDashboardVersionsByUIDOK struct {
Payload []*models.DashboardVersionMeta
}
GetDashboardVersionsByUIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetDashboardVersionsByUIDOK ¶
func NewGetDashboardVersionsByUIDOK() *GetDashboardVersionsByUIDOK
NewGetDashboardVersionsByUIDOK creates a GetDashboardVersionsByUIDOK with default headers values
func (*GetDashboardVersionsByUIDOK) Error ¶
func (o *GetDashboardVersionsByUIDOK) Error() string
func (*GetDashboardVersionsByUIDOK) GetPayload ¶
func (o *GetDashboardVersionsByUIDOK) GetPayload() []*models.DashboardVersionMeta
type GetDashboardVersionsByUIDParams ¶
type GetDashboardVersionsByUIDParams struct { /* Limit. Maximum number of results to return Format: int64 */ Limit *int64 /* Start. Version to start from when returning queries Format: int64 */ Start *int64 // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardVersionsByUIDParams contains all the parameters to send to the API endpoint
for the get dashboard versions by UID operation. Typically these are written to a http.Request.
func NewGetDashboardVersionsByUIDParams ¶
func NewGetDashboardVersionsByUIDParams() *GetDashboardVersionsByUIDParams
NewGetDashboardVersionsByUIDParams creates a new GetDashboardVersionsByUIDParams 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 NewGetDashboardVersionsByUIDParamsWithContext ¶
func NewGetDashboardVersionsByUIDParamsWithContext(ctx context.Context) *GetDashboardVersionsByUIDParams
NewGetDashboardVersionsByUIDParamsWithContext creates a new GetDashboardVersionsByUIDParams object with the ability to set a context for a request.
func NewGetDashboardVersionsByUIDParamsWithHTTPClient ¶
func NewGetDashboardVersionsByUIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionsByUIDParams
NewGetDashboardVersionsByUIDParamsWithHTTPClient creates a new GetDashboardVersionsByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardVersionsByUIDParamsWithTimeout ¶
func NewGetDashboardVersionsByUIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionsByUIDParams
NewGetDashboardVersionsByUIDParamsWithTimeout creates a new GetDashboardVersionsByUIDParams object with the ability to set a timeout on a request.
func (*GetDashboardVersionsByUIDParams) SetContext ¶
func (o *GetDashboardVersionsByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) SetDefaults ¶
func (o *GetDashboardVersionsByUIDParams) SetDefaults()
SetDefaults hydrates default values in the get dashboard versions by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardVersionsByUIDParams) SetHTTPClient ¶
func (o *GetDashboardVersionsByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) SetLimit ¶
func (o *GetDashboardVersionsByUIDParams) SetLimit(limit *int64)
SetLimit adds the limit to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) SetStart ¶
func (o *GetDashboardVersionsByUIDParams) SetStart(start *int64)
SetStart adds the start to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) SetTimeout ¶
func (o *GetDashboardVersionsByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) SetUID ¶
func (o *GetDashboardVersionsByUIDParams) SetUID(uid string)
SetUID adds the uid to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) WithContext ¶
func (o *GetDashboardVersionsByUIDParams) WithContext(ctx context.Context) *GetDashboardVersionsByUIDParams
WithContext adds the context to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) WithDefaults ¶
func (o *GetDashboardVersionsByUIDParams) WithDefaults() *GetDashboardVersionsByUIDParams
WithDefaults hydrates default values in the get dashboard versions by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardVersionsByUIDParams) WithHTTPClient ¶
func (o *GetDashboardVersionsByUIDParams) WithHTTPClient(client *http.Client) *GetDashboardVersionsByUIDParams
WithHTTPClient adds the HTTPClient to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) WithLimit ¶
func (o *GetDashboardVersionsByUIDParams) WithLimit(limit *int64) *GetDashboardVersionsByUIDParams
WithLimit adds the limit to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) WithStart ¶
func (o *GetDashboardVersionsByUIDParams) WithStart(start *int64) *GetDashboardVersionsByUIDParams
WithStart adds the start to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) WithTimeout ¶
func (o *GetDashboardVersionsByUIDParams) WithTimeout(timeout time.Duration) *GetDashboardVersionsByUIDParams
WithTimeout adds the timeout to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) WithUID ¶
func (o *GetDashboardVersionsByUIDParams) WithUID(uid string) *GetDashboardVersionsByUIDParams
WithUID adds the uid to the get dashboard versions by UID params
func (*GetDashboardVersionsByUIDParams) WriteToRequest ¶
func (o *GetDashboardVersionsByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardVersionsByUIDReader ¶
type GetDashboardVersionsByUIDReader struct {
// contains filtered or unexported fields
}
GetDashboardVersionsByUIDReader is a Reader for the GetDashboardVersionsByUID structure.
func (*GetDashboardVersionsByUIDReader) ReadResponse ¶
func (o *GetDashboardVersionsByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDashboardVersionsByUIDUnauthorized ¶
type GetDashboardVersionsByUIDUnauthorized struct {
}GetDashboardVersionsByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetDashboardVersionsByUIDUnauthorized ¶
func NewGetDashboardVersionsByUIDUnauthorized() *GetDashboardVersionsByUIDUnauthorized
NewGetDashboardVersionsByUIDUnauthorized creates a GetDashboardVersionsByUIDUnauthorized with default headers values
func (*GetDashboardVersionsByUIDUnauthorized) Error ¶
func (o *GetDashboardVersionsByUIDUnauthorized) Error() string
func (*GetDashboardVersionsByUIDUnauthorized) GetPayload ¶
func (o *GetDashboardVersionsByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
type RestoreDashboardVersionByIDForbidden ¶
type RestoreDashboardVersionByIDForbidden struct {
Payload *models.ErrorResponseBody
}
RestoreDashboardVersionByIDForbidden 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 NewRestoreDashboardVersionByIDForbidden ¶
func NewRestoreDashboardVersionByIDForbidden() *RestoreDashboardVersionByIDForbidden
NewRestoreDashboardVersionByIDForbidden creates a RestoreDashboardVersionByIDForbidden with default headers values
func (*RestoreDashboardVersionByIDForbidden) Error ¶
func (o *RestoreDashboardVersionByIDForbidden) Error() string
func (*RestoreDashboardVersionByIDForbidden) GetPayload ¶
func (o *RestoreDashboardVersionByIDForbidden) GetPayload() *models.ErrorResponseBody
type RestoreDashboardVersionByIDInternalServerError ¶
type RestoreDashboardVersionByIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
RestoreDashboardVersionByIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewRestoreDashboardVersionByIDInternalServerError ¶
func NewRestoreDashboardVersionByIDInternalServerError() *RestoreDashboardVersionByIDInternalServerError
NewRestoreDashboardVersionByIDInternalServerError creates a RestoreDashboardVersionByIDInternalServerError with default headers values
func (*RestoreDashboardVersionByIDInternalServerError) Error ¶
func (o *RestoreDashboardVersionByIDInternalServerError) Error() string
func (*RestoreDashboardVersionByIDInternalServerError) GetPayload ¶
func (o *RestoreDashboardVersionByIDInternalServerError) GetPayload() *models.ErrorResponseBody
type RestoreDashboardVersionByIDNotFound ¶
type RestoreDashboardVersionByIDNotFound struct {
Payload *models.ErrorResponseBody
}
RestoreDashboardVersionByIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewRestoreDashboardVersionByIDNotFound ¶
func NewRestoreDashboardVersionByIDNotFound() *RestoreDashboardVersionByIDNotFound
NewRestoreDashboardVersionByIDNotFound creates a RestoreDashboardVersionByIDNotFound with default headers values
func (*RestoreDashboardVersionByIDNotFound) Error ¶
func (o *RestoreDashboardVersionByIDNotFound) Error() string
func (*RestoreDashboardVersionByIDNotFound) GetPayload ¶
func (o *RestoreDashboardVersionByIDNotFound) GetPayload() *models.ErrorResponseBody
type RestoreDashboardVersionByIDOK ¶
type RestoreDashboardVersionByIDOK struct {
Payload *models.RestoreDashboardVersionByIDOKBody
}
RestoreDashboardVersionByIDOK describes a response with status code 200, with default header values.
(empty)
func NewRestoreDashboardVersionByIDOK ¶
func NewRestoreDashboardVersionByIDOK() *RestoreDashboardVersionByIDOK
NewRestoreDashboardVersionByIDOK creates a RestoreDashboardVersionByIDOK with default headers values
func (*RestoreDashboardVersionByIDOK) Error ¶
func (o *RestoreDashboardVersionByIDOK) Error() string
func (*RestoreDashboardVersionByIDOK) GetPayload ¶
func (o *RestoreDashboardVersionByIDOK) GetPayload() *models.RestoreDashboardVersionByIDOKBody
type RestoreDashboardVersionByIDParams ¶
type RestoreDashboardVersionByIDParams struct { // Body. Body *models.RestoreDashboardVersionCommand // DashboardID. // // Format: int64 DashboardID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestoreDashboardVersionByIDParams contains all the parameters to send to the API endpoint
for the restore dashboard version by ID operation. Typically these are written to a http.Request.
func NewRestoreDashboardVersionByIDParams ¶
func NewRestoreDashboardVersionByIDParams() *RestoreDashboardVersionByIDParams
NewRestoreDashboardVersionByIDParams creates a new RestoreDashboardVersionByIDParams 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 NewRestoreDashboardVersionByIDParamsWithContext ¶
func NewRestoreDashboardVersionByIDParamsWithContext(ctx context.Context) *RestoreDashboardVersionByIDParams
NewRestoreDashboardVersionByIDParamsWithContext creates a new RestoreDashboardVersionByIDParams object with the ability to set a context for a request.
func NewRestoreDashboardVersionByIDParamsWithHTTPClient ¶
func NewRestoreDashboardVersionByIDParamsWithHTTPClient(client *http.Client) *RestoreDashboardVersionByIDParams
NewRestoreDashboardVersionByIDParamsWithHTTPClient creates a new RestoreDashboardVersionByIDParams object with the ability to set a custom HTTPClient for a request.
func NewRestoreDashboardVersionByIDParamsWithTimeout ¶
func NewRestoreDashboardVersionByIDParamsWithTimeout(timeout time.Duration) *RestoreDashboardVersionByIDParams
NewRestoreDashboardVersionByIDParamsWithTimeout creates a new RestoreDashboardVersionByIDParams object with the ability to set a timeout on a request.
func (*RestoreDashboardVersionByIDParams) SetBody ¶
func (o *RestoreDashboardVersionByIDParams) SetBody(body *models.RestoreDashboardVersionCommand)
SetBody adds the body to the restore dashboard version by ID params
func (*RestoreDashboardVersionByIDParams) SetContext ¶
func (o *RestoreDashboardVersionByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the restore dashboard version by ID params
func (*RestoreDashboardVersionByIDParams) SetDashboardID ¶
func (o *RestoreDashboardVersionByIDParams) SetDashboardID(dashboardID int64)
SetDashboardID adds the dashboardId to the restore dashboard version by ID params
func (*RestoreDashboardVersionByIDParams) SetDefaults ¶
func (o *RestoreDashboardVersionByIDParams) SetDefaults()
SetDefaults hydrates default values in the restore dashboard version by ID params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreDashboardVersionByIDParams) SetHTTPClient ¶
func (o *RestoreDashboardVersionByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restore dashboard version by ID params
func (*RestoreDashboardVersionByIDParams) SetTimeout ¶
func (o *RestoreDashboardVersionByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restore dashboard version by ID params
func (*RestoreDashboardVersionByIDParams) WithBody ¶
func (o *RestoreDashboardVersionByIDParams) WithBody(body *models.RestoreDashboardVersionCommand) *RestoreDashboardVersionByIDParams
WithBody adds the body to the restore dashboard version by ID params
func (*RestoreDashboardVersionByIDParams) WithContext ¶
func (o *RestoreDashboardVersionByIDParams) WithContext(ctx context.Context) *RestoreDashboardVersionByIDParams
WithContext adds the context to the restore dashboard version by ID params
func (*RestoreDashboardVersionByIDParams) WithDashboardID ¶
func (o *RestoreDashboardVersionByIDParams) WithDashboardID(dashboardID int64) *RestoreDashboardVersionByIDParams
WithDashboardID adds the dashboardID to the restore dashboard version by ID params
func (*RestoreDashboardVersionByIDParams) WithDefaults ¶
func (o *RestoreDashboardVersionByIDParams) WithDefaults() *RestoreDashboardVersionByIDParams
WithDefaults hydrates default values in the restore dashboard version by ID params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreDashboardVersionByIDParams) WithHTTPClient ¶
func (o *RestoreDashboardVersionByIDParams) WithHTTPClient(client *http.Client) *RestoreDashboardVersionByIDParams
WithHTTPClient adds the HTTPClient to the restore dashboard version by ID params
func (*RestoreDashboardVersionByIDParams) WithTimeout ¶
func (o *RestoreDashboardVersionByIDParams) WithTimeout(timeout time.Duration) *RestoreDashboardVersionByIDParams
WithTimeout adds the timeout to the restore dashboard version by ID params
func (*RestoreDashboardVersionByIDParams) WriteToRequest ¶
func (o *RestoreDashboardVersionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestoreDashboardVersionByIDReader ¶
type RestoreDashboardVersionByIDReader struct {
// contains filtered or unexported fields
}
RestoreDashboardVersionByIDReader is a Reader for the RestoreDashboardVersionByID structure.
func (*RestoreDashboardVersionByIDReader) ReadResponse ¶
func (o *RestoreDashboardVersionByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestoreDashboardVersionByIDUnauthorized ¶
type RestoreDashboardVersionByIDUnauthorized struct {
}RestoreDashboardVersionByIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewRestoreDashboardVersionByIDUnauthorized ¶
func NewRestoreDashboardVersionByIDUnauthorized() *RestoreDashboardVersionByIDUnauthorized
NewRestoreDashboardVersionByIDUnauthorized creates a RestoreDashboardVersionByIDUnauthorized with default headers values
func (*RestoreDashboardVersionByIDUnauthorized) Error ¶
func (o *RestoreDashboardVersionByIDUnauthorized) Error() string
func (*RestoreDashboardVersionByIDUnauthorized) GetPayload ¶
func (o *RestoreDashboardVersionByIDUnauthorized) GetPayload() *models.ErrorResponseBody
type RestoreDashboardVersionByUIDForbidden ¶
type RestoreDashboardVersionByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
RestoreDashboardVersionByUIDForbidden 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 NewRestoreDashboardVersionByUIDForbidden ¶
func NewRestoreDashboardVersionByUIDForbidden() *RestoreDashboardVersionByUIDForbidden
NewRestoreDashboardVersionByUIDForbidden creates a RestoreDashboardVersionByUIDForbidden with default headers values
func (*RestoreDashboardVersionByUIDForbidden) Error ¶
func (o *RestoreDashboardVersionByUIDForbidden) Error() string
func (*RestoreDashboardVersionByUIDForbidden) GetPayload ¶
func (o *RestoreDashboardVersionByUIDForbidden) GetPayload() *models.ErrorResponseBody
type RestoreDashboardVersionByUIDInternalServerError ¶
type RestoreDashboardVersionByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
RestoreDashboardVersionByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewRestoreDashboardVersionByUIDInternalServerError ¶
func NewRestoreDashboardVersionByUIDInternalServerError() *RestoreDashboardVersionByUIDInternalServerError
NewRestoreDashboardVersionByUIDInternalServerError creates a RestoreDashboardVersionByUIDInternalServerError with default headers values
func (*RestoreDashboardVersionByUIDInternalServerError) Error ¶
func (o *RestoreDashboardVersionByUIDInternalServerError) Error() string
func (*RestoreDashboardVersionByUIDInternalServerError) GetPayload ¶
func (o *RestoreDashboardVersionByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
type RestoreDashboardVersionByUIDNotFound ¶
type RestoreDashboardVersionByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
RestoreDashboardVersionByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewRestoreDashboardVersionByUIDNotFound ¶
func NewRestoreDashboardVersionByUIDNotFound() *RestoreDashboardVersionByUIDNotFound
NewRestoreDashboardVersionByUIDNotFound creates a RestoreDashboardVersionByUIDNotFound with default headers values
func (*RestoreDashboardVersionByUIDNotFound) Error ¶
func (o *RestoreDashboardVersionByUIDNotFound) Error() string
func (*RestoreDashboardVersionByUIDNotFound) GetPayload ¶
func (o *RestoreDashboardVersionByUIDNotFound) GetPayload() *models.ErrorResponseBody
type RestoreDashboardVersionByUIDOK ¶
type RestoreDashboardVersionByUIDOK struct {
Payload *models.RestoreDashboardVersionByUIDOKBody
}
RestoreDashboardVersionByUIDOK describes a response with status code 200, with default header values.
(empty)
func NewRestoreDashboardVersionByUIDOK ¶
func NewRestoreDashboardVersionByUIDOK() *RestoreDashboardVersionByUIDOK
NewRestoreDashboardVersionByUIDOK creates a RestoreDashboardVersionByUIDOK with default headers values
func (*RestoreDashboardVersionByUIDOK) Error ¶
func (o *RestoreDashboardVersionByUIDOK) Error() string
func (*RestoreDashboardVersionByUIDOK) GetPayload ¶
func (o *RestoreDashboardVersionByUIDOK) GetPayload() *models.RestoreDashboardVersionByUIDOKBody
type RestoreDashboardVersionByUIDParams ¶
type RestoreDashboardVersionByUIDParams struct { // Body. Body *models.RestoreDashboardVersionCommand // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestoreDashboardVersionByUIDParams contains all the parameters to send to the API endpoint
for the restore dashboard version by UID operation. Typically these are written to a http.Request.
func NewRestoreDashboardVersionByUIDParams ¶
func NewRestoreDashboardVersionByUIDParams() *RestoreDashboardVersionByUIDParams
NewRestoreDashboardVersionByUIDParams creates a new RestoreDashboardVersionByUIDParams 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 NewRestoreDashboardVersionByUIDParamsWithContext ¶
func NewRestoreDashboardVersionByUIDParamsWithContext(ctx context.Context) *RestoreDashboardVersionByUIDParams
NewRestoreDashboardVersionByUIDParamsWithContext creates a new RestoreDashboardVersionByUIDParams object with the ability to set a context for a request.
func NewRestoreDashboardVersionByUIDParamsWithHTTPClient ¶
func NewRestoreDashboardVersionByUIDParamsWithHTTPClient(client *http.Client) *RestoreDashboardVersionByUIDParams
NewRestoreDashboardVersionByUIDParamsWithHTTPClient creates a new RestoreDashboardVersionByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewRestoreDashboardVersionByUIDParamsWithTimeout ¶
func NewRestoreDashboardVersionByUIDParamsWithTimeout(timeout time.Duration) *RestoreDashboardVersionByUIDParams
NewRestoreDashboardVersionByUIDParamsWithTimeout creates a new RestoreDashboardVersionByUIDParams object with the ability to set a timeout on a request.
func (*RestoreDashboardVersionByUIDParams) SetBody ¶
func (o *RestoreDashboardVersionByUIDParams) SetBody(body *models.RestoreDashboardVersionCommand)
SetBody adds the body to the restore dashboard version by UID params
func (*RestoreDashboardVersionByUIDParams) SetContext ¶
func (o *RestoreDashboardVersionByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the restore dashboard version by UID params
func (*RestoreDashboardVersionByUIDParams) SetDefaults ¶
func (o *RestoreDashboardVersionByUIDParams) SetDefaults()
SetDefaults hydrates default values in the restore dashboard version by UID params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreDashboardVersionByUIDParams) SetHTTPClient ¶
func (o *RestoreDashboardVersionByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restore dashboard version by UID params
func (*RestoreDashboardVersionByUIDParams) SetTimeout ¶
func (o *RestoreDashboardVersionByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restore dashboard version by UID params
func (*RestoreDashboardVersionByUIDParams) SetUID ¶
func (o *RestoreDashboardVersionByUIDParams) SetUID(uid string)
SetUID adds the uid to the restore dashboard version by UID params
func (*RestoreDashboardVersionByUIDParams) WithBody ¶
func (o *RestoreDashboardVersionByUIDParams) WithBody(body *models.RestoreDashboardVersionCommand) *RestoreDashboardVersionByUIDParams
WithBody adds the body to the restore dashboard version by UID params
func (*RestoreDashboardVersionByUIDParams) WithContext ¶
func (o *RestoreDashboardVersionByUIDParams) WithContext(ctx context.Context) *RestoreDashboardVersionByUIDParams
WithContext adds the context to the restore dashboard version by UID params
func (*RestoreDashboardVersionByUIDParams) WithDefaults ¶
func (o *RestoreDashboardVersionByUIDParams) WithDefaults() *RestoreDashboardVersionByUIDParams
WithDefaults hydrates default values in the restore dashboard version by UID params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreDashboardVersionByUIDParams) WithHTTPClient ¶
func (o *RestoreDashboardVersionByUIDParams) WithHTTPClient(client *http.Client) *RestoreDashboardVersionByUIDParams
WithHTTPClient adds the HTTPClient to the restore dashboard version by UID params
func (*RestoreDashboardVersionByUIDParams) WithTimeout ¶
func (o *RestoreDashboardVersionByUIDParams) WithTimeout(timeout time.Duration) *RestoreDashboardVersionByUIDParams
WithTimeout adds the timeout to the restore dashboard version by UID params
func (*RestoreDashboardVersionByUIDParams) WithUID ¶
func (o *RestoreDashboardVersionByUIDParams) WithUID(uid string) *RestoreDashboardVersionByUIDParams
WithUID adds the uid to the restore dashboard version by UID params
func (*RestoreDashboardVersionByUIDParams) WriteToRequest ¶
func (o *RestoreDashboardVersionByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestoreDashboardVersionByUIDReader ¶
type RestoreDashboardVersionByUIDReader struct {
// contains filtered or unexported fields
}
RestoreDashboardVersionByUIDReader is a Reader for the RestoreDashboardVersionByUID structure.
func (*RestoreDashboardVersionByUIDReader) ReadResponse ¶
func (o *RestoreDashboardVersionByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestoreDashboardVersionByUIDUnauthorized ¶
type RestoreDashboardVersionByUIDUnauthorized struct {
}RestoreDashboardVersionByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewRestoreDashboardVersionByUIDUnauthorized ¶
func NewRestoreDashboardVersionByUIDUnauthorized() *RestoreDashboardVersionByUIDUnauthorized
NewRestoreDashboardVersionByUIDUnauthorized creates a RestoreDashboardVersionByUIDUnauthorized with default headers values
func (*RestoreDashboardVersionByUIDUnauthorized) Error ¶
func (o *RestoreDashboardVersionByUIDUnauthorized) Error() string
func (*RestoreDashboardVersionByUIDUnauthorized) GetPayload ¶
func (o *RestoreDashboardVersionByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
Source Files ¶
- dashboard_versions_client.go
- get_dashboard_version_by_id_parameters.go
- get_dashboard_version_by_id_responses.go
- get_dashboard_version_by_uid_parameters.go
- get_dashboard_version_by_uid_responses.go
- get_dashboard_versions_by_id_parameters.go
- get_dashboard_versions_by_id_responses.go
- get_dashboard_versions_by_uid_parameters.go
- get_dashboard_versions_by_uid_responses.go
- restore_dashboard_version_by_id_parameters.go
- restore_dashboard_version_by_id_responses.go
- restore_dashboard_version_by_uid_parameters.go
- restore_dashboard_version_by_uid_responses.go