dashboards

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 9 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 dashboards API

func New

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

New creates a new dashboards API client.

func (*Client) SetPositions

func (a *Client) SetPositions(params *SetPositionsParams, authInfo runtime.ClientAuthInfoWriter) (*SetPositionsOK, error)

SetPositions updates set the positions of dashboard widgets

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type SetPositionsNotFound

type SetPositionsNotFound struct {
}

SetPositionsNotFound handles this case with default header values.

Dashboard not found.

func NewSetPositionsNotFound

func NewSetPositionsNotFound() *SetPositionsNotFound

NewSetPositionsNotFound creates a SetPositionsNotFound with default headers values

func (*SetPositionsNotFound) Error

func (o *SetPositionsNotFound) Error() string

type SetPositionsOK

type SetPositionsOK struct {
}

SetPositionsOK handles this case with default header values.

No response was specified

func NewSetPositionsOK

func NewSetPositionsOK() *SetPositionsOK

NewSetPositionsOK creates a SetPositionsOK with default headers values

func (*SetPositionsOK) Error

func (o *SetPositionsOK) Error() string

type SetPositionsParams

type SetPositionsParams struct {

	/*JSONBody*/
	JSONBody *models.WidgetPositionsRequest
	/*DashboardID*/
	DashboardID string

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

SetPositionsParams contains all the parameters to send to the API endpoint for the set positions operation typically these are written to a http.Request

func NewSetPositionsParams

func NewSetPositionsParams() *SetPositionsParams

NewSetPositionsParams creates a new SetPositionsParams object with the default values initialized.

func NewSetPositionsParamsWithContext

func NewSetPositionsParamsWithContext(ctx context.Context) *SetPositionsParams

NewSetPositionsParamsWithContext creates a new SetPositionsParams object with the default values initialized, and the ability to set a context for a request

func NewSetPositionsParamsWithHTTPClient

func NewSetPositionsParamsWithHTTPClient(client *http.Client) *SetPositionsParams

NewSetPositionsParamsWithHTTPClient creates a new SetPositionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSetPositionsParamsWithTimeout

func NewSetPositionsParamsWithTimeout(timeout time.Duration) *SetPositionsParams

NewSetPositionsParamsWithTimeout creates a new SetPositionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*SetPositionsParams) SetContext

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

SetContext adds the context to the set positions params

func (*SetPositionsParams) SetDashboardID

func (o *SetPositionsParams) SetDashboardID(dashboardID string)

SetDashboardID adds the dashboardId to the set positions params

func (*SetPositionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set positions params

func (*SetPositionsParams) SetJSONBody

func (o *SetPositionsParams) SetJSONBody(jSONBody *models.WidgetPositionsRequest)

SetJSONBody adds the jsonBody to the set positions params

func (*SetPositionsParams) SetTimeout

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

SetTimeout adds the timeout to the set positions params

func (*SetPositionsParams) WithContext

WithContext adds the context to the set positions params

func (*SetPositionsParams) WithDashboardID

func (o *SetPositionsParams) WithDashboardID(dashboardID string) *SetPositionsParams

WithDashboardID adds the dashboardID to the set positions params

func (*SetPositionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set positions params

func (*SetPositionsParams) WithJSONBody

WithJSONBody adds the jSONBody to the set positions params

func (*SetPositionsParams) WithTimeout

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

WithTimeout adds the timeout to the set positions params

func (*SetPositionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SetPositionsReader

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

SetPositionsReader is a Reader for the SetPositions structure.

func (*SetPositionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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