Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDashboardSnapshot(body *models.CreateDashboardSnapshotCommand, opts ...ClientOption) (*CreateDashboardSnapshotOK, error)
- func (a *Client) CreateDashboardSnapshotWithParams(params *CreateDashboardSnapshotParams, opts ...ClientOption) (*CreateDashboardSnapshotOK, error)
- func (a *Client) DeleteDashboardSnapshot(key string, opts ...ClientOption) (*DeleteDashboardSnapshotOK, error)
- func (a *Client) DeleteDashboardSnapshotByDeleteKey(deleteKey string, opts ...ClientOption) (*DeleteDashboardSnapshotByDeleteKeyOK, error)
- func (a *Client) DeleteDashboardSnapshotByDeleteKeyWithParams(params *DeleteDashboardSnapshotByDeleteKeyParams, opts ...ClientOption) (*DeleteDashboardSnapshotByDeleteKeyOK, error)
- func (a *Client) DeleteDashboardSnapshotWithParams(params *DeleteDashboardSnapshotParams, opts ...ClientOption) (*DeleteDashboardSnapshotOK, error)
- func (a *Client) GetDashboardSnapshot(key string, opts ...ClientOption) (*GetDashboardSnapshotOK, error)
- func (a *Client) GetDashboardSnapshotWithParams(params *GetDashboardSnapshotParams, opts ...ClientOption) (*GetDashboardSnapshotOK, error)
- func (a *Client) GetSharingOptions(opts ...ClientOption) (*GetSharingOptionsOK, error)
- func (a *Client) GetSharingOptionsWithParams(params *GetSharingOptionsParams, opts ...ClientOption) (*GetSharingOptionsOK, error)
- func (a *Client) SearchDashboardSnapshots(params *SearchDashboardSnapshotsParams, opts ...ClientOption) (*SearchDashboardSnapshotsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateDashboardSnapshotForbidden
- func (o *CreateDashboardSnapshotForbidden) Code() int
- func (o *CreateDashboardSnapshotForbidden) Error() string
- func (o *CreateDashboardSnapshotForbidden) GetPayload() *models.ErrorResponseBody
- func (o *CreateDashboardSnapshotForbidden) IsClientError() bool
- func (o *CreateDashboardSnapshotForbidden) IsCode(code int) bool
- func (o *CreateDashboardSnapshotForbidden) IsRedirect() bool
- func (o *CreateDashboardSnapshotForbidden) IsServerError() bool
- func (o *CreateDashboardSnapshotForbidden) IsSuccess() bool
- func (o *CreateDashboardSnapshotForbidden) String() string
- type CreateDashboardSnapshotInternalServerError
- func (o *CreateDashboardSnapshotInternalServerError) Code() int
- func (o *CreateDashboardSnapshotInternalServerError) Error() string
- func (o *CreateDashboardSnapshotInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *CreateDashboardSnapshotInternalServerError) IsClientError() bool
- func (o *CreateDashboardSnapshotInternalServerError) IsCode(code int) bool
- func (o *CreateDashboardSnapshotInternalServerError) IsRedirect() bool
- func (o *CreateDashboardSnapshotInternalServerError) IsServerError() bool
- func (o *CreateDashboardSnapshotInternalServerError) IsSuccess() bool
- func (o *CreateDashboardSnapshotInternalServerError) String() string
- type CreateDashboardSnapshotOK
- func (o *CreateDashboardSnapshotOK) Code() int
- func (o *CreateDashboardSnapshotOK) Error() string
- func (o *CreateDashboardSnapshotOK) GetPayload() *models.CreateDashboardSnapshotOKBody
- func (o *CreateDashboardSnapshotOK) IsClientError() bool
- func (o *CreateDashboardSnapshotOK) IsCode(code int) bool
- func (o *CreateDashboardSnapshotOK) IsRedirect() bool
- func (o *CreateDashboardSnapshotOK) IsServerError() bool
- func (o *CreateDashboardSnapshotOK) IsSuccess() bool
- func (o *CreateDashboardSnapshotOK) String() string
- 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
- func (o *CreateDashboardSnapshotUnauthorized) Code() int
- func (o *CreateDashboardSnapshotUnauthorized) Error() string
- func (o *CreateDashboardSnapshotUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *CreateDashboardSnapshotUnauthorized) IsClientError() bool
- func (o *CreateDashboardSnapshotUnauthorized) IsCode(code int) bool
- func (o *CreateDashboardSnapshotUnauthorized) IsRedirect() bool
- func (o *CreateDashboardSnapshotUnauthorized) IsServerError() bool
- func (o *CreateDashboardSnapshotUnauthorized) IsSuccess() bool
- func (o *CreateDashboardSnapshotUnauthorized) String() string
- type DeleteDashboardSnapshotByDeleteKeyForbidden
- func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) Code() int
- func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) Error() string
- func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) GetPayload() *models.ErrorResponseBody
- func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) IsClientError() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) IsCode(code int) bool
- func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) IsRedirect() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) IsServerError() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) IsSuccess() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) String() string
- type DeleteDashboardSnapshotByDeleteKeyInternalServerError
- func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) Code() int
- func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) Error() string
- func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsClientError() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsCode(code int) bool
- func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsRedirect() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsServerError() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsSuccess() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) String() string
- type DeleteDashboardSnapshotByDeleteKeyNotFound
- func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) Code() int
- func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) Error() string
- func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) GetPayload() *models.ErrorResponseBody
- func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) IsClientError() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) IsCode(code int) bool
- func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) IsRedirect() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) IsServerError() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) IsSuccess() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) String() string
- type DeleteDashboardSnapshotByDeleteKeyOK
- func (o *DeleteDashboardSnapshotByDeleteKeyOK) Code() int
- func (o *DeleteDashboardSnapshotByDeleteKeyOK) Error() string
- func (o *DeleteDashboardSnapshotByDeleteKeyOK) GetPayload() *models.SuccessResponseBody
- func (o *DeleteDashboardSnapshotByDeleteKeyOK) IsClientError() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyOK) IsCode(code int) bool
- func (o *DeleteDashboardSnapshotByDeleteKeyOK) IsRedirect() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyOK) IsServerError() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyOK) IsSuccess() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyOK) String() string
- 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
- func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) Code() int
- func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) Error() string
- func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsClientError() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsCode(code int) bool
- func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsRedirect() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsServerError() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsSuccess() bool
- func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) String() string
- type DeleteDashboardSnapshotForbidden
- func (o *DeleteDashboardSnapshotForbidden) Code() int
- func (o *DeleteDashboardSnapshotForbidden) Error() string
- func (o *DeleteDashboardSnapshotForbidden) GetPayload() *models.ErrorResponseBody
- func (o *DeleteDashboardSnapshotForbidden) IsClientError() bool
- func (o *DeleteDashboardSnapshotForbidden) IsCode(code int) bool
- func (o *DeleteDashboardSnapshotForbidden) IsRedirect() bool
- func (o *DeleteDashboardSnapshotForbidden) IsServerError() bool
- func (o *DeleteDashboardSnapshotForbidden) IsSuccess() bool
- func (o *DeleteDashboardSnapshotForbidden) String() string
- type DeleteDashboardSnapshotInternalServerError
- func (o *DeleteDashboardSnapshotInternalServerError) Code() int
- func (o *DeleteDashboardSnapshotInternalServerError) Error() string
- func (o *DeleteDashboardSnapshotInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *DeleteDashboardSnapshotInternalServerError) IsClientError() bool
- func (o *DeleteDashboardSnapshotInternalServerError) IsCode(code int) bool
- func (o *DeleteDashboardSnapshotInternalServerError) IsRedirect() bool
- func (o *DeleteDashboardSnapshotInternalServerError) IsServerError() bool
- func (o *DeleteDashboardSnapshotInternalServerError) IsSuccess() bool
- func (o *DeleteDashboardSnapshotInternalServerError) String() string
- type DeleteDashboardSnapshotNotFound
- func (o *DeleteDashboardSnapshotNotFound) Code() int
- func (o *DeleteDashboardSnapshotNotFound) Error() string
- func (o *DeleteDashboardSnapshotNotFound) GetPayload() *models.ErrorResponseBody
- func (o *DeleteDashboardSnapshotNotFound) IsClientError() bool
- func (o *DeleteDashboardSnapshotNotFound) IsCode(code int) bool
- func (o *DeleteDashboardSnapshotNotFound) IsRedirect() bool
- func (o *DeleteDashboardSnapshotNotFound) IsServerError() bool
- func (o *DeleteDashboardSnapshotNotFound) IsSuccess() bool
- func (o *DeleteDashboardSnapshotNotFound) String() string
- type DeleteDashboardSnapshotOK
- func (o *DeleteDashboardSnapshotOK) Code() int
- func (o *DeleteDashboardSnapshotOK) Error() string
- func (o *DeleteDashboardSnapshotOK) GetPayload() *models.SuccessResponseBody
- func (o *DeleteDashboardSnapshotOK) IsClientError() bool
- func (o *DeleteDashboardSnapshotOK) IsCode(code int) bool
- func (o *DeleteDashboardSnapshotOK) IsRedirect() bool
- func (o *DeleteDashboardSnapshotOK) IsServerError() bool
- func (o *DeleteDashboardSnapshotOK) IsSuccess() bool
- func (o *DeleteDashboardSnapshotOK) String() string
- 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
- func (o *GetDashboardSnapshotBadRequest) Code() int
- func (o *GetDashboardSnapshotBadRequest) Error() string
- func (o *GetDashboardSnapshotBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardSnapshotBadRequest) IsClientError() bool
- func (o *GetDashboardSnapshotBadRequest) IsCode(code int) bool
- func (o *GetDashboardSnapshotBadRequest) IsRedirect() bool
- func (o *GetDashboardSnapshotBadRequest) IsServerError() bool
- func (o *GetDashboardSnapshotBadRequest) IsSuccess() bool
- func (o *GetDashboardSnapshotBadRequest) String() string
- type GetDashboardSnapshotInternalServerError
- func (o *GetDashboardSnapshotInternalServerError) Code() int
- func (o *GetDashboardSnapshotInternalServerError) Error() string
- func (o *GetDashboardSnapshotInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardSnapshotInternalServerError) IsClientError() bool
- func (o *GetDashboardSnapshotInternalServerError) IsCode(code int) bool
- func (o *GetDashboardSnapshotInternalServerError) IsRedirect() bool
- func (o *GetDashboardSnapshotInternalServerError) IsServerError() bool
- func (o *GetDashboardSnapshotInternalServerError) IsSuccess() bool
- func (o *GetDashboardSnapshotInternalServerError) String() string
- type GetDashboardSnapshotNotFound
- func (o *GetDashboardSnapshotNotFound) Code() int
- func (o *GetDashboardSnapshotNotFound) Error() string
- func (o *GetDashboardSnapshotNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardSnapshotNotFound) IsClientError() bool
- func (o *GetDashboardSnapshotNotFound) IsCode(code int) bool
- func (o *GetDashboardSnapshotNotFound) IsRedirect() bool
- func (o *GetDashboardSnapshotNotFound) IsServerError() bool
- func (o *GetDashboardSnapshotNotFound) IsSuccess() bool
- func (o *GetDashboardSnapshotNotFound) String() string
- type GetDashboardSnapshotOK
- func (o *GetDashboardSnapshotOK) Code() int
- func (o *GetDashboardSnapshotOK) Error() string
- func (o *GetDashboardSnapshotOK) IsClientError() bool
- func (o *GetDashboardSnapshotOK) IsCode(code int) bool
- func (o *GetDashboardSnapshotOK) IsRedirect() bool
- func (o *GetDashboardSnapshotOK) IsServerError() bool
- func (o *GetDashboardSnapshotOK) IsSuccess() bool
- func (o *GetDashboardSnapshotOK) String() string
- 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
- func (o *GetSharingOptionsOK) Code() int
- func (o *GetSharingOptionsOK) Error() string
- func (o *GetSharingOptionsOK) GetPayload() *models.GetSharingOptionsOKBody
- func (o *GetSharingOptionsOK) IsClientError() bool
- func (o *GetSharingOptionsOK) IsCode(code int) bool
- func (o *GetSharingOptionsOK) IsRedirect() bool
- func (o *GetSharingOptionsOK) IsServerError() bool
- func (o *GetSharingOptionsOK) IsSuccess() bool
- func (o *GetSharingOptionsOK) String() string
- 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
- func (o *GetSharingOptionsUnauthorized) Code() int
- func (o *GetSharingOptionsUnauthorized) Error() string
- func (o *GetSharingOptionsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetSharingOptionsUnauthorized) IsClientError() bool
- func (o *GetSharingOptionsUnauthorized) IsCode(code int) bool
- func (o *GetSharingOptionsUnauthorized) IsRedirect() bool
- func (o *GetSharingOptionsUnauthorized) IsServerError() bool
- func (o *GetSharingOptionsUnauthorized) IsSuccess() bool
- func (o *GetSharingOptionsUnauthorized) String() string
- type SearchDashboardSnapshotsInternalServerError
- func (o *SearchDashboardSnapshotsInternalServerError) Code() int
- func (o *SearchDashboardSnapshotsInternalServerError) Error() string
- func (o *SearchDashboardSnapshotsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *SearchDashboardSnapshotsInternalServerError) IsClientError() bool
- func (o *SearchDashboardSnapshotsInternalServerError) IsCode(code int) bool
- func (o *SearchDashboardSnapshotsInternalServerError) IsRedirect() bool
- func (o *SearchDashboardSnapshotsInternalServerError) IsServerError() bool
- func (o *SearchDashboardSnapshotsInternalServerError) IsSuccess() bool
- func (o *SearchDashboardSnapshotsInternalServerError) String() string
- type SearchDashboardSnapshotsOK
- func (o *SearchDashboardSnapshotsOK) Code() int
- func (o *SearchDashboardSnapshotsOK) Error() string
- func (o *SearchDashboardSnapshotsOK) GetPayload() []*models.DashboardSnapshotDTO
- func (o *SearchDashboardSnapshotsOK) IsClientError() bool
- func (o *SearchDashboardSnapshotsOK) IsCode(code int) bool
- func (o *SearchDashboardSnapshotsOK) IsRedirect() bool
- func (o *SearchDashboardSnapshotsOK) IsServerError() bool
- func (o *SearchDashboardSnapshotsOK) IsSuccess() bool
- func (o *SearchDashboardSnapshotsOK) String() string
- 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(body *models.CreateDashboardSnapshotCommand, 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) CreateDashboardSnapshotWithParams ¶
func (a *Client) CreateDashboardSnapshotWithParams(params *CreateDashboardSnapshotParams, opts ...ClientOption) (*CreateDashboardSnapshotOK, error)
func (*Client) DeleteDashboardSnapshot ¶
func (a *Client) DeleteDashboardSnapshot(key string, opts ...ClientOption) (*DeleteDashboardSnapshotOK, error)
DeleteDashboardSnapshot deletes snapshot by key
func (*Client) DeleteDashboardSnapshotByDeleteKey ¶
func (a *Client) DeleteDashboardSnapshotByDeleteKey(deleteKey string, opts ...ClientOption) (*DeleteDashboardSnapshotByDeleteKeyOK, error)
DeleteDashboardSnapshotByDeleteKey deletes snapshot by delete key
Snapshot public mode should be enabled or authentication is required.
func (*Client) DeleteDashboardSnapshotByDeleteKeyWithParams ¶
func (a *Client) DeleteDashboardSnapshotByDeleteKeyWithParams(params *DeleteDashboardSnapshotByDeleteKeyParams, opts ...ClientOption) (*DeleteDashboardSnapshotByDeleteKeyOK, error)
func (*Client) DeleteDashboardSnapshotWithParams ¶
func (a *Client) DeleteDashboardSnapshotWithParams(params *DeleteDashboardSnapshotParams, opts ...ClientOption) (*DeleteDashboardSnapshotOK, error)
func (*Client) GetDashboardSnapshot ¶
func (a *Client) GetDashboardSnapshot(key string, opts ...ClientOption) (*GetDashboardSnapshotOK, error)
GetDashboardSnapshot gets snapshot by key
func (*Client) GetDashboardSnapshotWithParams ¶
func (a *Client) GetDashboardSnapshotWithParams(params *GetDashboardSnapshotParams, opts ...ClientOption) (*GetDashboardSnapshotOK, error)
func (*Client) GetSharingOptions ¶
func (a *Client) GetSharingOptions(opts ...ClientOption) (*GetSharingOptionsOK, error)
GetSharingOptions gets snapshot sharing settings
func (*Client) GetSharingOptionsWithParams ¶
func (a *Client) GetSharingOptionsWithParams(params *GetSharingOptionsParams, opts ...ClientOption) (*GetSharingOptionsOK, error)
func (*Client) SearchDashboardSnapshots ¶
func (a *Client) SearchDashboardSnapshots(params *SearchDashboardSnapshotsParams, opts ...ClientOption) (*SearchDashboardSnapshotsOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { CreateDashboardSnapshot(body *models.CreateDashboardSnapshotCommand, opts ...ClientOption) (*CreateDashboardSnapshotOK, error) CreateDashboardSnapshotWithParams(params *CreateDashboardSnapshotParams, opts ...ClientOption) (*CreateDashboardSnapshotOK, error) DeleteDashboardSnapshot(key string, opts ...ClientOption) (*DeleteDashboardSnapshotOK, error) DeleteDashboardSnapshotWithParams(params *DeleteDashboardSnapshotParams, opts ...ClientOption) (*DeleteDashboardSnapshotOK, error) DeleteDashboardSnapshotByDeleteKey(deleteKey string, opts ...ClientOption) (*DeleteDashboardSnapshotByDeleteKeyOK, error) DeleteDashboardSnapshotByDeleteKeyWithParams(params *DeleteDashboardSnapshotByDeleteKeyParams, opts ...ClientOption) (*DeleteDashboardSnapshotByDeleteKeyOK, error) GetDashboardSnapshot(key string, opts ...ClientOption) (*GetDashboardSnapshotOK, error) GetDashboardSnapshotWithParams(params *GetDashboardSnapshotParams, opts ...ClientOption) (*GetDashboardSnapshotOK, error) GetSharingOptions(opts ...ClientOption) (*GetSharingOptionsOK, error) GetSharingOptionsWithParams(params *GetSharingOptionsParams, opts ...ClientOption) (*GetSharingOptionsOK, error) SearchDashboardSnapshots(params *SearchDashboardSnapshotsParams, 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) Code ¶
func (o *CreateDashboardSnapshotForbidden) Code() int
Code gets the status code for the create dashboard snapshot forbidden response
func (*CreateDashboardSnapshotForbidden) Error ¶
func (o *CreateDashboardSnapshotForbidden) Error() string
func (*CreateDashboardSnapshotForbidden) GetPayload ¶
func (o *CreateDashboardSnapshotForbidden) GetPayload() *models.ErrorResponseBody
func (*CreateDashboardSnapshotForbidden) IsClientError ¶
func (o *CreateDashboardSnapshotForbidden) IsClientError() bool
IsClientError returns true when this create dashboard snapshot forbidden response has a 4xx status code
func (*CreateDashboardSnapshotForbidden) IsCode ¶
func (o *CreateDashboardSnapshotForbidden) IsCode(code int) bool
IsCode returns true when this create dashboard snapshot forbidden response a status code equal to that given
func (*CreateDashboardSnapshotForbidden) IsRedirect ¶
func (o *CreateDashboardSnapshotForbidden) IsRedirect() bool
IsRedirect returns true when this create dashboard snapshot forbidden response has a 3xx status code
func (*CreateDashboardSnapshotForbidden) IsServerError ¶
func (o *CreateDashboardSnapshotForbidden) IsServerError() bool
IsServerError returns true when this create dashboard snapshot forbidden response has a 5xx status code
func (*CreateDashboardSnapshotForbidden) IsSuccess ¶
func (o *CreateDashboardSnapshotForbidden) IsSuccess() bool
IsSuccess returns true when this create dashboard snapshot forbidden response has a 2xx status code
func (*CreateDashboardSnapshotForbidden) String ¶
func (o *CreateDashboardSnapshotForbidden) String() string
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) Code ¶
func (o *CreateDashboardSnapshotInternalServerError) Code() int
Code gets the status code for the create dashboard snapshot internal server error response
func (*CreateDashboardSnapshotInternalServerError) Error ¶
func (o *CreateDashboardSnapshotInternalServerError) Error() string
func (*CreateDashboardSnapshotInternalServerError) GetPayload ¶
func (o *CreateDashboardSnapshotInternalServerError) GetPayload() *models.ErrorResponseBody
func (*CreateDashboardSnapshotInternalServerError) IsClientError ¶
func (o *CreateDashboardSnapshotInternalServerError) IsClientError() bool
IsClientError returns true when this create dashboard snapshot internal server error response has a 4xx status code
func (*CreateDashboardSnapshotInternalServerError) IsCode ¶
func (o *CreateDashboardSnapshotInternalServerError) IsCode(code int) bool
IsCode returns true when this create dashboard snapshot internal server error response a status code equal to that given
func (*CreateDashboardSnapshotInternalServerError) IsRedirect ¶
func (o *CreateDashboardSnapshotInternalServerError) IsRedirect() bool
IsRedirect returns true when this create dashboard snapshot internal server error response has a 3xx status code
func (*CreateDashboardSnapshotInternalServerError) IsServerError ¶
func (o *CreateDashboardSnapshotInternalServerError) IsServerError() bool
IsServerError returns true when this create dashboard snapshot internal server error response has a 5xx status code
func (*CreateDashboardSnapshotInternalServerError) IsSuccess ¶
func (o *CreateDashboardSnapshotInternalServerError) IsSuccess() bool
IsSuccess returns true when this create dashboard snapshot internal server error response has a 2xx status code
func (*CreateDashboardSnapshotInternalServerError) String ¶
func (o *CreateDashboardSnapshotInternalServerError) String() string
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) Code ¶
func (o *CreateDashboardSnapshotOK) Code() int
Code gets the status code for the create dashboard snapshot Ok response
func (*CreateDashboardSnapshotOK) Error ¶
func (o *CreateDashboardSnapshotOK) Error() string
func (*CreateDashboardSnapshotOK) GetPayload ¶
func (o *CreateDashboardSnapshotOK) GetPayload() *models.CreateDashboardSnapshotOKBody
func (*CreateDashboardSnapshotOK) IsClientError ¶
func (o *CreateDashboardSnapshotOK) IsClientError() bool
IsClientError returns true when this create dashboard snapshot Ok response has a 4xx status code
func (*CreateDashboardSnapshotOK) IsCode ¶
func (o *CreateDashboardSnapshotOK) IsCode(code int) bool
IsCode returns true when this create dashboard snapshot Ok response a status code equal to that given
func (*CreateDashboardSnapshotOK) IsRedirect ¶
func (o *CreateDashboardSnapshotOK) IsRedirect() bool
IsRedirect returns true when this create dashboard snapshot Ok response has a 3xx status code
func (*CreateDashboardSnapshotOK) IsServerError ¶
func (o *CreateDashboardSnapshotOK) IsServerError() bool
IsServerError returns true when this create dashboard snapshot Ok response has a 5xx status code
func (*CreateDashboardSnapshotOK) IsSuccess ¶
func (o *CreateDashboardSnapshotOK) IsSuccess() bool
IsSuccess returns true when this create dashboard snapshot Ok response has a 2xx status code
func (*CreateDashboardSnapshotOK) String ¶
func (o *CreateDashboardSnapshotOK) String() string
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) Code ¶
func (o *CreateDashboardSnapshotUnauthorized) Code() int
Code gets the status code for the create dashboard snapshot unauthorized response
func (*CreateDashboardSnapshotUnauthorized) Error ¶
func (o *CreateDashboardSnapshotUnauthorized) Error() string
func (*CreateDashboardSnapshotUnauthorized) GetPayload ¶
func (o *CreateDashboardSnapshotUnauthorized) GetPayload() *models.ErrorResponseBody
func (*CreateDashboardSnapshotUnauthorized) IsClientError ¶
func (o *CreateDashboardSnapshotUnauthorized) IsClientError() bool
IsClientError returns true when this create dashboard snapshot unauthorized response has a 4xx status code
func (*CreateDashboardSnapshotUnauthorized) IsCode ¶
func (o *CreateDashboardSnapshotUnauthorized) IsCode(code int) bool
IsCode returns true when this create dashboard snapshot unauthorized response a status code equal to that given
func (*CreateDashboardSnapshotUnauthorized) IsRedirect ¶
func (o *CreateDashboardSnapshotUnauthorized) IsRedirect() bool
IsRedirect returns true when this create dashboard snapshot unauthorized response has a 3xx status code
func (*CreateDashboardSnapshotUnauthorized) IsServerError ¶
func (o *CreateDashboardSnapshotUnauthorized) IsServerError() bool
IsServerError returns true when this create dashboard snapshot unauthorized response has a 5xx status code
func (*CreateDashboardSnapshotUnauthorized) IsSuccess ¶
func (o *CreateDashboardSnapshotUnauthorized) IsSuccess() bool
IsSuccess returns true when this create dashboard snapshot unauthorized response has a 2xx status code
func (*CreateDashboardSnapshotUnauthorized) String ¶
func (o *CreateDashboardSnapshotUnauthorized) String() string
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) Code ¶
func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) Code() int
Code gets the status code for the delete dashboard snapshot by delete key forbidden response
func (*DeleteDashboardSnapshotByDeleteKeyForbidden) Error ¶
func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) Error() string
func (*DeleteDashboardSnapshotByDeleteKeyForbidden) GetPayload ¶
func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) GetPayload() *models.ErrorResponseBody
func (*DeleteDashboardSnapshotByDeleteKeyForbidden) IsClientError ¶
func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) IsClientError() bool
IsClientError returns true when this delete dashboard snapshot by delete key forbidden response has a 4xx status code
func (*DeleteDashboardSnapshotByDeleteKeyForbidden) IsCode ¶
func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) IsCode(code int) bool
IsCode returns true when this delete dashboard snapshot by delete key forbidden response a status code equal to that given
func (*DeleteDashboardSnapshotByDeleteKeyForbidden) IsRedirect ¶
func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) IsRedirect() bool
IsRedirect returns true when this delete dashboard snapshot by delete key forbidden response has a 3xx status code
func (*DeleteDashboardSnapshotByDeleteKeyForbidden) IsServerError ¶
func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) IsServerError() bool
IsServerError returns true when this delete dashboard snapshot by delete key forbidden response has a 5xx status code
func (*DeleteDashboardSnapshotByDeleteKeyForbidden) IsSuccess ¶
func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) IsSuccess() bool
IsSuccess returns true when this delete dashboard snapshot by delete key forbidden response has a 2xx status code
func (*DeleteDashboardSnapshotByDeleteKeyForbidden) String ¶
func (o *DeleteDashboardSnapshotByDeleteKeyForbidden) String() string
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) Code ¶
func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) Code() int
Code gets the status code for the delete dashboard snapshot by delete key internal server error response
func (*DeleteDashboardSnapshotByDeleteKeyInternalServerError) Error ¶
func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) Error() string
func (*DeleteDashboardSnapshotByDeleteKeyInternalServerError) GetPayload ¶
func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) GetPayload() *models.ErrorResponseBody
func (*DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsClientError ¶
func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsClientError() bool
IsClientError returns true when this delete dashboard snapshot by delete key internal server error response has a 4xx status code
func (*DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsCode ¶
func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this delete dashboard snapshot by delete key internal server error response a status code equal to that given
func (*DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsRedirect ¶
func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete dashboard snapshot by delete key internal server error response has a 3xx status code
func (*DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsServerError ¶
func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsServerError() bool
IsServerError returns true when this delete dashboard snapshot by delete key internal server error response has a 5xx status code
func (*DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsSuccess ¶
func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete dashboard snapshot by delete key internal server error response has a 2xx status code
func (*DeleteDashboardSnapshotByDeleteKeyInternalServerError) String ¶
func (o *DeleteDashboardSnapshotByDeleteKeyInternalServerError) String() string
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) Code ¶
func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) Code() int
Code gets the status code for the delete dashboard snapshot by delete key not found response
func (*DeleteDashboardSnapshotByDeleteKeyNotFound) Error ¶
func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) Error() string
func (*DeleteDashboardSnapshotByDeleteKeyNotFound) GetPayload ¶
func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) GetPayload() *models.ErrorResponseBody
func (*DeleteDashboardSnapshotByDeleteKeyNotFound) IsClientError ¶
func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) IsClientError() bool
IsClientError returns true when this delete dashboard snapshot by delete key not found response has a 4xx status code
func (*DeleteDashboardSnapshotByDeleteKeyNotFound) IsCode ¶
func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) IsCode(code int) bool
IsCode returns true when this delete dashboard snapshot by delete key not found response a status code equal to that given
func (*DeleteDashboardSnapshotByDeleteKeyNotFound) IsRedirect ¶
func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) IsRedirect() bool
IsRedirect returns true when this delete dashboard snapshot by delete key not found response has a 3xx status code
func (*DeleteDashboardSnapshotByDeleteKeyNotFound) IsServerError ¶
func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) IsServerError() bool
IsServerError returns true when this delete dashboard snapshot by delete key not found response has a 5xx status code
func (*DeleteDashboardSnapshotByDeleteKeyNotFound) IsSuccess ¶
func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) IsSuccess() bool
IsSuccess returns true when this delete dashboard snapshot by delete key not found response has a 2xx status code
func (*DeleteDashboardSnapshotByDeleteKeyNotFound) String ¶
func (o *DeleteDashboardSnapshotByDeleteKeyNotFound) String() string
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) Code ¶
func (o *DeleteDashboardSnapshotByDeleteKeyOK) Code() int
Code gets the status code for the delete dashboard snapshot by delete key Ok response
func (*DeleteDashboardSnapshotByDeleteKeyOK) Error ¶
func (o *DeleteDashboardSnapshotByDeleteKeyOK) Error() string
func (*DeleteDashboardSnapshotByDeleteKeyOK) GetPayload ¶
func (o *DeleteDashboardSnapshotByDeleteKeyOK) GetPayload() *models.SuccessResponseBody
func (*DeleteDashboardSnapshotByDeleteKeyOK) IsClientError ¶
func (o *DeleteDashboardSnapshotByDeleteKeyOK) IsClientError() bool
IsClientError returns true when this delete dashboard snapshot by delete key Ok response has a 4xx status code
func (*DeleteDashboardSnapshotByDeleteKeyOK) IsCode ¶
func (o *DeleteDashboardSnapshotByDeleteKeyOK) IsCode(code int) bool
IsCode returns true when this delete dashboard snapshot by delete key Ok response a status code equal to that given
func (*DeleteDashboardSnapshotByDeleteKeyOK) IsRedirect ¶
func (o *DeleteDashboardSnapshotByDeleteKeyOK) IsRedirect() bool
IsRedirect returns true when this delete dashboard snapshot by delete key Ok response has a 3xx status code
func (*DeleteDashboardSnapshotByDeleteKeyOK) IsServerError ¶
func (o *DeleteDashboardSnapshotByDeleteKeyOK) IsServerError() bool
IsServerError returns true when this delete dashboard snapshot by delete key Ok response has a 5xx status code
func (*DeleteDashboardSnapshotByDeleteKeyOK) IsSuccess ¶
func (o *DeleteDashboardSnapshotByDeleteKeyOK) IsSuccess() bool
IsSuccess returns true when this delete dashboard snapshot by delete key Ok response has a 2xx status code
func (*DeleteDashboardSnapshotByDeleteKeyOK) String ¶
func (o *DeleteDashboardSnapshotByDeleteKeyOK) String() string
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) Code ¶
func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) Code() int
Code gets the status code for the delete dashboard snapshot by delete key unauthorized response
func (*DeleteDashboardSnapshotByDeleteKeyUnauthorized) Error ¶
func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) Error() string
func (*DeleteDashboardSnapshotByDeleteKeyUnauthorized) GetPayload ¶
func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) GetPayload() *models.ErrorResponseBody
func (*DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsClientError ¶
func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsClientError() bool
IsClientError returns true when this delete dashboard snapshot by delete key unauthorized response has a 4xx status code
func (*DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsCode ¶
func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this delete dashboard snapshot by delete key unauthorized response a status code equal to that given
func (*DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsRedirect ¶
func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete dashboard snapshot by delete key unauthorized response has a 3xx status code
func (*DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsServerError ¶
func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsServerError() bool
IsServerError returns true when this delete dashboard snapshot by delete key unauthorized response has a 5xx status code
func (*DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsSuccess ¶
func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete dashboard snapshot by delete key unauthorized response has a 2xx status code
func (*DeleteDashboardSnapshotByDeleteKeyUnauthorized) String ¶
func (o *DeleteDashboardSnapshotByDeleteKeyUnauthorized) String() string
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) Code ¶
func (o *DeleteDashboardSnapshotForbidden) Code() int
Code gets the status code for the delete dashboard snapshot forbidden response
func (*DeleteDashboardSnapshotForbidden) Error ¶
func (o *DeleteDashboardSnapshotForbidden) Error() string
func (*DeleteDashboardSnapshotForbidden) GetPayload ¶
func (o *DeleteDashboardSnapshotForbidden) GetPayload() *models.ErrorResponseBody
func (*DeleteDashboardSnapshotForbidden) IsClientError ¶
func (o *DeleteDashboardSnapshotForbidden) IsClientError() bool
IsClientError returns true when this delete dashboard snapshot forbidden response has a 4xx status code
func (*DeleteDashboardSnapshotForbidden) IsCode ¶
func (o *DeleteDashboardSnapshotForbidden) IsCode(code int) bool
IsCode returns true when this delete dashboard snapshot forbidden response a status code equal to that given
func (*DeleteDashboardSnapshotForbidden) IsRedirect ¶
func (o *DeleteDashboardSnapshotForbidden) IsRedirect() bool
IsRedirect returns true when this delete dashboard snapshot forbidden response has a 3xx status code
func (*DeleteDashboardSnapshotForbidden) IsServerError ¶
func (o *DeleteDashboardSnapshotForbidden) IsServerError() bool
IsServerError returns true when this delete dashboard snapshot forbidden response has a 5xx status code
func (*DeleteDashboardSnapshotForbidden) IsSuccess ¶
func (o *DeleteDashboardSnapshotForbidden) IsSuccess() bool
IsSuccess returns true when this delete dashboard snapshot forbidden response has a 2xx status code
func (*DeleteDashboardSnapshotForbidden) String ¶
func (o *DeleteDashboardSnapshotForbidden) String() string
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) Code ¶
func (o *DeleteDashboardSnapshotInternalServerError) Code() int
Code gets the status code for the delete dashboard snapshot internal server error response
func (*DeleteDashboardSnapshotInternalServerError) Error ¶
func (o *DeleteDashboardSnapshotInternalServerError) Error() string
func (*DeleteDashboardSnapshotInternalServerError) GetPayload ¶
func (o *DeleteDashboardSnapshotInternalServerError) GetPayload() *models.ErrorResponseBody
func (*DeleteDashboardSnapshotInternalServerError) IsClientError ¶
func (o *DeleteDashboardSnapshotInternalServerError) IsClientError() bool
IsClientError returns true when this delete dashboard snapshot internal server error response has a 4xx status code
func (*DeleteDashboardSnapshotInternalServerError) IsCode ¶
func (o *DeleteDashboardSnapshotInternalServerError) IsCode(code int) bool
IsCode returns true when this delete dashboard snapshot internal server error response a status code equal to that given
func (*DeleteDashboardSnapshotInternalServerError) IsRedirect ¶
func (o *DeleteDashboardSnapshotInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete dashboard snapshot internal server error response has a 3xx status code
func (*DeleteDashboardSnapshotInternalServerError) IsServerError ¶
func (o *DeleteDashboardSnapshotInternalServerError) IsServerError() bool
IsServerError returns true when this delete dashboard snapshot internal server error response has a 5xx status code
func (*DeleteDashboardSnapshotInternalServerError) IsSuccess ¶
func (o *DeleteDashboardSnapshotInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete dashboard snapshot internal server error response has a 2xx status code
func (*DeleteDashboardSnapshotInternalServerError) String ¶
func (o *DeleteDashboardSnapshotInternalServerError) String() string
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) Code ¶
func (o *DeleteDashboardSnapshotNotFound) Code() int
Code gets the status code for the delete dashboard snapshot not found response
func (*DeleteDashboardSnapshotNotFound) Error ¶
func (o *DeleteDashboardSnapshotNotFound) Error() string
func (*DeleteDashboardSnapshotNotFound) GetPayload ¶
func (o *DeleteDashboardSnapshotNotFound) GetPayload() *models.ErrorResponseBody
func (*DeleteDashboardSnapshotNotFound) IsClientError ¶
func (o *DeleteDashboardSnapshotNotFound) IsClientError() bool
IsClientError returns true when this delete dashboard snapshot not found response has a 4xx status code
func (*DeleteDashboardSnapshotNotFound) IsCode ¶
func (o *DeleteDashboardSnapshotNotFound) IsCode(code int) bool
IsCode returns true when this delete dashboard snapshot not found response a status code equal to that given
func (*DeleteDashboardSnapshotNotFound) IsRedirect ¶
func (o *DeleteDashboardSnapshotNotFound) IsRedirect() bool
IsRedirect returns true when this delete dashboard snapshot not found response has a 3xx status code
func (*DeleteDashboardSnapshotNotFound) IsServerError ¶
func (o *DeleteDashboardSnapshotNotFound) IsServerError() bool
IsServerError returns true when this delete dashboard snapshot not found response has a 5xx status code
func (*DeleteDashboardSnapshotNotFound) IsSuccess ¶
func (o *DeleteDashboardSnapshotNotFound) IsSuccess() bool
IsSuccess returns true when this delete dashboard snapshot not found response has a 2xx status code
func (*DeleteDashboardSnapshotNotFound) String ¶
func (o *DeleteDashboardSnapshotNotFound) String() string
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) Code ¶
func (o *DeleteDashboardSnapshotOK) Code() int
Code gets the status code for the delete dashboard snapshot Ok response
func (*DeleteDashboardSnapshotOK) Error ¶
func (o *DeleteDashboardSnapshotOK) Error() string
func (*DeleteDashboardSnapshotOK) GetPayload ¶
func (o *DeleteDashboardSnapshotOK) GetPayload() *models.SuccessResponseBody
func (*DeleteDashboardSnapshotOK) IsClientError ¶
func (o *DeleteDashboardSnapshotOK) IsClientError() bool
IsClientError returns true when this delete dashboard snapshot Ok response has a 4xx status code
func (*DeleteDashboardSnapshotOK) IsCode ¶
func (o *DeleteDashboardSnapshotOK) IsCode(code int) bool
IsCode returns true when this delete dashboard snapshot Ok response a status code equal to that given
func (*DeleteDashboardSnapshotOK) IsRedirect ¶
func (o *DeleteDashboardSnapshotOK) IsRedirect() bool
IsRedirect returns true when this delete dashboard snapshot Ok response has a 3xx status code
func (*DeleteDashboardSnapshotOK) IsServerError ¶
func (o *DeleteDashboardSnapshotOK) IsServerError() bool
IsServerError returns true when this delete dashboard snapshot Ok response has a 5xx status code
func (*DeleteDashboardSnapshotOK) IsSuccess ¶
func (o *DeleteDashboardSnapshotOK) IsSuccess() bool
IsSuccess returns true when this delete dashboard snapshot Ok response has a 2xx status code
func (*DeleteDashboardSnapshotOK) String ¶
func (o *DeleteDashboardSnapshotOK) String() string
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) Code ¶
func (o *GetDashboardSnapshotBadRequest) Code() int
Code gets the status code for the get dashboard snapshot bad request response
func (*GetDashboardSnapshotBadRequest) Error ¶
func (o *GetDashboardSnapshotBadRequest) Error() string
func (*GetDashboardSnapshotBadRequest) GetPayload ¶
func (o *GetDashboardSnapshotBadRequest) GetPayload() *models.ErrorResponseBody
func (*GetDashboardSnapshotBadRequest) IsClientError ¶
func (o *GetDashboardSnapshotBadRequest) IsClientError() bool
IsClientError returns true when this get dashboard snapshot bad request response has a 4xx status code
func (*GetDashboardSnapshotBadRequest) IsCode ¶
func (o *GetDashboardSnapshotBadRequest) IsCode(code int) bool
IsCode returns true when this get dashboard snapshot bad request response a status code equal to that given
func (*GetDashboardSnapshotBadRequest) IsRedirect ¶
func (o *GetDashboardSnapshotBadRequest) IsRedirect() bool
IsRedirect returns true when this get dashboard snapshot bad request response has a 3xx status code
func (*GetDashboardSnapshotBadRequest) IsServerError ¶
func (o *GetDashboardSnapshotBadRequest) IsServerError() bool
IsServerError returns true when this get dashboard snapshot bad request response has a 5xx status code
func (*GetDashboardSnapshotBadRequest) IsSuccess ¶
func (o *GetDashboardSnapshotBadRequest) IsSuccess() bool
IsSuccess returns true when this get dashboard snapshot bad request response has a 2xx status code
func (*GetDashboardSnapshotBadRequest) String ¶
func (o *GetDashboardSnapshotBadRequest) String() string
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) Code ¶
func (o *GetDashboardSnapshotInternalServerError) Code() int
Code gets the status code for the get dashboard snapshot internal server error response
func (*GetDashboardSnapshotInternalServerError) Error ¶
func (o *GetDashboardSnapshotInternalServerError) Error() string
func (*GetDashboardSnapshotInternalServerError) GetPayload ¶
func (o *GetDashboardSnapshotInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetDashboardSnapshotInternalServerError) IsClientError ¶
func (o *GetDashboardSnapshotInternalServerError) IsClientError() bool
IsClientError returns true when this get dashboard snapshot internal server error response has a 4xx status code
func (*GetDashboardSnapshotInternalServerError) IsCode ¶
func (o *GetDashboardSnapshotInternalServerError) IsCode(code int) bool
IsCode returns true when this get dashboard snapshot internal server error response a status code equal to that given
func (*GetDashboardSnapshotInternalServerError) IsRedirect ¶
func (o *GetDashboardSnapshotInternalServerError) IsRedirect() bool
IsRedirect returns true when this get dashboard snapshot internal server error response has a 3xx status code
func (*GetDashboardSnapshotInternalServerError) IsServerError ¶
func (o *GetDashboardSnapshotInternalServerError) IsServerError() bool
IsServerError returns true when this get dashboard snapshot internal server error response has a 5xx status code
func (*GetDashboardSnapshotInternalServerError) IsSuccess ¶
func (o *GetDashboardSnapshotInternalServerError) IsSuccess() bool
IsSuccess returns true when this get dashboard snapshot internal server error response has a 2xx status code
func (*GetDashboardSnapshotInternalServerError) String ¶
func (o *GetDashboardSnapshotInternalServerError) String() string
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) Code ¶
func (o *GetDashboardSnapshotNotFound) Code() int
Code gets the status code for the get dashboard snapshot not found response
func (*GetDashboardSnapshotNotFound) Error ¶
func (o *GetDashboardSnapshotNotFound) Error() string
func (*GetDashboardSnapshotNotFound) GetPayload ¶
func (o *GetDashboardSnapshotNotFound) GetPayload() *models.ErrorResponseBody
func (*GetDashboardSnapshotNotFound) IsClientError ¶
func (o *GetDashboardSnapshotNotFound) IsClientError() bool
IsClientError returns true when this get dashboard snapshot not found response has a 4xx status code
func (*GetDashboardSnapshotNotFound) IsCode ¶
func (o *GetDashboardSnapshotNotFound) IsCode(code int) bool
IsCode returns true when this get dashboard snapshot not found response a status code equal to that given
func (*GetDashboardSnapshotNotFound) IsRedirect ¶
func (o *GetDashboardSnapshotNotFound) IsRedirect() bool
IsRedirect returns true when this get dashboard snapshot not found response has a 3xx status code
func (*GetDashboardSnapshotNotFound) IsServerError ¶
func (o *GetDashboardSnapshotNotFound) IsServerError() bool
IsServerError returns true when this get dashboard snapshot not found response has a 5xx status code
func (*GetDashboardSnapshotNotFound) IsSuccess ¶
func (o *GetDashboardSnapshotNotFound) IsSuccess() bool
IsSuccess returns true when this get dashboard snapshot not found response has a 2xx status code
func (*GetDashboardSnapshotNotFound) String ¶
func (o *GetDashboardSnapshotNotFound) String() string
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) Code ¶
func (o *GetDashboardSnapshotOK) Code() int
Code gets the status code for the get dashboard snapshot Ok response
func (*GetDashboardSnapshotOK) Error ¶
func (o *GetDashboardSnapshotOK) Error() string
func (*GetDashboardSnapshotOK) IsClientError ¶
func (o *GetDashboardSnapshotOK) IsClientError() bool
IsClientError returns true when this get dashboard snapshot Ok response has a 4xx status code
func (*GetDashboardSnapshotOK) IsCode ¶
func (o *GetDashboardSnapshotOK) IsCode(code int) bool
IsCode returns true when this get dashboard snapshot Ok response a status code equal to that given
func (*GetDashboardSnapshotOK) IsRedirect ¶
func (o *GetDashboardSnapshotOK) IsRedirect() bool
IsRedirect returns true when this get dashboard snapshot Ok response has a 3xx status code
func (*GetDashboardSnapshotOK) IsServerError ¶
func (o *GetDashboardSnapshotOK) IsServerError() bool
IsServerError returns true when this get dashboard snapshot Ok response has a 5xx status code
func (*GetDashboardSnapshotOK) IsSuccess ¶
func (o *GetDashboardSnapshotOK) IsSuccess() bool
IsSuccess returns true when this get dashboard snapshot Ok response has a 2xx status code
func (*GetDashboardSnapshotOK) String ¶
func (o *GetDashboardSnapshotOK) String() 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) Code ¶
func (o *GetSharingOptionsOK) Code() int
Code gets the status code for the get sharing options Ok response
func (*GetSharingOptionsOK) Error ¶
func (o *GetSharingOptionsOK) Error() string
func (*GetSharingOptionsOK) GetPayload ¶
func (o *GetSharingOptionsOK) GetPayload() *models.GetSharingOptionsOKBody
func (*GetSharingOptionsOK) IsClientError ¶
func (o *GetSharingOptionsOK) IsClientError() bool
IsClientError returns true when this get sharing options Ok response has a 4xx status code
func (*GetSharingOptionsOK) IsCode ¶
func (o *GetSharingOptionsOK) IsCode(code int) bool
IsCode returns true when this get sharing options Ok response a status code equal to that given
func (*GetSharingOptionsOK) IsRedirect ¶
func (o *GetSharingOptionsOK) IsRedirect() bool
IsRedirect returns true when this get sharing options Ok response has a 3xx status code
func (*GetSharingOptionsOK) IsServerError ¶
func (o *GetSharingOptionsOK) IsServerError() bool
IsServerError returns true when this get sharing options Ok response has a 5xx status code
func (*GetSharingOptionsOK) IsSuccess ¶
func (o *GetSharingOptionsOK) IsSuccess() bool
IsSuccess returns true when this get sharing options Ok response has a 2xx status code
func (*GetSharingOptionsOK) String ¶
func (o *GetSharingOptionsOK) String() string
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) Code ¶
func (o *GetSharingOptionsUnauthorized) Code() int
Code gets the status code for the get sharing options unauthorized response
func (*GetSharingOptionsUnauthorized) Error ¶
func (o *GetSharingOptionsUnauthorized) Error() string
func (*GetSharingOptionsUnauthorized) GetPayload ¶
func (o *GetSharingOptionsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetSharingOptionsUnauthorized) IsClientError ¶
func (o *GetSharingOptionsUnauthorized) IsClientError() bool
IsClientError returns true when this get sharing options unauthorized response has a 4xx status code
func (*GetSharingOptionsUnauthorized) IsCode ¶
func (o *GetSharingOptionsUnauthorized) IsCode(code int) bool
IsCode returns true when this get sharing options unauthorized response a status code equal to that given
func (*GetSharingOptionsUnauthorized) IsRedirect ¶
func (o *GetSharingOptionsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get sharing options unauthorized response has a 3xx status code
func (*GetSharingOptionsUnauthorized) IsServerError ¶
func (o *GetSharingOptionsUnauthorized) IsServerError() bool
IsServerError returns true when this get sharing options unauthorized response has a 5xx status code
func (*GetSharingOptionsUnauthorized) IsSuccess ¶
func (o *GetSharingOptionsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get sharing options unauthorized response has a 2xx status code
func (*GetSharingOptionsUnauthorized) String ¶
func (o *GetSharingOptionsUnauthorized) String() string
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) Code ¶
func (o *SearchDashboardSnapshotsInternalServerError) Code() int
Code gets the status code for the search dashboard snapshots internal server error response
func (*SearchDashboardSnapshotsInternalServerError) Error ¶
func (o *SearchDashboardSnapshotsInternalServerError) Error() string
func (*SearchDashboardSnapshotsInternalServerError) GetPayload ¶
func (o *SearchDashboardSnapshotsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*SearchDashboardSnapshotsInternalServerError) IsClientError ¶
func (o *SearchDashboardSnapshotsInternalServerError) IsClientError() bool
IsClientError returns true when this search dashboard snapshots internal server error response has a 4xx status code
func (*SearchDashboardSnapshotsInternalServerError) IsCode ¶
func (o *SearchDashboardSnapshotsInternalServerError) IsCode(code int) bool
IsCode returns true when this search dashboard snapshots internal server error response a status code equal to that given
func (*SearchDashboardSnapshotsInternalServerError) IsRedirect ¶
func (o *SearchDashboardSnapshotsInternalServerError) IsRedirect() bool
IsRedirect returns true when this search dashboard snapshots internal server error response has a 3xx status code
func (*SearchDashboardSnapshotsInternalServerError) IsServerError ¶
func (o *SearchDashboardSnapshotsInternalServerError) IsServerError() bool
IsServerError returns true when this search dashboard snapshots internal server error response has a 5xx status code
func (*SearchDashboardSnapshotsInternalServerError) IsSuccess ¶
func (o *SearchDashboardSnapshotsInternalServerError) IsSuccess() bool
IsSuccess returns true when this search dashboard snapshots internal server error response has a 2xx status code
func (*SearchDashboardSnapshotsInternalServerError) String ¶
func (o *SearchDashboardSnapshotsInternalServerError) String() string
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) Code ¶
func (o *SearchDashboardSnapshotsOK) Code() int
Code gets the status code for the search dashboard snapshots Ok response
func (*SearchDashboardSnapshotsOK) Error ¶
func (o *SearchDashboardSnapshotsOK) Error() string
func (*SearchDashboardSnapshotsOK) GetPayload ¶
func (o *SearchDashboardSnapshotsOK) GetPayload() []*models.DashboardSnapshotDTO
func (*SearchDashboardSnapshotsOK) IsClientError ¶
func (o *SearchDashboardSnapshotsOK) IsClientError() bool
IsClientError returns true when this search dashboard snapshots Ok response has a 4xx status code
func (*SearchDashboardSnapshotsOK) IsCode ¶
func (o *SearchDashboardSnapshotsOK) IsCode(code int) bool
IsCode returns true when this search dashboard snapshots Ok response a status code equal to that given
func (*SearchDashboardSnapshotsOK) IsRedirect ¶
func (o *SearchDashboardSnapshotsOK) IsRedirect() bool
IsRedirect returns true when this search dashboard snapshots Ok response has a 3xx status code
func (*SearchDashboardSnapshotsOK) IsServerError ¶
func (o *SearchDashboardSnapshotsOK) IsServerError() bool
IsServerError returns true when this search dashboard snapshots Ok response has a 5xx status code
func (*SearchDashboardSnapshotsOK) IsSuccess ¶
func (o *SearchDashboardSnapshotsOK) IsSuccess() bool
IsSuccess returns true when this search dashboard snapshots Ok response has a 2xx status code
func (*SearchDashboardSnapshotsOK) String ¶
func (o *SearchDashboardSnapshotsOK) String() string
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