dashboard_versions

package
v0.0.0-...-4958bdd Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for dashboard versions API

func (*Client) GetDashboardVersionByID

func (a *Client) GetDashboardVersionByID(dashboardVersionID int64, dashboardID int64, opts ...ClientOption) (*GetDashboardVersionByIDOK, error)

GetDashboardVersionByID gets a specific dashboard version

Please refer to [updated API](#/dashboard_versions/getDashboardVersionByUID) instead

func (*Client) GetDashboardVersionByIDWithParams

func (a *Client) GetDashboardVersionByIDWithParams(params *GetDashboardVersionByIDParams, opts ...ClientOption) (*GetDashboardVersionByIDOK, error)

func (*Client) GetDashboardVersionByUID

func (a *Client) GetDashboardVersionByUID(uid string, dashboardVersionID int64, opts ...ClientOption) (*GetDashboardVersionByUIDOK, error)

GetDashboardVersionByUID gets a specific dashboard version using UID

func (*Client) GetDashboardVersionByUIDWithParams

func (a *Client) GetDashboardVersionByUIDWithParams(params *GetDashboardVersionByUIDParams, opts ...ClientOption) (*GetDashboardVersionByUIDOK, error)

func (*Client) GetDashboardVersionsByID

func (a *Client) GetDashboardVersionsByID(dashboardID int64, opts ...ClientOption) (*GetDashboardVersionsByIDOK, error)

GetDashboardVersionsByID gets all existing versions for the dashboard

Please refer to [updated API](#/dashboard_versions/getDashboardVersionsByUID) instead

func (*Client) GetDashboardVersionsByIDWithParams

func (a *Client) GetDashboardVersionsByIDWithParams(params *GetDashboardVersionsByIDParams, opts ...ClientOption) (*GetDashboardVersionsByIDOK, error)

func (*Client) GetDashboardVersionsByUID

func (a *Client) GetDashboardVersionsByUID(params *GetDashboardVersionsByUIDParams, opts ...ClientOption) (*GetDashboardVersionsByUIDOK, error)

func (*Client) RestoreDashboardVersionByID

func (a *Client) RestoreDashboardVersionByID(dashboardID int64, body *models.RestoreDashboardVersionCommand, opts ...ClientOption) (*RestoreDashboardVersionByIDOK, error)

RestoreDashboardVersionByID restores a dashboard to a given dashboard version

Please refer to [updated API](#/dashboard_versions/restoreDashboardVersionByUID) instead

func (*Client) RestoreDashboardVersionByIDWithParams

func (a *Client) RestoreDashboardVersionByIDWithParams(params *RestoreDashboardVersionByIDParams, opts ...ClientOption) (*RestoreDashboardVersionByIDOK, error)

func (*Client) RestoreDashboardVersionByUID

func (a *Client) RestoreDashboardVersionByUID(uid string, body *models.RestoreDashboardVersionCommand, opts ...ClientOption) (*RestoreDashboardVersionByUIDOK, error)

RestoreDashboardVersionByUID restores a dashboard to a given dashboard version using UID

func (*Client) RestoreDashboardVersionByUIDWithParams

func (a *Client) RestoreDashboardVersionByUIDWithParams(params *RestoreDashboardVersionByUIDParams, opts ...ClientOption) (*RestoreDashboardVersionByUIDOK, 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 {
	GetDashboardVersionByID(dashboardVersionID int64, dashboardID int64, opts ...ClientOption) (*GetDashboardVersionByIDOK, error)
	GetDashboardVersionByIDWithParams(params *GetDashboardVersionByIDParams, opts ...ClientOption) (*GetDashboardVersionByIDOK, error)

	GetDashboardVersionByUID(uid string, dashboardVersionID int64, opts ...ClientOption) (*GetDashboardVersionByUIDOK, error)
	GetDashboardVersionByUIDWithParams(params *GetDashboardVersionByUIDParams, opts ...ClientOption) (*GetDashboardVersionByUIDOK, error)

	GetDashboardVersionsByID(dashboardID int64, opts ...ClientOption) (*GetDashboardVersionsByIDOK, error)
	GetDashboardVersionsByIDWithParams(params *GetDashboardVersionsByIDParams, opts ...ClientOption) (*GetDashboardVersionsByIDOK, error)

	GetDashboardVersionsByUID(params *GetDashboardVersionsByUIDParams, opts ...ClientOption) (*GetDashboardVersionsByUIDOK, error)

	RestoreDashboardVersionByID(dashboardID int64, body *models.RestoreDashboardVersionCommand, opts ...ClientOption) (*RestoreDashboardVersionByIDOK, error)
	RestoreDashboardVersionByIDWithParams(params *RestoreDashboardVersionByIDParams, opts ...ClientOption) (*RestoreDashboardVersionByIDOK, error)

	RestoreDashboardVersionByUID(uid string, body *models.RestoreDashboardVersionCommand, opts ...ClientOption) (*RestoreDashboardVersionByUIDOK, error)
	RestoreDashboardVersionByUIDWithParams(params *RestoreDashboardVersionByUIDParams, opts ...ClientOption) (*RestoreDashboardVersionByUIDOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new dashboard versions API client.

type GetDashboardVersionByIDForbidden

type GetDashboardVersionByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetDashboardVersionByIDForbidden

func NewGetDashboardVersionByIDForbidden() *GetDashboardVersionByIDForbidden

NewGetDashboardVersionByIDForbidden creates a GetDashboardVersionByIDForbidden with default headers values

func (*GetDashboardVersionByIDForbidden) Code

Code gets the status code for the get dashboard version by Id forbidden response

func (*GetDashboardVersionByIDForbidden) Error

func (*GetDashboardVersionByIDForbidden) GetPayload

func (*GetDashboardVersionByIDForbidden) IsClientError

func (o *GetDashboardVersionByIDForbidden) IsClientError() bool

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

func (*GetDashboardVersionByIDForbidden) IsCode

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

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

func (*GetDashboardVersionByIDForbidden) IsRedirect

func (o *GetDashboardVersionByIDForbidden) IsRedirect() bool

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

func (*GetDashboardVersionByIDForbidden) IsServerError

func (o *GetDashboardVersionByIDForbidden) IsServerError() bool

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

func (*GetDashboardVersionByIDForbidden) IsSuccess

func (o *GetDashboardVersionByIDForbidden) IsSuccess() bool

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

func (*GetDashboardVersionByIDForbidden) String

type GetDashboardVersionByIDInternalServerError

type GetDashboardVersionByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetDashboardVersionByIDInternalServerError

func NewGetDashboardVersionByIDInternalServerError() *GetDashboardVersionByIDInternalServerError

NewGetDashboardVersionByIDInternalServerError creates a GetDashboardVersionByIDInternalServerError with default headers values

func (*GetDashboardVersionByIDInternalServerError) Code

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

func (*GetDashboardVersionByIDInternalServerError) Error

func (*GetDashboardVersionByIDInternalServerError) GetPayload

func (*GetDashboardVersionByIDInternalServerError) IsClientError

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

func (*GetDashboardVersionByIDInternalServerError) IsCode

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

func (*GetDashboardVersionByIDInternalServerError) IsRedirect

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

func (*GetDashboardVersionByIDInternalServerError) IsServerError

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

func (*GetDashboardVersionByIDInternalServerError) IsSuccess

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

func (*GetDashboardVersionByIDInternalServerError) String

type GetDashboardVersionByIDNotFound

type GetDashboardVersionByIDNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetDashboardVersionByIDNotFound

func NewGetDashboardVersionByIDNotFound() *GetDashboardVersionByIDNotFound

NewGetDashboardVersionByIDNotFound creates a GetDashboardVersionByIDNotFound with default headers values

func (*GetDashboardVersionByIDNotFound) Code

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

func (*GetDashboardVersionByIDNotFound) Error

func (*GetDashboardVersionByIDNotFound) GetPayload

func (*GetDashboardVersionByIDNotFound) IsClientError

func (o *GetDashboardVersionByIDNotFound) IsClientError() bool

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

func (*GetDashboardVersionByIDNotFound) IsCode

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

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

func (*GetDashboardVersionByIDNotFound) IsRedirect

func (o *GetDashboardVersionByIDNotFound) IsRedirect() bool

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

func (*GetDashboardVersionByIDNotFound) IsServerError

func (o *GetDashboardVersionByIDNotFound) IsServerError() bool

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

func (*GetDashboardVersionByIDNotFound) IsSuccess

func (o *GetDashboardVersionByIDNotFound) IsSuccess() bool

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

func (*GetDashboardVersionByIDNotFound) String

type GetDashboardVersionByIDOK

type GetDashboardVersionByIDOK struct {
	Payload *models.DashboardVersionMeta
}

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

(empty)

func NewGetDashboardVersionByIDOK

func NewGetDashboardVersionByIDOK() *GetDashboardVersionByIDOK

NewGetDashboardVersionByIDOK creates a GetDashboardVersionByIDOK with default headers values

func (*GetDashboardVersionByIDOK) Code

func (o *GetDashboardVersionByIDOK) Code() int

Code gets the status code for the get dashboard version by Id Ok response

func (*GetDashboardVersionByIDOK) Error

func (o *GetDashboardVersionByIDOK) Error() string

func (*GetDashboardVersionByIDOK) GetPayload

func (*GetDashboardVersionByIDOK) IsClientError

func (o *GetDashboardVersionByIDOK) IsClientError() bool

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

func (*GetDashboardVersionByIDOK) IsCode

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

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

func (*GetDashboardVersionByIDOK) IsRedirect

func (o *GetDashboardVersionByIDOK) IsRedirect() bool

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

func (*GetDashboardVersionByIDOK) IsServerError

func (o *GetDashboardVersionByIDOK) IsServerError() bool

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

func (*GetDashboardVersionByIDOK) IsSuccess

func (o *GetDashboardVersionByIDOK) IsSuccess() bool

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

func (*GetDashboardVersionByIDOK) String

func (o *GetDashboardVersionByIDOK) String() string

type GetDashboardVersionByIDParams

type GetDashboardVersionByIDParams struct {

	// DashboardID.
	//
	// Format: int64
	DashboardID int64

	// DashboardVersionID.
	//
	// Format: int64
	DashboardVersionID int64

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

GetDashboardVersionByIDParams contains all the parameters to send to the API endpoint

for the get dashboard version by ID operation.

Typically these are written to a http.Request.

func NewGetDashboardVersionByIDParams

func NewGetDashboardVersionByIDParams() *GetDashboardVersionByIDParams

NewGetDashboardVersionByIDParams creates a new GetDashboardVersionByIDParams object, with the default timeout for this client.

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

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

func NewGetDashboardVersionByIDParamsWithContext

func NewGetDashboardVersionByIDParamsWithContext(ctx context.Context) *GetDashboardVersionByIDParams

NewGetDashboardVersionByIDParamsWithContext creates a new GetDashboardVersionByIDParams object with the ability to set a context for a request.

func NewGetDashboardVersionByIDParamsWithHTTPClient

func NewGetDashboardVersionByIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionByIDParams

NewGetDashboardVersionByIDParamsWithHTTPClient creates a new GetDashboardVersionByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDashboardVersionByIDParamsWithTimeout

func NewGetDashboardVersionByIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionByIDParams

NewGetDashboardVersionByIDParamsWithTimeout creates a new GetDashboardVersionByIDParams object with the ability to set a timeout on a request.

func (*GetDashboardVersionByIDParams) SetContext

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

SetContext adds the context to the get dashboard version by ID params

func (*GetDashboardVersionByIDParams) SetDashboardID

func (o *GetDashboardVersionByIDParams) SetDashboardID(dashboardID int64)

SetDashboardID adds the dashboardId to the get dashboard version by ID params

func (*GetDashboardVersionByIDParams) SetDashboardVersionID

func (o *GetDashboardVersionByIDParams) SetDashboardVersionID(dashboardVersionID int64)

SetDashboardVersionID adds the dashboardVersionId to the get dashboard version by ID params

func (*GetDashboardVersionByIDParams) SetDefaults

func (o *GetDashboardVersionByIDParams) SetDefaults()

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

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

func (*GetDashboardVersionByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dashboard version by ID params

func (*GetDashboardVersionByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get dashboard version by ID params

func (*GetDashboardVersionByIDParams) WithContext

WithContext adds the context to the get dashboard version by ID params

func (*GetDashboardVersionByIDParams) WithDashboardID

func (o *GetDashboardVersionByIDParams) WithDashboardID(dashboardID int64) *GetDashboardVersionByIDParams

WithDashboardID adds the dashboardID to the get dashboard version by ID params

func (*GetDashboardVersionByIDParams) WithDashboardVersionID

func (o *GetDashboardVersionByIDParams) WithDashboardVersionID(dashboardVersionID int64) *GetDashboardVersionByIDParams

WithDashboardVersionID adds the dashboardVersionID to the get dashboard version by ID params

func (*GetDashboardVersionByIDParams) WithDefaults

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

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

func (*GetDashboardVersionByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get dashboard version by ID params

func (*GetDashboardVersionByIDParams) WithTimeout

WithTimeout adds the timeout to the get dashboard version by ID params

func (*GetDashboardVersionByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDashboardVersionByIDReader

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

GetDashboardVersionByIDReader is a Reader for the GetDashboardVersionByID structure.

func (*GetDashboardVersionByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDashboardVersionByIDUnauthorized

type GetDashboardVersionByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetDashboardVersionByIDUnauthorized

func NewGetDashboardVersionByIDUnauthorized() *GetDashboardVersionByIDUnauthorized

NewGetDashboardVersionByIDUnauthorized creates a GetDashboardVersionByIDUnauthorized with default headers values

func (*GetDashboardVersionByIDUnauthorized) Code

Code gets the status code for the get dashboard version by Id unauthorized response

func (*GetDashboardVersionByIDUnauthorized) Error

func (*GetDashboardVersionByIDUnauthorized) GetPayload

func (*GetDashboardVersionByIDUnauthorized) IsClientError

func (o *GetDashboardVersionByIDUnauthorized) IsClientError() bool

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

func (*GetDashboardVersionByIDUnauthorized) IsCode

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

func (*GetDashboardVersionByIDUnauthorized) IsRedirect

func (o *GetDashboardVersionByIDUnauthorized) IsRedirect() bool

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

func (*GetDashboardVersionByIDUnauthorized) IsServerError

func (o *GetDashboardVersionByIDUnauthorized) IsServerError() bool

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

func (*GetDashboardVersionByIDUnauthorized) IsSuccess

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

func (*GetDashboardVersionByIDUnauthorized) String

type GetDashboardVersionByUIDForbidden

type GetDashboardVersionByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetDashboardVersionByUIDForbidden

func NewGetDashboardVersionByUIDForbidden() *GetDashboardVersionByUIDForbidden

NewGetDashboardVersionByUIDForbidden creates a GetDashboardVersionByUIDForbidden with default headers values

func (*GetDashboardVersionByUIDForbidden) Code

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

func (*GetDashboardVersionByUIDForbidden) Error

func (*GetDashboardVersionByUIDForbidden) GetPayload

func (*GetDashboardVersionByUIDForbidden) IsClientError

func (o *GetDashboardVersionByUIDForbidden) IsClientError() bool

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

func (*GetDashboardVersionByUIDForbidden) IsCode

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

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

func (*GetDashboardVersionByUIDForbidden) IsRedirect

func (o *GetDashboardVersionByUIDForbidden) IsRedirect() bool

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

func (*GetDashboardVersionByUIDForbidden) IsServerError

func (o *GetDashboardVersionByUIDForbidden) IsServerError() bool

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

func (*GetDashboardVersionByUIDForbidden) IsSuccess

func (o *GetDashboardVersionByUIDForbidden) IsSuccess() bool

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

func (*GetDashboardVersionByUIDForbidden) String

type GetDashboardVersionByUIDInternalServerError

type GetDashboardVersionByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetDashboardVersionByUIDInternalServerError

func NewGetDashboardVersionByUIDInternalServerError() *GetDashboardVersionByUIDInternalServerError

NewGetDashboardVersionByUIDInternalServerError creates a GetDashboardVersionByUIDInternalServerError with default headers values

func (*GetDashboardVersionByUIDInternalServerError) Code

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

func (*GetDashboardVersionByUIDInternalServerError) Error

func (*GetDashboardVersionByUIDInternalServerError) GetPayload

func (*GetDashboardVersionByUIDInternalServerError) IsClientError

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

func (*GetDashboardVersionByUIDInternalServerError) IsCode

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

func (*GetDashboardVersionByUIDInternalServerError) IsRedirect

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

func (*GetDashboardVersionByUIDInternalServerError) IsServerError

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

func (*GetDashboardVersionByUIDInternalServerError) IsSuccess

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

func (*GetDashboardVersionByUIDInternalServerError) String

type GetDashboardVersionByUIDNotFound

type GetDashboardVersionByUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetDashboardVersionByUIDNotFound

func NewGetDashboardVersionByUIDNotFound() *GetDashboardVersionByUIDNotFound

NewGetDashboardVersionByUIDNotFound creates a GetDashboardVersionByUIDNotFound with default headers values

func (*GetDashboardVersionByUIDNotFound) Code

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

func (*GetDashboardVersionByUIDNotFound) Error

func (*GetDashboardVersionByUIDNotFound) GetPayload

func (*GetDashboardVersionByUIDNotFound) IsClientError

func (o *GetDashboardVersionByUIDNotFound) IsClientError() bool

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

func (*GetDashboardVersionByUIDNotFound) IsCode

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

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

func (*GetDashboardVersionByUIDNotFound) IsRedirect

func (o *GetDashboardVersionByUIDNotFound) IsRedirect() bool

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

func (*GetDashboardVersionByUIDNotFound) IsServerError

func (o *GetDashboardVersionByUIDNotFound) IsServerError() bool

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

func (*GetDashboardVersionByUIDNotFound) IsSuccess

func (o *GetDashboardVersionByUIDNotFound) IsSuccess() bool

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

func (*GetDashboardVersionByUIDNotFound) String

type GetDashboardVersionByUIDOK

type GetDashboardVersionByUIDOK struct {
	Payload *models.DashboardVersionMeta
}

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

(empty)

func NewGetDashboardVersionByUIDOK

func NewGetDashboardVersionByUIDOK() *GetDashboardVersionByUIDOK

NewGetDashboardVersionByUIDOK creates a GetDashboardVersionByUIDOK with default headers values

func (*GetDashboardVersionByUIDOK) Code

func (o *GetDashboardVersionByUIDOK) Code() int

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

func (*GetDashboardVersionByUIDOK) Error

func (*GetDashboardVersionByUIDOK) GetPayload

func (*GetDashboardVersionByUIDOK) IsClientError

func (o *GetDashboardVersionByUIDOK) IsClientError() bool

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

func (*GetDashboardVersionByUIDOK) IsCode

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

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

func (*GetDashboardVersionByUIDOK) IsRedirect

func (o *GetDashboardVersionByUIDOK) IsRedirect() bool

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

func (*GetDashboardVersionByUIDOK) IsServerError

func (o *GetDashboardVersionByUIDOK) IsServerError() bool

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

func (*GetDashboardVersionByUIDOK) IsSuccess

func (o *GetDashboardVersionByUIDOK) IsSuccess() bool

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

func (*GetDashboardVersionByUIDOK) String

func (o *GetDashboardVersionByUIDOK) String() string

type GetDashboardVersionByUIDParams

type GetDashboardVersionByUIDParams struct {

	// DashboardVersionID.
	//
	// Format: int64
	DashboardVersionID int64

	// UID.
	UID string

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

GetDashboardVersionByUIDParams contains all the parameters to send to the API endpoint

for the get dashboard version by UID operation.

Typically these are written to a http.Request.

func NewGetDashboardVersionByUIDParams

func NewGetDashboardVersionByUIDParams() *GetDashboardVersionByUIDParams

NewGetDashboardVersionByUIDParams creates a new GetDashboardVersionByUIDParams object, with the default timeout for this client.

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

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

func NewGetDashboardVersionByUIDParamsWithContext

func NewGetDashboardVersionByUIDParamsWithContext(ctx context.Context) *GetDashboardVersionByUIDParams

NewGetDashboardVersionByUIDParamsWithContext creates a new GetDashboardVersionByUIDParams object with the ability to set a context for a request.

func NewGetDashboardVersionByUIDParamsWithHTTPClient

func NewGetDashboardVersionByUIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionByUIDParams

NewGetDashboardVersionByUIDParamsWithHTTPClient creates a new GetDashboardVersionByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDashboardVersionByUIDParamsWithTimeout

func NewGetDashboardVersionByUIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionByUIDParams

NewGetDashboardVersionByUIDParamsWithTimeout creates a new GetDashboardVersionByUIDParams object with the ability to set a timeout on a request.

func (*GetDashboardVersionByUIDParams) SetContext

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

SetContext adds the context to the get dashboard version by UID params

func (*GetDashboardVersionByUIDParams) SetDashboardVersionID

func (o *GetDashboardVersionByUIDParams) SetDashboardVersionID(dashboardVersionID int64)

SetDashboardVersionID adds the dashboardVersionId to the get dashboard version by UID params

func (*GetDashboardVersionByUIDParams) SetDefaults

func (o *GetDashboardVersionByUIDParams) SetDefaults()

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

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

func (*GetDashboardVersionByUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dashboard version by UID params

func (*GetDashboardVersionByUIDParams) SetTimeout

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

SetTimeout adds the timeout to the get dashboard version by UID params

func (*GetDashboardVersionByUIDParams) SetUID

func (o *GetDashboardVersionByUIDParams) SetUID(uid string)

SetUID adds the uid to the get dashboard version by UID params

func (*GetDashboardVersionByUIDParams) WithContext

WithContext adds the context to the get dashboard version by UID params

func (*GetDashboardVersionByUIDParams) WithDashboardVersionID

func (o *GetDashboardVersionByUIDParams) WithDashboardVersionID(dashboardVersionID int64) *GetDashboardVersionByUIDParams

WithDashboardVersionID adds the dashboardVersionID to the get dashboard version by UID params

func (*GetDashboardVersionByUIDParams) WithDefaults

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

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

func (*GetDashboardVersionByUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get dashboard version by UID params

func (*GetDashboardVersionByUIDParams) WithTimeout

WithTimeout adds the timeout to the get dashboard version by UID params

func (*GetDashboardVersionByUIDParams) WithUID

WithUID adds the uid to the get dashboard version by UID params

func (*GetDashboardVersionByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDashboardVersionByUIDReader

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

GetDashboardVersionByUIDReader is a Reader for the GetDashboardVersionByUID structure.

func (*GetDashboardVersionByUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDashboardVersionByUIDUnauthorized

type GetDashboardVersionByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetDashboardVersionByUIDUnauthorized

func NewGetDashboardVersionByUIDUnauthorized() *GetDashboardVersionByUIDUnauthorized

NewGetDashboardVersionByUIDUnauthorized creates a GetDashboardVersionByUIDUnauthorized with default headers values

func (*GetDashboardVersionByUIDUnauthorized) Code

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

func (*GetDashboardVersionByUIDUnauthorized) Error

func (*GetDashboardVersionByUIDUnauthorized) GetPayload

func (*GetDashboardVersionByUIDUnauthorized) IsClientError

func (o *GetDashboardVersionByUIDUnauthorized) IsClientError() bool

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

func (*GetDashboardVersionByUIDUnauthorized) IsCode

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

func (*GetDashboardVersionByUIDUnauthorized) IsRedirect

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

func (*GetDashboardVersionByUIDUnauthorized) IsServerError

func (o *GetDashboardVersionByUIDUnauthorized) IsServerError() bool

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

func (*GetDashboardVersionByUIDUnauthorized) IsSuccess

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

func (*GetDashboardVersionByUIDUnauthorized) String

type GetDashboardVersionsByIDForbidden

type GetDashboardVersionsByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetDashboardVersionsByIDForbidden

func NewGetDashboardVersionsByIDForbidden() *GetDashboardVersionsByIDForbidden

NewGetDashboardVersionsByIDForbidden creates a GetDashboardVersionsByIDForbidden with default headers values

func (*GetDashboardVersionsByIDForbidden) Code

Code gets the status code for the get dashboard versions by Id forbidden response

func (*GetDashboardVersionsByIDForbidden) Error

func (*GetDashboardVersionsByIDForbidden) GetPayload

func (*GetDashboardVersionsByIDForbidden) IsClientError

func (o *GetDashboardVersionsByIDForbidden) IsClientError() bool

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

func (*GetDashboardVersionsByIDForbidden) IsCode

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

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

func (*GetDashboardVersionsByIDForbidden) IsRedirect

func (o *GetDashboardVersionsByIDForbidden) IsRedirect() bool

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

func (*GetDashboardVersionsByIDForbidden) IsServerError

func (o *GetDashboardVersionsByIDForbidden) IsServerError() bool

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

func (*GetDashboardVersionsByIDForbidden) IsSuccess

func (o *GetDashboardVersionsByIDForbidden) IsSuccess() bool

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

func (*GetDashboardVersionsByIDForbidden) String

type GetDashboardVersionsByIDInternalServerError

type GetDashboardVersionsByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetDashboardVersionsByIDInternalServerError

func NewGetDashboardVersionsByIDInternalServerError() *GetDashboardVersionsByIDInternalServerError

NewGetDashboardVersionsByIDInternalServerError creates a GetDashboardVersionsByIDInternalServerError with default headers values

func (*GetDashboardVersionsByIDInternalServerError) Code

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

func (*GetDashboardVersionsByIDInternalServerError) Error

func (*GetDashboardVersionsByIDInternalServerError) GetPayload

func (*GetDashboardVersionsByIDInternalServerError) IsClientError

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

func (*GetDashboardVersionsByIDInternalServerError) IsCode

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

func (*GetDashboardVersionsByIDInternalServerError) IsRedirect

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

func (*GetDashboardVersionsByIDInternalServerError) IsServerError

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

func (*GetDashboardVersionsByIDInternalServerError) IsSuccess

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

func (*GetDashboardVersionsByIDInternalServerError) String

type GetDashboardVersionsByIDNotFound

type GetDashboardVersionsByIDNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetDashboardVersionsByIDNotFound

func NewGetDashboardVersionsByIDNotFound() *GetDashboardVersionsByIDNotFound

NewGetDashboardVersionsByIDNotFound creates a GetDashboardVersionsByIDNotFound with default headers values

func (*GetDashboardVersionsByIDNotFound) Code

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

func (*GetDashboardVersionsByIDNotFound) Error

func (*GetDashboardVersionsByIDNotFound) GetPayload

func (*GetDashboardVersionsByIDNotFound) IsClientError

func (o *GetDashboardVersionsByIDNotFound) IsClientError() bool

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

func (*GetDashboardVersionsByIDNotFound) IsCode

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

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

func (*GetDashboardVersionsByIDNotFound) IsRedirect

func (o *GetDashboardVersionsByIDNotFound) IsRedirect() bool

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

func (*GetDashboardVersionsByIDNotFound) IsServerError

func (o *GetDashboardVersionsByIDNotFound) IsServerError() bool

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

func (*GetDashboardVersionsByIDNotFound) IsSuccess

func (o *GetDashboardVersionsByIDNotFound) IsSuccess() bool

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

func (*GetDashboardVersionsByIDNotFound) String

type GetDashboardVersionsByIDOK

type GetDashboardVersionsByIDOK struct {
	Payload []*models.DashboardVersionMeta
}

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

(empty)

func NewGetDashboardVersionsByIDOK

func NewGetDashboardVersionsByIDOK() *GetDashboardVersionsByIDOK

NewGetDashboardVersionsByIDOK creates a GetDashboardVersionsByIDOK with default headers values

func (*GetDashboardVersionsByIDOK) Code

func (o *GetDashboardVersionsByIDOK) Code() int

Code gets the status code for the get dashboard versions by Id Ok response

func (*GetDashboardVersionsByIDOK) Error

func (*GetDashboardVersionsByIDOK) GetPayload

func (*GetDashboardVersionsByIDOK) IsClientError

func (o *GetDashboardVersionsByIDOK) IsClientError() bool

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

func (*GetDashboardVersionsByIDOK) IsCode

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

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

func (*GetDashboardVersionsByIDOK) IsRedirect

func (o *GetDashboardVersionsByIDOK) IsRedirect() bool

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

func (*GetDashboardVersionsByIDOK) IsServerError

func (o *GetDashboardVersionsByIDOK) IsServerError() bool

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

func (*GetDashboardVersionsByIDOK) IsSuccess

func (o *GetDashboardVersionsByIDOK) IsSuccess() bool

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

func (*GetDashboardVersionsByIDOK) String

func (o *GetDashboardVersionsByIDOK) String() string

type GetDashboardVersionsByIDParams

type GetDashboardVersionsByIDParams struct {

	// DashboardID.
	//
	// Format: int64
	DashboardID int64

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

GetDashboardVersionsByIDParams contains all the parameters to send to the API endpoint

for the get dashboard versions by ID operation.

Typically these are written to a http.Request.

func NewGetDashboardVersionsByIDParams

func NewGetDashboardVersionsByIDParams() *GetDashboardVersionsByIDParams

NewGetDashboardVersionsByIDParams creates a new GetDashboardVersionsByIDParams object, with the default timeout for this client.

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

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

func NewGetDashboardVersionsByIDParamsWithContext

func NewGetDashboardVersionsByIDParamsWithContext(ctx context.Context) *GetDashboardVersionsByIDParams

NewGetDashboardVersionsByIDParamsWithContext creates a new GetDashboardVersionsByIDParams object with the ability to set a context for a request.

func NewGetDashboardVersionsByIDParamsWithHTTPClient

func NewGetDashboardVersionsByIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionsByIDParams

NewGetDashboardVersionsByIDParamsWithHTTPClient creates a new GetDashboardVersionsByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDashboardVersionsByIDParamsWithTimeout

func NewGetDashboardVersionsByIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionsByIDParams

NewGetDashboardVersionsByIDParamsWithTimeout creates a new GetDashboardVersionsByIDParams object with the ability to set a timeout on a request.

func (*GetDashboardVersionsByIDParams) SetContext

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

SetContext adds the context to the get dashboard versions by ID params

func (*GetDashboardVersionsByIDParams) SetDashboardID

func (o *GetDashboardVersionsByIDParams) SetDashboardID(dashboardID int64)

SetDashboardID adds the dashboardId to the get dashboard versions by ID params

func (*GetDashboardVersionsByIDParams) SetDefaults

func (o *GetDashboardVersionsByIDParams) SetDefaults()

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

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

func (*GetDashboardVersionsByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dashboard versions by ID params

func (*GetDashboardVersionsByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get dashboard versions by ID params

func (*GetDashboardVersionsByIDParams) WithContext

WithContext adds the context to the get dashboard versions by ID params

func (*GetDashboardVersionsByIDParams) WithDashboardID

func (o *GetDashboardVersionsByIDParams) WithDashboardID(dashboardID int64) *GetDashboardVersionsByIDParams

WithDashboardID adds the dashboardID to the get dashboard versions by ID params

func (*GetDashboardVersionsByIDParams) WithDefaults

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

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

func (*GetDashboardVersionsByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get dashboard versions by ID params

func (*GetDashboardVersionsByIDParams) WithTimeout

WithTimeout adds the timeout to the get dashboard versions by ID params

func (*GetDashboardVersionsByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDashboardVersionsByIDReader

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

GetDashboardVersionsByIDReader is a Reader for the GetDashboardVersionsByID structure.

func (*GetDashboardVersionsByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDashboardVersionsByIDUnauthorized

type GetDashboardVersionsByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetDashboardVersionsByIDUnauthorized

func NewGetDashboardVersionsByIDUnauthorized() *GetDashboardVersionsByIDUnauthorized

NewGetDashboardVersionsByIDUnauthorized creates a GetDashboardVersionsByIDUnauthorized with default headers values

func (*GetDashboardVersionsByIDUnauthorized) Code

Code gets the status code for the get dashboard versions by Id unauthorized response

func (*GetDashboardVersionsByIDUnauthorized) Error

func (*GetDashboardVersionsByIDUnauthorized) GetPayload

func (*GetDashboardVersionsByIDUnauthorized) IsClientError

func (o *GetDashboardVersionsByIDUnauthorized) IsClientError() bool

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

func (*GetDashboardVersionsByIDUnauthorized) IsCode

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

func (*GetDashboardVersionsByIDUnauthorized) IsRedirect

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

func (*GetDashboardVersionsByIDUnauthorized) IsServerError

func (o *GetDashboardVersionsByIDUnauthorized) IsServerError() bool

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

func (*GetDashboardVersionsByIDUnauthorized) IsSuccess

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

func (*GetDashboardVersionsByIDUnauthorized) String

type GetDashboardVersionsByUIDForbidden

type GetDashboardVersionsByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewGetDashboardVersionsByUIDForbidden

func NewGetDashboardVersionsByUIDForbidden() *GetDashboardVersionsByUIDForbidden

NewGetDashboardVersionsByUIDForbidden creates a GetDashboardVersionsByUIDForbidden with default headers values

func (*GetDashboardVersionsByUIDForbidden) Code

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

func (*GetDashboardVersionsByUIDForbidden) Error

func (*GetDashboardVersionsByUIDForbidden) GetPayload

func (*GetDashboardVersionsByUIDForbidden) IsClientError

func (o *GetDashboardVersionsByUIDForbidden) IsClientError() bool

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

func (*GetDashboardVersionsByUIDForbidden) IsCode

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

func (*GetDashboardVersionsByUIDForbidden) IsRedirect

func (o *GetDashboardVersionsByUIDForbidden) IsRedirect() bool

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

func (*GetDashboardVersionsByUIDForbidden) IsServerError

func (o *GetDashboardVersionsByUIDForbidden) IsServerError() bool

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

func (*GetDashboardVersionsByUIDForbidden) IsSuccess

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

func (*GetDashboardVersionsByUIDForbidden) String

type GetDashboardVersionsByUIDInternalServerError

type GetDashboardVersionsByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewGetDashboardVersionsByUIDInternalServerError

func NewGetDashboardVersionsByUIDInternalServerError() *GetDashboardVersionsByUIDInternalServerError

NewGetDashboardVersionsByUIDInternalServerError creates a GetDashboardVersionsByUIDInternalServerError with default headers values

func (*GetDashboardVersionsByUIDInternalServerError) Code

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

func (*GetDashboardVersionsByUIDInternalServerError) Error

func (*GetDashboardVersionsByUIDInternalServerError) GetPayload

func (*GetDashboardVersionsByUIDInternalServerError) IsClientError

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

func (*GetDashboardVersionsByUIDInternalServerError) IsCode

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

func (*GetDashboardVersionsByUIDInternalServerError) IsRedirect

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

func (*GetDashboardVersionsByUIDInternalServerError) IsServerError

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

func (*GetDashboardVersionsByUIDInternalServerError) IsSuccess

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

func (*GetDashboardVersionsByUIDInternalServerError) String

type GetDashboardVersionsByUIDNotFound

type GetDashboardVersionsByUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetDashboardVersionsByUIDNotFound

func NewGetDashboardVersionsByUIDNotFound() *GetDashboardVersionsByUIDNotFound

NewGetDashboardVersionsByUIDNotFound creates a GetDashboardVersionsByUIDNotFound with default headers values

func (*GetDashboardVersionsByUIDNotFound) Code

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

func (*GetDashboardVersionsByUIDNotFound) Error

func (*GetDashboardVersionsByUIDNotFound) GetPayload

func (*GetDashboardVersionsByUIDNotFound) IsClientError

func (o *GetDashboardVersionsByUIDNotFound) IsClientError() bool

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

func (*GetDashboardVersionsByUIDNotFound) IsCode

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

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

func (*GetDashboardVersionsByUIDNotFound) IsRedirect

func (o *GetDashboardVersionsByUIDNotFound) IsRedirect() bool

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

func (*GetDashboardVersionsByUIDNotFound) IsServerError

func (o *GetDashboardVersionsByUIDNotFound) IsServerError() bool

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

func (*GetDashboardVersionsByUIDNotFound) IsSuccess

func (o *GetDashboardVersionsByUIDNotFound) IsSuccess() bool

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

func (*GetDashboardVersionsByUIDNotFound) String

type GetDashboardVersionsByUIDOK

type GetDashboardVersionsByUIDOK struct {
	Payload []*models.DashboardVersionMeta
}

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

(empty)

func NewGetDashboardVersionsByUIDOK

func NewGetDashboardVersionsByUIDOK() *GetDashboardVersionsByUIDOK

NewGetDashboardVersionsByUIDOK creates a GetDashboardVersionsByUIDOK with default headers values

func (*GetDashboardVersionsByUIDOK) Code

func (o *GetDashboardVersionsByUIDOK) Code() int

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

func (*GetDashboardVersionsByUIDOK) Error

func (*GetDashboardVersionsByUIDOK) GetPayload

func (*GetDashboardVersionsByUIDOK) IsClientError

func (o *GetDashboardVersionsByUIDOK) IsClientError() bool

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

func (*GetDashboardVersionsByUIDOK) IsCode

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

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

func (*GetDashboardVersionsByUIDOK) IsRedirect

func (o *GetDashboardVersionsByUIDOK) IsRedirect() bool

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

func (*GetDashboardVersionsByUIDOK) IsServerError

func (o *GetDashboardVersionsByUIDOK) IsServerError() bool

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

func (*GetDashboardVersionsByUIDOK) IsSuccess

func (o *GetDashboardVersionsByUIDOK) IsSuccess() bool

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

func (*GetDashboardVersionsByUIDOK) String

func (o *GetDashboardVersionsByUIDOK) String() string

type GetDashboardVersionsByUIDParams

type GetDashboardVersionsByUIDParams struct {

	/* Limit.

	   Maximum number of results to return

	   Format: int64
	*/
	Limit *int64

	/* Start.

	   Version to start from when returning queries

	   Format: int64
	*/
	Start *int64

	// UID.
	UID string

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

GetDashboardVersionsByUIDParams contains all the parameters to send to the API endpoint

for the get dashboard versions by UID operation.

Typically these are written to a http.Request.

func NewGetDashboardVersionsByUIDParams

func NewGetDashboardVersionsByUIDParams() *GetDashboardVersionsByUIDParams

NewGetDashboardVersionsByUIDParams creates a new GetDashboardVersionsByUIDParams object, with the default timeout for this client.

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

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

func NewGetDashboardVersionsByUIDParamsWithContext

func NewGetDashboardVersionsByUIDParamsWithContext(ctx context.Context) *GetDashboardVersionsByUIDParams

NewGetDashboardVersionsByUIDParamsWithContext creates a new GetDashboardVersionsByUIDParams object with the ability to set a context for a request.

func NewGetDashboardVersionsByUIDParamsWithHTTPClient

func NewGetDashboardVersionsByUIDParamsWithHTTPClient(client *http.Client) *GetDashboardVersionsByUIDParams

NewGetDashboardVersionsByUIDParamsWithHTTPClient creates a new GetDashboardVersionsByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDashboardVersionsByUIDParamsWithTimeout

func NewGetDashboardVersionsByUIDParamsWithTimeout(timeout time.Duration) *GetDashboardVersionsByUIDParams

NewGetDashboardVersionsByUIDParamsWithTimeout creates a new GetDashboardVersionsByUIDParams object with the ability to set a timeout on a request.

func (*GetDashboardVersionsByUIDParams) SetContext

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

SetContext adds the context to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) SetDefaults

func (o *GetDashboardVersionsByUIDParams) SetDefaults()

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

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

func (*GetDashboardVersionsByUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) SetLimit

func (o *GetDashboardVersionsByUIDParams) SetLimit(limit *int64)

SetLimit adds the limit to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) SetStart

func (o *GetDashboardVersionsByUIDParams) SetStart(start *int64)

SetStart adds the start to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) SetTimeout

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

SetTimeout adds the timeout to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) SetUID

func (o *GetDashboardVersionsByUIDParams) SetUID(uid string)

SetUID adds the uid to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) WithContext

WithContext adds the context to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) WithDefaults

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

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

func (*GetDashboardVersionsByUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) WithLimit

WithLimit adds the limit to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) WithStart

WithStart adds the start to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) WithTimeout

WithTimeout adds the timeout to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) WithUID

WithUID adds the uid to the get dashboard versions by UID params

func (*GetDashboardVersionsByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDashboardVersionsByUIDReader

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

GetDashboardVersionsByUIDReader is a Reader for the GetDashboardVersionsByUID structure.

func (*GetDashboardVersionsByUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDashboardVersionsByUIDUnauthorized

type GetDashboardVersionsByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetDashboardVersionsByUIDUnauthorized

func NewGetDashboardVersionsByUIDUnauthorized() *GetDashboardVersionsByUIDUnauthorized

NewGetDashboardVersionsByUIDUnauthorized creates a GetDashboardVersionsByUIDUnauthorized with default headers values

func (*GetDashboardVersionsByUIDUnauthorized) Code

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

func (*GetDashboardVersionsByUIDUnauthorized) Error

func (*GetDashboardVersionsByUIDUnauthorized) GetPayload

func (*GetDashboardVersionsByUIDUnauthorized) IsClientError

func (o *GetDashboardVersionsByUIDUnauthorized) IsClientError() bool

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

func (*GetDashboardVersionsByUIDUnauthorized) IsCode

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

func (*GetDashboardVersionsByUIDUnauthorized) IsRedirect

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

func (*GetDashboardVersionsByUIDUnauthorized) IsServerError

func (o *GetDashboardVersionsByUIDUnauthorized) IsServerError() bool

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

func (*GetDashboardVersionsByUIDUnauthorized) IsSuccess

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

func (*GetDashboardVersionsByUIDUnauthorized) String

type RestoreDashboardVersionByIDForbidden

type RestoreDashboardVersionByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewRestoreDashboardVersionByIDForbidden

func NewRestoreDashboardVersionByIDForbidden() *RestoreDashboardVersionByIDForbidden

NewRestoreDashboardVersionByIDForbidden creates a RestoreDashboardVersionByIDForbidden with default headers values

func (*RestoreDashboardVersionByIDForbidden) Code

Code gets the status code for the restore dashboard version by Id forbidden response

func (*RestoreDashboardVersionByIDForbidden) Error

func (*RestoreDashboardVersionByIDForbidden) GetPayload

func (*RestoreDashboardVersionByIDForbidden) IsClientError

func (o *RestoreDashboardVersionByIDForbidden) IsClientError() bool

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

func (*RestoreDashboardVersionByIDForbidden) IsCode

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

func (*RestoreDashboardVersionByIDForbidden) IsRedirect

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

func (*RestoreDashboardVersionByIDForbidden) IsServerError

func (o *RestoreDashboardVersionByIDForbidden) IsServerError() bool

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

func (*RestoreDashboardVersionByIDForbidden) IsSuccess

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

func (*RestoreDashboardVersionByIDForbidden) String

type RestoreDashboardVersionByIDInternalServerError

type RestoreDashboardVersionByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewRestoreDashboardVersionByIDInternalServerError

func NewRestoreDashboardVersionByIDInternalServerError() *RestoreDashboardVersionByIDInternalServerError

NewRestoreDashboardVersionByIDInternalServerError creates a RestoreDashboardVersionByIDInternalServerError with default headers values

func (*RestoreDashboardVersionByIDInternalServerError) Code

Code gets the status code for the restore dashboard version by Id internal server error response

func (*RestoreDashboardVersionByIDInternalServerError) Error

func (*RestoreDashboardVersionByIDInternalServerError) GetPayload

func (*RestoreDashboardVersionByIDInternalServerError) IsClientError

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

func (*RestoreDashboardVersionByIDInternalServerError) IsCode

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

func (*RestoreDashboardVersionByIDInternalServerError) IsRedirect

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

func (*RestoreDashboardVersionByIDInternalServerError) IsServerError

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

func (*RestoreDashboardVersionByIDInternalServerError) IsSuccess

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

func (*RestoreDashboardVersionByIDInternalServerError) String

type RestoreDashboardVersionByIDNotFound

type RestoreDashboardVersionByIDNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewRestoreDashboardVersionByIDNotFound

func NewRestoreDashboardVersionByIDNotFound() *RestoreDashboardVersionByIDNotFound

NewRestoreDashboardVersionByIDNotFound creates a RestoreDashboardVersionByIDNotFound with default headers values

func (*RestoreDashboardVersionByIDNotFound) Code

Code gets the status code for the restore dashboard version by Id not found response

func (*RestoreDashboardVersionByIDNotFound) Error

func (*RestoreDashboardVersionByIDNotFound) GetPayload

func (*RestoreDashboardVersionByIDNotFound) IsClientError

func (o *RestoreDashboardVersionByIDNotFound) IsClientError() bool

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

func (*RestoreDashboardVersionByIDNotFound) IsCode

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

func (*RestoreDashboardVersionByIDNotFound) IsRedirect

func (o *RestoreDashboardVersionByIDNotFound) IsRedirect() bool

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

func (*RestoreDashboardVersionByIDNotFound) IsServerError

func (o *RestoreDashboardVersionByIDNotFound) IsServerError() bool

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

func (*RestoreDashboardVersionByIDNotFound) IsSuccess

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

func (*RestoreDashboardVersionByIDNotFound) String

type RestoreDashboardVersionByIDOK

type RestoreDashboardVersionByIDOK struct {
	Payload *models.RestoreDashboardVersionByIDOKBody
}

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

(empty)

func NewRestoreDashboardVersionByIDOK

func NewRestoreDashboardVersionByIDOK() *RestoreDashboardVersionByIDOK

NewRestoreDashboardVersionByIDOK creates a RestoreDashboardVersionByIDOK with default headers values

func (*RestoreDashboardVersionByIDOK) Code

Code gets the status code for the restore dashboard version by Id Ok response

func (*RestoreDashboardVersionByIDOK) Error

func (*RestoreDashboardVersionByIDOK) GetPayload

func (*RestoreDashboardVersionByIDOK) IsClientError

func (o *RestoreDashboardVersionByIDOK) IsClientError() bool

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

func (*RestoreDashboardVersionByIDOK) IsCode

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

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

func (*RestoreDashboardVersionByIDOK) IsRedirect

func (o *RestoreDashboardVersionByIDOK) IsRedirect() bool

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

func (*RestoreDashboardVersionByIDOK) IsServerError

func (o *RestoreDashboardVersionByIDOK) IsServerError() bool

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

func (*RestoreDashboardVersionByIDOK) IsSuccess

func (o *RestoreDashboardVersionByIDOK) IsSuccess() bool

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

func (*RestoreDashboardVersionByIDOK) String

type RestoreDashboardVersionByIDParams

type RestoreDashboardVersionByIDParams struct {

	// Body.
	Body *models.RestoreDashboardVersionCommand

	// DashboardID.
	//
	// Format: int64
	DashboardID int64

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

RestoreDashboardVersionByIDParams contains all the parameters to send to the API endpoint

for the restore dashboard version by ID operation.

Typically these are written to a http.Request.

func NewRestoreDashboardVersionByIDParams

func NewRestoreDashboardVersionByIDParams() *RestoreDashboardVersionByIDParams

NewRestoreDashboardVersionByIDParams creates a new RestoreDashboardVersionByIDParams object, with the default timeout for this client.

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

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

func NewRestoreDashboardVersionByIDParamsWithContext

func NewRestoreDashboardVersionByIDParamsWithContext(ctx context.Context) *RestoreDashboardVersionByIDParams

NewRestoreDashboardVersionByIDParamsWithContext creates a new RestoreDashboardVersionByIDParams object with the ability to set a context for a request.

func NewRestoreDashboardVersionByIDParamsWithHTTPClient

func NewRestoreDashboardVersionByIDParamsWithHTTPClient(client *http.Client) *RestoreDashboardVersionByIDParams

NewRestoreDashboardVersionByIDParamsWithHTTPClient creates a new RestoreDashboardVersionByIDParams object with the ability to set a custom HTTPClient for a request.

func NewRestoreDashboardVersionByIDParamsWithTimeout

func NewRestoreDashboardVersionByIDParamsWithTimeout(timeout time.Duration) *RestoreDashboardVersionByIDParams

NewRestoreDashboardVersionByIDParamsWithTimeout creates a new RestoreDashboardVersionByIDParams object with the ability to set a timeout on a request.

func (*RestoreDashboardVersionByIDParams) SetBody

SetBody adds the body to the restore dashboard version by ID params

func (*RestoreDashboardVersionByIDParams) SetContext

SetContext adds the context to the restore dashboard version by ID params

func (*RestoreDashboardVersionByIDParams) SetDashboardID

func (o *RestoreDashboardVersionByIDParams) SetDashboardID(dashboardID int64)

SetDashboardID adds the dashboardId to the restore dashboard version by ID params

func (*RestoreDashboardVersionByIDParams) SetDefaults

func (o *RestoreDashboardVersionByIDParams) SetDefaults()

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

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

func (*RestoreDashboardVersionByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restore dashboard version by ID params

func (*RestoreDashboardVersionByIDParams) SetTimeout

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

SetTimeout adds the timeout to the restore dashboard version by ID params

func (*RestoreDashboardVersionByIDParams) WithBody

WithBody adds the body to the restore dashboard version by ID params

func (*RestoreDashboardVersionByIDParams) WithContext

WithContext adds the context to the restore dashboard version by ID params

func (*RestoreDashboardVersionByIDParams) WithDashboardID

WithDashboardID adds the dashboardID to the restore dashboard version by ID params

func (*RestoreDashboardVersionByIDParams) WithDefaults

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

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

func (*RestoreDashboardVersionByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the restore dashboard version by ID params

func (*RestoreDashboardVersionByIDParams) WithTimeout

WithTimeout adds the timeout to the restore dashboard version by ID params

func (*RestoreDashboardVersionByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestoreDashboardVersionByIDReader

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

RestoreDashboardVersionByIDReader is a Reader for the RestoreDashboardVersionByID structure.

func (*RestoreDashboardVersionByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestoreDashboardVersionByIDUnauthorized

type RestoreDashboardVersionByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewRestoreDashboardVersionByIDUnauthorized

func NewRestoreDashboardVersionByIDUnauthorized() *RestoreDashboardVersionByIDUnauthorized

NewRestoreDashboardVersionByIDUnauthorized creates a RestoreDashboardVersionByIDUnauthorized with default headers values

func (*RestoreDashboardVersionByIDUnauthorized) Code

Code gets the status code for the restore dashboard version by Id unauthorized response

func (*RestoreDashboardVersionByIDUnauthorized) Error

func (*RestoreDashboardVersionByIDUnauthorized) GetPayload

func (*RestoreDashboardVersionByIDUnauthorized) IsClientError

func (o *RestoreDashboardVersionByIDUnauthorized) IsClientError() bool

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

func (*RestoreDashboardVersionByIDUnauthorized) IsCode

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

func (*RestoreDashboardVersionByIDUnauthorized) IsRedirect

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

func (*RestoreDashboardVersionByIDUnauthorized) IsServerError

func (o *RestoreDashboardVersionByIDUnauthorized) IsServerError() bool

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

func (*RestoreDashboardVersionByIDUnauthorized) IsSuccess

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

func (*RestoreDashboardVersionByIDUnauthorized) String

type RestoreDashboardVersionByUIDForbidden

type RestoreDashboardVersionByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

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

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

func NewRestoreDashboardVersionByUIDForbidden

func NewRestoreDashboardVersionByUIDForbidden() *RestoreDashboardVersionByUIDForbidden

NewRestoreDashboardVersionByUIDForbidden creates a RestoreDashboardVersionByUIDForbidden with default headers values

func (*RestoreDashboardVersionByUIDForbidden) Code

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

func (*RestoreDashboardVersionByUIDForbidden) Error

func (*RestoreDashboardVersionByUIDForbidden) GetPayload

func (*RestoreDashboardVersionByUIDForbidden) IsClientError

func (o *RestoreDashboardVersionByUIDForbidden) IsClientError() bool

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

func (*RestoreDashboardVersionByUIDForbidden) IsCode

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

func (*RestoreDashboardVersionByUIDForbidden) IsRedirect

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

func (*RestoreDashboardVersionByUIDForbidden) IsServerError

func (o *RestoreDashboardVersionByUIDForbidden) IsServerError() bool

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

func (*RestoreDashboardVersionByUIDForbidden) IsSuccess

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

func (*RestoreDashboardVersionByUIDForbidden) String

type RestoreDashboardVersionByUIDInternalServerError

type RestoreDashboardVersionByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewRestoreDashboardVersionByUIDInternalServerError

func NewRestoreDashboardVersionByUIDInternalServerError() *RestoreDashboardVersionByUIDInternalServerError

NewRestoreDashboardVersionByUIDInternalServerError creates a RestoreDashboardVersionByUIDInternalServerError with default headers values

func (*RestoreDashboardVersionByUIDInternalServerError) Code

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

func (*RestoreDashboardVersionByUIDInternalServerError) Error

func (*RestoreDashboardVersionByUIDInternalServerError) GetPayload

func (*RestoreDashboardVersionByUIDInternalServerError) IsClientError

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

func (*RestoreDashboardVersionByUIDInternalServerError) IsCode

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

func (*RestoreDashboardVersionByUIDInternalServerError) IsRedirect

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

func (*RestoreDashboardVersionByUIDInternalServerError) IsServerError

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

func (*RestoreDashboardVersionByUIDInternalServerError) IsSuccess

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

func (*RestoreDashboardVersionByUIDInternalServerError) String

type RestoreDashboardVersionByUIDNotFound

type RestoreDashboardVersionByUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewRestoreDashboardVersionByUIDNotFound

func NewRestoreDashboardVersionByUIDNotFound() *RestoreDashboardVersionByUIDNotFound

NewRestoreDashboardVersionByUIDNotFound creates a RestoreDashboardVersionByUIDNotFound with default headers values

func (*RestoreDashboardVersionByUIDNotFound) Code

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

func (*RestoreDashboardVersionByUIDNotFound) Error

func (*RestoreDashboardVersionByUIDNotFound) GetPayload

func (*RestoreDashboardVersionByUIDNotFound) IsClientError

func (o *RestoreDashboardVersionByUIDNotFound) IsClientError() bool

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

func (*RestoreDashboardVersionByUIDNotFound) IsCode

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

func (*RestoreDashboardVersionByUIDNotFound) IsRedirect

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

func (*RestoreDashboardVersionByUIDNotFound) IsServerError

func (o *RestoreDashboardVersionByUIDNotFound) IsServerError() bool

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

func (*RestoreDashboardVersionByUIDNotFound) IsSuccess

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

func (*RestoreDashboardVersionByUIDNotFound) String

type RestoreDashboardVersionByUIDOK

type RestoreDashboardVersionByUIDOK struct {
	Payload *models.RestoreDashboardVersionByUIDOKBody
}

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

(empty)

func NewRestoreDashboardVersionByUIDOK

func NewRestoreDashboardVersionByUIDOK() *RestoreDashboardVersionByUIDOK

NewRestoreDashboardVersionByUIDOK creates a RestoreDashboardVersionByUIDOK with default headers values

func (*RestoreDashboardVersionByUIDOK) Code

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

func (*RestoreDashboardVersionByUIDOK) Error

func (*RestoreDashboardVersionByUIDOK) GetPayload

func (*RestoreDashboardVersionByUIDOK) IsClientError

func (o *RestoreDashboardVersionByUIDOK) IsClientError() bool

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

func (*RestoreDashboardVersionByUIDOK) IsCode

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

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

func (*RestoreDashboardVersionByUIDOK) IsRedirect

func (o *RestoreDashboardVersionByUIDOK) IsRedirect() bool

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

func (*RestoreDashboardVersionByUIDOK) IsServerError

func (o *RestoreDashboardVersionByUIDOK) IsServerError() bool

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

func (*RestoreDashboardVersionByUIDOK) IsSuccess

func (o *RestoreDashboardVersionByUIDOK) IsSuccess() bool

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

func (*RestoreDashboardVersionByUIDOK) String

type RestoreDashboardVersionByUIDParams

type RestoreDashboardVersionByUIDParams struct {

	// Body.
	Body *models.RestoreDashboardVersionCommand

	// UID.
	UID string

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

RestoreDashboardVersionByUIDParams contains all the parameters to send to the API endpoint

for the restore dashboard version by UID operation.

Typically these are written to a http.Request.

func NewRestoreDashboardVersionByUIDParams

func NewRestoreDashboardVersionByUIDParams() *RestoreDashboardVersionByUIDParams

NewRestoreDashboardVersionByUIDParams creates a new RestoreDashboardVersionByUIDParams object, with the default timeout for this client.

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

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

func NewRestoreDashboardVersionByUIDParamsWithContext

func NewRestoreDashboardVersionByUIDParamsWithContext(ctx context.Context) *RestoreDashboardVersionByUIDParams

NewRestoreDashboardVersionByUIDParamsWithContext creates a new RestoreDashboardVersionByUIDParams object with the ability to set a context for a request.

func NewRestoreDashboardVersionByUIDParamsWithHTTPClient

func NewRestoreDashboardVersionByUIDParamsWithHTTPClient(client *http.Client) *RestoreDashboardVersionByUIDParams

NewRestoreDashboardVersionByUIDParamsWithHTTPClient creates a new RestoreDashboardVersionByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewRestoreDashboardVersionByUIDParamsWithTimeout

func NewRestoreDashboardVersionByUIDParamsWithTimeout(timeout time.Duration) *RestoreDashboardVersionByUIDParams

NewRestoreDashboardVersionByUIDParamsWithTimeout creates a new RestoreDashboardVersionByUIDParams object with the ability to set a timeout on a request.

func (*RestoreDashboardVersionByUIDParams) SetBody

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

func (*RestoreDashboardVersionByUIDParams) SetContext

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

func (*RestoreDashboardVersionByUIDParams) SetDefaults

func (o *RestoreDashboardVersionByUIDParams) SetDefaults()

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

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

func (*RestoreDashboardVersionByUIDParams) SetHTTPClient

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

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

func (*RestoreDashboardVersionByUIDParams) SetTimeout

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

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

func (*RestoreDashboardVersionByUIDParams) SetUID

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

func (*RestoreDashboardVersionByUIDParams) WithBody

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

func (*RestoreDashboardVersionByUIDParams) WithContext

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

func (*RestoreDashboardVersionByUIDParams) WithDefaults

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

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

func (*RestoreDashboardVersionByUIDParams) WithHTTPClient

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

func (*RestoreDashboardVersionByUIDParams) WithTimeout

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

func (*RestoreDashboardVersionByUIDParams) WithUID

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

func (*RestoreDashboardVersionByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestoreDashboardVersionByUIDReader

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

RestoreDashboardVersionByUIDReader is a Reader for the RestoreDashboardVersionByUID structure.

func (*RestoreDashboardVersionByUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestoreDashboardVersionByUIDUnauthorized

type RestoreDashboardVersionByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewRestoreDashboardVersionByUIDUnauthorized

func NewRestoreDashboardVersionByUIDUnauthorized() *RestoreDashboardVersionByUIDUnauthorized

NewRestoreDashboardVersionByUIDUnauthorized creates a RestoreDashboardVersionByUIDUnauthorized with default headers values

func (*RestoreDashboardVersionByUIDUnauthorized) Code

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

func (*RestoreDashboardVersionByUIDUnauthorized) Error

func (*RestoreDashboardVersionByUIDUnauthorized) GetPayload

func (*RestoreDashboardVersionByUIDUnauthorized) IsClientError

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

func (*RestoreDashboardVersionByUIDUnauthorized) IsCode

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

func (*RestoreDashboardVersionByUIDUnauthorized) IsRedirect

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

func (*RestoreDashboardVersionByUIDUnauthorized) IsServerError

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

func (*RestoreDashboardVersionByUIDUnauthorized) IsSuccess

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

func (*RestoreDashboardVersionByUIDUnauthorized) String

Jump to

Keyboard shortcuts

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