dashboards

package
v0.0.0-...-d4d7cce Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

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) Error

func (*CalculateDashboardDiffForbidden) GetPayload

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) Error

func (*CalculateDashboardDiffInternalServerError) GetPayload

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) Error

func (o *CalculateDashboardDiffOK) Error() string

func (*CalculateDashboardDiffOK) GetPayload

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

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) Error

func (*CalculateDashboardDiffUnauthorized) GetPayload

type Client

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

Client for dashboards API

func (*Client) CalculateDashboardDiff

func (a *Client) CalculateDashboardDiff(params *CalculateDashboardDiffParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CalculateDashboardDiffOK, error)

CalculateDashboardDiff performs diff on two dashboards

func (*Client) DeleteDashboardByUID

func (a *Client) DeleteDashboardByUID(params *DeleteDashboardByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardByUIDOK, error)

DeleteDashboardByUID deletes dashboard by uid

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

func (*Client) GetDashboardByUID

func (a *Client) GetDashboardByUID(params *GetDashboardByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardByUIDOK, error)

GetDashboardByUID gets dashboard by uid

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

func (*Client) GetDashboardTags

func (a *Client) GetDashboardTags(params *GetDashboardTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardTagsOK, error)

GetDashboardTags gets all dashboards tags of an organisation

func (*Client) GetHomeDashboard

func (a *Client) GetHomeDashboard(params *GetHomeDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHomeDashboardOK, error)

GetHomeDashboard gets home dashboard

func (*Client) ImportDashboard

func (a *Client) ImportDashboard(params *ImportDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportDashboardOK, error)

ImportDashboard imports dashboard

func (*Client) PostDashboard

func (a *Client) PostDashboard(params *PostDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDashboardOK, error)

PostDashboard creates update dashboard

Creates a new dashboard or updates an existing dashboard.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TrimDashboard

func (a *Client) TrimDashboard(params *TrimDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TrimDashboardOK, error)

TrimDashboard trims defaults from dashboard

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CalculateDashboardDiff(params *CalculateDashboardDiffParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CalculateDashboardDiffOK, error)

	DeleteDashboardByUID(params *DeleteDashboardByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardByUIDOK, error)

	GetDashboardByUID(params *GetDashboardByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardByUIDOK, error)

	GetDashboardTags(params *GetDashboardTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardTagsOK, error)

	GetHomeDashboard(params *GetHomeDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHomeDashboardOK, error)

	ImportDashboard(params *ImportDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportDashboardOK, error)

	PostDashboard(params *PostDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDashboardOK, error)

	TrimDashboard(params *TrimDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TrimDashboardOK, 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) Error

func (*DeleteDashboardByUIDForbidden) GetPayload

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) Error

func (*DeleteDashboardByUIDInternalServerError) GetPayload

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) Error

func (*DeleteDashboardByUIDNotFound) GetPayload

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) Error

func (o *DeleteDashboardByUIDOK) Error() string

func (*DeleteDashboardByUIDOK) GetPayload

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) Error

func (*DeleteDashboardByUIDUnauthorized) GetPayload

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) Error

func (*GetDashboardByUIDForbidden) GetPayload

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) Error

func (*GetDashboardByUIDInternalServerError) GetPayload

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) Error

func (o *GetDashboardByUIDNotFound) Error() string

func (*GetDashboardByUIDNotFound) GetPayload

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) Error

func (o *GetDashboardByUIDOK) Error() string

func (*GetDashboardByUIDOK) GetPayload

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) Error

func (*GetDashboardByUIDUnauthorized) GetPayload

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) Error

func (*GetDashboardTagsInternalServerError) GetPayload

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) Error

func (o *GetDashboardTagsOK) Error() string

func (*GetDashboardTagsOK) GetPayload

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

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) Error

func (*GetDashboardTagsUnauthorized) GetPayload

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) Error

func (*GetHomeDashboardInternalServerError) GetPayload

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) Error

func (o *GetHomeDashboardOK) Error() string

func (*GetHomeDashboardOK) GetPayload

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) Error

func (*GetHomeDashboardUnauthorized) GetPayload

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) Error

func (o *ImportDashboardBadRequest) Error() string

func (*ImportDashboardBadRequest) GetPayload

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) Error

func (*ImportDashboardInternalServerError) GetPayload

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) Error

func (o *ImportDashboardOK) Error() string

func (*ImportDashboardOK) GetPayload

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) Error

func (*ImportDashboardPreconditionFailed) GetPayload

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) Error

func (*ImportDashboardUnauthorized) GetPayload

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) Error

func (*ImportDashboardUnprocessableEntity) GetPayload

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) Error

func (o *PostDashboardBadRequest) Error() string

func (*PostDashboardBadRequest) GetPayload

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) Error

func (o *PostDashboardForbidden) Error() string

func (*PostDashboardForbidden) GetPayload

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) Error

func (*PostDashboardInternalServerError) GetPayload

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) Error

func (o *PostDashboardNotFound) Error() string

func (*PostDashboardNotFound) GetPayload

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) Error

func (o *PostDashboardOK) Error() string

func (*PostDashboardOK) GetPayload

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

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) Error

func (*PostDashboardPreconditionFailed) GetPayload

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) Error

func (o *PostDashboardUnauthorized) Error() string

func (*PostDashboardUnauthorized) GetPayload

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) Error

func (*PostDashboardUnprocessableEntity) GetPayload

type TrimDashboardInternalServerError

type TrimDashboardInternalServerError struct {
	Payload *models.ErrorResponseBody
}

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

InternalServerError is a general error indicating something went wrong internally.

func NewTrimDashboardInternalServerError

func NewTrimDashboardInternalServerError() *TrimDashboardInternalServerError

NewTrimDashboardInternalServerError creates a TrimDashboardInternalServerError with default headers values

func (*TrimDashboardInternalServerError) Error

func (*TrimDashboardInternalServerError) GetPayload

type TrimDashboardOK

type TrimDashboardOK struct {
	Payload *models.TrimDashboardFullWithMeta
}

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

(empty)

func NewTrimDashboardOK

func NewTrimDashboardOK() *TrimDashboardOK

NewTrimDashboardOK creates a TrimDashboardOK with default headers values

func (*TrimDashboardOK) Error

func (o *TrimDashboardOK) Error() string

func (*TrimDashboardOK) GetPayload

type TrimDashboardParams

type TrimDashboardParams struct {

	// Body.
	Body *models.TrimDashboardCommand

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

TrimDashboardParams contains all the parameters to send to the API endpoint

for the trim dashboard operation.

Typically these are written to a http.Request.

func NewTrimDashboardParams

func NewTrimDashboardParams() *TrimDashboardParams

NewTrimDashboardParams creates a new TrimDashboardParams 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 NewTrimDashboardParamsWithContext

func NewTrimDashboardParamsWithContext(ctx context.Context) *TrimDashboardParams

NewTrimDashboardParamsWithContext creates a new TrimDashboardParams object with the ability to set a context for a request.

func NewTrimDashboardParamsWithHTTPClient

func NewTrimDashboardParamsWithHTTPClient(client *http.Client) *TrimDashboardParams

NewTrimDashboardParamsWithHTTPClient creates a new TrimDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewTrimDashboardParamsWithTimeout

func NewTrimDashboardParamsWithTimeout(timeout time.Duration) *TrimDashboardParams

NewTrimDashboardParamsWithTimeout creates a new TrimDashboardParams object with the ability to set a timeout on a request.

func (*TrimDashboardParams) SetBody

SetBody adds the body to the trim dashboard params

func (*TrimDashboardParams) SetContext

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

SetContext adds the context to the trim dashboard params

func (*TrimDashboardParams) SetDefaults

func (o *TrimDashboardParams) SetDefaults()

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

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

func (*TrimDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the trim dashboard params

func (*TrimDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the trim dashboard params

func (*TrimDashboardParams) WithBody

WithBody adds the body to the trim dashboard params

func (*TrimDashboardParams) WithContext

WithContext adds the context to the trim dashboard params

func (*TrimDashboardParams) WithDefaults

func (o *TrimDashboardParams) WithDefaults() *TrimDashboardParams

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

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

func (*TrimDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the trim dashboard params

func (*TrimDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the trim dashboard params

func (*TrimDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type TrimDashboardReader

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

TrimDashboardReader is a Reader for the TrimDashboard structure.

func (*TrimDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TrimDashboardUnauthorized

type TrimDashboardUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewTrimDashboardUnauthorized

func NewTrimDashboardUnauthorized() *TrimDashboardUnauthorized

NewTrimDashboardUnauthorized creates a TrimDashboardUnauthorized with default headers values

func (*TrimDashboardUnauthorized) Error

func (o *TrimDashboardUnauthorized) Error() string

func (*TrimDashboardUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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