dashboard

package
v0.0.0-...-162d0cd Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllDashboardsBadRequest

type AllDashboardsBadRequest struct {
	Payload *models.Error
}

AllDashboardsBadRequest handles this case with default header values.

Bad Request

func NewAllDashboardsBadRequest

func NewAllDashboardsBadRequest() *AllDashboardsBadRequest

NewAllDashboardsBadRequest creates a AllDashboardsBadRequest with default headers values

func (*AllDashboardsBadRequest) Error

func (o *AllDashboardsBadRequest) Error() string

type AllDashboardsNotFound

type AllDashboardsNotFound struct {
	Payload *models.Error
}

AllDashboardsNotFound handles this case with default header values.

Not Found

func NewAllDashboardsNotFound

func NewAllDashboardsNotFound() *AllDashboardsNotFound

NewAllDashboardsNotFound creates a AllDashboardsNotFound with default headers values

func (*AllDashboardsNotFound) Error

func (o *AllDashboardsNotFound) Error() string

type AllDashboardsOK

type AllDashboardsOK struct {
	Payload []*models.DashboardBase
}

AllDashboardsOK handles this case with default header values.

dashboards

func NewAllDashboardsOK

func NewAllDashboardsOK() *AllDashboardsOK

NewAllDashboardsOK creates a AllDashboardsOK with default headers values

func (*AllDashboardsOK) Error

func (o *AllDashboardsOK) Error() string

type AllDashboardsParams

type AllDashboardsParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string

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

AllDashboardsParams contains all the parameters to send to the API endpoint for the all dashboards operation typically these are written to a http.Request

func NewAllDashboardsParams

func NewAllDashboardsParams() *AllDashboardsParams

NewAllDashboardsParams creates a new AllDashboardsParams object with the default values initialized.

func NewAllDashboardsParamsWithContext

func NewAllDashboardsParamsWithContext(ctx context.Context) *AllDashboardsParams

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

func NewAllDashboardsParamsWithHTTPClient

func NewAllDashboardsParamsWithHTTPClient(client *http.Client) *AllDashboardsParams

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

func NewAllDashboardsParamsWithTimeout

func NewAllDashboardsParamsWithTimeout(timeout time.Duration) *AllDashboardsParams

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

func (*AllDashboardsParams) SetContext

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

SetContext adds the context to the all dashboards params

func (*AllDashboardsParams) SetFields

func (o *AllDashboardsParams) SetFields(fields *string)

SetFields adds the fields to the all dashboards params

func (*AllDashboardsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all dashboards params

func (*AllDashboardsParams) SetTimeout

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

SetTimeout adds the timeout to the all dashboards params

func (*AllDashboardsParams) WithContext

WithContext adds the context to the all dashboards params

func (*AllDashboardsParams) WithFields

func (o *AllDashboardsParams) WithFields(fields *string) *AllDashboardsParams

WithFields adds the fields to the all dashboards params

func (*AllDashboardsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the all dashboards params

func (*AllDashboardsParams) WithTimeout

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

WithTimeout adds the timeout to the all dashboards params

func (*AllDashboardsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AllDashboardsReader

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

AllDashboardsReader is a Reader for the AllDashboards structure.

func (*AllDashboardsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for dashboard API

func New

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

New creates a new dashboard API client.

func (*Client) AllDashboards

func (a *Client) AllDashboards(params *AllDashboardsParams) (*AllDashboardsOK, error)

AllDashboards gets all dashboards

### Get information about all active dashboards.

Returns an array of **abbreviated dashboard objects**. Dashboards marked as deleted are excluded from this list.

Get the **full details** of a specific dashboard by id with [Dashboard](#!/Dashboard/dashboard)

Find **deleted dashboards** with [Search Dashboards](#!/Dashboard/search_dashboards)

func (*Client) CreateDashboard

func (a *Client) CreateDashboard(params *CreateDashboardParams) (*CreateDashboardOK, error)

CreateDashboard creates dashboard

### Create a dashboard with the specified information

Creates a new dashboard object, returning the dashboard details, including the created id.

**Update** an existing dashboard with [Update Dashboard](#!/Dashboard/update_dashboard)

**Permanently delete** an existing dashboard with [Delete Dashboard](#!/Dashboard/delete_dashboard)

func (*Client) Dashboard

func (a *Client) Dashboard(params *DashboardParams) (*DashboardOK, error)

Dashboard gets dashboard

### Get information about the dashboard with the specified id

Returns the full details of the identified dashboard object

Get a **summary list** of all active dashboards with [All Dashboards](#!/Dashboard/all_dashboards)

**Search** for dashboards with [Search Dashboards](#!/Dashboard/search_dashboards)

func (*Client) DeleteDashboard

func (a *Client) DeleteDashboard(params *DeleteDashboardParams) (*DeleteDashboardNoContent, error)

DeleteDashboard deletes dashboard

### Delete the dashboard with the specified id

Permanently **deletes** a dashboard. (The dashboard cannot be recovered after this operation.)

"Soft" delete or hide a dashboard by setting its `deleted` status to `True` with [Update Dashboard](#!/Dashboard/update_dashboard).

Note: When a dashboard is deleted in the UI, it is soft deleted. Use this API call to permanently remove it, if desired.

func (*Client) ImportLookmlDashboard

ImportLookmlDashboard imports look m l dashboard

### Import a LookML dashboard to a space as a UDD Creates a UDD (a dashboard which exists in the Looker database rather than as a LookML file) from the LookML dashboard and puts it in the space specified. The created UDD will have a lookml_link_id which links to the original LookML dashboard.

To give the imported dashboard specify a (e.g. title: "my title") in the body of your request, otherwise the imported dashboard will have the same title as the original LookML dashboard.

For this operation to succeed the user must have permission to see the LookML dashboard in question, and have permission to create content in the space the dashboard is being imported to.

**Sync** a linked UDD with [Sync LookML Dashboard] (#!/Dashboard/sync_lookml_dashboard) **Unlink** a linked UDD by setting lookml_link_id to null with [Update Dashboard](#!/Dashboard/update_dashboard)

func (*Client) SearchDashboards

func (a *Client) SearchDashboards(params *SearchDashboardsParams) (*SearchDashboardsOK, error)

SearchDashboards searches dashboards

### Search all dashboards for matching criteria.

Returns an **array of dashboard objects** that match the specified search criteria.

The parameters `limit`, and `offset` are recommended for "paging" the returned results.

Get a **single dashboard** by id with [Dashboard](#!/Dashboard/dashboard)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SyncLookmlDashboard

func (a *Client) SyncLookmlDashboard(params *SyncLookmlDashboardParams) (*SyncLookmlDashboardOK, error)

SyncLookmlDashboard syncs look m l dashboard

### Update all linked dashboards to match the specified LookML dashboard.

Any UDD (a dashboard which exists in the Looker database rather than as a LookML file) which has a lookml_link_id which specifies the LookML dashboard's id will be updated so that it matches the current state of the LookML dashboard.

For this operation to succeed the user must have permission to view the LookML dashboard, and only linked dashboards that the user has permission to update will be synced.

To **link** or **unlink** a UDD set the lookml_link_id with [Update Dashboard](#!/Dashboard/update_dashboard)

func (*Client) UpdateDashboard

func (a *Client) UpdateDashboard(params *UpdateDashboardParams) (*UpdateDashboardOK, error)

UpdateDashboard updates dashboard

### Update the dashboard with the specified id

Changes simple (scalar) properties of the dashboard.

type CreateDashboardBadRequest

type CreateDashboardBadRequest struct {
	Payload *models.Error
}

CreateDashboardBadRequest handles this case with default header values.

Bad Request

func NewCreateDashboardBadRequest

func NewCreateDashboardBadRequest() *CreateDashboardBadRequest

NewCreateDashboardBadRequest creates a CreateDashboardBadRequest with default headers values

func (*CreateDashboardBadRequest) Error

func (o *CreateDashboardBadRequest) Error() string

type CreateDashboardConflict

type CreateDashboardConflict struct {
	Payload *models.Error
}

CreateDashboardConflict handles this case with default header values.

Resource Already Exists

func NewCreateDashboardConflict

func NewCreateDashboardConflict() *CreateDashboardConflict

NewCreateDashboardConflict creates a CreateDashboardConflict with default headers values

func (*CreateDashboardConflict) Error

func (o *CreateDashboardConflict) Error() string

type CreateDashboardNotFound

type CreateDashboardNotFound struct {
	Payload *models.Error
}

CreateDashboardNotFound handles this case with default header values.

Not Found

func NewCreateDashboardNotFound

func NewCreateDashboardNotFound() *CreateDashboardNotFound

NewCreateDashboardNotFound creates a CreateDashboardNotFound with default headers values

func (*CreateDashboardNotFound) Error

func (o *CreateDashboardNotFound) Error() string

type CreateDashboardOK

type CreateDashboardOK struct {
	Payload *models.Dashboard
}

CreateDashboardOK handles this case with default header values.

Dashboard

func NewCreateDashboardOK

func NewCreateDashboardOK() *CreateDashboardOK

NewCreateDashboardOK creates a CreateDashboardOK with default headers values

func (*CreateDashboardOK) Error

func (o *CreateDashboardOK) Error() string

type CreateDashboardParams

type CreateDashboardParams struct {

	/*Body
	  Dashboard

	*/
	Body *models.Dashboard

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

CreateDashboardParams contains all the parameters to send to the API endpoint for the create dashboard operation typically these are written to a http.Request

func NewCreateDashboardParams

func NewCreateDashboardParams() *CreateDashboardParams

NewCreateDashboardParams creates a new CreateDashboardParams object with the default values initialized.

func NewCreateDashboardParamsWithContext

func NewCreateDashboardParamsWithContext(ctx context.Context) *CreateDashboardParams

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

func NewCreateDashboardParamsWithHTTPClient

func NewCreateDashboardParamsWithHTTPClient(client *http.Client) *CreateDashboardParams

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

func NewCreateDashboardParamsWithTimeout

func NewCreateDashboardParamsWithTimeout(timeout time.Duration) *CreateDashboardParams

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

func (*CreateDashboardParams) SetBody

func (o *CreateDashboardParams) SetBody(body *models.Dashboard)

SetBody adds the body to the create dashboard params

func (*CreateDashboardParams) SetContext

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

SetContext adds the context to the create dashboard params

func (*CreateDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create dashboard params

func (*CreateDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the create dashboard params

func (*CreateDashboardParams) WithBody

WithBody adds the body to the create dashboard params

func (*CreateDashboardParams) WithContext

WithContext adds the context to the create dashboard params

func (*CreateDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create dashboard params

func (*CreateDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the create dashboard params

func (*CreateDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateDashboardReader

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

CreateDashboardReader is a Reader for the CreateDashboard structure.

func (*CreateDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDashboardUnprocessableEntity

type CreateDashboardUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateDashboardUnprocessableEntity handles this case with default header values.

Validation Error

func NewCreateDashboardUnprocessableEntity

func NewCreateDashboardUnprocessableEntity() *CreateDashboardUnprocessableEntity

NewCreateDashboardUnprocessableEntity creates a CreateDashboardUnprocessableEntity with default headers values

func (*CreateDashboardUnprocessableEntity) Error

type DashboardBadRequest

type DashboardBadRequest struct {
	Payload *models.Error
}

DashboardBadRequest handles this case with default header values.

Bad Request

func NewDashboardBadRequest

func NewDashboardBadRequest() *DashboardBadRequest

NewDashboardBadRequest creates a DashboardBadRequest with default headers values

func (*DashboardBadRequest) Error

func (o *DashboardBadRequest) Error() string

type DashboardNotFound

type DashboardNotFound struct {
	Payload *models.Error
}

DashboardNotFound handles this case with default header values.

Not Found

func NewDashboardNotFound

func NewDashboardNotFound() *DashboardNotFound

NewDashboardNotFound creates a DashboardNotFound with default headers values

func (*DashboardNotFound) Error

func (o *DashboardNotFound) Error() string

type DashboardOK

type DashboardOK struct {
	Payload *models.Dashboard
}

DashboardOK handles this case with default header values.

Dashboard

func NewDashboardOK

func NewDashboardOK() *DashboardOK

NewDashboardOK creates a DashboardOK with default headers values

func (*DashboardOK) Error

func (o *DashboardOK) Error() string

type DashboardParams

type DashboardParams struct {

	/*DashboardID
	  Id of dashboard

	*/
	DashboardID string
	/*Fields
	  Requested fields.

	*/
	Fields *string

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

DashboardParams contains all the parameters to send to the API endpoint for the dashboard operation typically these are written to a http.Request

func NewDashboardParams

func NewDashboardParams() *DashboardParams

NewDashboardParams creates a new DashboardParams object with the default values initialized.

func NewDashboardParamsWithContext

func NewDashboardParamsWithContext(ctx context.Context) *DashboardParams

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

func NewDashboardParamsWithHTTPClient

func NewDashboardParamsWithHTTPClient(client *http.Client) *DashboardParams

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

func NewDashboardParamsWithTimeout

func NewDashboardParamsWithTimeout(timeout time.Duration) *DashboardParams

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

func (*DashboardParams) SetContext

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

SetContext adds the context to the dashboard params

func (*DashboardParams) SetDashboardID

func (o *DashboardParams) SetDashboardID(dashboardID string)

SetDashboardID adds the dashboardId to the dashboard params

func (*DashboardParams) SetFields

func (o *DashboardParams) SetFields(fields *string)

SetFields adds the fields to the dashboard params

func (*DashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the dashboard params

func (*DashboardParams) SetTimeout

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

SetTimeout adds the timeout to the dashboard params

func (*DashboardParams) WithContext

func (o *DashboardParams) WithContext(ctx context.Context) *DashboardParams

WithContext adds the context to the dashboard params

func (*DashboardParams) WithDashboardID

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

WithDashboardID adds the dashboardID to the dashboard params

func (*DashboardParams) WithFields

func (o *DashboardParams) WithFields(fields *string) *DashboardParams

WithFields adds the fields to the dashboard params

func (*DashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the dashboard params

func (*DashboardParams) WithTimeout

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

WithTimeout adds the timeout to the dashboard params

func (*DashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DashboardReader

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

DashboardReader is a Reader for the Dashboard structure.

func (*DashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDashboardMethodNotAllowed

type DeleteDashboardMethodNotAllowed struct {
	Payload *models.Error
}

DeleteDashboardMethodNotAllowed handles this case with default header values.

Resource Can't Be Modified

func NewDeleteDashboardMethodNotAllowed

func NewDeleteDashboardMethodNotAllowed() *DeleteDashboardMethodNotAllowed

NewDeleteDashboardMethodNotAllowed creates a DeleteDashboardMethodNotAllowed with default headers values

func (*DeleteDashboardMethodNotAllowed) Error

type DeleteDashboardNoContent

type DeleteDashboardNoContent struct {
	Payload string
}

DeleteDashboardNoContent handles this case with default header values.

Successfully deleted.

func NewDeleteDashboardNoContent

func NewDeleteDashboardNoContent() *DeleteDashboardNoContent

NewDeleteDashboardNoContent creates a DeleteDashboardNoContent with default headers values

func (*DeleteDashboardNoContent) Error

func (o *DeleteDashboardNoContent) Error() string

type DeleteDashboardNotFound

type DeleteDashboardNotFound struct {
	Payload *models.Error
}

DeleteDashboardNotFound handles this case with default header values.

Not Found

func NewDeleteDashboardNotFound

func NewDeleteDashboardNotFound() *DeleteDashboardNotFound

NewDeleteDashboardNotFound creates a DeleteDashboardNotFound with default headers values

func (*DeleteDashboardNotFound) Error

func (o *DeleteDashboardNotFound) Error() string

type DeleteDashboardParams

type DeleteDashboardParams struct {

	/*DashboardID
	  Id of dashboard

	*/
	DashboardID string

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

DeleteDashboardParams contains all the parameters to send to the API endpoint for the delete dashboard operation typically these are written to a http.Request

func NewDeleteDashboardParams

func NewDeleteDashboardParams() *DeleteDashboardParams

NewDeleteDashboardParams creates a new DeleteDashboardParams object with the default values initialized.

func NewDeleteDashboardParamsWithContext

func NewDeleteDashboardParamsWithContext(ctx context.Context) *DeleteDashboardParams

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

func NewDeleteDashboardParamsWithHTTPClient

func NewDeleteDashboardParamsWithHTTPClient(client *http.Client) *DeleteDashboardParams

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

func NewDeleteDashboardParamsWithTimeout

func NewDeleteDashboardParamsWithTimeout(timeout time.Duration) *DeleteDashboardParams

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

func (*DeleteDashboardParams) SetContext

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

SetContext adds the context to the delete dashboard params

func (*DeleteDashboardParams) SetDashboardID

func (o *DeleteDashboardParams) SetDashboardID(dashboardID string)

SetDashboardID adds the dashboardId to the delete dashboard params

func (*DeleteDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete dashboard params

func (*DeleteDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the delete dashboard params

func (*DeleteDashboardParams) WithContext

WithContext adds the context to the delete dashboard params

func (*DeleteDashboardParams) WithDashboardID

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

WithDashboardID adds the dashboardID to the delete dashboard params

func (*DeleteDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete dashboard params

func (*DeleteDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the delete dashboard params

func (*DeleteDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteDashboardReader

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

DeleteDashboardReader is a Reader for the DeleteDashboard structure.

func (*DeleteDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportLookmlDashboardBadRequest

type ImportLookmlDashboardBadRequest struct {
	Payload *models.Error
}

ImportLookmlDashboardBadRequest handles this case with default header values.

Bad Request

func NewImportLookmlDashboardBadRequest

func NewImportLookmlDashboardBadRequest() *ImportLookmlDashboardBadRequest

NewImportLookmlDashboardBadRequest creates a ImportLookmlDashboardBadRequest with default headers values

func (*ImportLookmlDashboardBadRequest) Error

type ImportLookmlDashboardCreated

type ImportLookmlDashboardCreated struct {
	Payload *models.Dashboard
}

ImportLookmlDashboardCreated handles this case with default header values.

dashboard

func NewImportLookmlDashboardCreated

func NewImportLookmlDashboardCreated() *ImportLookmlDashboardCreated

NewImportLookmlDashboardCreated creates a ImportLookmlDashboardCreated with default headers values

func (*ImportLookmlDashboardCreated) Error

type ImportLookmlDashboardNotFound

type ImportLookmlDashboardNotFound struct {
	Payload *models.Error
}

ImportLookmlDashboardNotFound handles this case with default header values.

Not Found

func NewImportLookmlDashboardNotFound

func NewImportLookmlDashboardNotFound() *ImportLookmlDashboardNotFound

NewImportLookmlDashboardNotFound creates a ImportLookmlDashboardNotFound with default headers values

func (*ImportLookmlDashboardNotFound) Error

type ImportLookmlDashboardOK

type ImportLookmlDashboardOK struct {
	Payload *models.Dashboard
}

ImportLookmlDashboardOK handles this case with default header values.

Dashboard

func NewImportLookmlDashboardOK

func NewImportLookmlDashboardOK() *ImportLookmlDashboardOK

NewImportLookmlDashboardOK creates a ImportLookmlDashboardOK with default headers values

func (*ImportLookmlDashboardOK) Error

func (o *ImportLookmlDashboardOK) Error() string

type ImportLookmlDashboardParams

type ImportLookmlDashboardParams struct {

	/*Body
	  Dashboard

	*/
	Body *models.Dashboard
	/*LookmlDashboardID
	  Id of LookML dashboard

	*/
	LookmlDashboardID string
	/*RawLocale
	  If true, and this dashboard is localized, export it with the raw keys, not localized.

	*/
	RawLocale *bool
	/*SpaceID
	  Id of space to import the dashboard to

	*/
	SpaceID int64

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

ImportLookmlDashboardParams contains all the parameters to send to the API endpoint for the import lookml dashboard operation typically these are written to a http.Request

func NewImportLookmlDashboardParams

func NewImportLookmlDashboardParams() *ImportLookmlDashboardParams

NewImportLookmlDashboardParams creates a new ImportLookmlDashboardParams object with the default values initialized.

func NewImportLookmlDashboardParamsWithContext

func NewImportLookmlDashboardParamsWithContext(ctx context.Context) *ImportLookmlDashboardParams

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

func NewImportLookmlDashboardParamsWithHTTPClient

func NewImportLookmlDashboardParamsWithHTTPClient(client *http.Client) *ImportLookmlDashboardParams

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

func NewImportLookmlDashboardParamsWithTimeout

func NewImportLookmlDashboardParamsWithTimeout(timeout time.Duration) *ImportLookmlDashboardParams

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

func (*ImportLookmlDashboardParams) SetBody

func (o *ImportLookmlDashboardParams) SetBody(body *models.Dashboard)

SetBody adds the body to the import lookml dashboard params

func (*ImportLookmlDashboardParams) SetContext

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

SetContext adds the context to the import lookml dashboard params

func (*ImportLookmlDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import lookml dashboard params

func (*ImportLookmlDashboardParams) SetLookmlDashboardID

func (o *ImportLookmlDashboardParams) SetLookmlDashboardID(lookmlDashboardID string)

SetLookmlDashboardID adds the lookmlDashboardId to the import lookml dashboard params

func (*ImportLookmlDashboardParams) SetRawLocale

func (o *ImportLookmlDashboardParams) SetRawLocale(rawLocale *bool)

SetRawLocale adds the rawLocale to the import lookml dashboard params

func (*ImportLookmlDashboardParams) SetSpaceID

func (o *ImportLookmlDashboardParams) SetSpaceID(spaceID int64)

SetSpaceID adds the spaceId to the import lookml dashboard params

func (*ImportLookmlDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the import lookml dashboard params

func (*ImportLookmlDashboardParams) WithBody

WithBody adds the body to the import lookml dashboard params

func (*ImportLookmlDashboardParams) WithContext

WithContext adds the context to the import lookml dashboard params

func (*ImportLookmlDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the import lookml dashboard params

func (*ImportLookmlDashboardParams) WithLookmlDashboardID

func (o *ImportLookmlDashboardParams) WithLookmlDashboardID(lookmlDashboardID string) *ImportLookmlDashboardParams

WithLookmlDashboardID adds the lookmlDashboardID to the import lookml dashboard params

func (*ImportLookmlDashboardParams) WithRawLocale

func (o *ImportLookmlDashboardParams) WithRawLocale(rawLocale *bool) *ImportLookmlDashboardParams

WithRawLocale adds the rawLocale to the import lookml dashboard params

func (*ImportLookmlDashboardParams) WithSpaceID

WithSpaceID adds the spaceID to the import lookml dashboard params

func (*ImportLookmlDashboardParams) WithTimeout

WithTimeout adds the timeout to the import lookml dashboard params

func (*ImportLookmlDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportLookmlDashboardReader

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

ImportLookmlDashboardReader is a Reader for the ImportLookmlDashboard structure.

func (*ImportLookmlDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportLookmlDashboardUnprocessableEntity

type ImportLookmlDashboardUnprocessableEntity struct {
	Payload *models.ValidationError
}

ImportLookmlDashboardUnprocessableEntity handles this case with default header values.

Validation Error

func NewImportLookmlDashboardUnprocessableEntity

func NewImportLookmlDashboardUnprocessableEntity() *ImportLookmlDashboardUnprocessableEntity

NewImportLookmlDashboardUnprocessableEntity creates a ImportLookmlDashboardUnprocessableEntity with default headers values

func (*ImportLookmlDashboardUnprocessableEntity) Error

type SearchDashboardsBadRequest

type SearchDashboardsBadRequest struct {
	Payload *models.Error
}

SearchDashboardsBadRequest handles this case with default header values.

Bad Request

func NewSearchDashboardsBadRequest

func NewSearchDashboardsBadRequest() *SearchDashboardsBadRequest

NewSearchDashboardsBadRequest creates a SearchDashboardsBadRequest with default headers values

func (*SearchDashboardsBadRequest) Error

type SearchDashboardsNotFound

type SearchDashboardsNotFound struct {
	Payload *models.Error
}

SearchDashboardsNotFound handles this case with default header values.

Not Found

func NewSearchDashboardsNotFound

func NewSearchDashboardsNotFound() *SearchDashboardsNotFound

NewSearchDashboardsNotFound creates a SearchDashboardsNotFound with default headers values

func (*SearchDashboardsNotFound) Error

func (o *SearchDashboardsNotFound) Error() string

type SearchDashboardsOK

type SearchDashboardsOK struct {
	Payload []*models.Dashboard
}

SearchDashboardsOK handles this case with default header values.

dashboards

func NewSearchDashboardsOK

func NewSearchDashboardsOK() *SearchDashboardsOK

NewSearchDashboardsOK creates a SearchDashboardsOK with default headers values

func (*SearchDashboardsOK) Error

func (o *SearchDashboardsOK) Error() string

type SearchDashboardsParams

type SearchDashboardsParams struct {

	/*ContentFavoriteID
	  Filter on a content favorite id.

	*/
	ContentFavoriteID *int64
	/*Deleted
	  Filter on dashboards deleted status.

	*/
	Deleted *string
	/*Description
	  Match Dashboard description.

	*/
	Description *string
	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*ID
	  Match dashboard id.

	*/
	ID *int64
	/*Limit
	  Number of results to return. (used with offset and takes priority over page and per_page)

	*/
	Limit *int64
	/*Offset
	  Number of results to skip before returning any. (used with limit and takes priority over page and per_page)

	*/
	Offset *int64
	/*Page
	  Requested page.

	*/
	Page *int64
	/*PerPage
	  Results per page.

	*/
	PerPage *int64
	/*Slug
	  Match dashboard slug.

	*/
	Slug *string
	/*Sorts
	  Fields to sort by.

	*/
	Sorts *string
	/*SpaceID
	  Filter on a particular space.

	*/
	SpaceID *string
	/*Title
	  Match Dashboard title.

	*/
	Title *string
	/*UserID
	  Filter on dashboards created by a particular user.

	*/
	UserID *string
	/*ViewCount
	  Filter on a particular value of view_count

	*/
	ViewCount *string

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

SearchDashboardsParams contains all the parameters to send to the API endpoint for the search dashboards operation typically these are written to a http.Request

func NewSearchDashboardsParams

func NewSearchDashboardsParams() *SearchDashboardsParams

NewSearchDashboardsParams creates a new SearchDashboardsParams object with the default values initialized.

func NewSearchDashboardsParamsWithContext

func NewSearchDashboardsParamsWithContext(ctx context.Context) *SearchDashboardsParams

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

func NewSearchDashboardsParamsWithHTTPClient

func NewSearchDashboardsParamsWithHTTPClient(client *http.Client) *SearchDashboardsParams

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

func NewSearchDashboardsParamsWithTimeout

func NewSearchDashboardsParamsWithTimeout(timeout time.Duration) *SearchDashboardsParams

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

func (*SearchDashboardsParams) SetContentFavoriteID

func (o *SearchDashboardsParams) SetContentFavoriteID(contentFavoriteID *int64)

SetContentFavoriteID adds the contentFavoriteId to the search dashboards params

func (*SearchDashboardsParams) SetContext

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

SetContext adds the context to the search dashboards params

func (*SearchDashboardsParams) SetDeleted

func (o *SearchDashboardsParams) SetDeleted(deleted *string)

SetDeleted adds the deleted to the search dashboards params

func (*SearchDashboardsParams) SetDescription

func (o *SearchDashboardsParams) SetDescription(description *string)

SetDescription adds the description to the search dashboards params

func (*SearchDashboardsParams) SetFields

func (o *SearchDashboardsParams) SetFields(fields *string)

SetFields adds the fields to the search dashboards params

func (*SearchDashboardsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search dashboards params

func (*SearchDashboardsParams) SetID

func (o *SearchDashboardsParams) SetID(id *int64)

SetID adds the id to the search dashboards params

func (*SearchDashboardsParams) SetLimit

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

SetLimit adds the limit to the search dashboards params

func (*SearchDashboardsParams) SetOffset

func (o *SearchDashboardsParams) SetOffset(offset *int64)

SetOffset adds the offset to the search dashboards params

func (*SearchDashboardsParams) SetPage

func (o *SearchDashboardsParams) SetPage(page *int64)

SetPage adds the page to the search dashboards params

func (*SearchDashboardsParams) SetPerPage

func (o *SearchDashboardsParams) SetPerPage(perPage *int64)

SetPerPage adds the perPage to the search dashboards params

func (*SearchDashboardsParams) SetSlug

func (o *SearchDashboardsParams) SetSlug(slug *string)

SetSlug adds the slug to the search dashboards params

func (*SearchDashboardsParams) SetSorts

func (o *SearchDashboardsParams) SetSorts(sorts *string)

SetSorts adds the sorts to the search dashboards params

func (*SearchDashboardsParams) SetSpaceID

func (o *SearchDashboardsParams) SetSpaceID(spaceID *string)

SetSpaceID adds the spaceId to the search dashboards params

func (*SearchDashboardsParams) SetTimeout

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

SetTimeout adds the timeout to the search dashboards params

func (*SearchDashboardsParams) SetTitle

func (o *SearchDashboardsParams) SetTitle(title *string)

SetTitle adds the title to the search dashboards params

func (*SearchDashboardsParams) SetUserID

func (o *SearchDashboardsParams) SetUserID(userID *string)

SetUserID adds the userId to the search dashboards params

func (*SearchDashboardsParams) SetViewCount

func (o *SearchDashboardsParams) SetViewCount(viewCount *string)

SetViewCount adds the viewCount to the search dashboards params

func (*SearchDashboardsParams) WithContentFavoriteID

func (o *SearchDashboardsParams) WithContentFavoriteID(contentFavoriteID *int64) *SearchDashboardsParams

WithContentFavoriteID adds the contentFavoriteID to the search dashboards params

func (*SearchDashboardsParams) WithContext

WithContext adds the context to the search dashboards params

func (*SearchDashboardsParams) WithDeleted

func (o *SearchDashboardsParams) WithDeleted(deleted *string) *SearchDashboardsParams

WithDeleted adds the deleted to the search dashboards params

func (*SearchDashboardsParams) WithDescription

func (o *SearchDashboardsParams) WithDescription(description *string) *SearchDashboardsParams

WithDescription adds the description to the search dashboards params

func (*SearchDashboardsParams) WithFields

func (o *SearchDashboardsParams) WithFields(fields *string) *SearchDashboardsParams

WithFields adds the fields to the search dashboards params

func (*SearchDashboardsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search dashboards params

func (*SearchDashboardsParams) WithID

WithID adds the id to the search dashboards params

func (*SearchDashboardsParams) WithLimit

func (o *SearchDashboardsParams) WithLimit(limit *int64) *SearchDashboardsParams

WithLimit adds the limit to the search dashboards params

func (*SearchDashboardsParams) WithOffset

func (o *SearchDashboardsParams) WithOffset(offset *int64) *SearchDashboardsParams

WithOffset adds the offset to the search dashboards params

func (*SearchDashboardsParams) WithPage

WithPage adds the page to the search dashboards params

func (*SearchDashboardsParams) WithPerPage

func (o *SearchDashboardsParams) WithPerPage(perPage *int64) *SearchDashboardsParams

WithPerPage adds the perPage to the search dashboards params

func (*SearchDashboardsParams) WithSlug

WithSlug adds the slug to the search dashboards params

func (*SearchDashboardsParams) WithSorts

WithSorts adds the sorts to the search dashboards params

func (*SearchDashboardsParams) WithSpaceID

func (o *SearchDashboardsParams) WithSpaceID(spaceID *string) *SearchDashboardsParams

WithSpaceID adds the spaceID to the search dashboards params

func (*SearchDashboardsParams) WithTimeout

WithTimeout adds the timeout to the search dashboards params

func (*SearchDashboardsParams) WithTitle

WithTitle adds the title to the search dashboards params

func (*SearchDashboardsParams) WithUserID

func (o *SearchDashboardsParams) WithUserID(userID *string) *SearchDashboardsParams

WithUserID adds the userID to the search dashboards params

func (*SearchDashboardsParams) WithViewCount

func (o *SearchDashboardsParams) WithViewCount(viewCount *string) *SearchDashboardsParams

WithViewCount adds the viewCount to the search dashboards params

func (*SearchDashboardsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchDashboardsReader

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

SearchDashboardsReader is a Reader for the SearchDashboards structure.

func (*SearchDashboardsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SyncLookmlDashboardBadRequest

type SyncLookmlDashboardBadRequest struct {
	Payload *models.Error
}

SyncLookmlDashboardBadRequest handles this case with default header values.

Bad Request

func NewSyncLookmlDashboardBadRequest

func NewSyncLookmlDashboardBadRequest() *SyncLookmlDashboardBadRequest

NewSyncLookmlDashboardBadRequest creates a SyncLookmlDashboardBadRequest with default headers values

func (*SyncLookmlDashboardBadRequest) Error

type SyncLookmlDashboardNotFound

type SyncLookmlDashboardNotFound struct {
	Payload *models.Error
}

SyncLookmlDashboardNotFound handles this case with default header values.

Not Found

func NewSyncLookmlDashboardNotFound

func NewSyncLookmlDashboardNotFound() *SyncLookmlDashboardNotFound

NewSyncLookmlDashboardNotFound creates a SyncLookmlDashboardNotFound with default headers values

func (*SyncLookmlDashboardNotFound) Error

type SyncLookmlDashboardOK

type SyncLookmlDashboardOK struct {
	Payload []int64
}

SyncLookmlDashboardOK handles this case with default header values.

updated dashboard ids

func NewSyncLookmlDashboardOK

func NewSyncLookmlDashboardOK() *SyncLookmlDashboardOK

NewSyncLookmlDashboardOK creates a SyncLookmlDashboardOK with default headers values

func (*SyncLookmlDashboardOK) Error

func (o *SyncLookmlDashboardOK) Error() string

type SyncLookmlDashboardParams

type SyncLookmlDashboardParams struct {

	/*Body
	  Dashboard

	*/
	Body *models.Dashboard
	/*LookmlDashboardID
	  Id of LookML dashboard

	*/
	LookmlDashboardID string
	/*RawLocale
	  If true, and this dashboard is localized, export it with the raw keys, not localized.

	*/
	RawLocale *bool

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

SyncLookmlDashboardParams contains all the parameters to send to the API endpoint for the sync lookml dashboard operation typically these are written to a http.Request

func NewSyncLookmlDashboardParams

func NewSyncLookmlDashboardParams() *SyncLookmlDashboardParams

NewSyncLookmlDashboardParams creates a new SyncLookmlDashboardParams object with the default values initialized.

func NewSyncLookmlDashboardParamsWithContext

func NewSyncLookmlDashboardParamsWithContext(ctx context.Context) *SyncLookmlDashboardParams

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

func NewSyncLookmlDashboardParamsWithHTTPClient

func NewSyncLookmlDashboardParamsWithHTTPClient(client *http.Client) *SyncLookmlDashboardParams

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

func NewSyncLookmlDashboardParamsWithTimeout

func NewSyncLookmlDashboardParamsWithTimeout(timeout time.Duration) *SyncLookmlDashboardParams

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

func (*SyncLookmlDashboardParams) SetBody

func (o *SyncLookmlDashboardParams) SetBody(body *models.Dashboard)

SetBody adds the body to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) SetContext

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

SetContext adds the context to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) SetLookmlDashboardID

func (o *SyncLookmlDashboardParams) SetLookmlDashboardID(lookmlDashboardID string)

SetLookmlDashboardID adds the lookmlDashboardId to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) SetRawLocale

func (o *SyncLookmlDashboardParams) SetRawLocale(rawLocale *bool)

SetRawLocale adds the rawLocale to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) WithBody

WithBody adds the body to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) WithContext

WithContext adds the context to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) WithLookmlDashboardID

func (o *SyncLookmlDashboardParams) WithLookmlDashboardID(lookmlDashboardID string) *SyncLookmlDashboardParams

WithLookmlDashboardID adds the lookmlDashboardID to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) WithRawLocale

func (o *SyncLookmlDashboardParams) WithRawLocale(rawLocale *bool) *SyncLookmlDashboardParams

WithRawLocale adds the rawLocale to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) WithTimeout

WithTimeout adds the timeout to the sync lookml dashboard params

func (*SyncLookmlDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SyncLookmlDashboardReader

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

SyncLookmlDashboardReader is a Reader for the SyncLookmlDashboard structure.

func (*SyncLookmlDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SyncLookmlDashboardUnprocessableEntity

type SyncLookmlDashboardUnprocessableEntity struct {
	Payload *models.ValidationError
}

SyncLookmlDashboardUnprocessableEntity handles this case with default header values.

Validation Error

func NewSyncLookmlDashboardUnprocessableEntity

func NewSyncLookmlDashboardUnprocessableEntity() *SyncLookmlDashboardUnprocessableEntity

NewSyncLookmlDashboardUnprocessableEntity creates a SyncLookmlDashboardUnprocessableEntity with default headers values

func (*SyncLookmlDashboardUnprocessableEntity) Error

type UpdateDashboardBadRequest

type UpdateDashboardBadRequest struct {
	Payload *models.Error
}

UpdateDashboardBadRequest handles this case with default header values.

Bad Request

func NewUpdateDashboardBadRequest

func NewUpdateDashboardBadRequest() *UpdateDashboardBadRequest

NewUpdateDashboardBadRequest creates a UpdateDashboardBadRequest with default headers values

func (*UpdateDashboardBadRequest) Error

func (o *UpdateDashboardBadRequest) Error() string

type UpdateDashboardMethodNotAllowed

type UpdateDashboardMethodNotAllowed struct {
	Payload *models.Error
}

UpdateDashboardMethodNotAllowed handles this case with default header values.

Resource Can't Be Modified

func NewUpdateDashboardMethodNotAllowed

func NewUpdateDashboardMethodNotAllowed() *UpdateDashboardMethodNotAllowed

NewUpdateDashboardMethodNotAllowed creates a UpdateDashboardMethodNotAllowed with default headers values

func (*UpdateDashboardMethodNotAllowed) Error

type UpdateDashboardNotFound

type UpdateDashboardNotFound struct {
	Payload *models.Error
}

UpdateDashboardNotFound handles this case with default header values.

Not Found

func NewUpdateDashboardNotFound

func NewUpdateDashboardNotFound() *UpdateDashboardNotFound

NewUpdateDashboardNotFound creates a UpdateDashboardNotFound with default headers values

func (*UpdateDashboardNotFound) Error

func (o *UpdateDashboardNotFound) Error() string

type UpdateDashboardOK

type UpdateDashboardOK struct {
	Payload *models.Dashboard
}

UpdateDashboardOK handles this case with default header values.

Dashboard

func NewUpdateDashboardOK

func NewUpdateDashboardOK() *UpdateDashboardOK

NewUpdateDashboardOK creates a UpdateDashboardOK with default headers values

func (*UpdateDashboardOK) Error

func (o *UpdateDashboardOK) Error() string

type UpdateDashboardParams

type UpdateDashboardParams struct {

	/*Body
	  Dashboard

	*/
	Body *models.Dashboard
	/*DashboardID
	  Id of dashboard

	*/
	DashboardID string

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

UpdateDashboardParams contains all the parameters to send to the API endpoint for the update dashboard operation typically these are written to a http.Request

func NewUpdateDashboardParams

func NewUpdateDashboardParams() *UpdateDashboardParams

NewUpdateDashboardParams creates a new UpdateDashboardParams object with the default values initialized.

func NewUpdateDashboardParamsWithContext

func NewUpdateDashboardParamsWithContext(ctx context.Context) *UpdateDashboardParams

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

func NewUpdateDashboardParamsWithHTTPClient

func NewUpdateDashboardParamsWithHTTPClient(client *http.Client) *UpdateDashboardParams

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

func NewUpdateDashboardParamsWithTimeout

func NewUpdateDashboardParamsWithTimeout(timeout time.Duration) *UpdateDashboardParams

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

func (*UpdateDashboardParams) SetBody

func (o *UpdateDashboardParams) SetBody(body *models.Dashboard)

SetBody adds the body to the update dashboard params

func (*UpdateDashboardParams) SetContext

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

SetContext adds the context to the update dashboard params

func (*UpdateDashboardParams) SetDashboardID

func (o *UpdateDashboardParams) SetDashboardID(dashboardID string)

SetDashboardID adds the dashboardId to the update dashboard params

func (*UpdateDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update dashboard params

func (*UpdateDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the update dashboard params

func (*UpdateDashboardParams) WithBody

WithBody adds the body to the update dashboard params

func (*UpdateDashboardParams) WithContext

WithContext adds the context to the update dashboard params

func (*UpdateDashboardParams) WithDashboardID

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

WithDashboardID adds the dashboardID to the update dashboard params

func (*UpdateDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update dashboard params

func (*UpdateDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the update dashboard params

func (*UpdateDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateDashboardReader

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

UpdateDashboardReader is a Reader for the UpdateDashboard structure.

func (*UpdateDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDashboardUnprocessableEntity

type UpdateDashboardUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateDashboardUnprocessableEntity handles this case with default header values.

Validation Error

func NewUpdateDashboardUnprocessableEntity

func NewUpdateDashboardUnprocessableEntity() *UpdateDashboardUnprocessableEntity

NewUpdateDashboardUnprocessableEntity creates a UpdateDashboardUnprocessableEntity with default headers values

func (*UpdateDashboardUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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