Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateDashboardSnapshot(params *CreateDashboardSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateDashboardSnapshotOK, error)
- func (a *Client) DeleteDashboardSnapshot(params *DeleteDashboardSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteDashboardSnapshotOK, error)
- func (a *Client) DeleteDashboardSnapshotByDeleteKey(params *DeleteDashboardSnapshotByDeleteKeyParams, ...) (*DeleteDashboardSnapshotByDeleteKeyOK, error)
- func (a *Client) GetDashboardSnapshot(params *GetDashboardSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDashboardSnapshotOK, error)
- func (a *Client) GetSharingOptions(params *GetSharingOptionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSharingOptionsOK, error)
- func (a *Client) SearchDashboardSnapshots(params *SearchDashboardSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchDashboardSnapshotsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateDashboardSnapshotForbidden
- type CreateDashboardSnapshotInternalServerError
- type CreateDashboardSnapshotOK
- type CreateDashboardSnapshotParams
- func NewCreateDashboardSnapshotParams() *CreateDashboardSnapshotParams
- func NewCreateDashboardSnapshotParamsWithContext(ctx context.Context) *CreateDashboardSnapshotParams
- func NewCreateDashboardSnapshotParamsWithHTTPClient(client *http.Client) *CreateDashboardSnapshotParams
- func NewCreateDashboardSnapshotParamsWithTimeout(timeout time.Duration) *CreateDashboardSnapshotParams
- func (o *CreateDashboardSnapshotParams) SetBody(body *models.CreateDashboardSnapshotCommand)
- func (o *CreateDashboardSnapshotParams) SetContext(ctx context.Context)
- func (o *CreateDashboardSnapshotParams) SetDefaults()
- func (o *CreateDashboardSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CreateDashboardSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateDashboardSnapshotParams) WithBody(body *models.CreateDashboardSnapshotCommand) *CreateDashboardSnapshotParams
- func (o *CreateDashboardSnapshotParams) WithContext(ctx context.Context) *CreateDashboardSnapshotParams
- func (o *CreateDashboardSnapshotParams) WithDefaults() *CreateDashboardSnapshotParams
- func (o *CreateDashboardSnapshotParams) WithHTTPClient(client *http.Client) *CreateDashboardSnapshotParams
- func (o *CreateDashboardSnapshotParams) WithTimeout(timeout time.Duration) *CreateDashboardSnapshotParams
- func (o *CreateDashboardSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDashboardSnapshotReader
- type CreateDashboardSnapshotUnauthorized
- type DeleteDashboardSnapshotByDeleteKeyForbidden
- type DeleteDashboardSnapshotByDeleteKeyInternalServerError
- type DeleteDashboardSnapshotByDeleteKeyNotFound
- type DeleteDashboardSnapshotByDeleteKeyOK
- type DeleteDashboardSnapshotByDeleteKeyParams
- func NewDeleteDashboardSnapshotByDeleteKeyParams() *DeleteDashboardSnapshotByDeleteKeyParams
- func NewDeleteDashboardSnapshotByDeleteKeyParamsWithContext(ctx context.Context) *DeleteDashboardSnapshotByDeleteKeyParams
- func NewDeleteDashboardSnapshotByDeleteKeyParamsWithHTTPClient(client *http.Client) *DeleteDashboardSnapshotByDeleteKeyParams
- func NewDeleteDashboardSnapshotByDeleteKeyParamsWithTimeout(timeout time.Duration) *DeleteDashboardSnapshotByDeleteKeyParams
- func (o *DeleteDashboardSnapshotByDeleteKeyParams) SetContext(ctx context.Context)
- func (o *DeleteDashboardSnapshotByDeleteKeyParams) SetDefaults()
- func (o *DeleteDashboardSnapshotByDeleteKeyParams) SetDeleteKey(deleteKey string)
- func (o *DeleteDashboardSnapshotByDeleteKeyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDashboardSnapshotByDeleteKeyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDashboardSnapshotByDeleteKeyParams) WithContext(ctx context.Context) *DeleteDashboardSnapshotByDeleteKeyParams
- func (o *DeleteDashboardSnapshotByDeleteKeyParams) WithDefaults() *DeleteDashboardSnapshotByDeleteKeyParams
- func (o *DeleteDashboardSnapshotByDeleteKeyParams) WithDeleteKey(deleteKey string) *DeleteDashboardSnapshotByDeleteKeyParams
- func (o *DeleteDashboardSnapshotByDeleteKeyParams) WithHTTPClient(client *http.Client) *DeleteDashboardSnapshotByDeleteKeyParams
- func (o *DeleteDashboardSnapshotByDeleteKeyParams) WithTimeout(timeout time.Duration) *DeleteDashboardSnapshotByDeleteKeyParams
- func (o *DeleteDashboardSnapshotByDeleteKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDashboardSnapshotByDeleteKeyReader
- type DeleteDashboardSnapshotByDeleteKeyUnauthorized
- type DeleteDashboardSnapshotForbidden
- type DeleteDashboardSnapshotInternalServerError
- type DeleteDashboardSnapshotNotFound
- type DeleteDashboardSnapshotOK
- type DeleteDashboardSnapshotParams
- func NewDeleteDashboardSnapshotParams() *DeleteDashboardSnapshotParams
- func NewDeleteDashboardSnapshotParamsWithContext(ctx context.Context) *DeleteDashboardSnapshotParams
- func NewDeleteDashboardSnapshotParamsWithHTTPClient(client *http.Client) *DeleteDashboardSnapshotParams
- func NewDeleteDashboardSnapshotParamsWithTimeout(timeout time.Duration) *DeleteDashboardSnapshotParams
- func (o *DeleteDashboardSnapshotParams) SetContext(ctx context.Context)
- func (o *DeleteDashboardSnapshotParams) SetDefaults()
- func (o *DeleteDashboardSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDashboardSnapshotParams) SetKey(key string)
- func (o *DeleteDashboardSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDashboardSnapshotParams) WithContext(ctx context.Context) *DeleteDashboardSnapshotParams
- func (o *DeleteDashboardSnapshotParams) WithDefaults() *DeleteDashboardSnapshotParams
- func (o *DeleteDashboardSnapshotParams) WithHTTPClient(client *http.Client) *DeleteDashboardSnapshotParams
- func (o *DeleteDashboardSnapshotParams) WithKey(key string) *DeleteDashboardSnapshotParams
- func (o *DeleteDashboardSnapshotParams) WithTimeout(timeout time.Duration) *DeleteDashboardSnapshotParams
- func (o *DeleteDashboardSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDashboardSnapshotReader
- type GetDashboardSnapshotBadRequest
- type GetDashboardSnapshotInternalServerError
- type GetDashboardSnapshotNotFound
- type GetDashboardSnapshotOK
- type GetDashboardSnapshotParams
- func NewGetDashboardSnapshotParams() *GetDashboardSnapshotParams
- func NewGetDashboardSnapshotParamsWithContext(ctx context.Context) *GetDashboardSnapshotParams
- func NewGetDashboardSnapshotParamsWithHTTPClient(client *http.Client) *GetDashboardSnapshotParams
- func NewGetDashboardSnapshotParamsWithTimeout(timeout time.Duration) *GetDashboardSnapshotParams
- func (o *GetDashboardSnapshotParams) SetContext(ctx context.Context)
- func (o *GetDashboardSnapshotParams) SetDefaults()
- func (o *GetDashboardSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardSnapshotParams) SetKey(key string)
- func (o *GetDashboardSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardSnapshotParams) WithContext(ctx context.Context) *GetDashboardSnapshotParams
- func (o *GetDashboardSnapshotParams) WithDefaults() *GetDashboardSnapshotParams
- func (o *GetDashboardSnapshotParams) WithHTTPClient(client *http.Client) *GetDashboardSnapshotParams
- func (o *GetDashboardSnapshotParams) WithKey(key string) *GetDashboardSnapshotParams
- func (o *GetDashboardSnapshotParams) WithTimeout(timeout time.Duration) *GetDashboardSnapshotParams
- func (o *GetDashboardSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardSnapshotReader
- type GetSharingOptionsOK
- type GetSharingOptionsParams
- func NewGetSharingOptionsParams() *GetSharingOptionsParams
- func NewGetSharingOptionsParamsWithContext(ctx context.Context) *GetSharingOptionsParams
- func NewGetSharingOptionsParamsWithHTTPClient(client *http.Client) *GetSharingOptionsParams
- func NewGetSharingOptionsParamsWithTimeout(timeout time.Duration) *GetSharingOptionsParams
- func (o *GetSharingOptionsParams) SetContext(ctx context.Context)
- func (o *GetSharingOptionsParams) SetDefaults()
- func (o *GetSharingOptionsParams) SetHTTPClient(client *http.Client)
- func (o *GetSharingOptionsParams) SetTimeout(timeout time.Duration)
- func (o *GetSharingOptionsParams) WithContext(ctx context.Context) *GetSharingOptionsParams
- func (o *GetSharingOptionsParams) WithDefaults() *GetSharingOptionsParams
- func (o *GetSharingOptionsParams) WithHTTPClient(client *http.Client) *GetSharingOptionsParams
- func (o *GetSharingOptionsParams) WithTimeout(timeout time.Duration) *GetSharingOptionsParams
- func (o *GetSharingOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSharingOptionsReader
- type GetSharingOptionsUnauthorized
- type SearchDashboardSnapshotsInternalServerError
- type SearchDashboardSnapshotsOK
- type SearchDashboardSnapshotsParams
- func NewSearchDashboardSnapshotsParams() *SearchDashboardSnapshotsParams
- func NewSearchDashboardSnapshotsParamsWithContext(ctx context.Context) *SearchDashboardSnapshotsParams
- func NewSearchDashboardSnapshotsParamsWithHTTPClient(client *http.Client) *SearchDashboardSnapshotsParams
- func NewSearchDashboardSnapshotsParamsWithTimeout(timeout time.Duration) *SearchDashboardSnapshotsParams
- func (o *SearchDashboardSnapshotsParams) SetContext(ctx context.Context)
- func (o *SearchDashboardSnapshotsParams) SetDefaults()
- func (o *SearchDashboardSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *SearchDashboardSnapshotsParams) SetLimit(limit *int64)
- func (o *SearchDashboardSnapshotsParams) SetQuery(query *string)
- func (o *SearchDashboardSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *SearchDashboardSnapshotsParams) WithContext(ctx context.Context) *SearchDashboardSnapshotsParams
- func (o *SearchDashboardSnapshotsParams) WithDefaults() *SearchDashboardSnapshotsParams
- func (o *SearchDashboardSnapshotsParams) WithHTTPClient(client *http.Client) *SearchDashboardSnapshotsParams
- func (o *SearchDashboardSnapshotsParams) WithLimit(limit *int64) *SearchDashboardSnapshotsParams
- func (o *SearchDashboardSnapshotsParams) WithQuery(query *string) *SearchDashboardSnapshotsParams
- func (o *SearchDashboardSnapshotsParams) WithTimeout(timeout time.Duration) *SearchDashboardSnapshotsParams
- func (o *SearchDashboardSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchDashboardSnapshotsReader
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 snapshots API
func (*Client) CreateDashboardSnapshot ¶
func (a *Client) CreateDashboardSnapshot(params *CreateDashboardSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDashboardSnapshotOK, error)
CreateDashboardSnapshot whens creating a snapshot using the API you have to provide the full dashboard payload including the snapshot data this endpoint is designed for the grafana UI
Snapshot public mode should be enabled or authentication is required.
func (*Client) DeleteDashboardSnapshot ¶
func (a *Client) DeleteDashboardSnapshot(params *DeleteDashboardSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardSnapshotOK, error)
DeleteDashboardSnapshot deletes snapshot by key
func (*Client) DeleteDashboardSnapshotByDeleteKey ¶
func (a *Client) DeleteDashboardSnapshotByDeleteKey(params *DeleteDashboardSnapshotByDeleteKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardSnapshotByDeleteKeyOK, error)
DeleteDashboardSnapshotByDeleteKey deletes snapshot by delete key
Snapshot public mode should be enabled or authentication is required.
func (*Client) GetDashboardSnapshot ¶
func (a *Client) GetDashboardSnapshot(params *GetDashboardSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardSnapshotOK, error)
GetDashboardSnapshot gets snapshot by key
func (*Client) GetSharingOptions ¶
func (a *Client) GetSharingOptions(params *GetSharingOptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSharingOptionsOK, error)
GetSharingOptions gets snapshot sharing settings
func (*Client) SearchDashboardSnapshots ¶
func (a *Client) SearchDashboardSnapshots(params *SearchDashboardSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchDashboardSnapshotsOK, error)
SearchDashboardSnapshots lists snapshots
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 { CreateDashboardSnapshot(params *CreateDashboardSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDashboardSnapshotOK, error) DeleteDashboardSnapshot(params *DeleteDashboardSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardSnapshotOK, error) DeleteDashboardSnapshotByDeleteKey(params *DeleteDashboardSnapshotByDeleteKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardSnapshotByDeleteKeyOK, error) GetDashboardSnapshot(params *GetDashboardSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardSnapshotOK, error) GetSharingOptions(params *GetSharingOptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSharingOptionsOK, error) SearchDashboardSnapshots(params *SearchDashboardSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchDashboardSnapshotsOK, 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 snapshots API client.
type CreateDashboardSnapshotForbidden ¶
type CreateDashboardSnapshotForbidden struct {
Payload *models.ErrorResponseBody
}
CreateDashboardSnapshotForbidden 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 NewCreateDashboardSnapshotForbidden ¶
func NewCreateDashboardSnapshotForbidden() *CreateDashboardSnapshotForbidden
NewCreateDashboardSnapshotForbidden creates a CreateDashboardSnapshotForbidden with default headers values
func (*CreateDashboardSnapshotForbidden) Error ¶
func (o *CreateDashboardSnapshotForbidden) Error() string
func (*CreateDashboardSnapshotForbidden) GetPayload ¶
func (o *CreateDashboardSnapshotForbidden) GetPayload() *models.ErrorResponseBody
type CreateDashboardSnapshotInternalServerError ¶
type CreateDashboardSnapshotInternalServerError struct {
Payload *models.ErrorResponseBody
}
CreateDashboardSnapshotInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewCreateDashboardSnapshotInternalServerError ¶
func NewCreateDashboardSnapshotInternalServerError() *CreateDashboardSnapshotInternalServerError
NewCreateDashboardSnapshotInternalServerError creates a CreateDashboardSnapshotInternalServerError with default headers values
func (*CreateDashboardSnapshotInternalServerError) Error ¶
func (o *CreateDashboardSnapshotInternalServerError) Error() string
func (*CreateDashboardSnapshotInternalServerError) GetPayload ¶
func (o *CreateDashboardSnapshotInternalServerError) GetPayload() *models.ErrorResponseBody
type CreateDashboardSnapshotOK ¶
type CreateDashboardSnapshotOK struct {
Payload *models.CreateDashboardSnapshotOKBody
}
CreateDashboardSnapshotOK describes a response with status code 200, with default header values.
(empty)
func NewCreateDashboardSnapshotOK ¶
func NewCreateDashboardSnapshotOK() *CreateDashboardSnapshotOK
NewCreateDashboardSnapshotOK creates a CreateDashboardSnapshotOK with default headers values
func (*CreateDashboardSnapshotOK) Error ¶
func (o *CreateDashboardSnapshotOK) Error() string
func (*CreateDashboardSnapshotOK) GetPayload ¶
func (o *CreateDashboardSnapshotOK) GetPayload() *models.CreateDashboardSnapshotOKBody
type CreateDashboardSnapshotParams ¶
type CreateDashboardSnapshotParams struct { // Body. Body *models.CreateDashboardSnapshotCommand Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDashboardSnapshotParams contains all the parameters to send to the API endpoint
for the create dashboard snapshot operation. Typically these are written to a http.Request.
func NewCreateDashboardSnapshotParams ¶
func NewCreateDashboardSnapshotParams() *CreateDashboardSnapshotParams
NewCreateDashboardSnapshotParams creates a new CreateDashboardSnapshotParams 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 NewCreateDashboardSnapshotParamsWithContext ¶
func NewCreateDashboardSnapshotParamsWithContext(ctx context.Context) *CreateDashboardSnapshotParams
NewCreateDashboardSnapshotParamsWithContext creates a new CreateDashboardSnapshotParams object with the ability to set a context for a request.
func NewCreateDashboardSnapshotParamsWithHTTPClient ¶
func NewCreateDashboardSnapshotParamsWithHTTPClient(client *http.Client) *CreateDashboardSnapshotParams
NewCreateDashboardSnapshotParamsWithHTTPClient creates a new CreateDashboardSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDashboardSnapshotParamsWithTimeout ¶
func NewCreateDashboardSnapshotParamsWithTimeout(timeout time.Duration) *CreateDashboardSnapshotParams
NewCreateDashboardSnapshotParamsWithTimeout creates a new CreateDashboardSnapshotParams object with the ability to set a timeout on a request.
func (*CreateDashboardSnapshotParams) SetBody ¶
func (o *CreateDashboardSnapshotParams) SetBody(body *models.CreateDashboardSnapshotCommand)
SetBody adds the body to the create dashboard snapshot params
func (*CreateDashboardSnapshotParams) SetContext ¶
func (o *CreateDashboardSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the create dashboard snapshot params
func (*CreateDashboardSnapshotParams) SetDefaults ¶
func (o *CreateDashboardSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the create dashboard snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDashboardSnapshotParams) SetHTTPClient ¶
func (o *CreateDashboardSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create dashboard snapshot params
func (*CreateDashboardSnapshotParams) SetTimeout ¶
func (o *CreateDashboardSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create dashboard snapshot params
func (*CreateDashboardSnapshotParams) WithBody ¶
func (o *CreateDashboardSnapshotParams) WithBody(body *models.CreateDashboardSnapshotCommand) *CreateDashboardSnapshotParams
WithBody adds the body to the create dashboard snapshot params
func (*CreateDashboardSnapshotParams) WithContext ¶
func (o *CreateDashboardSnapshotParams) WithContext(ctx context.Context) *CreateDashboardSnapshotParams
WithContext adds the context to the create dashboard snapshot params
func (*CreateDashboardSnapshotParams) WithDefaults ¶
func (o *CreateDashboardSnapshotParams) WithDefaults() *CreateDashboardSnapshotParams
WithDefaults hydrates default values in the create dashboard snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDashboardSnapshotParams) WithHTTPClient ¶
func (o *CreateDashboardSnapshotParams) WithHTTPClient(client *http.Client) *CreateDashboardSnapshotParams
WithHTTPClient adds the HTTPClient to the create dashboard snapshot params
func (*CreateDashboardSnapshotParams) WithTimeout ¶
func (o *CreateDashboardSnapshotParams) WithTimeout(timeout time.Duration) *CreateDashboardSnapshotParams
WithTimeout adds the timeout to the create dashboard snapshot params
func (*CreateDashboardSnapshotParams) WriteToRequest ¶
func (o *CreateDashboardSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDashboardSnapshotReader ¶
type CreateDashboardSnapshotReader struct {
// contains filtered or unexported fields
}
CreateDashboardSnapshotReader is a Reader for the CreateDashboardSnapshot structure.
func (*CreateDashboardSnapshotReader) ReadResponse ¶
func (o *CreateDashboardSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateDashboardSnapshotUnauthorized ¶
type CreateDashboardSnapshotUnauthorized struct {
}CreateDashboardSnapshotUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewCreateDashboardSnapshotUnauthorized ¶
func NewCreateDashboardSnapshotUnauthorized() *CreateDashboardSnapshotUnauthorized
NewCreateDashboardSnapshotUnauthorized creates a CreateDashboardSnapshotUnauthorized with default headers values
func (*CreateDashboardSnapshotUnauthorized) Error ¶
func (o *CreateDashboardSnapshotUnauthorized) Error() string
func (*CreateDashboardSnapshotUnauthorized) GetPayload ¶
func (o *CreateDashboardSnapshotUnauthorized) GetPayload() *models.ErrorResponseBody
type DeleteDashboardSnapshotByDeleteKeyForbidden ¶
type DeleteDashboardSnapshotByDeleteKeyForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteDashboardSnapshotByDeleteKeyForbidden 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 NewDeleteDashboardSnapshotByDeleteKeyForbidden ¶
func NewDeleteDashboardSnapshotByDeleteKeyForbidden() *DeleteDashboardSnapshotByDeleteKeyForbidden
NewDeleteDashboardSnapshotByDeleteKeyForbidden creates a DeleteDashboardSnapshotByDeleteKeyForbidden with default headers values
func (*DeleteDashboardSnapshotByDeleteKeyForbidden) Error ¶
func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) Error() string
func (*DeleteDashboardSnapshotByDeleteKeyForbidden) GetPayload ¶
func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) GetPayload() *models.ErrorResponseBody
type DeleteDashboardSnapshotByDeleteKeyInternalServerError ¶
type DeleteDashboardSnapshotByDeleteKeyInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteDashboardSnapshotByDeleteKeyInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteDashboardSnapshotByDeleteKeyInternalServerError ¶
func NewDeleteDashboardSnapshotByDeleteKeyInternalServerError() *DeleteDashboardSnapshotByDeleteKeyInternalServerError
NewDeleteDashboardSnapshotByDeleteKeyInternalServerError creates a DeleteDashboardSnapshotByDeleteKeyInternalServerError with default headers values
func (*DeleteDashboardSnapshotByDeleteKeyInternalServerError) Error ¶
func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) Error() string
func (*DeleteDashboardSnapshotByDeleteKeyInternalServerError) GetPayload ¶
func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) GetPayload() *models.ErrorResponseBody
type DeleteDashboardSnapshotByDeleteKeyNotFound ¶
type DeleteDashboardSnapshotByDeleteKeyNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteDashboardSnapshotByDeleteKeyNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteDashboardSnapshotByDeleteKeyNotFound ¶
func NewDeleteDashboardSnapshotByDeleteKeyNotFound() *DeleteDashboardSnapshotByDeleteKeyNotFound
NewDeleteDashboardSnapshotByDeleteKeyNotFound creates a DeleteDashboardSnapshotByDeleteKeyNotFound with default headers values
func (*DeleteDashboardSnapshotByDeleteKeyNotFound) Error ¶
func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) Error() string
func (*DeleteDashboardSnapshotByDeleteKeyNotFound) GetPayload ¶
func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) GetPayload() *models.ErrorResponseBody
type DeleteDashboardSnapshotByDeleteKeyOK ¶
type DeleteDashboardSnapshotByDeleteKeyOK struct {
Payload *models.SuccessResponseBody
}
DeleteDashboardSnapshotByDeleteKeyOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewDeleteDashboardSnapshotByDeleteKeyOK ¶
func NewDeleteDashboardSnapshotByDeleteKeyOK() *DeleteDashboardSnapshotByDeleteKeyOK
NewDeleteDashboardSnapshotByDeleteKeyOK creates a DeleteDashboardSnapshotByDeleteKeyOK with default headers values
func (*DeleteDashboardSnapshotByDeleteKeyOK) Error ¶
func (o *DeleteDashboardSnapshotByDeleteKeyOK) Error() string
func (*DeleteDashboardSnapshotByDeleteKeyOK) GetPayload ¶
func (o *DeleteDashboardSnapshotByDeleteKeyOK) GetPayload() *models.SuccessResponseBody
type DeleteDashboardSnapshotByDeleteKeyParams ¶
type DeleteDashboardSnapshotByDeleteKeyParams struct { // DeleteKey. DeleteKey string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDashboardSnapshotByDeleteKeyParams contains all the parameters to send to the API endpoint
for the delete dashboard snapshot by delete key operation. Typically these are written to a http.Request.
func NewDeleteDashboardSnapshotByDeleteKeyParams ¶
func NewDeleteDashboardSnapshotByDeleteKeyParams() *DeleteDashboardSnapshotByDeleteKeyParams
NewDeleteDashboardSnapshotByDeleteKeyParams creates a new DeleteDashboardSnapshotByDeleteKeyParams 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 NewDeleteDashboardSnapshotByDeleteKeyParamsWithContext ¶
func NewDeleteDashboardSnapshotByDeleteKeyParamsWithContext(ctx context.Context) *DeleteDashboardSnapshotByDeleteKeyParams
NewDeleteDashboardSnapshotByDeleteKeyParamsWithContext creates a new DeleteDashboardSnapshotByDeleteKeyParams object with the ability to set a context for a request.
func NewDeleteDashboardSnapshotByDeleteKeyParamsWithHTTPClient ¶
func NewDeleteDashboardSnapshotByDeleteKeyParamsWithHTTPClient(client *http.Client) *DeleteDashboardSnapshotByDeleteKeyParams
NewDeleteDashboardSnapshotByDeleteKeyParamsWithHTTPClient creates a new DeleteDashboardSnapshotByDeleteKeyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDashboardSnapshotByDeleteKeyParamsWithTimeout ¶
func NewDeleteDashboardSnapshotByDeleteKeyParamsWithTimeout(timeout time.Duration) *DeleteDashboardSnapshotByDeleteKeyParams
NewDeleteDashboardSnapshotByDeleteKeyParamsWithTimeout creates a new DeleteDashboardSnapshotByDeleteKeyParams object with the ability to set a timeout on a request.
func (*DeleteDashboardSnapshotByDeleteKeyParams) SetContext ¶
func (o *DeleteDashboardSnapshotByDeleteKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete dashboard snapshot by delete key params
func (*DeleteDashboardSnapshotByDeleteKeyParams) SetDefaults ¶
func (o *DeleteDashboardSnapshotByDeleteKeyParams) SetDefaults()
SetDefaults hydrates default values in the delete dashboard snapshot by delete key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDashboardSnapshotByDeleteKeyParams) SetDeleteKey ¶
func (o *DeleteDashboardSnapshotByDeleteKeyParams) SetDeleteKey(deleteKey string)
SetDeleteKey adds the deleteKey to the delete dashboard snapshot by delete key params
func (*DeleteDashboardSnapshotByDeleteKeyParams) SetHTTPClient ¶
func (o *DeleteDashboardSnapshotByDeleteKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete dashboard snapshot by delete key params
func (*DeleteDashboardSnapshotByDeleteKeyParams) SetTimeout ¶
func (o *DeleteDashboardSnapshotByDeleteKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete dashboard snapshot by delete key params
func (*DeleteDashboardSnapshotByDeleteKeyParams) WithContext ¶
func (o *DeleteDashboardSnapshotByDeleteKeyParams) WithContext(ctx context.Context) *DeleteDashboardSnapshotByDeleteKeyParams
WithContext adds the context to the delete dashboard snapshot by delete key params
func (*DeleteDashboardSnapshotByDeleteKeyParams) WithDefaults ¶
func (o *DeleteDashboardSnapshotByDeleteKeyParams) WithDefaults() *DeleteDashboardSnapshotByDeleteKeyParams
WithDefaults hydrates default values in the delete dashboard snapshot by delete key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDashboardSnapshotByDeleteKeyParams) WithDeleteKey ¶
func (o *DeleteDashboardSnapshotByDeleteKeyParams) WithDeleteKey(deleteKey string) *DeleteDashboardSnapshotByDeleteKeyParams
WithDeleteKey adds the deleteKey to the delete dashboard snapshot by delete key params
func (*DeleteDashboardSnapshotByDeleteKeyParams) WithHTTPClient ¶
func (o *DeleteDashboardSnapshotByDeleteKeyParams) WithHTTPClient(client *http.Client) *DeleteDashboardSnapshotByDeleteKeyParams
WithHTTPClient adds the HTTPClient to the delete dashboard snapshot by delete key params
func (*DeleteDashboardSnapshotByDeleteKeyParams) WithTimeout ¶
func (o *DeleteDashboardSnapshotByDeleteKeyParams) WithTimeout(timeout time.Duration) *DeleteDashboardSnapshotByDeleteKeyParams
WithTimeout adds the timeout to the delete dashboard snapshot by delete key params
func (*DeleteDashboardSnapshotByDeleteKeyParams) WriteToRequest ¶
func (o *DeleteDashboardSnapshotByDeleteKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDashboardSnapshotByDeleteKeyReader ¶
type DeleteDashboardSnapshotByDeleteKeyReader struct {
// contains filtered or unexported fields
}
DeleteDashboardSnapshotByDeleteKeyReader is a Reader for the DeleteDashboardSnapshotByDeleteKey structure.
func (*DeleteDashboardSnapshotByDeleteKeyReader) ReadResponse ¶
func (o *DeleteDashboardSnapshotByDeleteKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDashboardSnapshotByDeleteKeyUnauthorized ¶
type DeleteDashboardSnapshotByDeleteKeyUnauthorized struct {
}DeleteDashboardSnapshotByDeleteKeyUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewDeleteDashboardSnapshotByDeleteKeyUnauthorized ¶
func NewDeleteDashboardSnapshotByDeleteKeyUnauthorized() *DeleteDashboardSnapshotByDeleteKeyUnauthorized
NewDeleteDashboardSnapshotByDeleteKeyUnauthorized creates a DeleteDashboardSnapshotByDeleteKeyUnauthorized with default headers values
func (*DeleteDashboardSnapshotByDeleteKeyUnauthorized) Error ¶
func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) Error() string
func (*DeleteDashboardSnapshotByDeleteKeyUnauthorized) GetPayload ¶
func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) GetPayload() *models.ErrorResponseBody
type DeleteDashboardSnapshotForbidden ¶
type DeleteDashboardSnapshotForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteDashboardSnapshotForbidden 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 NewDeleteDashboardSnapshotForbidden ¶
func NewDeleteDashboardSnapshotForbidden() *DeleteDashboardSnapshotForbidden
NewDeleteDashboardSnapshotForbidden creates a DeleteDashboardSnapshotForbidden with default headers values
func (*DeleteDashboardSnapshotForbidden) Error ¶
func (o *DeleteDashboardSnapshotForbidden) Error() string
func (*DeleteDashboardSnapshotForbidden) GetPayload ¶
func (o *DeleteDashboardSnapshotForbidden) GetPayload() *models.ErrorResponseBody
type DeleteDashboardSnapshotInternalServerError ¶
type DeleteDashboardSnapshotInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteDashboardSnapshotInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteDashboardSnapshotInternalServerError ¶
func NewDeleteDashboardSnapshotInternalServerError() *DeleteDashboardSnapshotInternalServerError
NewDeleteDashboardSnapshotInternalServerError creates a DeleteDashboardSnapshotInternalServerError with default headers values
func (*DeleteDashboardSnapshotInternalServerError) Error ¶
func (o *DeleteDashboardSnapshotInternalServerError) Error() string
func (*DeleteDashboardSnapshotInternalServerError) GetPayload ¶
func (o *DeleteDashboardSnapshotInternalServerError) GetPayload() *models.ErrorResponseBody
type DeleteDashboardSnapshotNotFound ¶
type DeleteDashboardSnapshotNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteDashboardSnapshotNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteDashboardSnapshotNotFound ¶
func NewDeleteDashboardSnapshotNotFound() *DeleteDashboardSnapshotNotFound
NewDeleteDashboardSnapshotNotFound creates a DeleteDashboardSnapshotNotFound with default headers values
func (*DeleteDashboardSnapshotNotFound) Error ¶
func (o *DeleteDashboardSnapshotNotFound) Error() string
func (*DeleteDashboardSnapshotNotFound) GetPayload ¶
func (o *DeleteDashboardSnapshotNotFound) GetPayload() *models.ErrorResponseBody
type DeleteDashboardSnapshotOK ¶
type DeleteDashboardSnapshotOK struct {
Payload *models.SuccessResponseBody
}
DeleteDashboardSnapshotOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewDeleteDashboardSnapshotOK ¶
func NewDeleteDashboardSnapshotOK() *DeleteDashboardSnapshotOK
NewDeleteDashboardSnapshotOK creates a DeleteDashboardSnapshotOK with default headers values
func (*DeleteDashboardSnapshotOK) Error ¶
func (o *DeleteDashboardSnapshotOK) Error() string
func (*DeleteDashboardSnapshotOK) GetPayload ¶
func (o *DeleteDashboardSnapshotOK) GetPayload() *models.SuccessResponseBody
type DeleteDashboardSnapshotParams ¶
type DeleteDashboardSnapshotParams struct { // Key. Key string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDashboardSnapshotParams contains all the parameters to send to the API endpoint
for the delete dashboard snapshot operation. Typically these are written to a http.Request.
func NewDeleteDashboardSnapshotParams ¶
func NewDeleteDashboardSnapshotParams() *DeleteDashboardSnapshotParams
NewDeleteDashboardSnapshotParams creates a new DeleteDashboardSnapshotParams 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 NewDeleteDashboardSnapshotParamsWithContext ¶
func NewDeleteDashboardSnapshotParamsWithContext(ctx context.Context) *DeleteDashboardSnapshotParams
NewDeleteDashboardSnapshotParamsWithContext creates a new DeleteDashboardSnapshotParams object with the ability to set a context for a request.
func NewDeleteDashboardSnapshotParamsWithHTTPClient ¶
func NewDeleteDashboardSnapshotParamsWithHTTPClient(client *http.Client) *DeleteDashboardSnapshotParams
NewDeleteDashboardSnapshotParamsWithHTTPClient creates a new DeleteDashboardSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDashboardSnapshotParamsWithTimeout ¶
func NewDeleteDashboardSnapshotParamsWithTimeout(timeout time.Duration) *DeleteDashboardSnapshotParams
NewDeleteDashboardSnapshotParamsWithTimeout creates a new DeleteDashboardSnapshotParams object with the ability to set a timeout on a request.
func (*DeleteDashboardSnapshotParams) SetContext ¶
func (o *DeleteDashboardSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete dashboard snapshot params
func (*DeleteDashboardSnapshotParams) SetDefaults ¶
func (o *DeleteDashboardSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the delete dashboard snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDashboardSnapshotParams) SetHTTPClient ¶
func (o *DeleteDashboardSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete dashboard snapshot params
func (*DeleteDashboardSnapshotParams) SetKey ¶
func (o *DeleteDashboardSnapshotParams) SetKey(key string)
SetKey adds the key to the delete dashboard snapshot params
func (*DeleteDashboardSnapshotParams) SetTimeout ¶
func (o *DeleteDashboardSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete dashboard snapshot params
func (*DeleteDashboardSnapshotParams) WithContext ¶
func (o *DeleteDashboardSnapshotParams) WithContext(ctx context.Context) *DeleteDashboardSnapshotParams
WithContext adds the context to the delete dashboard snapshot params
func (*DeleteDashboardSnapshotParams) WithDefaults ¶
func (o *DeleteDashboardSnapshotParams) WithDefaults() *DeleteDashboardSnapshotParams
WithDefaults hydrates default values in the delete dashboard snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDashboardSnapshotParams) WithHTTPClient ¶
func (o *DeleteDashboardSnapshotParams) WithHTTPClient(client *http.Client) *DeleteDashboardSnapshotParams
WithHTTPClient adds the HTTPClient to the delete dashboard snapshot params
func (*DeleteDashboardSnapshotParams) WithKey ¶
func (o *DeleteDashboardSnapshotParams) WithKey(key string) *DeleteDashboardSnapshotParams
WithKey adds the key to the delete dashboard snapshot params
func (*DeleteDashboardSnapshotParams) WithTimeout ¶
func (o *DeleteDashboardSnapshotParams) WithTimeout(timeout time.Duration) *DeleteDashboardSnapshotParams
WithTimeout adds the timeout to the delete dashboard snapshot params
func (*DeleteDashboardSnapshotParams) WriteToRequest ¶
func (o *DeleteDashboardSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDashboardSnapshotReader ¶
type DeleteDashboardSnapshotReader struct {
// contains filtered or unexported fields
}
DeleteDashboardSnapshotReader is a Reader for the DeleteDashboardSnapshot structure.
func (*DeleteDashboardSnapshotReader) ReadResponse ¶
func (o *DeleteDashboardSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDashboardSnapshotBadRequest ¶
type GetDashboardSnapshotBadRequest struct {
Payload *models.ErrorResponseBody
}
GetDashboardSnapshotBadRequest 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 NewGetDashboardSnapshotBadRequest ¶
func NewGetDashboardSnapshotBadRequest() *GetDashboardSnapshotBadRequest
NewGetDashboardSnapshotBadRequest creates a GetDashboardSnapshotBadRequest with default headers values
func (*GetDashboardSnapshotBadRequest) Error ¶
func (o *GetDashboardSnapshotBadRequest) Error() string
func (*GetDashboardSnapshotBadRequest) GetPayload ¶
func (o *GetDashboardSnapshotBadRequest) GetPayload() *models.ErrorResponseBody
type GetDashboardSnapshotInternalServerError ¶
type GetDashboardSnapshotInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetDashboardSnapshotInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetDashboardSnapshotInternalServerError ¶
func NewGetDashboardSnapshotInternalServerError() *GetDashboardSnapshotInternalServerError
NewGetDashboardSnapshotInternalServerError creates a GetDashboardSnapshotInternalServerError with default headers values
func (*GetDashboardSnapshotInternalServerError) Error ¶
func (o *GetDashboardSnapshotInternalServerError) Error() string
func (*GetDashboardSnapshotInternalServerError) GetPayload ¶
func (o *GetDashboardSnapshotInternalServerError) GetPayload() *models.ErrorResponseBody
type GetDashboardSnapshotNotFound ¶
type GetDashboardSnapshotNotFound struct {
Payload *models.ErrorResponseBody
}
GetDashboardSnapshotNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetDashboardSnapshotNotFound ¶
func NewGetDashboardSnapshotNotFound() *GetDashboardSnapshotNotFound
NewGetDashboardSnapshotNotFound creates a GetDashboardSnapshotNotFound with default headers values
func (*GetDashboardSnapshotNotFound) Error ¶
func (o *GetDashboardSnapshotNotFound) Error() string
func (*GetDashboardSnapshotNotFound) GetPayload ¶
func (o *GetDashboardSnapshotNotFound) GetPayload() *models.ErrorResponseBody
type GetDashboardSnapshotOK ¶
type GetDashboardSnapshotOK struct { }
GetDashboardSnapshotOK describes a response with status code 200, with default header values.
(empty)
func NewGetDashboardSnapshotOK ¶
func NewGetDashboardSnapshotOK() *GetDashboardSnapshotOK
NewGetDashboardSnapshotOK creates a GetDashboardSnapshotOK with default headers values
func (*GetDashboardSnapshotOK) Error ¶
func (o *GetDashboardSnapshotOK) Error() string
type GetDashboardSnapshotParams ¶
type GetDashboardSnapshotParams struct { // Key. Key string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardSnapshotParams contains all the parameters to send to the API endpoint
for the get dashboard snapshot operation. Typically these are written to a http.Request.
func NewGetDashboardSnapshotParams ¶
func NewGetDashboardSnapshotParams() *GetDashboardSnapshotParams
NewGetDashboardSnapshotParams creates a new GetDashboardSnapshotParams 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 NewGetDashboardSnapshotParamsWithContext ¶
func NewGetDashboardSnapshotParamsWithContext(ctx context.Context) *GetDashboardSnapshotParams
NewGetDashboardSnapshotParamsWithContext creates a new GetDashboardSnapshotParams object with the ability to set a context for a request.
func NewGetDashboardSnapshotParamsWithHTTPClient ¶
func NewGetDashboardSnapshotParamsWithHTTPClient(client *http.Client) *GetDashboardSnapshotParams
NewGetDashboardSnapshotParamsWithHTTPClient creates a new GetDashboardSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardSnapshotParamsWithTimeout ¶
func NewGetDashboardSnapshotParamsWithTimeout(timeout time.Duration) *GetDashboardSnapshotParams
NewGetDashboardSnapshotParamsWithTimeout creates a new GetDashboardSnapshotParams object with the ability to set a timeout on a request.
func (*GetDashboardSnapshotParams) SetContext ¶
func (o *GetDashboardSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard snapshot params
func (*GetDashboardSnapshotParams) SetDefaults ¶
func (o *GetDashboardSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the get dashboard snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardSnapshotParams) SetHTTPClient ¶
func (o *GetDashboardSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard snapshot params
func (*GetDashboardSnapshotParams) SetKey ¶
func (o *GetDashboardSnapshotParams) SetKey(key string)
SetKey adds the key to the get dashboard snapshot params
func (*GetDashboardSnapshotParams) SetTimeout ¶
func (o *GetDashboardSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard snapshot params
func (*GetDashboardSnapshotParams) WithContext ¶
func (o *GetDashboardSnapshotParams) WithContext(ctx context.Context) *GetDashboardSnapshotParams
WithContext adds the context to the get dashboard snapshot params
func (*GetDashboardSnapshotParams) WithDefaults ¶
func (o *GetDashboardSnapshotParams) WithDefaults() *GetDashboardSnapshotParams
WithDefaults hydrates default values in the get dashboard snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardSnapshotParams) WithHTTPClient ¶
func (o *GetDashboardSnapshotParams) WithHTTPClient(client *http.Client) *GetDashboardSnapshotParams
WithHTTPClient adds the HTTPClient to the get dashboard snapshot params
func (*GetDashboardSnapshotParams) WithKey ¶
func (o *GetDashboardSnapshotParams) WithKey(key string) *GetDashboardSnapshotParams
WithKey adds the key to the get dashboard snapshot params
func (*GetDashboardSnapshotParams) WithTimeout ¶
func (o *GetDashboardSnapshotParams) WithTimeout(timeout time.Duration) *GetDashboardSnapshotParams
WithTimeout adds the timeout to the get dashboard snapshot params
func (*GetDashboardSnapshotParams) WriteToRequest ¶
func (o *GetDashboardSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardSnapshotReader ¶
type GetDashboardSnapshotReader struct {
// contains filtered or unexported fields
}
GetDashboardSnapshotReader is a Reader for the GetDashboardSnapshot structure.
func (*GetDashboardSnapshotReader) ReadResponse ¶
func (o *GetDashboardSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSharingOptionsOK ¶
type GetSharingOptionsOK struct {
Payload *models.GetSharingOptionsOKBody
}
GetSharingOptionsOK describes a response with status code 200, with default header values.
(empty)
func NewGetSharingOptionsOK ¶
func NewGetSharingOptionsOK() *GetSharingOptionsOK
NewGetSharingOptionsOK creates a GetSharingOptionsOK with default headers values
func (*GetSharingOptionsOK) Error ¶
func (o *GetSharingOptionsOK) Error() string
func (*GetSharingOptionsOK) GetPayload ¶
func (o *GetSharingOptionsOK) GetPayload() *models.GetSharingOptionsOKBody
type GetSharingOptionsParams ¶
type GetSharingOptionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSharingOptionsParams contains all the parameters to send to the API endpoint
for the get sharing options operation. Typically these are written to a http.Request.
func NewGetSharingOptionsParams ¶
func NewGetSharingOptionsParams() *GetSharingOptionsParams
NewGetSharingOptionsParams creates a new GetSharingOptionsParams 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 NewGetSharingOptionsParamsWithContext ¶
func NewGetSharingOptionsParamsWithContext(ctx context.Context) *GetSharingOptionsParams
NewGetSharingOptionsParamsWithContext creates a new GetSharingOptionsParams object with the ability to set a context for a request.
func NewGetSharingOptionsParamsWithHTTPClient ¶
func NewGetSharingOptionsParamsWithHTTPClient(client *http.Client) *GetSharingOptionsParams
NewGetSharingOptionsParamsWithHTTPClient creates a new GetSharingOptionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSharingOptionsParamsWithTimeout ¶
func NewGetSharingOptionsParamsWithTimeout(timeout time.Duration) *GetSharingOptionsParams
NewGetSharingOptionsParamsWithTimeout creates a new GetSharingOptionsParams object with the ability to set a timeout on a request.
func (*GetSharingOptionsParams) SetContext ¶
func (o *GetSharingOptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get sharing options params
func (*GetSharingOptionsParams) SetDefaults ¶
func (o *GetSharingOptionsParams) SetDefaults()
SetDefaults hydrates default values in the get sharing options params (not the query body).
All values with no default are reset to their zero value.
func (*GetSharingOptionsParams) SetHTTPClient ¶
func (o *GetSharingOptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sharing options params
func (*GetSharingOptionsParams) SetTimeout ¶
func (o *GetSharingOptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sharing options params
func (*GetSharingOptionsParams) WithContext ¶
func (o *GetSharingOptionsParams) WithContext(ctx context.Context) *GetSharingOptionsParams
WithContext adds the context to the get sharing options params
func (*GetSharingOptionsParams) WithDefaults ¶
func (o *GetSharingOptionsParams) WithDefaults() *GetSharingOptionsParams
WithDefaults hydrates default values in the get sharing options params (not the query body).
All values with no default are reset to their zero value.
func (*GetSharingOptionsParams) WithHTTPClient ¶
func (o *GetSharingOptionsParams) WithHTTPClient(client *http.Client) *GetSharingOptionsParams
WithHTTPClient adds the HTTPClient to the get sharing options params
func (*GetSharingOptionsParams) WithTimeout ¶
func (o *GetSharingOptionsParams) WithTimeout(timeout time.Duration) *GetSharingOptionsParams
WithTimeout adds the timeout to the get sharing options params
func (*GetSharingOptionsParams) WriteToRequest ¶
func (o *GetSharingOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSharingOptionsReader ¶
type GetSharingOptionsReader struct {
// contains filtered or unexported fields
}
GetSharingOptionsReader is a Reader for the GetSharingOptions structure.
func (*GetSharingOptionsReader) ReadResponse ¶
func (o *GetSharingOptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSharingOptionsUnauthorized ¶
type GetSharingOptionsUnauthorized struct {
}GetSharingOptionsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetSharingOptionsUnauthorized ¶
func NewGetSharingOptionsUnauthorized() *GetSharingOptionsUnauthorized
NewGetSharingOptionsUnauthorized creates a GetSharingOptionsUnauthorized with default headers values
func (*GetSharingOptionsUnauthorized) Error ¶
func (o *GetSharingOptionsUnauthorized) Error() string
func (*GetSharingOptionsUnauthorized) GetPayload ¶
func (o *GetSharingOptionsUnauthorized) GetPayload() *models.ErrorResponseBody
type SearchDashboardSnapshotsInternalServerError ¶
type SearchDashboardSnapshotsInternalServerError struct {
Payload *models.ErrorResponseBody
}
SearchDashboardSnapshotsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewSearchDashboardSnapshotsInternalServerError ¶
func NewSearchDashboardSnapshotsInternalServerError() *SearchDashboardSnapshotsInternalServerError
NewSearchDashboardSnapshotsInternalServerError creates a SearchDashboardSnapshotsInternalServerError with default headers values
func (*SearchDashboardSnapshotsInternalServerError) Error ¶
func (o *SearchDashboardSnapshotsInternalServerError) Error() string
func (*SearchDashboardSnapshotsInternalServerError) GetPayload ¶
func (o *SearchDashboardSnapshotsInternalServerError) GetPayload() *models.ErrorResponseBody
type SearchDashboardSnapshotsOK ¶
type SearchDashboardSnapshotsOK struct {
Payload []*models.DashboardSnapshotDTO
}
SearchDashboardSnapshotsOK describes a response with status code 200, with default header values.
(empty)
func NewSearchDashboardSnapshotsOK ¶
func NewSearchDashboardSnapshotsOK() *SearchDashboardSnapshotsOK
NewSearchDashboardSnapshotsOK creates a SearchDashboardSnapshotsOK with default headers values
func (*SearchDashboardSnapshotsOK) Error ¶
func (o *SearchDashboardSnapshotsOK) Error() string
func (*SearchDashboardSnapshotsOK) GetPayload ¶
func (o *SearchDashboardSnapshotsOK) GetPayload() []*models.DashboardSnapshotDTO
type SearchDashboardSnapshotsParams ¶
type SearchDashboardSnapshotsParams struct { /* Limit. Limit the number of returned results Format: int64 Default: 1000 */ Limit *int64 /* Query. Search Query */ Query *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchDashboardSnapshotsParams contains all the parameters to send to the API endpoint
for the search dashboard snapshots operation. Typically these are written to a http.Request.
func NewSearchDashboardSnapshotsParams ¶
func NewSearchDashboardSnapshotsParams() *SearchDashboardSnapshotsParams
NewSearchDashboardSnapshotsParams creates a new SearchDashboardSnapshotsParams 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 NewSearchDashboardSnapshotsParamsWithContext ¶
func NewSearchDashboardSnapshotsParamsWithContext(ctx context.Context) *SearchDashboardSnapshotsParams
NewSearchDashboardSnapshotsParamsWithContext creates a new SearchDashboardSnapshotsParams object with the ability to set a context for a request.
func NewSearchDashboardSnapshotsParamsWithHTTPClient ¶
func NewSearchDashboardSnapshotsParamsWithHTTPClient(client *http.Client) *SearchDashboardSnapshotsParams
NewSearchDashboardSnapshotsParamsWithHTTPClient creates a new SearchDashboardSnapshotsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchDashboardSnapshotsParamsWithTimeout ¶
func NewSearchDashboardSnapshotsParamsWithTimeout(timeout time.Duration) *SearchDashboardSnapshotsParams
NewSearchDashboardSnapshotsParamsWithTimeout creates a new SearchDashboardSnapshotsParams object with the ability to set a timeout on a request.
func (*SearchDashboardSnapshotsParams) SetContext ¶
func (o *SearchDashboardSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the search dashboard snapshots params
func (*SearchDashboardSnapshotsParams) SetDefaults ¶
func (o *SearchDashboardSnapshotsParams) SetDefaults()
SetDefaults hydrates default values in the search dashboard snapshots params (not the query body).
All values with no default are reset to their zero value.
func (*SearchDashboardSnapshotsParams) SetHTTPClient ¶
func (o *SearchDashboardSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search dashboard snapshots params
func (*SearchDashboardSnapshotsParams) SetLimit ¶
func (o *SearchDashboardSnapshotsParams) SetLimit(limit *int64)
SetLimit adds the limit to the search dashboard snapshots params
func (*SearchDashboardSnapshotsParams) SetQuery ¶
func (o *SearchDashboardSnapshotsParams) SetQuery(query *string)
SetQuery adds the query to the search dashboard snapshots params
func (*SearchDashboardSnapshotsParams) SetTimeout ¶
func (o *SearchDashboardSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search dashboard snapshots params
func (*SearchDashboardSnapshotsParams) WithContext ¶
func (o *SearchDashboardSnapshotsParams) WithContext(ctx context.Context) *SearchDashboardSnapshotsParams
WithContext adds the context to the search dashboard snapshots params
func (*SearchDashboardSnapshotsParams) WithDefaults ¶
func (o *SearchDashboardSnapshotsParams) WithDefaults() *SearchDashboardSnapshotsParams
WithDefaults hydrates default values in the search dashboard snapshots params (not the query body).
All values with no default are reset to their zero value.
func (*SearchDashboardSnapshotsParams) WithHTTPClient ¶
func (o *SearchDashboardSnapshotsParams) WithHTTPClient(client *http.Client) *SearchDashboardSnapshotsParams
WithHTTPClient adds the HTTPClient to the search dashboard snapshots params
func (*SearchDashboardSnapshotsParams) WithLimit ¶
func (o *SearchDashboardSnapshotsParams) WithLimit(limit *int64) *SearchDashboardSnapshotsParams
WithLimit adds the limit to the search dashboard snapshots params
func (*SearchDashboardSnapshotsParams) WithQuery ¶
func (o *SearchDashboardSnapshotsParams) WithQuery(query *string) *SearchDashboardSnapshotsParams
WithQuery adds the query to the search dashboard snapshots params
func (*SearchDashboardSnapshotsParams) WithTimeout ¶
func (o *SearchDashboardSnapshotsParams) WithTimeout(timeout time.Duration) *SearchDashboardSnapshotsParams
WithTimeout adds the timeout to the search dashboard snapshots params
func (*SearchDashboardSnapshotsParams) WriteToRequest ¶
func (o *SearchDashboardSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchDashboardSnapshotsReader ¶
type SearchDashboardSnapshotsReader struct {
// contains filtered or unexported fields
}
SearchDashboardSnapshotsReader is a Reader for the SearchDashboardSnapshots structure.
func (*SearchDashboardSnapshotsReader) ReadResponse ¶
func (o *SearchDashboardSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_dashboard_snapshot_parameters.go
- create_dashboard_snapshot_responses.go
- delete_dashboard_snapshot_by_delete_key_parameters.go
- delete_dashboard_snapshot_by_delete_key_responses.go
- delete_dashboard_snapshot_parameters.go
- delete_dashboard_snapshot_responses.go
- get_dashboard_snapshot_parameters.go
- get_dashboard_snapshot_responses.go
- get_sharing_options_parameters.go
- get_sharing_options_responses.go
- search_dashboard_snapshots_parameters.go
- search_dashboard_snapshots_responses.go
- snapshots_client.go