dashboards

package
v0.0.0-...-59d2d35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CalculateDashboardDiffForbidden

type CalculateDashboardDiffForbidden struct {
	Payload *models.ErrorResponseBody
}

CalculateDashboardDiffForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCalculateDashboardDiffForbidden

func NewCalculateDashboardDiffForbidden() *CalculateDashboardDiffForbidden

NewCalculateDashboardDiffForbidden creates a CalculateDashboardDiffForbidden with default headers values

func (*CalculateDashboardDiffForbidden) Code

Code gets the status code for the calculate dashboard diff forbidden response

func (*CalculateDashboardDiffForbidden) Error

func (*CalculateDashboardDiffForbidden) GetPayload

func (*CalculateDashboardDiffForbidden) IsClientError

func (o *CalculateDashboardDiffForbidden) IsClientError() bool

IsClientError returns true when this calculate dashboard diff forbidden response has a 4xx status code

func (*CalculateDashboardDiffForbidden) IsCode

func (o *CalculateDashboardDiffForbidden) IsCode(code int) bool

IsCode returns true when this calculate dashboard diff forbidden response a status code equal to that given

func (*CalculateDashboardDiffForbidden) IsRedirect

func (o *CalculateDashboardDiffForbidden) IsRedirect() bool

IsRedirect returns true when this calculate dashboard diff forbidden response has a 3xx status code

func (*CalculateDashboardDiffForbidden) IsServerError

func (o *CalculateDashboardDiffForbidden) IsServerError() bool

IsServerError returns true when this calculate dashboard diff forbidden response has a 5xx status code

func (*CalculateDashboardDiffForbidden) IsSuccess

func (o *CalculateDashboardDiffForbidden) IsSuccess() bool

IsSuccess returns true when this calculate dashboard diff forbidden response has a 2xx status code

func (*CalculateDashboardDiffForbidden) String

type CalculateDashboardDiffInternalServerError

type CalculateDashboardDiffInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CalculateDashboardDiffInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCalculateDashboardDiffInternalServerError

func NewCalculateDashboardDiffInternalServerError() *CalculateDashboardDiffInternalServerError

NewCalculateDashboardDiffInternalServerError creates a CalculateDashboardDiffInternalServerError with default headers values

func (*CalculateDashboardDiffInternalServerError) Code

Code gets the status code for the calculate dashboard diff internal server error response

func (*CalculateDashboardDiffInternalServerError) Error

func (*CalculateDashboardDiffInternalServerError) GetPayload

func (*CalculateDashboardDiffInternalServerError) IsClientError

IsClientError returns true when this calculate dashboard diff internal server error response has a 4xx status code

func (*CalculateDashboardDiffInternalServerError) IsCode

IsCode returns true when this calculate dashboard diff internal server error response a status code equal to that given

func (*CalculateDashboardDiffInternalServerError) IsRedirect

IsRedirect returns true when this calculate dashboard diff internal server error response has a 3xx status code

func (*CalculateDashboardDiffInternalServerError) IsServerError

IsServerError returns true when this calculate dashboard diff internal server error response has a 5xx status code

func (*CalculateDashboardDiffInternalServerError) IsSuccess

IsSuccess returns true when this calculate dashboard diff internal server error response has a 2xx status code

func (*CalculateDashboardDiffInternalServerError) String

type CalculateDashboardDiffOK

type CalculateDashboardDiffOK struct {
	Payload []uint8
}

CalculateDashboardDiffOK describes a response with status code 200, with default header values.

(empty)

func NewCalculateDashboardDiffOK

func NewCalculateDashboardDiffOK() *CalculateDashboardDiffOK

NewCalculateDashboardDiffOK creates a CalculateDashboardDiffOK with default headers values

func (*CalculateDashboardDiffOK) Code

func (o *CalculateDashboardDiffOK) Code() int

Code gets the status code for the calculate dashboard diff Ok response

func (*CalculateDashboardDiffOK) Error

func (o *CalculateDashboardDiffOK) Error() string

func (*CalculateDashboardDiffOK) GetPayload

func (o *CalculateDashboardDiffOK) GetPayload() []uint8

func (*CalculateDashboardDiffOK) IsClientError

func (o *CalculateDashboardDiffOK) IsClientError() bool

IsClientError returns true when this calculate dashboard diff Ok response has a 4xx status code

func (*CalculateDashboardDiffOK) IsCode

func (o *CalculateDashboardDiffOK) IsCode(code int) bool

IsCode returns true when this calculate dashboard diff Ok response a status code equal to that given

func (*CalculateDashboardDiffOK) IsRedirect

func (o *CalculateDashboardDiffOK) IsRedirect() bool

IsRedirect returns true when this calculate dashboard diff Ok response has a 3xx status code

func (*CalculateDashboardDiffOK) IsServerError

func (o *CalculateDashboardDiffOK) IsServerError() bool

IsServerError returns true when this calculate dashboard diff Ok response has a 5xx status code

func (*CalculateDashboardDiffOK) IsSuccess

func (o *CalculateDashboardDiffOK) IsSuccess() bool

IsSuccess returns true when this calculate dashboard diff Ok response has a 2xx status code

func (*CalculateDashboardDiffOK) String

func (o *CalculateDashboardDiffOK) String() string

type CalculateDashboardDiffParams

type CalculateDashboardDiffParams struct {

	// Body.
	Body *models.CalculateDashboardDiffParamsBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CalculateDashboardDiffParams contains all the parameters to send to the API endpoint

for the calculate dashboard diff operation.

Typically these are written to a http.Request.

func NewCalculateDashboardDiffParams

func NewCalculateDashboardDiffParams() *CalculateDashboardDiffParams

NewCalculateDashboardDiffParams creates a new CalculateDashboardDiffParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCalculateDashboardDiffParamsWithContext

func NewCalculateDashboardDiffParamsWithContext(ctx context.Context) *CalculateDashboardDiffParams

NewCalculateDashboardDiffParamsWithContext creates a new CalculateDashboardDiffParams object with the ability to set a context for a request.

func NewCalculateDashboardDiffParamsWithHTTPClient

func NewCalculateDashboardDiffParamsWithHTTPClient(client *http.Client) *CalculateDashboardDiffParams

NewCalculateDashboardDiffParamsWithHTTPClient creates a new CalculateDashboardDiffParams object with the ability to set a custom HTTPClient for a request.

func NewCalculateDashboardDiffParamsWithTimeout

func NewCalculateDashboardDiffParamsWithTimeout(timeout time.Duration) *CalculateDashboardDiffParams

NewCalculateDashboardDiffParamsWithTimeout creates a new CalculateDashboardDiffParams object with the ability to set a timeout on a request.

func (*CalculateDashboardDiffParams) SetBody

SetBody adds the body to the calculate dashboard diff params

func (*CalculateDashboardDiffParams) SetContext

func (o *CalculateDashboardDiffParams) SetContext(ctx context.Context)

SetContext adds the context to the calculate dashboard diff params

func (*CalculateDashboardDiffParams) SetDefaults

func (o *CalculateDashboardDiffParams) SetDefaults()

SetDefaults hydrates default values in the calculate dashboard diff params (not the query body).

All values with no default are reset to their zero value.

func (*CalculateDashboardDiffParams) SetHTTPClient

func (o *CalculateDashboardDiffParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the calculate dashboard diff params

func (*CalculateDashboardDiffParams) SetTimeout

func (o *CalculateDashboardDiffParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the calculate dashboard diff params

func (*CalculateDashboardDiffParams) WithBody

WithBody adds the body to the calculate dashboard diff params

func (*CalculateDashboardDiffParams) WithContext

WithContext adds the context to the calculate dashboard diff params

func (*CalculateDashboardDiffParams) WithDefaults

WithDefaults hydrates default values in the calculate dashboard diff params (not the query body).

All values with no default are reset to their zero value.

func (*CalculateDashboardDiffParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the calculate dashboard diff params

func (*CalculateDashboardDiffParams) WithTimeout

WithTimeout adds the timeout to the calculate dashboard diff params

func (*CalculateDashboardDiffParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CalculateDashboardDiffReader

type CalculateDashboardDiffReader struct {
	// contains filtered or unexported fields
}

CalculateDashboardDiffReader is a Reader for the CalculateDashboardDiff structure.

func (*CalculateDashboardDiffReader) ReadResponse

func (o *CalculateDashboardDiffReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CalculateDashboardDiffUnauthorized

type CalculateDashboardDiffUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CalculateDashboardDiffUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCalculateDashboardDiffUnauthorized

func NewCalculateDashboardDiffUnauthorized() *CalculateDashboardDiffUnauthorized

NewCalculateDashboardDiffUnauthorized creates a CalculateDashboardDiffUnauthorized with default headers values

func (*CalculateDashboardDiffUnauthorized) Code

Code gets the status code for the calculate dashboard diff unauthorized response

func (*CalculateDashboardDiffUnauthorized) Error

func (*CalculateDashboardDiffUnauthorized) GetPayload

func (*CalculateDashboardDiffUnauthorized) IsClientError

func (o *CalculateDashboardDiffUnauthorized) IsClientError() bool

IsClientError returns true when this calculate dashboard diff unauthorized response has a 4xx status code

func (*CalculateDashboardDiffUnauthorized) IsCode

IsCode returns true when this calculate dashboard diff unauthorized response a status code equal to that given

func (*CalculateDashboardDiffUnauthorized) IsRedirect

func (o *CalculateDashboardDiffUnauthorized) IsRedirect() bool

IsRedirect returns true when this calculate dashboard diff unauthorized response has a 3xx status code

func (*CalculateDashboardDiffUnauthorized) IsServerError

func (o *CalculateDashboardDiffUnauthorized) IsServerError() bool

IsServerError returns true when this calculate dashboard diff unauthorized response has a 5xx status code

func (*CalculateDashboardDiffUnauthorized) IsSuccess

IsSuccess returns true when this calculate dashboard diff unauthorized response has a 2xx status code

func (*CalculateDashboardDiffUnauthorized) String

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for dashboards API

func (*Client) CalculateDashboardDiff

func (a *Client) CalculateDashboardDiff(body *models.CalculateDashboardDiffParamsBody, opts ...ClientOption) (*CalculateDashboardDiffOK, error)

CalculateDashboardDiff performs diff on two dashboards

func (*Client) CalculateDashboardDiffWithParams

func (a *Client) CalculateDashboardDiffWithParams(params *CalculateDashboardDiffParams, opts ...ClientOption) (*CalculateDashboardDiffOK, error)

func (*Client) DeleteDashboardByUID

func (a *Client) DeleteDashboardByUID(uid string, opts ...ClientOption) (*DeleteDashboardByUIDOK, error)

DeleteDashboardByUID deletes dashboard by uid

Will delete the dashboard given the specified unique identifier (uid).

func (*Client) DeleteDashboardByUIDWithParams

func (a *Client) DeleteDashboardByUIDWithParams(params *DeleteDashboardByUIDParams, opts ...ClientOption) (*DeleteDashboardByUIDOK, error)

func (*Client) GetDashboardByUID

func (a *Client) GetDashboardByUID(uid string, opts ...ClientOption) (*GetDashboardByUIDOK, error)

GetDashboardByUID gets dashboard by uid

Will return the dashboard given the dashboard unique identifier (uid).

func (*Client) GetDashboardByUIDWithParams

func (a *Client) GetDashboardByUIDWithParams(params *GetDashboardByUIDParams, opts ...ClientOption) (*GetDashboardByUIDOK, error)

func (*Client) GetDashboardTags

func (a *Client) GetDashboardTags(opts ...ClientOption) (*GetDashboardTagsOK, error)

GetDashboardTags gets all dashboards tags of an organisation

func (*Client) GetDashboardTagsWithParams

func (a *Client) GetDashboardTagsWithParams(params *GetDashboardTagsParams, opts ...ClientOption) (*GetDashboardTagsOK, error)

func (*Client) GetHomeDashboard

func (a *Client) GetHomeDashboard(opts ...ClientOption) (*GetHomeDashboardOK, error)

GetHomeDashboard gets home dashboard

func (*Client) GetHomeDashboardWithParams

func (a *Client) GetHomeDashboardWithParams(params *GetHomeDashboardParams, opts ...ClientOption) (*GetHomeDashboardOK, error)

func (*Client) HardDeleteDashboardByUID

func (a *Client) HardDeleteDashboardByUID(uid string, opts ...ClientOption) (*HardDeleteDashboardByUIDOK, error)

HardDeleteDashboardByUID hards delete dashboard by uid

Will delete the dashboard given the specified unique identifier (uid).

func (*Client) HardDeleteDashboardByUIDWithParams

func (a *Client) HardDeleteDashboardByUIDWithParams(params *HardDeleteDashboardByUIDParams, opts ...ClientOption) (*HardDeleteDashboardByUIDOK, error)

func (*Client) ImportDashboard

func (a *Client) ImportDashboard(body *models.ImportDashboardRequest, opts ...ClientOption) (*ImportDashboardOK, error)

ImportDashboard imports dashboard

func (*Client) ImportDashboardWithParams

func (a *Client) ImportDashboardWithParams(params *ImportDashboardParams, opts ...ClientOption) (*ImportDashboardOK, error)

func (*Client) PostDashboard

func (a *Client) PostDashboard(body *models.SaveDashboardCommand, opts ...ClientOption) (*PostDashboardOK, error)

PostDashboard creates update dashboard

Creates a new dashboard or updates an existing dashboard. Note: This endpoint is not intended for creating folders, use `POST /api/folders` for that.

func (*Client) PostDashboardWithParams

func (a *Client) PostDashboardWithParams(params *PostDashboardParams, opts ...ClientOption) (*PostDashboardOK, error)

func (*Client) RestoreDeletedDashboardByUID

func (a *Client) RestoreDeletedDashboardByUID(uid string, body *models.RestoreDeletedDashboardCommand, opts ...ClientOption) (*RestoreDeletedDashboardByUIDOK, error)

RestoreDeletedDashboardByUID restores a dashboard to a given dashboard version using UID

func (*Client) RestoreDeletedDashboardByUIDWithParams

func (a *Client) RestoreDeletedDashboardByUIDWithParams(params *RestoreDeletedDashboardByUIDParams, opts ...ClientOption) (*RestoreDeletedDashboardByUIDOK, error)

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	CalculateDashboardDiff(body *models.CalculateDashboardDiffParamsBody, opts ...ClientOption) (*CalculateDashboardDiffOK, error)
	CalculateDashboardDiffWithParams(params *CalculateDashboardDiffParams, opts ...ClientOption) (*CalculateDashboardDiffOK, error)

	DeleteDashboardByUID(uid string, opts ...ClientOption) (*DeleteDashboardByUIDOK, error)
	DeleteDashboardByUIDWithParams(params *DeleteDashboardByUIDParams, opts ...ClientOption) (*DeleteDashboardByUIDOK, error)

	GetDashboardByUID(uid string, opts ...ClientOption) (*GetDashboardByUIDOK, error)
	GetDashboardByUIDWithParams(params *GetDashboardByUIDParams, opts ...ClientOption) (*GetDashboardByUIDOK, error)

	GetDashboardTags(opts ...ClientOption) (*GetDashboardTagsOK, error)
	GetDashboardTagsWithParams(params *GetDashboardTagsParams, opts ...ClientOption) (*GetDashboardTagsOK, error)

	GetHomeDashboard(opts ...ClientOption) (*GetHomeDashboardOK, error)
	GetHomeDashboardWithParams(params *GetHomeDashboardParams, opts ...ClientOption) (*GetHomeDashboardOK, error)

	HardDeleteDashboardByUID(uid string, opts ...ClientOption) (*HardDeleteDashboardByUIDOK, error)
	HardDeleteDashboardByUIDWithParams(params *HardDeleteDashboardByUIDParams, opts ...ClientOption) (*HardDeleteDashboardByUIDOK, error)

	ImportDashboard(body *models.ImportDashboardRequest, opts ...ClientOption) (*ImportDashboardOK, error)
	ImportDashboardWithParams(params *ImportDashboardParams, opts ...ClientOption) (*ImportDashboardOK, error)

	PostDashboard(body *models.SaveDashboardCommand, opts ...ClientOption) (*PostDashboardOK, error)
	PostDashboardWithParams(params *PostDashboardParams, opts ...ClientOption) (*PostDashboardOK, error)

	RestoreDeletedDashboardByUID(uid string, body *models.RestoreDeletedDashboardCommand, opts ...ClientOption) (*RestoreDeletedDashboardByUIDOK, error)
	RestoreDeletedDashboardByUIDWithParams(params *RestoreDeletedDashboardByUIDParams, opts ...ClientOption) (*RestoreDeletedDashboardByUIDOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new dashboards API client.

type DeleteDashboardByUIDForbidden

type DeleteDashboardByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

DeleteDashboardByUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteDashboardByUIDForbidden

func NewDeleteDashboardByUIDForbidden() *DeleteDashboardByUIDForbidden

NewDeleteDashboardByUIDForbidden creates a DeleteDashboardByUIDForbidden with default headers values

func (*DeleteDashboardByUIDForbidden) Code

Code gets the status code for the delete dashboard by Uid forbidden response

func (*DeleteDashboardByUIDForbidden) Error

func (*DeleteDashboardByUIDForbidden) GetPayload

func (*DeleteDashboardByUIDForbidden) IsClientError

func (o *DeleteDashboardByUIDForbidden) IsClientError() bool

IsClientError returns true when this delete dashboard by Uid forbidden response has a 4xx status code

func (*DeleteDashboardByUIDForbidden) IsCode

func (o *DeleteDashboardByUIDForbidden) IsCode(code int) bool

IsCode returns true when this delete dashboard by Uid forbidden response a status code equal to that given

func (*DeleteDashboardByUIDForbidden) IsRedirect

func (o *DeleteDashboardByUIDForbidden) IsRedirect() bool

IsRedirect returns true when this delete dashboard by Uid forbidden response has a 3xx status code

func (*DeleteDashboardByUIDForbidden) IsServerError

func (o *DeleteDashboardByUIDForbidden) IsServerError() bool

IsServerError returns true when this delete dashboard by Uid forbidden response has a 5xx status code

func (*DeleteDashboardByUIDForbidden) IsSuccess

func (o *DeleteDashboardByUIDForbidden) IsSuccess() bool

IsSuccess returns true when this delete dashboard by Uid forbidden response has a 2xx status code

func (*DeleteDashboardByUIDForbidden) String

type DeleteDashboardByUIDInternalServerError

type DeleteDashboardByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DeleteDashboardByUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteDashboardByUIDInternalServerError

func NewDeleteDashboardByUIDInternalServerError() *DeleteDashboardByUIDInternalServerError

NewDeleteDashboardByUIDInternalServerError creates a DeleteDashboardByUIDInternalServerError with default headers values

func (*DeleteDashboardByUIDInternalServerError) Code

Code gets the status code for the delete dashboard by Uid internal server error response

func (*DeleteDashboardByUIDInternalServerError) Error

func (*DeleteDashboardByUIDInternalServerError) GetPayload

func (*DeleteDashboardByUIDInternalServerError) IsClientError

func (o *DeleteDashboardByUIDInternalServerError) IsClientError() bool

IsClientError returns true when this delete dashboard by Uid internal server error response has a 4xx status code

func (*DeleteDashboardByUIDInternalServerError) IsCode

IsCode returns true when this delete dashboard by Uid internal server error response a status code equal to that given

func (*DeleteDashboardByUIDInternalServerError) IsRedirect

IsRedirect returns true when this delete dashboard by Uid internal server error response has a 3xx status code

func (*DeleteDashboardByUIDInternalServerError) IsServerError

func (o *DeleteDashboardByUIDInternalServerError) IsServerError() bool

IsServerError returns true when this delete dashboard by Uid internal server error response has a 5xx status code

func (*DeleteDashboardByUIDInternalServerError) IsSuccess

IsSuccess returns true when this delete dashboard by Uid internal server error response has a 2xx status code

func (*DeleteDashboardByUIDInternalServerError) String

type DeleteDashboardByUIDNotFound

type DeleteDashboardByUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

DeleteDashboardByUIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDeleteDashboardByUIDNotFound

func NewDeleteDashboardByUIDNotFound() *DeleteDashboardByUIDNotFound

NewDeleteDashboardByUIDNotFound creates a DeleteDashboardByUIDNotFound with default headers values

func (*DeleteDashboardByUIDNotFound) Code

Code gets the status code for the delete dashboard by Uid not found response

func (*DeleteDashboardByUIDNotFound) Error

func (*DeleteDashboardByUIDNotFound) GetPayload

func (*DeleteDashboardByUIDNotFound) IsClientError

func (o *DeleteDashboardByUIDNotFound) IsClientError() bool

IsClientError returns true when this delete dashboard by Uid not found response has a 4xx status code

func (*DeleteDashboardByUIDNotFound) IsCode

func (o *DeleteDashboardByUIDNotFound) IsCode(code int) bool

IsCode returns true when this delete dashboard by Uid not found response a status code equal to that given

func (*DeleteDashboardByUIDNotFound) IsRedirect

func (o *DeleteDashboardByUIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete dashboard by Uid not found response has a 3xx status code

func (*DeleteDashboardByUIDNotFound) IsServerError

func (o *DeleteDashboardByUIDNotFound) IsServerError() bool

IsServerError returns true when this delete dashboard by Uid not found response has a 5xx status code

func (*DeleteDashboardByUIDNotFound) IsSuccess

func (o *DeleteDashboardByUIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete dashboard by Uid not found response has a 2xx status code

func (*DeleteDashboardByUIDNotFound) String

type DeleteDashboardByUIDOK

type DeleteDashboardByUIDOK struct {
	Payload *models.DeleteDashboardByUIDOKBody
}

DeleteDashboardByUIDOK describes a response with status code 200, with default header values.

(empty)

func NewDeleteDashboardByUIDOK

func NewDeleteDashboardByUIDOK() *DeleteDashboardByUIDOK

NewDeleteDashboardByUIDOK creates a DeleteDashboardByUIDOK with default headers values

func (*DeleteDashboardByUIDOK) Code

func (o *DeleteDashboardByUIDOK) Code() int

Code gets the status code for the delete dashboard by Uid Ok response

func (*DeleteDashboardByUIDOK) Error

func (o *DeleteDashboardByUIDOK) Error() string

func (*DeleteDashboardByUIDOK) GetPayload

func (*DeleteDashboardByUIDOK) IsClientError

func (o *DeleteDashboardByUIDOK) IsClientError() bool

IsClientError returns true when this delete dashboard by Uid Ok response has a 4xx status code

func (*DeleteDashboardByUIDOK) IsCode

func (o *DeleteDashboardByUIDOK) IsCode(code int) bool

IsCode returns true when this delete dashboard by Uid Ok response a status code equal to that given

func (*DeleteDashboardByUIDOK) IsRedirect

func (o *DeleteDashboardByUIDOK) IsRedirect() bool

IsRedirect returns true when this delete dashboard by Uid Ok response has a 3xx status code

func (*DeleteDashboardByUIDOK) IsServerError

func (o *DeleteDashboardByUIDOK) IsServerError() bool

IsServerError returns true when this delete dashboard by Uid Ok response has a 5xx status code

func (*DeleteDashboardByUIDOK) IsSuccess

func (o *DeleteDashboardByUIDOK) IsSuccess() bool

IsSuccess returns true when this delete dashboard by Uid Ok response has a 2xx status code

func (*DeleteDashboardByUIDOK) String

func (o *DeleteDashboardByUIDOK) String() string

type DeleteDashboardByUIDParams

type DeleteDashboardByUIDParams struct {

	// UID.
	UID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteDashboardByUIDParams contains all the parameters to send to the API endpoint

for the delete dashboard by UID operation.

Typically these are written to a http.Request.

func NewDeleteDashboardByUIDParams

func NewDeleteDashboardByUIDParams() *DeleteDashboardByUIDParams

NewDeleteDashboardByUIDParams creates a new DeleteDashboardByUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteDashboardByUIDParamsWithContext

func NewDeleteDashboardByUIDParamsWithContext(ctx context.Context) *DeleteDashboardByUIDParams

NewDeleteDashboardByUIDParamsWithContext creates a new DeleteDashboardByUIDParams object with the ability to set a context for a request.

func NewDeleteDashboardByUIDParamsWithHTTPClient

func NewDeleteDashboardByUIDParamsWithHTTPClient(client *http.Client) *DeleteDashboardByUIDParams

NewDeleteDashboardByUIDParamsWithHTTPClient creates a new DeleteDashboardByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDashboardByUIDParamsWithTimeout

func NewDeleteDashboardByUIDParamsWithTimeout(timeout time.Duration) *DeleteDashboardByUIDParams

NewDeleteDashboardByUIDParamsWithTimeout creates a new DeleteDashboardByUIDParams object with the ability to set a timeout on a request.

func (*DeleteDashboardByUIDParams) SetContext

func (o *DeleteDashboardByUIDParams) SetContext(ctx context.Context)

SetContext adds the context to the delete dashboard by UID params

func (*DeleteDashboardByUIDParams) SetDefaults

func (o *DeleteDashboardByUIDParams) SetDefaults()

SetDefaults hydrates default values in the delete dashboard by UID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDashboardByUIDParams) SetHTTPClient

func (o *DeleteDashboardByUIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete dashboard by UID params

func (*DeleteDashboardByUIDParams) SetTimeout

func (o *DeleteDashboardByUIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete dashboard by UID params

func (*DeleteDashboardByUIDParams) SetUID

func (o *DeleteDashboardByUIDParams) SetUID(uid string)

SetUID adds the uid to the delete dashboard by UID params

func (*DeleteDashboardByUIDParams) WithContext

WithContext adds the context to the delete dashboard by UID params

func (*DeleteDashboardByUIDParams) WithDefaults

WithDefaults hydrates default values in the delete dashboard by UID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDashboardByUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete dashboard by UID params

func (*DeleteDashboardByUIDParams) WithTimeout

WithTimeout adds the timeout to the delete dashboard by UID params

func (*DeleteDashboardByUIDParams) WithUID

WithUID adds the uid to the delete dashboard by UID params

func (*DeleteDashboardByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDashboardByUIDReader

type DeleteDashboardByUIDReader struct {
	// contains filtered or unexported fields
}

DeleteDashboardByUIDReader is a Reader for the DeleteDashboardByUID structure.

func (*DeleteDashboardByUIDReader) ReadResponse

func (o *DeleteDashboardByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteDashboardByUIDUnauthorized

type DeleteDashboardByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeleteDashboardByUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteDashboardByUIDUnauthorized

func NewDeleteDashboardByUIDUnauthorized() *DeleteDashboardByUIDUnauthorized

NewDeleteDashboardByUIDUnauthorized creates a DeleteDashboardByUIDUnauthorized with default headers values

func (*DeleteDashboardByUIDUnauthorized) Code

Code gets the status code for the delete dashboard by Uid unauthorized response

func (*DeleteDashboardByUIDUnauthorized) Error

func (*DeleteDashboardByUIDUnauthorized) GetPayload

func (*DeleteDashboardByUIDUnauthorized) IsClientError

func (o *DeleteDashboardByUIDUnauthorized) IsClientError() bool

IsClientError returns true when this delete dashboard by Uid unauthorized response has a 4xx status code

func (*DeleteDashboardByUIDUnauthorized) IsCode

func (o *DeleteDashboardByUIDUnauthorized) IsCode(code int) bool

IsCode returns true when this delete dashboard by Uid unauthorized response a status code equal to that given

func (*DeleteDashboardByUIDUnauthorized) IsRedirect

func (o *DeleteDashboardByUIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete dashboard by Uid unauthorized response has a 3xx status code

func (*DeleteDashboardByUIDUnauthorized) IsServerError

func (o *DeleteDashboardByUIDUnauthorized) IsServerError() bool

IsServerError returns true when this delete dashboard by Uid unauthorized response has a 5xx status code

func (*DeleteDashboardByUIDUnauthorized) IsSuccess

func (o *DeleteDashboardByUIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete dashboard by Uid unauthorized response has a 2xx status code

func (*DeleteDashboardByUIDUnauthorized) String

type GetDashboardByUIDForbidden

type GetDashboardByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

GetDashboardByUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetDashboardByUIDForbidden

func NewGetDashboardByUIDForbidden() *GetDashboardByUIDForbidden

NewGetDashboardByUIDForbidden creates a GetDashboardByUIDForbidden with default headers values

func (*GetDashboardByUIDForbidden) Code

func (o *GetDashboardByUIDForbidden) Code() int

Code gets the status code for the get dashboard by Uid forbidden response

func (*GetDashboardByUIDForbidden) Error

func (*GetDashboardByUIDForbidden) GetPayload

func (*GetDashboardByUIDForbidden) IsClientError

func (o *GetDashboardByUIDForbidden) IsClientError() bool

IsClientError returns true when this get dashboard by Uid forbidden response has a 4xx status code

func (*GetDashboardByUIDForbidden) IsCode

func (o *GetDashboardByUIDForbidden) IsCode(code int) bool

IsCode returns true when this get dashboard by Uid forbidden response a status code equal to that given

func (*GetDashboardByUIDForbidden) IsRedirect

func (o *GetDashboardByUIDForbidden) IsRedirect() bool

IsRedirect returns true when this get dashboard by Uid forbidden response has a 3xx status code

func (*GetDashboardByUIDForbidden) IsServerError

func (o *GetDashboardByUIDForbidden) IsServerError() bool

IsServerError returns true when this get dashboard by Uid forbidden response has a 5xx status code

func (*GetDashboardByUIDForbidden) IsSuccess

func (o *GetDashboardByUIDForbidden) IsSuccess() bool

IsSuccess returns true when this get dashboard by Uid forbidden response has a 2xx status code

func (*GetDashboardByUIDForbidden) String

func (o *GetDashboardByUIDForbidden) String() string

type GetDashboardByUIDInternalServerError

type GetDashboardByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDashboardByUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDashboardByUIDInternalServerError

func NewGetDashboardByUIDInternalServerError() *GetDashboardByUIDInternalServerError

NewGetDashboardByUIDInternalServerError creates a GetDashboardByUIDInternalServerError with default headers values

func (*GetDashboardByUIDInternalServerError) Code

Code gets the status code for the get dashboard by Uid internal server error response

func (*GetDashboardByUIDInternalServerError) Error

func (*GetDashboardByUIDInternalServerError) GetPayload

func (*GetDashboardByUIDInternalServerError) IsClientError

func (o *GetDashboardByUIDInternalServerError) IsClientError() bool

IsClientError returns true when this get dashboard by Uid internal server error response has a 4xx status code

func (*GetDashboardByUIDInternalServerError) IsCode

IsCode returns true when this get dashboard by Uid internal server error response a status code equal to that given

func (*GetDashboardByUIDInternalServerError) IsRedirect

IsRedirect returns true when this get dashboard by Uid internal server error response has a 3xx status code

func (*GetDashboardByUIDInternalServerError) IsServerError

func (o *GetDashboardByUIDInternalServerError) IsServerError() bool

IsServerError returns true when this get dashboard by Uid internal server error response has a 5xx status code

func (*GetDashboardByUIDInternalServerError) IsSuccess

IsSuccess returns true when this get dashboard by Uid internal server error response has a 2xx status code

func (*GetDashboardByUIDInternalServerError) String

type GetDashboardByUIDNotFound

type GetDashboardByUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

GetDashboardByUIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetDashboardByUIDNotFound

func NewGetDashboardByUIDNotFound() *GetDashboardByUIDNotFound

NewGetDashboardByUIDNotFound creates a GetDashboardByUIDNotFound with default headers values

func (*GetDashboardByUIDNotFound) Code

func (o *GetDashboardByUIDNotFound) Code() int

Code gets the status code for the get dashboard by Uid not found response

func (*GetDashboardByUIDNotFound) Error

func (o *GetDashboardByUIDNotFound) Error() string

func (*GetDashboardByUIDNotFound) GetPayload

func (*GetDashboardByUIDNotFound) IsClientError

func (o *GetDashboardByUIDNotFound) IsClientError() bool

IsClientError returns true when this get dashboard by Uid not found response has a 4xx status code

func (*GetDashboardByUIDNotFound) IsCode

func (o *GetDashboardByUIDNotFound) IsCode(code int) bool

IsCode returns true when this get dashboard by Uid not found response a status code equal to that given

func (*GetDashboardByUIDNotFound) IsRedirect

func (o *GetDashboardByUIDNotFound) IsRedirect() bool

IsRedirect returns true when this get dashboard by Uid not found response has a 3xx status code

func (*GetDashboardByUIDNotFound) IsServerError

func (o *GetDashboardByUIDNotFound) IsServerError() bool

IsServerError returns true when this get dashboard by Uid not found response has a 5xx status code

func (*GetDashboardByUIDNotFound) IsSuccess

func (o *GetDashboardByUIDNotFound) IsSuccess() bool

IsSuccess returns true when this get dashboard by Uid not found response has a 2xx status code

func (*GetDashboardByUIDNotFound) String

func (o *GetDashboardByUIDNotFound) String() string

type GetDashboardByUIDOK

type GetDashboardByUIDOK struct {
	Payload *models.DashboardFullWithMeta
}

GetDashboardByUIDOK describes a response with status code 200, with default header values.

(empty)

func NewGetDashboardByUIDOK

func NewGetDashboardByUIDOK() *GetDashboardByUIDOK

NewGetDashboardByUIDOK creates a GetDashboardByUIDOK with default headers values

func (*GetDashboardByUIDOK) Code

func (o *GetDashboardByUIDOK) Code() int

Code gets the status code for the get dashboard by Uid Ok response

func (*GetDashboardByUIDOK) Error

func (o *GetDashboardByUIDOK) Error() string

func (*GetDashboardByUIDOK) GetPayload

func (*GetDashboardByUIDOK) IsClientError

func (o *GetDashboardByUIDOK) IsClientError() bool

IsClientError returns true when this get dashboard by Uid Ok response has a 4xx status code

func (*GetDashboardByUIDOK) IsCode

func (o *GetDashboardByUIDOK) IsCode(code int) bool

IsCode returns true when this get dashboard by Uid Ok response a status code equal to that given

func (*GetDashboardByUIDOK) IsRedirect

func (o *GetDashboardByUIDOK) IsRedirect() bool

IsRedirect returns true when this get dashboard by Uid Ok response has a 3xx status code

func (*GetDashboardByUIDOK) IsServerError

func (o *GetDashboardByUIDOK) IsServerError() bool

IsServerError returns true when this get dashboard by Uid Ok response has a 5xx status code

func (*GetDashboardByUIDOK) IsSuccess

func (o *GetDashboardByUIDOK) IsSuccess() bool

IsSuccess returns true when this get dashboard by Uid Ok response has a 2xx status code

func (*GetDashboardByUIDOK) String

func (o *GetDashboardByUIDOK) String() string

type GetDashboardByUIDParams

type GetDashboardByUIDParams struct {

	// UID.
	UID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDashboardByUIDParams contains all the parameters to send to the API endpoint

for the get dashboard by UID operation.

Typically these are written to a http.Request.

func NewGetDashboardByUIDParams

func NewGetDashboardByUIDParams() *GetDashboardByUIDParams

NewGetDashboardByUIDParams creates a new GetDashboardByUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDashboardByUIDParamsWithContext

func NewGetDashboardByUIDParamsWithContext(ctx context.Context) *GetDashboardByUIDParams

NewGetDashboardByUIDParamsWithContext creates a new GetDashboardByUIDParams object with the ability to set a context for a request.

func NewGetDashboardByUIDParamsWithHTTPClient

func NewGetDashboardByUIDParamsWithHTTPClient(client *http.Client) *GetDashboardByUIDParams

NewGetDashboardByUIDParamsWithHTTPClient creates a new GetDashboardByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDashboardByUIDParamsWithTimeout

func NewGetDashboardByUIDParamsWithTimeout(timeout time.Duration) *GetDashboardByUIDParams

NewGetDashboardByUIDParamsWithTimeout creates a new GetDashboardByUIDParams object with the ability to set a timeout on a request.

func (*GetDashboardByUIDParams) SetContext

func (o *GetDashboardByUIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get dashboard by UID params

func (*GetDashboardByUIDParams) SetDefaults

func (o *GetDashboardByUIDParams) SetDefaults()

SetDefaults hydrates default values in the get dashboard by UID params (not the query body).

All values with no default are reset to their zero value.

func (*GetDashboardByUIDParams) SetHTTPClient

func (o *GetDashboardByUIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get dashboard by UID params

func (*GetDashboardByUIDParams) SetTimeout

func (o *GetDashboardByUIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get dashboard by UID params

func (*GetDashboardByUIDParams) SetUID

func (o *GetDashboardByUIDParams) SetUID(uid string)

SetUID adds the uid to the get dashboard by UID params

func (*GetDashboardByUIDParams) WithContext

WithContext adds the context to the get dashboard by UID params

func (*GetDashboardByUIDParams) WithDefaults

WithDefaults hydrates default values in the get dashboard by UID params (not the query body).

All values with no default are reset to their zero value.

func (*GetDashboardByUIDParams) WithHTTPClient

func (o *GetDashboardByUIDParams) WithHTTPClient(client *http.Client) *GetDashboardByUIDParams

WithHTTPClient adds the HTTPClient to the get dashboard by UID params

func (*GetDashboardByUIDParams) WithTimeout

WithTimeout adds the timeout to the get dashboard by UID params

func (*GetDashboardByUIDParams) WithUID

WithUID adds the uid to the get dashboard by UID params

func (*GetDashboardByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDashboardByUIDReader

type GetDashboardByUIDReader struct {
	// contains filtered or unexported fields
}

GetDashboardByUIDReader is a Reader for the GetDashboardByUID structure.

func (*GetDashboardByUIDReader) ReadResponse

func (o *GetDashboardByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDashboardByUIDUnauthorized

type GetDashboardByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDashboardByUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDashboardByUIDUnauthorized

func NewGetDashboardByUIDUnauthorized() *GetDashboardByUIDUnauthorized

NewGetDashboardByUIDUnauthorized creates a GetDashboardByUIDUnauthorized with default headers values

func (*GetDashboardByUIDUnauthorized) Code

Code gets the status code for the get dashboard by Uid unauthorized response

func (*GetDashboardByUIDUnauthorized) Error

func (*GetDashboardByUIDUnauthorized) GetPayload

func (*GetDashboardByUIDUnauthorized) IsClientError

func (o *GetDashboardByUIDUnauthorized) IsClientError() bool

IsClientError returns true when this get dashboard by Uid unauthorized response has a 4xx status code

func (*GetDashboardByUIDUnauthorized) IsCode

func (o *GetDashboardByUIDUnauthorized) IsCode(code int) bool

IsCode returns true when this get dashboard by Uid unauthorized response a status code equal to that given

func (*GetDashboardByUIDUnauthorized) IsRedirect

func (o *GetDashboardByUIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this get dashboard by Uid unauthorized response has a 3xx status code

func (*GetDashboardByUIDUnauthorized) IsServerError

func (o *GetDashboardByUIDUnauthorized) IsServerError() bool

IsServerError returns true when this get dashboard by Uid unauthorized response has a 5xx status code

func (*GetDashboardByUIDUnauthorized) IsSuccess

func (o *GetDashboardByUIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this get dashboard by Uid unauthorized response has a 2xx status code

func (*GetDashboardByUIDUnauthorized) String

type GetDashboardTagsInternalServerError

type GetDashboardTagsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDashboardTagsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDashboardTagsInternalServerError

func NewGetDashboardTagsInternalServerError() *GetDashboardTagsInternalServerError

NewGetDashboardTagsInternalServerError creates a GetDashboardTagsInternalServerError with default headers values

func (*GetDashboardTagsInternalServerError) Code

Code gets the status code for the get dashboard tags internal server error response

func (*GetDashboardTagsInternalServerError) Error

func (*GetDashboardTagsInternalServerError) GetPayload

func (*GetDashboardTagsInternalServerError) IsClientError

func (o *GetDashboardTagsInternalServerError) IsClientError() bool

IsClientError returns true when this get dashboard tags internal server error response has a 4xx status code

func (*GetDashboardTagsInternalServerError) IsCode

IsCode returns true when this get dashboard tags internal server error response a status code equal to that given

func (*GetDashboardTagsInternalServerError) IsRedirect

func (o *GetDashboardTagsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get dashboard tags internal server error response has a 3xx status code

func (*GetDashboardTagsInternalServerError) IsServerError

func (o *GetDashboardTagsInternalServerError) IsServerError() bool

IsServerError returns true when this get dashboard tags internal server error response has a 5xx status code

func (*GetDashboardTagsInternalServerError) IsSuccess

IsSuccess returns true when this get dashboard tags internal server error response has a 2xx status code

func (*GetDashboardTagsInternalServerError) String

type GetDashboardTagsOK

type GetDashboardTagsOK struct {
	Payload []*models.DashboardTagCloudItem
}

GetDashboardTagsOK describes a response with status code 200, with default header values.

(empty)

func NewGetDashboardTagsOK

func NewGetDashboardTagsOK() *GetDashboardTagsOK

NewGetDashboardTagsOK creates a GetDashboardTagsOK with default headers values

func (*GetDashboardTagsOK) Code

func (o *GetDashboardTagsOK) Code() int

Code gets the status code for the get dashboard tags Ok response

func (*GetDashboardTagsOK) Error

func (o *GetDashboardTagsOK) Error() string

func (*GetDashboardTagsOK) GetPayload

func (o *GetDashboardTagsOK) GetPayload() []*models.DashboardTagCloudItem

func (*GetDashboardTagsOK) IsClientError

func (o *GetDashboardTagsOK) IsClientError() bool

IsClientError returns true when this get dashboard tags Ok response has a 4xx status code

func (*GetDashboardTagsOK) IsCode

func (o *GetDashboardTagsOK) IsCode(code int) bool

IsCode returns true when this get dashboard tags Ok response a status code equal to that given

func (*GetDashboardTagsOK) IsRedirect

func (o *GetDashboardTagsOK) IsRedirect() bool

IsRedirect returns true when this get dashboard tags Ok response has a 3xx status code

func (*GetDashboardTagsOK) IsServerError

func (o *GetDashboardTagsOK) IsServerError() bool

IsServerError returns true when this get dashboard tags Ok response has a 5xx status code

func (*GetDashboardTagsOK) IsSuccess

func (o *GetDashboardTagsOK) IsSuccess() bool

IsSuccess returns true when this get dashboard tags Ok response has a 2xx status code

func (*GetDashboardTagsOK) String

func (o *GetDashboardTagsOK) String() string

type GetDashboardTagsParams

type GetDashboardTagsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDashboardTagsParams contains all the parameters to send to the API endpoint

for the get dashboard tags operation.

Typically these are written to a http.Request.

func NewGetDashboardTagsParams

func NewGetDashboardTagsParams() *GetDashboardTagsParams

NewGetDashboardTagsParams creates a new GetDashboardTagsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDashboardTagsParamsWithContext

func NewGetDashboardTagsParamsWithContext(ctx context.Context) *GetDashboardTagsParams

NewGetDashboardTagsParamsWithContext creates a new GetDashboardTagsParams object with the ability to set a context for a request.

func NewGetDashboardTagsParamsWithHTTPClient

func NewGetDashboardTagsParamsWithHTTPClient(client *http.Client) *GetDashboardTagsParams

NewGetDashboardTagsParamsWithHTTPClient creates a new GetDashboardTagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDashboardTagsParamsWithTimeout

func NewGetDashboardTagsParamsWithTimeout(timeout time.Duration) *GetDashboardTagsParams

NewGetDashboardTagsParamsWithTimeout creates a new GetDashboardTagsParams object with the ability to set a timeout on a request.

func (*GetDashboardTagsParams) SetContext

func (o *GetDashboardTagsParams) SetContext(ctx context.Context)

SetContext adds the context to the get dashboard tags params

func (*GetDashboardTagsParams) SetDefaults

func (o *GetDashboardTagsParams) SetDefaults()

SetDefaults hydrates default values in the get dashboard tags params (not the query body).

All values with no default are reset to their zero value.

func (*GetDashboardTagsParams) SetHTTPClient

func (o *GetDashboardTagsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get dashboard tags params

func (*GetDashboardTagsParams) SetTimeout

func (o *GetDashboardTagsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get dashboard tags params

func (*GetDashboardTagsParams) WithContext

WithContext adds the context to the get dashboard tags params

func (*GetDashboardTagsParams) WithDefaults

WithDefaults hydrates default values in the get dashboard tags params (not the query body).

All values with no default are reset to their zero value.

func (*GetDashboardTagsParams) WithHTTPClient

func (o *GetDashboardTagsParams) WithHTTPClient(client *http.Client) *GetDashboardTagsParams

WithHTTPClient adds the HTTPClient to the get dashboard tags params

func (*GetDashboardTagsParams) WithTimeout

WithTimeout adds the timeout to the get dashboard tags params

func (*GetDashboardTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDashboardTagsReader

type GetDashboardTagsReader struct {
	// contains filtered or unexported fields
}

GetDashboardTagsReader is a Reader for the GetDashboardTags structure.

func (*GetDashboardTagsReader) ReadResponse

func (o *GetDashboardTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDashboardTagsUnauthorized

type GetDashboardTagsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDashboardTagsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDashboardTagsUnauthorized

func NewGetDashboardTagsUnauthorized() *GetDashboardTagsUnauthorized

NewGetDashboardTagsUnauthorized creates a GetDashboardTagsUnauthorized with default headers values

func (*GetDashboardTagsUnauthorized) Code

Code gets the status code for the get dashboard tags unauthorized response

func (*GetDashboardTagsUnauthorized) Error

func (*GetDashboardTagsUnauthorized) GetPayload

func (*GetDashboardTagsUnauthorized) IsClientError

func (o *GetDashboardTagsUnauthorized) IsClientError() bool

IsClientError returns true when this get dashboard tags unauthorized response has a 4xx status code

func (*GetDashboardTagsUnauthorized) IsCode

func (o *GetDashboardTagsUnauthorized) IsCode(code int) bool

IsCode returns true when this get dashboard tags unauthorized response a status code equal to that given

func (*GetDashboardTagsUnauthorized) IsRedirect

func (o *GetDashboardTagsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get dashboard tags unauthorized response has a 3xx status code

func (*GetDashboardTagsUnauthorized) IsServerError

func (o *GetDashboardTagsUnauthorized) IsServerError() bool

IsServerError returns true when this get dashboard tags unauthorized response has a 5xx status code

func (*GetDashboardTagsUnauthorized) IsSuccess

func (o *GetDashboardTagsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get dashboard tags unauthorized response has a 2xx status code

func (*GetDashboardTagsUnauthorized) String

type GetHomeDashboardInternalServerError

type GetHomeDashboardInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetHomeDashboardInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetHomeDashboardInternalServerError

func NewGetHomeDashboardInternalServerError() *GetHomeDashboardInternalServerError

NewGetHomeDashboardInternalServerError creates a GetHomeDashboardInternalServerError with default headers values

func (*GetHomeDashboardInternalServerError) Code

Code gets the status code for the get home dashboard internal server error response

func (*GetHomeDashboardInternalServerError) Error

func (*GetHomeDashboardInternalServerError) GetPayload

func (*GetHomeDashboardInternalServerError) IsClientError

func (o *GetHomeDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this get home dashboard internal server error response has a 4xx status code

func (*GetHomeDashboardInternalServerError) IsCode

IsCode returns true when this get home dashboard internal server error response a status code equal to that given

func (*GetHomeDashboardInternalServerError) IsRedirect

func (o *GetHomeDashboardInternalServerError) IsRedirect() bool

IsRedirect returns true when this get home dashboard internal server error response has a 3xx status code

func (*GetHomeDashboardInternalServerError) IsServerError

func (o *GetHomeDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this get home dashboard internal server error response has a 5xx status code

func (*GetHomeDashboardInternalServerError) IsSuccess

IsSuccess returns true when this get home dashboard internal server error response has a 2xx status code

func (*GetHomeDashboardInternalServerError) String

type GetHomeDashboardOK

type GetHomeDashboardOK struct {
	Payload *models.GetHomeDashboardResponse
}

GetHomeDashboardOK describes a response with status code 200, with default header values.

(empty)

func NewGetHomeDashboardOK

func NewGetHomeDashboardOK() *GetHomeDashboardOK

NewGetHomeDashboardOK creates a GetHomeDashboardOK with default headers values

func (*GetHomeDashboardOK) Code

func (o *GetHomeDashboardOK) Code() int

Code gets the status code for the get home dashboard Ok response

func (*GetHomeDashboardOK) Error

func (o *GetHomeDashboardOK) Error() string

func (*GetHomeDashboardOK) GetPayload

func (*GetHomeDashboardOK) IsClientError

func (o *GetHomeDashboardOK) IsClientError() bool

IsClientError returns true when this get home dashboard Ok response has a 4xx status code

func (*GetHomeDashboardOK) IsCode

func (o *GetHomeDashboardOK) IsCode(code int) bool

IsCode returns true when this get home dashboard Ok response a status code equal to that given

func (*GetHomeDashboardOK) IsRedirect

func (o *GetHomeDashboardOK) IsRedirect() bool

IsRedirect returns true when this get home dashboard Ok response has a 3xx status code

func (*GetHomeDashboardOK) IsServerError

func (o *GetHomeDashboardOK) IsServerError() bool

IsServerError returns true when this get home dashboard Ok response has a 5xx status code

func (*GetHomeDashboardOK) IsSuccess

func (o *GetHomeDashboardOK) IsSuccess() bool

IsSuccess returns true when this get home dashboard Ok response has a 2xx status code

func (*GetHomeDashboardOK) String

func (o *GetHomeDashboardOK) String() string

type GetHomeDashboardParams

type GetHomeDashboardParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetHomeDashboardParams contains all the parameters to send to the API endpoint

for the get home dashboard operation.

Typically these are written to a http.Request.

func NewGetHomeDashboardParams

func NewGetHomeDashboardParams() *GetHomeDashboardParams

NewGetHomeDashboardParams creates a new GetHomeDashboardParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetHomeDashboardParamsWithContext

func NewGetHomeDashboardParamsWithContext(ctx context.Context) *GetHomeDashboardParams

NewGetHomeDashboardParamsWithContext creates a new GetHomeDashboardParams object with the ability to set a context for a request.

func NewGetHomeDashboardParamsWithHTTPClient

func NewGetHomeDashboardParamsWithHTTPClient(client *http.Client) *GetHomeDashboardParams

NewGetHomeDashboardParamsWithHTTPClient creates a new GetHomeDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewGetHomeDashboardParamsWithTimeout

func NewGetHomeDashboardParamsWithTimeout(timeout time.Duration) *GetHomeDashboardParams

NewGetHomeDashboardParamsWithTimeout creates a new GetHomeDashboardParams object with the ability to set a timeout on a request.

func (*GetHomeDashboardParams) SetContext

func (o *GetHomeDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the get home dashboard params

func (*GetHomeDashboardParams) SetDefaults

func (o *GetHomeDashboardParams) SetDefaults()

SetDefaults hydrates default values in the get home dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*GetHomeDashboardParams) SetHTTPClient

func (o *GetHomeDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get home dashboard params

func (*GetHomeDashboardParams) SetTimeout

func (o *GetHomeDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get home dashboard params

func (*GetHomeDashboardParams) WithContext

WithContext adds the context to the get home dashboard params

func (*GetHomeDashboardParams) WithDefaults

WithDefaults hydrates default values in the get home dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*GetHomeDashboardParams) WithHTTPClient

func (o *GetHomeDashboardParams) WithHTTPClient(client *http.Client) *GetHomeDashboardParams

WithHTTPClient adds the HTTPClient to the get home dashboard params

func (*GetHomeDashboardParams) WithTimeout

WithTimeout adds the timeout to the get home dashboard params

func (*GetHomeDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHomeDashboardReader

type GetHomeDashboardReader struct {
	// contains filtered or unexported fields
}

GetHomeDashboardReader is a Reader for the GetHomeDashboard structure.

func (*GetHomeDashboardReader) ReadResponse

func (o *GetHomeDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetHomeDashboardUnauthorized

type GetHomeDashboardUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetHomeDashboardUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetHomeDashboardUnauthorized

func NewGetHomeDashboardUnauthorized() *GetHomeDashboardUnauthorized

NewGetHomeDashboardUnauthorized creates a GetHomeDashboardUnauthorized with default headers values

func (*GetHomeDashboardUnauthorized) Code

Code gets the status code for the get home dashboard unauthorized response

func (*GetHomeDashboardUnauthorized) Error

func (*GetHomeDashboardUnauthorized) GetPayload

func (*GetHomeDashboardUnauthorized) IsClientError

func (o *GetHomeDashboardUnauthorized) IsClientError() bool

IsClientError returns true when this get home dashboard unauthorized response has a 4xx status code

func (*GetHomeDashboardUnauthorized) IsCode

func (o *GetHomeDashboardUnauthorized) IsCode(code int) bool

IsCode returns true when this get home dashboard unauthorized response a status code equal to that given

func (*GetHomeDashboardUnauthorized) IsRedirect

func (o *GetHomeDashboardUnauthorized) IsRedirect() bool

IsRedirect returns true when this get home dashboard unauthorized response has a 3xx status code

func (*GetHomeDashboardUnauthorized) IsServerError

func (o *GetHomeDashboardUnauthorized) IsServerError() bool

IsServerError returns true when this get home dashboard unauthorized response has a 5xx status code

func (*GetHomeDashboardUnauthorized) IsSuccess

func (o *GetHomeDashboardUnauthorized) IsSuccess() bool

IsSuccess returns true when this get home dashboard unauthorized response has a 2xx status code

func (*GetHomeDashboardUnauthorized) String

type HardDeleteDashboardByUIDForbidden

type HardDeleteDashboardByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

HardDeleteDashboardByUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewHardDeleteDashboardByUIDForbidden

func NewHardDeleteDashboardByUIDForbidden() *HardDeleteDashboardByUIDForbidden

NewHardDeleteDashboardByUIDForbidden creates a HardDeleteDashboardByUIDForbidden with default headers values

func (*HardDeleteDashboardByUIDForbidden) Code

Code gets the status code for the hard delete dashboard by Uid forbidden response

func (*HardDeleteDashboardByUIDForbidden) Error

func (*HardDeleteDashboardByUIDForbidden) GetPayload

func (*HardDeleteDashboardByUIDForbidden) IsClientError

func (o *HardDeleteDashboardByUIDForbidden) IsClientError() bool

IsClientError returns true when this hard delete dashboard by Uid forbidden response has a 4xx status code

func (*HardDeleteDashboardByUIDForbidden) IsCode

func (o *HardDeleteDashboardByUIDForbidden) IsCode(code int) bool

IsCode returns true when this hard delete dashboard by Uid forbidden response a status code equal to that given

func (*HardDeleteDashboardByUIDForbidden) IsRedirect

func (o *HardDeleteDashboardByUIDForbidden) IsRedirect() bool

IsRedirect returns true when this hard delete dashboard by Uid forbidden response has a 3xx status code

func (*HardDeleteDashboardByUIDForbidden) IsServerError

func (o *HardDeleteDashboardByUIDForbidden) IsServerError() bool

IsServerError returns true when this hard delete dashboard by Uid forbidden response has a 5xx status code

func (*HardDeleteDashboardByUIDForbidden) IsSuccess

func (o *HardDeleteDashboardByUIDForbidden) IsSuccess() bool

IsSuccess returns true when this hard delete dashboard by Uid forbidden response has a 2xx status code

func (*HardDeleteDashboardByUIDForbidden) String

type HardDeleteDashboardByUIDInternalServerError

type HardDeleteDashboardByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

HardDeleteDashboardByUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewHardDeleteDashboardByUIDInternalServerError

func NewHardDeleteDashboardByUIDInternalServerError() *HardDeleteDashboardByUIDInternalServerError

NewHardDeleteDashboardByUIDInternalServerError creates a HardDeleteDashboardByUIDInternalServerError with default headers values

func (*HardDeleteDashboardByUIDInternalServerError) Code

Code gets the status code for the hard delete dashboard by Uid internal server error response

func (*HardDeleteDashboardByUIDInternalServerError) Error

func (*HardDeleteDashboardByUIDInternalServerError) GetPayload

func (*HardDeleteDashboardByUIDInternalServerError) IsClientError

IsClientError returns true when this hard delete dashboard by Uid internal server error response has a 4xx status code

func (*HardDeleteDashboardByUIDInternalServerError) IsCode

IsCode returns true when this hard delete dashboard by Uid internal server error response a status code equal to that given

func (*HardDeleteDashboardByUIDInternalServerError) IsRedirect

IsRedirect returns true when this hard delete dashboard by Uid internal server error response has a 3xx status code

func (*HardDeleteDashboardByUIDInternalServerError) IsServerError

IsServerError returns true when this hard delete dashboard by Uid internal server error response has a 5xx status code

func (*HardDeleteDashboardByUIDInternalServerError) IsSuccess

IsSuccess returns true when this hard delete dashboard by Uid internal server error response has a 2xx status code

func (*HardDeleteDashboardByUIDInternalServerError) String

type HardDeleteDashboardByUIDNotFound

type HardDeleteDashboardByUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

HardDeleteDashboardByUIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewHardDeleteDashboardByUIDNotFound

func NewHardDeleteDashboardByUIDNotFound() *HardDeleteDashboardByUIDNotFound

NewHardDeleteDashboardByUIDNotFound creates a HardDeleteDashboardByUIDNotFound with default headers values

func (*HardDeleteDashboardByUIDNotFound) Code

Code gets the status code for the hard delete dashboard by Uid not found response

func (*HardDeleteDashboardByUIDNotFound) Error

func (*HardDeleteDashboardByUIDNotFound) GetPayload

func (*HardDeleteDashboardByUIDNotFound) IsClientError

func (o *HardDeleteDashboardByUIDNotFound) IsClientError() bool

IsClientError returns true when this hard delete dashboard by Uid not found response has a 4xx status code

func (*HardDeleteDashboardByUIDNotFound) IsCode

func (o *HardDeleteDashboardByUIDNotFound) IsCode(code int) bool

IsCode returns true when this hard delete dashboard by Uid not found response a status code equal to that given

func (*HardDeleteDashboardByUIDNotFound) IsRedirect

func (o *HardDeleteDashboardByUIDNotFound) IsRedirect() bool

IsRedirect returns true when this hard delete dashboard by Uid not found response has a 3xx status code

func (*HardDeleteDashboardByUIDNotFound) IsServerError

func (o *HardDeleteDashboardByUIDNotFound) IsServerError() bool

IsServerError returns true when this hard delete dashboard by Uid not found response has a 5xx status code

func (*HardDeleteDashboardByUIDNotFound) IsSuccess

func (o *HardDeleteDashboardByUIDNotFound) IsSuccess() bool

IsSuccess returns true when this hard delete dashboard by Uid not found response has a 2xx status code

func (*HardDeleteDashboardByUIDNotFound) String

type HardDeleteDashboardByUIDOK

type HardDeleteDashboardByUIDOK struct {
	Payload *models.HardDeleteDashboardByUIDOKBody
}

HardDeleteDashboardByUIDOK describes a response with status code 200, with default header values.

(empty)

func NewHardDeleteDashboardByUIDOK

func NewHardDeleteDashboardByUIDOK() *HardDeleteDashboardByUIDOK

NewHardDeleteDashboardByUIDOK creates a HardDeleteDashboardByUIDOK with default headers values

func (*HardDeleteDashboardByUIDOK) Code

func (o *HardDeleteDashboardByUIDOK) Code() int

Code gets the status code for the hard delete dashboard by Uid Ok response

func (*HardDeleteDashboardByUIDOK) Error

func (*HardDeleteDashboardByUIDOK) GetPayload

func (*HardDeleteDashboardByUIDOK) IsClientError

func (o *HardDeleteDashboardByUIDOK) IsClientError() bool

IsClientError returns true when this hard delete dashboard by Uid Ok response has a 4xx status code

func (*HardDeleteDashboardByUIDOK) IsCode

func (o *HardDeleteDashboardByUIDOK) IsCode(code int) bool

IsCode returns true when this hard delete dashboard by Uid Ok response a status code equal to that given

func (*HardDeleteDashboardByUIDOK) IsRedirect

func (o *HardDeleteDashboardByUIDOK) IsRedirect() bool

IsRedirect returns true when this hard delete dashboard by Uid Ok response has a 3xx status code

func (*HardDeleteDashboardByUIDOK) IsServerError

func (o *HardDeleteDashboardByUIDOK) IsServerError() bool

IsServerError returns true when this hard delete dashboard by Uid Ok response has a 5xx status code

func (*HardDeleteDashboardByUIDOK) IsSuccess

func (o *HardDeleteDashboardByUIDOK) IsSuccess() bool

IsSuccess returns true when this hard delete dashboard by Uid Ok response has a 2xx status code

func (*HardDeleteDashboardByUIDOK) String

func (o *HardDeleteDashboardByUIDOK) String() string

type HardDeleteDashboardByUIDParams

type HardDeleteDashboardByUIDParams struct {

	// UID.
	UID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HardDeleteDashboardByUIDParams contains all the parameters to send to the API endpoint

for the hard delete dashboard by UID operation.

Typically these are written to a http.Request.

func NewHardDeleteDashboardByUIDParams

func NewHardDeleteDashboardByUIDParams() *HardDeleteDashboardByUIDParams

NewHardDeleteDashboardByUIDParams creates a new HardDeleteDashboardByUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewHardDeleteDashboardByUIDParamsWithContext

func NewHardDeleteDashboardByUIDParamsWithContext(ctx context.Context) *HardDeleteDashboardByUIDParams

NewHardDeleteDashboardByUIDParamsWithContext creates a new HardDeleteDashboardByUIDParams object with the ability to set a context for a request.

func NewHardDeleteDashboardByUIDParamsWithHTTPClient

func NewHardDeleteDashboardByUIDParamsWithHTTPClient(client *http.Client) *HardDeleteDashboardByUIDParams

NewHardDeleteDashboardByUIDParamsWithHTTPClient creates a new HardDeleteDashboardByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewHardDeleteDashboardByUIDParamsWithTimeout

func NewHardDeleteDashboardByUIDParamsWithTimeout(timeout time.Duration) *HardDeleteDashboardByUIDParams

NewHardDeleteDashboardByUIDParamsWithTimeout creates a new HardDeleteDashboardByUIDParams object with the ability to set a timeout on a request.

func (*HardDeleteDashboardByUIDParams) SetContext

func (o *HardDeleteDashboardByUIDParams) SetContext(ctx context.Context)

SetContext adds the context to the hard delete dashboard by UID params

func (*HardDeleteDashboardByUIDParams) SetDefaults

func (o *HardDeleteDashboardByUIDParams) SetDefaults()

SetDefaults hydrates default values in the hard delete dashboard by UID params (not the query body).

All values with no default are reset to their zero value.

func (*HardDeleteDashboardByUIDParams) SetHTTPClient

func (o *HardDeleteDashboardByUIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hard delete dashboard by UID params

func (*HardDeleteDashboardByUIDParams) SetTimeout

func (o *HardDeleteDashboardByUIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hard delete dashboard by UID params

func (*HardDeleteDashboardByUIDParams) SetUID

func (o *HardDeleteDashboardByUIDParams) SetUID(uid string)

SetUID adds the uid to the hard delete dashboard by UID params

func (*HardDeleteDashboardByUIDParams) WithContext

WithContext adds the context to the hard delete dashboard by UID params

func (*HardDeleteDashboardByUIDParams) WithDefaults

WithDefaults hydrates default values in the hard delete dashboard by UID params (not the query body).

All values with no default are reset to their zero value.

func (*HardDeleteDashboardByUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hard delete dashboard by UID params

func (*HardDeleteDashboardByUIDParams) WithTimeout

WithTimeout adds the timeout to the hard delete dashboard by UID params

func (*HardDeleteDashboardByUIDParams) WithUID

WithUID adds the uid to the hard delete dashboard by UID params

func (*HardDeleteDashboardByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HardDeleteDashboardByUIDReader

type HardDeleteDashboardByUIDReader struct {
	// contains filtered or unexported fields
}

HardDeleteDashboardByUIDReader is a Reader for the HardDeleteDashboardByUID structure.

func (*HardDeleteDashboardByUIDReader) ReadResponse

func (o *HardDeleteDashboardByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HardDeleteDashboardByUIDUnauthorized

type HardDeleteDashboardByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

HardDeleteDashboardByUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewHardDeleteDashboardByUIDUnauthorized

func NewHardDeleteDashboardByUIDUnauthorized() *HardDeleteDashboardByUIDUnauthorized

NewHardDeleteDashboardByUIDUnauthorized creates a HardDeleteDashboardByUIDUnauthorized with default headers values

func (*HardDeleteDashboardByUIDUnauthorized) Code

Code gets the status code for the hard delete dashboard by Uid unauthorized response

func (*HardDeleteDashboardByUIDUnauthorized) Error

func (*HardDeleteDashboardByUIDUnauthorized) GetPayload

func (*HardDeleteDashboardByUIDUnauthorized) IsClientError

func (o *HardDeleteDashboardByUIDUnauthorized) IsClientError() bool

IsClientError returns true when this hard delete dashboard by Uid unauthorized response has a 4xx status code

func (*HardDeleteDashboardByUIDUnauthorized) IsCode

IsCode returns true when this hard delete dashboard by Uid unauthorized response a status code equal to that given

func (*HardDeleteDashboardByUIDUnauthorized) IsRedirect

IsRedirect returns true when this hard delete dashboard by Uid unauthorized response has a 3xx status code

func (*HardDeleteDashboardByUIDUnauthorized) IsServerError

func (o *HardDeleteDashboardByUIDUnauthorized) IsServerError() bool

IsServerError returns true when this hard delete dashboard by Uid unauthorized response has a 5xx status code

func (*HardDeleteDashboardByUIDUnauthorized) IsSuccess

IsSuccess returns true when this hard delete dashboard by Uid unauthorized response has a 2xx status code

func (*HardDeleteDashboardByUIDUnauthorized) String

type ImportDashboardBadRequest

type ImportDashboardBadRequest struct {
	Payload *models.ErrorResponseBody
}

ImportDashboardBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewImportDashboardBadRequest

func NewImportDashboardBadRequest() *ImportDashboardBadRequest

NewImportDashboardBadRequest creates a ImportDashboardBadRequest with default headers values

func (*ImportDashboardBadRequest) Code

func (o *ImportDashboardBadRequest) Code() int

Code gets the status code for the import dashboard bad request response

func (*ImportDashboardBadRequest) Error

func (o *ImportDashboardBadRequest) Error() string

func (*ImportDashboardBadRequest) GetPayload

func (*ImportDashboardBadRequest) IsClientError

func (o *ImportDashboardBadRequest) IsClientError() bool

IsClientError returns true when this import dashboard bad request response has a 4xx status code

func (*ImportDashboardBadRequest) IsCode

func (o *ImportDashboardBadRequest) IsCode(code int) bool

IsCode returns true when this import dashboard bad request response a status code equal to that given

func (*ImportDashboardBadRequest) IsRedirect

func (o *ImportDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this import dashboard bad request response has a 3xx status code

func (*ImportDashboardBadRequest) IsServerError

func (o *ImportDashboardBadRequest) IsServerError() bool

IsServerError returns true when this import dashboard bad request response has a 5xx status code

func (*ImportDashboardBadRequest) IsSuccess

func (o *ImportDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this import dashboard bad request response has a 2xx status code

func (*ImportDashboardBadRequest) String

func (o *ImportDashboardBadRequest) String() string

type ImportDashboardInternalServerError

type ImportDashboardInternalServerError struct {
	Payload *models.ErrorResponseBody
}

ImportDashboardInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewImportDashboardInternalServerError

func NewImportDashboardInternalServerError() *ImportDashboardInternalServerError

NewImportDashboardInternalServerError creates a ImportDashboardInternalServerError with default headers values

func (*ImportDashboardInternalServerError) Code

Code gets the status code for the import dashboard internal server error response

func (*ImportDashboardInternalServerError) Error

func (*ImportDashboardInternalServerError) GetPayload

func (*ImportDashboardInternalServerError) IsClientError

func (o *ImportDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this import dashboard internal server error response has a 4xx status code

func (*ImportDashboardInternalServerError) IsCode

IsCode returns true when this import dashboard internal server error response a status code equal to that given

func (*ImportDashboardInternalServerError) IsRedirect

func (o *ImportDashboardInternalServerError) IsRedirect() bool

IsRedirect returns true when this import dashboard internal server error response has a 3xx status code

func (*ImportDashboardInternalServerError) IsServerError

func (o *ImportDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this import dashboard internal server error response has a 5xx status code

func (*ImportDashboardInternalServerError) IsSuccess

IsSuccess returns true when this import dashboard internal server error response has a 2xx status code

func (*ImportDashboardInternalServerError) String

type ImportDashboardOK

type ImportDashboardOK struct {
	Payload *models.ImportDashboardResponse
}

ImportDashboardOK describes a response with status code 200, with default header values.

(empty)

func NewImportDashboardOK

func NewImportDashboardOK() *ImportDashboardOK

NewImportDashboardOK creates a ImportDashboardOK with default headers values

func (*ImportDashboardOK) Code

func (o *ImportDashboardOK) Code() int

Code gets the status code for the import dashboard Ok response

func (*ImportDashboardOK) Error

func (o *ImportDashboardOK) Error() string

func (*ImportDashboardOK) GetPayload

func (*ImportDashboardOK) IsClientError

func (o *ImportDashboardOK) IsClientError() bool

IsClientError returns true when this import dashboard Ok response has a 4xx status code

func (*ImportDashboardOK) IsCode

func (o *ImportDashboardOK) IsCode(code int) bool

IsCode returns true when this import dashboard Ok response a status code equal to that given

func (*ImportDashboardOK) IsRedirect

func (o *ImportDashboardOK) IsRedirect() bool

IsRedirect returns true when this import dashboard Ok response has a 3xx status code

func (*ImportDashboardOK) IsServerError

func (o *ImportDashboardOK) IsServerError() bool

IsServerError returns true when this import dashboard Ok response has a 5xx status code

func (*ImportDashboardOK) IsSuccess

func (o *ImportDashboardOK) IsSuccess() bool

IsSuccess returns true when this import dashboard Ok response has a 2xx status code

func (*ImportDashboardOK) String

func (o *ImportDashboardOK) String() string

type ImportDashboardParams

type ImportDashboardParams struct {

	// Body.
	Body *models.ImportDashboardRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ImportDashboardParams contains all the parameters to send to the API endpoint

for the import dashboard operation.

Typically these are written to a http.Request.

func NewImportDashboardParams

func NewImportDashboardParams() *ImportDashboardParams

NewImportDashboardParams creates a new ImportDashboardParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewImportDashboardParamsWithContext

func NewImportDashboardParamsWithContext(ctx context.Context) *ImportDashboardParams

NewImportDashboardParamsWithContext creates a new ImportDashboardParams object with the ability to set a context for a request.

func NewImportDashboardParamsWithHTTPClient

func NewImportDashboardParamsWithHTTPClient(client *http.Client) *ImportDashboardParams

NewImportDashboardParamsWithHTTPClient creates a new ImportDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewImportDashboardParamsWithTimeout

func NewImportDashboardParamsWithTimeout(timeout time.Duration) *ImportDashboardParams

NewImportDashboardParamsWithTimeout creates a new ImportDashboardParams object with the ability to set a timeout on a request.

func (*ImportDashboardParams) SetBody

SetBody adds the body to the import dashboard params

func (*ImportDashboardParams) SetContext

func (o *ImportDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the import dashboard params

func (*ImportDashboardParams) SetDefaults

func (o *ImportDashboardParams) SetDefaults()

SetDefaults hydrates default values in the import dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*ImportDashboardParams) SetHTTPClient

func (o *ImportDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the import dashboard params

func (*ImportDashboardParams) SetTimeout

func (o *ImportDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the import dashboard params

func (*ImportDashboardParams) WithBody

WithBody adds the body to the import dashboard params

func (*ImportDashboardParams) WithContext

WithContext adds the context to the import dashboard params

func (*ImportDashboardParams) WithDefaults

func (o *ImportDashboardParams) WithDefaults() *ImportDashboardParams

WithDefaults hydrates default values in the import dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*ImportDashboardParams) WithHTTPClient

func (o *ImportDashboardParams) WithHTTPClient(client *http.Client) *ImportDashboardParams

WithHTTPClient adds the HTTPClient to the import dashboard params

func (*ImportDashboardParams) WithTimeout

func (o *ImportDashboardParams) WithTimeout(timeout time.Duration) *ImportDashboardParams

WithTimeout adds the timeout to the import dashboard params

func (*ImportDashboardParams) WriteToRequest

func (o *ImportDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImportDashboardPreconditionFailed

type ImportDashboardPreconditionFailed struct {
	Payload *models.ErrorResponseBody
}

ImportDashboardPreconditionFailed describes a response with status code 412, with default header values.

PreconditionFailedError

func NewImportDashboardPreconditionFailed

func NewImportDashboardPreconditionFailed() *ImportDashboardPreconditionFailed

NewImportDashboardPreconditionFailed creates a ImportDashboardPreconditionFailed with default headers values

func (*ImportDashboardPreconditionFailed) Code

Code gets the status code for the import dashboard precondition failed response

func (*ImportDashboardPreconditionFailed) Error

func (*ImportDashboardPreconditionFailed) GetPayload

func (*ImportDashboardPreconditionFailed) IsClientError

func (o *ImportDashboardPreconditionFailed) IsClientError() bool

IsClientError returns true when this import dashboard precondition failed response has a 4xx status code

func (*ImportDashboardPreconditionFailed) IsCode

func (o *ImportDashboardPreconditionFailed) IsCode(code int) bool

IsCode returns true when this import dashboard precondition failed response a status code equal to that given

func (*ImportDashboardPreconditionFailed) IsRedirect

func (o *ImportDashboardPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this import dashboard precondition failed response has a 3xx status code

func (*ImportDashboardPreconditionFailed) IsServerError

func (o *ImportDashboardPreconditionFailed) IsServerError() bool

IsServerError returns true when this import dashboard precondition failed response has a 5xx status code

func (*ImportDashboardPreconditionFailed) IsSuccess

func (o *ImportDashboardPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this import dashboard precondition failed response has a 2xx status code

func (*ImportDashboardPreconditionFailed) String

type ImportDashboardReader

type ImportDashboardReader struct {
	// contains filtered or unexported fields
}

ImportDashboardReader is a Reader for the ImportDashboard structure.

func (*ImportDashboardReader) ReadResponse

func (o *ImportDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImportDashboardUnauthorized

type ImportDashboardUnauthorized struct {
	Payload *models.ErrorResponseBody
}

ImportDashboardUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewImportDashboardUnauthorized

func NewImportDashboardUnauthorized() *ImportDashboardUnauthorized

NewImportDashboardUnauthorized creates a ImportDashboardUnauthorized with default headers values

func (*ImportDashboardUnauthorized) Code

func (o *ImportDashboardUnauthorized) Code() int

Code gets the status code for the import dashboard unauthorized response

func (*ImportDashboardUnauthorized) Error

func (*ImportDashboardUnauthorized) GetPayload

func (*ImportDashboardUnauthorized) IsClientError

func (o *ImportDashboardUnauthorized) IsClientError() bool

IsClientError returns true when this import dashboard unauthorized response has a 4xx status code

func (*ImportDashboardUnauthorized) IsCode

func (o *ImportDashboardUnauthorized) IsCode(code int) bool

IsCode returns true when this import dashboard unauthorized response a status code equal to that given

func (*ImportDashboardUnauthorized) IsRedirect

func (o *ImportDashboardUnauthorized) IsRedirect() bool

IsRedirect returns true when this import dashboard unauthorized response has a 3xx status code

func (*ImportDashboardUnauthorized) IsServerError

func (o *ImportDashboardUnauthorized) IsServerError() bool

IsServerError returns true when this import dashboard unauthorized response has a 5xx status code

func (*ImportDashboardUnauthorized) IsSuccess

func (o *ImportDashboardUnauthorized) IsSuccess() bool

IsSuccess returns true when this import dashboard unauthorized response has a 2xx status code

func (*ImportDashboardUnauthorized) String

func (o *ImportDashboardUnauthorized) String() string

type ImportDashboardUnprocessableEntity

type ImportDashboardUnprocessableEntity struct {
	Payload *models.ErrorResponseBody
}

ImportDashboardUnprocessableEntity describes a response with status code 422, with default header values.

UnprocessableEntityError

func NewImportDashboardUnprocessableEntity

func NewImportDashboardUnprocessableEntity() *ImportDashboardUnprocessableEntity

NewImportDashboardUnprocessableEntity creates a ImportDashboardUnprocessableEntity with default headers values

func (*ImportDashboardUnprocessableEntity) Code

Code gets the status code for the import dashboard unprocessable entity response

func (*ImportDashboardUnprocessableEntity) Error

func (*ImportDashboardUnprocessableEntity) GetPayload

func (*ImportDashboardUnprocessableEntity) IsClientError

func (o *ImportDashboardUnprocessableEntity) IsClientError() bool

IsClientError returns true when this import dashboard unprocessable entity response has a 4xx status code

func (*ImportDashboardUnprocessableEntity) IsCode

IsCode returns true when this import dashboard unprocessable entity response a status code equal to that given

func (*ImportDashboardUnprocessableEntity) IsRedirect

func (o *ImportDashboardUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this import dashboard unprocessable entity response has a 3xx status code

func (*ImportDashboardUnprocessableEntity) IsServerError

func (o *ImportDashboardUnprocessableEntity) IsServerError() bool

IsServerError returns true when this import dashboard unprocessable entity response has a 5xx status code

func (*ImportDashboardUnprocessableEntity) IsSuccess

IsSuccess returns true when this import dashboard unprocessable entity response has a 2xx status code

func (*ImportDashboardUnprocessableEntity) String

type PostDashboardBadRequest

type PostDashboardBadRequest struct {
	Payload *models.ErrorResponseBody
}

PostDashboardBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewPostDashboardBadRequest

func NewPostDashboardBadRequest() *PostDashboardBadRequest

NewPostDashboardBadRequest creates a PostDashboardBadRequest with default headers values

func (*PostDashboardBadRequest) Code

func (o *PostDashboardBadRequest) Code() int

Code gets the status code for the post dashboard bad request response

func (*PostDashboardBadRequest) Error

func (o *PostDashboardBadRequest) Error() string

func (*PostDashboardBadRequest) GetPayload

func (*PostDashboardBadRequest) IsClientError

func (o *PostDashboardBadRequest) IsClientError() bool

IsClientError returns true when this post dashboard bad request response has a 4xx status code

func (*PostDashboardBadRequest) IsCode

func (o *PostDashboardBadRequest) IsCode(code int) bool

IsCode returns true when this post dashboard bad request response a status code equal to that given

func (*PostDashboardBadRequest) IsRedirect

func (o *PostDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this post dashboard bad request response has a 3xx status code

func (*PostDashboardBadRequest) IsServerError

func (o *PostDashboardBadRequest) IsServerError() bool

IsServerError returns true when this post dashboard bad request response has a 5xx status code

func (*PostDashboardBadRequest) IsSuccess

func (o *PostDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this post dashboard bad request response has a 2xx status code

func (*PostDashboardBadRequest) String

func (o *PostDashboardBadRequest) String() string

type PostDashboardForbidden

type PostDashboardForbidden struct {
	Payload *models.ErrorResponseBody
}

PostDashboardForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewPostDashboardForbidden

func NewPostDashboardForbidden() *PostDashboardForbidden

NewPostDashboardForbidden creates a PostDashboardForbidden with default headers values

func (*PostDashboardForbidden) Code

func (o *PostDashboardForbidden) Code() int

Code gets the status code for the post dashboard forbidden response

func (*PostDashboardForbidden) Error

func (o *PostDashboardForbidden) Error() string

func (*PostDashboardForbidden) GetPayload

func (*PostDashboardForbidden) IsClientError

func (o *PostDashboardForbidden) IsClientError() bool

IsClientError returns true when this post dashboard forbidden response has a 4xx status code

func (*PostDashboardForbidden) IsCode

func (o *PostDashboardForbidden) IsCode(code int) bool

IsCode returns true when this post dashboard forbidden response a status code equal to that given

func (*PostDashboardForbidden) IsRedirect

func (o *PostDashboardForbidden) IsRedirect() bool

IsRedirect returns true when this post dashboard forbidden response has a 3xx status code

func (*PostDashboardForbidden) IsServerError

func (o *PostDashboardForbidden) IsServerError() bool

IsServerError returns true when this post dashboard forbidden response has a 5xx status code

func (*PostDashboardForbidden) IsSuccess

func (o *PostDashboardForbidden) IsSuccess() bool

IsSuccess returns true when this post dashboard forbidden response has a 2xx status code

func (*PostDashboardForbidden) String

func (o *PostDashboardForbidden) String() string

type PostDashboardInternalServerError

type PostDashboardInternalServerError struct {
	Payload *models.ErrorResponseBody
}

PostDashboardInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewPostDashboardInternalServerError

func NewPostDashboardInternalServerError() *PostDashboardInternalServerError

NewPostDashboardInternalServerError creates a PostDashboardInternalServerError with default headers values

func (*PostDashboardInternalServerError) Code

Code gets the status code for the post dashboard internal server error response

func (*PostDashboardInternalServerError) Error

func (*PostDashboardInternalServerError) GetPayload

func (*PostDashboardInternalServerError) IsClientError

func (o *PostDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this post dashboard internal server error response has a 4xx status code

func (*PostDashboardInternalServerError) IsCode

func (o *PostDashboardInternalServerError) IsCode(code int) bool

IsCode returns true when this post dashboard internal server error response a status code equal to that given

func (*PostDashboardInternalServerError) IsRedirect

func (o *PostDashboardInternalServerError) IsRedirect() bool

IsRedirect returns true when this post dashboard internal server error response has a 3xx status code

func (*PostDashboardInternalServerError) IsServerError

func (o *PostDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this post dashboard internal server error response has a 5xx status code

func (*PostDashboardInternalServerError) IsSuccess

func (o *PostDashboardInternalServerError) IsSuccess() bool

IsSuccess returns true when this post dashboard internal server error response has a 2xx status code

func (*PostDashboardInternalServerError) String

type PostDashboardNotFound

type PostDashboardNotFound struct {
	Payload *models.ErrorResponseBody
}

PostDashboardNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewPostDashboardNotFound

func NewPostDashboardNotFound() *PostDashboardNotFound

NewPostDashboardNotFound creates a PostDashboardNotFound with default headers values

func (*PostDashboardNotFound) Code

func (o *PostDashboardNotFound) Code() int

Code gets the status code for the post dashboard not found response

func (*PostDashboardNotFound) Error

func (o *PostDashboardNotFound) Error() string

func (*PostDashboardNotFound) GetPayload

func (*PostDashboardNotFound) IsClientError

func (o *PostDashboardNotFound) IsClientError() bool

IsClientError returns true when this post dashboard not found response has a 4xx status code

func (*PostDashboardNotFound) IsCode

func (o *PostDashboardNotFound) IsCode(code int) bool

IsCode returns true when this post dashboard not found response a status code equal to that given

func (*PostDashboardNotFound) IsRedirect

func (o *PostDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this post dashboard not found response has a 3xx status code

func (*PostDashboardNotFound) IsServerError

func (o *PostDashboardNotFound) IsServerError() bool

IsServerError returns true when this post dashboard not found response has a 5xx status code

func (*PostDashboardNotFound) IsSuccess

func (o *PostDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this post dashboard not found response has a 2xx status code

func (*PostDashboardNotFound) String

func (o *PostDashboardNotFound) String() string

type PostDashboardOK

type PostDashboardOK struct {
	Payload *models.PostDashboardOKBody
}

PostDashboardOK describes a response with status code 200, with default header values.

(empty)

func NewPostDashboardOK

func NewPostDashboardOK() *PostDashboardOK

NewPostDashboardOK creates a PostDashboardOK with default headers values

func (*PostDashboardOK) Code

func (o *PostDashboardOK) Code() int

Code gets the status code for the post dashboard Ok response

func (*PostDashboardOK) Error

func (o *PostDashboardOK) Error() string

func (*PostDashboardOK) GetPayload

func (o *PostDashboardOK) GetPayload() *models.PostDashboardOKBody

func (*PostDashboardOK) IsClientError

func (o *PostDashboardOK) IsClientError() bool

IsClientError returns true when this post dashboard Ok response has a 4xx status code

func (*PostDashboardOK) IsCode

func (o *PostDashboardOK) IsCode(code int) bool

IsCode returns true when this post dashboard Ok response a status code equal to that given

func (*PostDashboardOK) IsRedirect

func (o *PostDashboardOK) IsRedirect() bool

IsRedirect returns true when this post dashboard Ok response has a 3xx status code

func (*PostDashboardOK) IsServerError

func (o *PostDashboardOK) IsServerError() bool

IsServerError returns true when this post dashboard Ok response has a 5xx status code

func (*PostDashboardOK) IsSuccess

func (o *PostDashboardOK) IsSuccess() bool

IsSuccess returns true when this post dashboard Ok response has a 2xx status code

func (*PostDashboardOK) String

func (o *PostDashboardOK) String() string

type PostDashboardParams

type PostDashboardParams struct {

	// Body.
	Body *models.SaveDashboardCommand

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostDashboardParams contains all the parameters to send to the API endpoint

for the post dashboard operation.

Typically these are written to a http.Request.

func NewPostDashboardParams

func NewPostDashboardParams() *PostDashboardParams

NewPostDashboardParams creates a new PostDashboardParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostDashboardParamsWithContext

func NewPostDashboardParamsWithContext(ctx context.Context) *PostDashboardParams

NewPostDashboardParamsWithContext creates a new PostDashboardParams object with the ability to set a context for a request.

func NewPostDashboardParamsWithHTTPClient

func NewPostDashboardParamsWithHTTPClient(client *http.Client) *PostDashboardParams

NewPostDashboardParamsWithHTTPClient creates a new PostDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewPostDashboardParamsWithTimeout

func NewPostDashboardParamsWithTimeout(timeout time.Duration) *PostDashboardParams

NewPostDashboardParamsWithTimeout creates a new PostDashboardParams object with the ability to set a timeout on a request.

func (*PostDashboardParams) SetBody

SetBody adds the body to the post dashboard params

func (*PostDashboardParams) SetContext

func (o *PostDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the post dashboard params

func (*PostDashboardParams) SetDefaults

func (o *PostDashboardParams) SetDefaults()

SetDefaults hydrates default values in the post dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*PostDashboardParams) SetHTTPClient

func (o *PostDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post dashboard params

func (*PostDashboardParams) SetTimeout

func (o *PostDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post dashboard params

func (*PostDashboardParams) WithBody

WithBody adds the body to the post dashboard params

func (*PostDashboardParams) WithContext

WithContext adds the context to the post dashboard params

func (*PostDashboardParams) WithDefaults

func (o *PostDashboardParams) WithDefaults() *PostDashboardParams

WithDefaults hydrates default values in the post dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*PostDashboardParams) WithHTTPClient

func (o *PostDashboardParams) WithHTTPClient(client *http.Client) *PostDashboardParams

WithHTTPClient adds the HTTPClient to the post dashboard params

func (*PostDashboardParams) WithTimeout

func (o *PostDashboardParams) WithTimeout(timeout time.Duration) *PostDashboardParams

WithTimeout adds the timeout to the post dashboard params

func (*PostDashboardParams) WriteToRequest

func (o *PostDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostDashboardPreconditionFailed

type PostDashboardPreconditionFailed struct {
	Payload *models.ErrorResponseBody
}

PostDashboardPreconditionFailed describes a response with status code 412, with default header values.

PreconditionFailedError

func NewPostDashboardPreconditionFailed

func NewPostDashboardPreconditionFailed() *PostDashboardPreconditionFailed

NewPostDashboardPreconditionFailed creates a PostDashboardPreconditionFailed with default headers values

func (*PostDashboardPreconditionFailed) Code

Code gets the status code for the post dashboard precondition failed response

func (*PostDashboardPreconditionFailed) Error

func (*PostDashboardPreconditionFailed) GetPayload

func (*PostDashboardPreconditionFailed) IsClientError

func (o *PostDashboardPreconditionFailed) IsClientError() bool

IsClientError returns true when this post dashboard precondition failed response has a 4xx status code

func (*PostDashboardPreconditionFailed) IsCode

func (o *PostDashboardPreconditionFailed) IsCode(code int) bool

IsCode returns true when this post dashboard precondition failed response a status code equal to that given

func (*PostDashboardPreconditionFailed) IsRedirect

func (o *PostDashboardPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this post dashboard precondition failed response has a 3xx status code

func (*PostDashboardPreconditionFailed) IsServerError

func (o *PostDashboardPreconditionFailed) IsServerError() bool

IsServerError returns true when this post dashboard precondition failed response has a 5xx status code

func (*PostDashboardPreconditionFailed) IsSuccess

func (o *PostDashboardPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this post dashboard precondition failed response has a 2xx status code

func (*PostDashboardPreconditionFailed) String

type PostDashboardReader

type PostDashboardReader struct {
	// contains filtered or unexported fields
}

PostDashboardReader is a Reader for the PostDashboard structure.

func (*PostDashboardReader) ReadResponse

func (o *PostDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostDashboardUnauthorized

type PostDashboardUnauthorized struct {
	Payload *models.ErrorResponseBody
}

PostDashboardUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewPostDashboardUnauthorized

func NewPostDashboardUnauthorized() *PostDashboardUnauthorized

NewPostDashboardUnauthorized creates a PostDashboardUnauthorized with default headers values

func (*PostDashboardUnauthorized) Code

func (o *PostDashboardUnauthorized) Code() int

Code gets the status code for the post dashboard unauthorized response

func (*PostDashboardUnauthorized) Error

func (o *PostDashboardUnauthorized) Error() string

func (*PostDashboardUnauthorized) GetPayload

func (*PostDashboardUnauthorized) IsClientError

func (o *PostDashboardUnauthorized) IsClientError() bool

IsClientError returns true when this post dashboard unauthorized response has a 4xx status code

func (*PostDashboardUnauthorized) IsCode

func (o *PostDashboardUnauthorized) IsCode(code int) bool

IsCode returns true when this post dashboard unauthorized response a status code equal to that given

func (*PostDashboardUnauthorized) IsRedirect

func (o *PostDashboardUnauthorized) IsRedirect() bool

IsRedirect returns true when this post dashboard unauthorized response has a 3xx status code

func (*PostDashboardUnauthorized) IsServerError

func (o *PostDashboardUnauthorized) IsServerError() bool

IsServerError returns true when this post dashboard unauthorized response has a 5xx status code

func (*PostDashboardUnauthorized) IsSuccess

func (o *PostDashboardUnauthorized) IsSuccess() bool

IsSuccess returns true when this post dashboard unauthorized response has a 2xx status code

func (*PostDashboardUnauthorized) String

func (o *PostDashboardUnauthorized) String() string

type PostDashboardUnprocessableEntity

type PostDashboardUnprocessableEntity struct {
	Payload *models.ErrorResponseBody
}

PostDashboardUnprocessableEntity describes a response with status code 422, with default header values.

UnprocessableEntityError

func NewPostDashboardUnprocessableEntity

func NewPostDashboardUnprocessableEntity() *PostDashboardUnprocessableEntity

NewPostDashboardUnprocessableEntity creates a PostDashboardUnprocessableEntity with default headers values

func (*PostDashboardUnprocessableEntity) Code

Code gets the status code for the post dashboard unprocessable entity response

func (*PostDashboardUnprocessableEntity) Error

func (*PostDashboardUnprocessableEntity) GetPayload

func (*PostDashboardUnprocessableEntity) IsClientError

func (o *PostDashboardUnprocessableEntity) IsClientError() bool

IsClientError returns true when this post dashboard unprocessable entity response has a 4xx status code

func (*PostDashboardUnprocessableEntity) IsCode

func (o *PostDashboardUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this post dashboard unprocessable entity response a status code equal to that given

func (*PostDashboardUnprocessableEntity) IsRedirect

func (o *PostDashboardUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this post dashboard unprocessable entity response has a 3xx status code

func (*PostDashboardUnprocessableEntity) IsServerError

func (o *PostDashboardUnprocessableEntity) IsServerError() bool

IsServerError returns true when this post dashboard unprocessable entity response has a 5xx status code

func (*PostDashboardUnprocessableEntity) IsSuccess

func (o *PostDashboardUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this post dashboard unprocessable entity response has a 2xx status code

func (*PostDashboardUnprocessableEntity) String

type RestoreDeletedDashboardByUIDBadRequest

type RestoreDeletedDashboardByUIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

RestoreDeletedDashboardByUIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewRestoreDeletedDashboardByUIDBadRequest

func NewRestoreDeletedDashboardByUIDBadRequest() *RestoreDeletedDashboardByUIDBadRequest

NewRestoreDeletedDashboardByUIDBadRequest creates a RestoreDeletedDashboardByUIDBadRequest with default headers values

func (*RestoreDeletedDashboardByUIDBadRequest) Code

Code gets the status code for the restore deleted dashboard by Uid bad request response

func (*RestoreDeletedDashboardByUIDBadRequest) Error

func (*RestoreDeletedDashboardByUIDBadRequest) GetPayload

func (*RestoreDeletedDashboardByUIDBadRequest) IsClientError

func (o *RestoreDeletedDashboardByUIDBadRequest) IsClientError() bool

IsClientError returns true when this restore deleted dashboard by Uid bad request response has a 4xx status code

func (*RestoreDeletedDashboardByUIDBadRequest) IsCode

IsCode returns true when this restore deleted dashboard by Uid bad request response a status code equal to that given

func (*RestoreDeletedDashboardByUIDBadRequest) IsRedirect

IsRedirect returns true when this restore deleted dashboard by Uid bad request response has a 3xx status code

func (*RestoreDeletedDashboardByUIDBadRequest) IsServerError

func (o *RestoreDeletedDashboardByUIDBadRequest) IsServerError() bool

IsServerError returns true when this restore deleted dashboard by Uid bad request response has a 5xx status code

func (*RestoreDeletedDashboardByUIDBadRequest) IsSuccess

IsSuccess returns true when this restore deleted dashboard by Uid bad request response has a 2xx status code

func (*RestoreDeletedDashboardByUIDBadRequest) String

type RestoreDeletedDashboardByUIDForbidden

type RestoreDeletedDashboardByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

RestoreDeletedDashboardByUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewRestoreDeletedDashboardByUIDForbidden

func NewRestoreDeletedDashboardByUIDForbidden() *RestoreDeletedDashboardByUIDForbidden

NewRestoreDeletedDashboardByUIDForbidden creates a RestoreDeletedDashboardByUIDForbidden with default headers values

func (*RestoreDeletedDashboardByUIDForbidden) Code

Code gets the status code for the restore deleted dashboard by Uid forbidden response

func (*RestoreDeletedDashboardByUIDForbidden) Error

func (*RestoreDeletedDashboardByUIDForbidden) GetPayload

func (*RestoreDeletedDashboardByUIDForbidden) IsClientError

func (o *RestoreDeletedDashboardByUIDForbidden) IsClientError() bool

IsClientError returns true when this restore deleted dashboard by Uid forbidden response has a 4xx status code

func (*RestoreDeletedDashboardByUIDForbidden) IsCode

IsCode returns true when this restore deleted dashboard by Uid forbidden response a status code equal to that given

func (*RestoreDeletedDashboardByUIDForbidden) IsRedirect

IsRedirect returns true when this restore deleted dashboard by Uid forbidden response has a 3xx status code

func (*RestoreDeletedDashboardByUIDForbidden) IsServerError

func (o *RestoreDeletedDashboardByUIDForbidden) IsServerError() bool

IsServerError returns true when this restore deleted dashboard by Uid forbidden response has a 5xx status code

func (*RestoreDeletedDashboardByUIDForbidden) IsSuccess

IsSuccess returns true when this restore deleted dashboard by Uid forbidden response has a 2xx status code

func (*RestoreDeletedDashboardByUIDForbidden) String

type RestoreDeletedDashboardByUIDInternalServerError

type RestoreDeletedDashboardByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

RestoreDeletedDashboardByUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewRestoreDeletedDashboardByUIDInternalServerError

func NewRestoreDeletedDashboardByUIDInternalServerError() *RestoreDeletedDashboardByUIDInternalServerError

NewRestoreDeletedDashboardByUIDInternalServerError creates a RestoreDeletedDashboardByUIDInternalServerError with default headers values

func (*RestoreDeletedDashboardByUIDInternalServerError) Code

Code gets the status code for the restore deleted dashboard by Uid internal server error response

func (*RestoreDeletedDashboardByUIDInternalServerError) Error

func (*RestoreDeletedDashboardByUIDInternalServerError) GetPayload

func (*RestoreDeletedDashboardByUIDInternalServerError) IsClientError

IsClientError returns true when this restore deleted dashboard by Uid internal server error response has a 4xx status code

func (*RestoreDeletedDashboardByUIDInternalServerError) IsCode

IsCode returns true when this restore deleted dashboard by Uid internal server error response a status code equal to that given

func (*RestoreDeletedDashboardByUIDInternalServerError) IsRedirect

IsRedirect returns true when this restore deleted dashboard by Uid internal server error response has a 3xx status code

func (*RestoreDeletedDashboardByUIDInternalServerError) IsServerError

IsServerError returns true when this restore deleted dashboard by Uid internal server error response has a 5xx status code

func (*RestoreDeletedDashboardByUIDInternalServerError) IsSuccess

IsSuccess returns true when this restore deleted dashboard by Uid internal server error response has a 2xx status code

func (*RestoreDeletedDashboardByUIDInternalServerError) String

type RestoreDeletedDashboardByUIDNotFound

type RestoreDeletedDashboardByUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

RestoreDeletedDashboardByUIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewRestoreDeletedDashboardByUIDNotFound

func NewRestoreDeletedDashboardByUIDNotFound() *RestoreDeletedDashboardByUIDNotFound

NewRestoreDeletedDashboardByUIDNotFound creates a RestoreDeletedDashboardByUIDNotFound with default headers values

func (*RestoreDeletedDashboardByUIDNotFound) Code

Code gets the status code for the restore deleted dashboard by Uid not found response

func (*RestoreDeletedDashboardByUIDNotFound) Error

func (*RestoreDeletedDashboardByUIDNotFound) GetPayload

func (*RestoreDeletedDashboardByUIDNotFound) IsClientError

func (o *RestoreDeletedDashboardByUIDNotFound) IsClientError() bool

IsClientError returns true when this restore deleted dashboard by Uid not found response has a 4xx status code

func (*RestoreDeletedDashboardByUIDNotFound) IsCode

IsCode returns true when this restore deleted dashboard by Uid not found response a status code equal to that given

func (*RestoreDeletedDashboardByUIDNotFound) IsRedirect

IsRedirect returns true when this restore deleted dashboard by Uid not found response has a 3xx status code

func (*RestoreDeletedDashboardByUIDNotFound) IsServerError

func (o *RestoreDeletedDashboardByUIDNotFound) IsServerError() bool

IsServerError returns true when this restore deleted dashboard by Uid not found response has a 5xx status code

func (*RestoreDeletedDashboardByUIDNotFound) IsSuccess

IsSuccess returns true when this restore deleted dashboard by Uid not found response has a 2xx status code

func (*RestoreDeletedDashboardByUIDNotFound) String

type RestoreDeletedDashboardByUIDOK

type RestoreDeletedDashboardByUIDOK struct {
	Payload *models.RestoreDeletedDashboardByUIDOKBody
}

RestoreDeletedDashboardByUIDOK describes a response with status code 200, with default header values.

(empty)

func NewRestoreDeletedDashboardByUIDOK

func NewRestoreDeletedDashboardByUIDOK() *RestoreDeletedDashboardByUIDOK

NewRestoreDeletedDashboardByUIDOK creates a RestoreDeletedDashboardByUIDOK with default headers values

func (*RestoreDeletedDashboardByUIDOK) Code

Code gets the status code for the restore deleted dashboard by Uid Ok response

func (*RestoreDeletedDashboardByUIDOK) Error

func (*RestoreDeletedDashboardByUIDOK) GetPayload

func (*RestoreDeletedDashboardByUIDOK) IsClientError

func (o *RestoreDeletedDashboardByUIDOK) IsClientError() bool

IsClientError returns true when this restore deleted dashboard by Uid Ok response has a 4xx status code

func (*RestoreDeletedDashboardByUIDOK) IsCode

func (o *RestoreDeletedDashboardByUIDOK) IsCode(code int) bool

IsCode returns true when this restore deleted dashboard by Uid Ok response a status code equal to that given

func (*RestoreDeletedDashboardByUIDOK) IsRedirect

func (o *RestoreDeletedDashboardByUIDOK) IsRedirect() bool

IsRedirect returns true when this restore deleted dashboard by Uid Ok response has a 3xx status code

func (*RestoreDeletedDashboardByUIDOK) IsServerError

func (o *RestoreDeletedDashboardByUIDOK) IsServerError() bool

IsServerError returns true when this restore deleted dashboard by Uid Ok response has a 5xx status code

func (*RestoreDeletedDashboardByUIDOK) IsSuccess

func (o *RestoreDeletedDashboardByUIDOK) IsSuccess() bool

IsSuccess returns true when this restore deleted dashboard by Uid Ok response has a 2xx status code

func (*RestoreDeletedDashboardByUIDOK) String

type RestoreDeletedDashboardByUIDParams

type RestoreDeletedDashboardByUIDParams struct {

	// Body.
	Body *models.RestoreDeletedDashboardCommand

	// UID.
	UID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestoreDeletedDashboardByUIDParams contains all the parameters to send to the API endpoint

for the restore deleted dashboard by UID operation.

Typically these are written to a http.Request.

func NewRestoreDeletedDashboardByUIDParams

func NewRestoreDeletedDashboardByUIDParams() *RestoreDeletedDashboardByUIDParams

NewRestoreDeletedDashboardByUIDParams creates a new RestoreDeletedDashboardByUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestoreDeletedDashboardByUIDParamsWithContext

func NewRestoreDeletedDashboardByUIDParamsWithContext(ctx context.Context) *RestoreDeletedDashboardByUIDParams

NewRestoreDeletedDashboardByUIDParamsWithContext creates a new RestoreDeletedDashboardByUIDParams object with the ability to set a context for a request.

func NewRestoreDeletedDashboardByUIDParamsWithHTTPClient

func NewRestoreDeletedDashboardByUIDParamsWithHTTPClient(client *http.Client) *RestoreDeletedDashboardByUIDParams

NewRestoreDeletedDashboardByUIDParamsWithHTTPClient creates a new RestoreDeletedDashboardByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewRestoreDeletedDashboardByUIDParamsWithTimeout

func NewRestoreDeletedDashboardByUIDParamsWithTimeout(timeout time.Duration) *RestoreDeletedDashboardByUIDParams

NewRestoreDeletedDashboardByUIDParamsWithTimeout creates a new RestoreDeletedDashboardByUIDParams object with the ability to set a timeout on a request.

func (*RestoreDeletedDashboardByUIDParams) SetBody

SetBody adds the body to the restore deleted dashboard by UID params

func (*RestoreDeletedDashboardByUIDParams) SetContext

SetContext adds the context to the restore deleted dashboard by UID params

func (*RestoreDeletedDashboardByUIDParams) SetDefaults

func (o *RestoreDeletedDashboardByUIDParams) SetDefaults()

SetDefaults hydrates default values in the restore deleted dashboard by UID params (not the query body).

All values with no default are reset to their zero value.

func (*RestoreDeletedDashboardByUIDParams) SetHTTPClient

func (o *RestoreDeletedDashboardByUIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the restore deleted dashboard by UID params

func (*RestoreDeletedDashboardByUIDParams) SetTimeout

func (o *RestoreDeletedDashboardByUIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the restore deleted dashboard by UID params

func (*RestoreDeletedDashboardByUIDParams) SetUID

SetUID adds the uid to the restore deleted dashboard by UID params

func (*RestoreDeletedDashboardByUIDParams) WithBody

WithBody adds the body to the restore deleted dashboard by UID params

func (*RestoreDeletedDashboardByUIDParams) WithContext

WithContext adds the context to the restore deleted dashboard by UID params

func (*RestoreDeletedDashboardByUIDParams) WithDefaults

WithDefaults hydrates default values in the restore deleted dashboard by UID params (not the query body).

All values with no default are reset to their zero value.

func (*RestoreDeletedDashboardByUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the restore deleted dashboard by UID params

func (*RestoreDeletedDashboardByUIDParams) WithTimeout

WithTimeout adds the timeout to the restore deleted dashboard by UID params

func (*RestoreDeletedDashboardByUIDParams) WithUID

WithUID adds the uid to the restore deleted dashboard by UID params

func (*RestoreDeletedDashboardByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestoreDeletedDashboardByUIDReader

type RestoreDeletedDashboardByUIDReader struct {
	// contains filtered or unexported fields
}

RestoreDeletedDashboardByUIDReader is a Reader for the RestoreDeletedDashboardByUID structure.

func (*RestoreDeletedDashboardByUIDReader) ReadResponse

func (o *RestoreDeletedDashboardByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestoreDeletedDashboardByUIDUnauthorized

type RestoreDeletedDashboardByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

RestoreDeletedDashboardByUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewRestoreDeletedDashboardByUIDUnauthorized

func NewRestoreDeletedDashboardByUIDUnauthorized() *RestoreDeletedDashboardByUIDUnauthorized

NewRestoreDeletedDashboardByUIDUnauthorized creates a RestoreDeletedDashboardByUIDUnauthorized with default headers values

func (*RestoreDeletedDashboardByUIDUnauthorized) Code

Code gets the status code for the restore deleted dashboard by Uid unauthorized response

func (*RestoreDeletedDashboardByUIDUnauthorized) Error

func (*RestoreDeletedDashboardByUIDUnauthorized) GetPayload

func (*RestoreDeletedDashboardByUIDUnauthorized) IsClientError

IsClientError returns true when this restore deleted dashboard by Uid unauthorized response has a 4xx status code

func (*RestoreDeletedDashboardByUIDUnauthorized) IsCode

IsCode returns true when this restore deleted dashboard by Uid unauthorized response a status code equal to that given

func (*RestoreDeletedDashboardByUIDUnauthorized) IsRedirect

IsRedirect returns true when this restore deleted dashboard by Uid unauthorized response has a 3xx status code

func (*RestoreDeletedDashboardByUIDUnauthorized) IsServerError

IsServerError returns true when this restore deleted dashboard by Uid unauthorized response has a 5xx status code

func (*RestoreDeletedDashboardByUIDUnauthorized) IsSuccess

IsSuccess returns true when this restore deleted dashboard by Uid unauthorized response has a 2xx status code

func (*RestoreDeletedDashboardByUIDUnauthorized) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL