Documentation ¶
Index ¶
- type AllDashboardsBadRequest
- type AllDashboardsNotFound
- type AllDashboardsOK
- type AllDashboardsParams
- func (o *AllDashboardsParams) SetContext(ctx context.Context)
- func (o *AllDashboardsParams) SetFields(fields *string)
- func (o *AllDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *AllDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *AllDashboardsParams) WithContext(ctx context.Context) *AllDashboardsParams
- func (o *AllDashboardsParams) WithFields(fields *string) *AllDashboardsParams
- func (o *AllDashboardsParams) WithHTTPClient(client *http.Client) *AllDashboardsParams
- func (o *AllDashboardsParams) WithTimeout(timeout time.Duration) *AllDashboardsParams
- func (o *AllDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllDashboardsReader
- type Client
- func (a *Client) AllDashboards(params *AllDashboardsParams) (*AllDashboardsOK, error)
- func (a *Client) CreateDashboard(params *CreateDashboardParams) (*CreateDashboardOK, error)
- func (a *Client) Dashboard(params *DashboardParams) (*DashboardOK, error)
- func (a *Client) DeleteDashboard(params *DeleteDashboardParams) (*DeleteDashboardNoContent, error)
- func (a *Client) ImportLookmlDashboard(params *ImportLookmlDashboardParams) (*ImportLookmlDashboardOK, *ImportLookmlDashboardCreated, error)
- func (a *Client) SearchDashboards(params *SearchDashboardsParams) (*SearchDashboardsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SyncLookmlDashboard(params *SyncLookmlDashboardParams) (*SyncLookmlDashboardOK, error)
- func (a *Client) UpdateDashboard(params *UpdateDashboardParams) (*UpdateDashboardOK, error)
- type CreateDashboardBadRequest
- type CreateDashboardConflict
- type CreateDashboardNotFound
- type CreateDashboardOK
- type CreateDashboardParams
- func NewCreateDashboardParams() *CreateDashboardParams
- func NewCreateDashboardParamsWithContext(ctx context.Context) *CreateDashboardParams
- func NewCreateDashboardParamsWithHTTPClient(client *http.Client) *CreateDashboardParams
- func NewCreateDashboardParamsWithTimeout(timeout time.Duration) *CreateDashboardParams
- func (o *CreateDashboardParams) SetBody(body *models.Dashboard)
- func (o *CreateDashboardParams) SetContext(ctx context.Context)
- func (o *CreateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *CreateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *CreateDashboardParams) WithBody(body *models.Dashboard) *CreateDashboardParams
- func (o *CreateDashboardParams) WithContext(ctx context.Context) *CreateDashboardParams
- func (o *CreateDashboardParams) WithHTTPClient(client *http.Client) *CreateDashboardParams
- func (o *CreateDashboardParams) WithTimeout(timeout time.Duration) *CreateDashboardParams
- func (o *CreateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDashboardReader
- type CreateDashboardUnprocessableEntity
- type DashboardBadRequest
- type DashboardNotFound
- type DashboardOK
- type DashboardParams
- func (o *DashboardParams) SetContext(ctx context.Context)
- func (o *DashboardParams) SetDashboardID(dashboardID string)
- func (o *DashboardParams) SetFields(fields *string)
- func (o *DashboardParams) SetHTTPClient(client *http.Client)
- func (o *DashboardParams) SetTimeout(timeout time.Duration)
- func (o *DashboardParams) WithContext(ctx context.Context) *DashboardParams
- func (o *DashboardParams) WithDashboardID(dashboardID string) *DashboardParams
- func (o *DashboardParams) WithFields(fields *string) *DashboardParams
- func (o *DashboardParams) WithHTTPClient(client *http.Client) *DashboardParams
- func (o *DashboardParams) WithTimeout(timeout time.Duration) *DashboardParams
- func (o *DashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DashboardReader
- type DeleteDashboardMethodNotAllowed
- type DeleteDashboardNoContent
- type DeleteDashboardNotFound
- type DeleteDashboardParams
- func NewDeleteDashboardParams() *DeleteDashboardParams
- func NewDeleteDashboardParamsWithContext(ctx context.Context) *DeleteDashboardParams
- func NewDeleteDashboardParamsWithHTTPClient(client *http.Client) *DeleteDashboardParams
- func NewDeleteDashboardParamsWithTimeout(timeout time.Duration) *DeleteDashboardParams
- func (o *DeleteDashboardParams) SetContext(ctx context.Context)
- func (o *DeleteDashboardParams) SetDashboardID(dashboardID string)
- func (o *DeleteDashboardParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDashboardParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDashboardParams) WithContext(ctx context.Context) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithDashboardID(dashboardID string) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithHTTPClient(client *http.Client) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithTimeout(timeout time.Duration) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDashboardReader
- type ImportLookmlDashboardBadRequest
- type ImportLookmlDashboardCreated
- type ImportLookmlDashboardNotFound
- type ImportLookmlDashboardOK
- type ImportLookmlDashboardParams
- func NewImportLookmlDashboardParams() *ImportLookmlDashboardParams
- func NewImportLookmlDashboardParamsWithContext(ctx context.Context) *ImportLookmlDashboardParams
- func NewImportLookmlDashboardParamsWithHTTPClient(client *http.Client) *ImportLookmlDashboardParams
- func NewImportLookmlDashboardParamsWithTimeout(timeout time.Duration) *ImportLookmlDashboardParams
- func (o *ImportLookmlDashboardParams) SetBody(body *models.Dashboard)
- func (o *ImportLookmlDashboardParams) SetContext(ctx context.Context)
- func (o *ImportLookmlDashboardParams) SetHTTPClient(client *http.Client)
- func (o *ImportLookmlDashboardParams) SetLookmlDashboardID(lookmlDashboardID string)
- func (o *ImportLookmlDashboardParams) SetRawLocale(rawLocale *bool)
- func (o *ImportLookmlDashboardParams) SetSpaceID(spaceID int64)
- func (o *ImportLookmlDashboardParams) SetTimeout(timeout time.Duration)
- func (o *ImportLookmlDashboardParams) WithBody(body *models.Dashboard) *ImportLookmlDashboardParams
- func (o *ImportLookmlDashboardParams) WithContext(ctx context.Context) *ImportLookmlDashboardParams
- func (o *ImportLookmlDashboardParams) WithHTTPClient(client *http.Client) *ImportLookmlDashboardParams
- func (o *ImportLookmlDashboardParams) WithLookmlDashboardID(lookmlDashboardID string) *ImportLookmlDashboardParams
- func (o *ImportLookmlDashboardParams) WithRawLocale(rawLocale *bool) *ImportLookmlDashboardParams
- func (o *ImportLookmlDashboardParams) WithSpaceID(spaceID int64) *ImportLookmlDashboardParams
- func (o *ImportLookmlDashboardParams) WithTimeout(timeout time.Duration) *ImportLookmlDashboardParams
- func (o *ImportLookmlDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportLookmlDashboardReader
- type ImportLookmlDashboardUnprocessableEntity
- type SearchDashboardsBadRequest
- type SearchDashboardsNotFound
- type SearchDashboardsOK
- type SearchDashboardsParams
- func NewSearchDashboardsParams() *SearchDashboardsParams
- func NewSearchDashboardsParamsWithContext(ctx context.Context) *SearchDashboardsParams
- func NewSearchDashboardsParamsWithHTTPClient(client *http.Client) *SearchDashboardsParams
- func NewSearchDashboardsParamsWithTimeout(timeout time.Duration) *SearchDashboardsParams
- func (o *SearchDashboardsParams) SetContentFavoriteID(contentFavoriteID *int64)
- func (o *SearchDashboardsParams) SetContext(ctx context.Context)
- func (o *SearchDashboardsParams) SetDeleted(deleted *string)
- func (o *SearchDashboardsParams) SetDescription(description *string)
- func (o *SearchDashboardsParams) SetFields(fields *string)
- func (o *SearchDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *SearchDashboardsParams) SetID(id *int64)
- func (o *SearchDashboardsParams) SetLimit(limit *int64)
- func (o *SearchDashboardsParams) SetOffset(offset *int64)
- func (o *SearchDashboardsParams) SetPage(page *int64)
- func (o *SearchDashboardsParams) SetPerPage(perPage *int64)
- func (o *SearchDashboardsParams) SetSlug(slug *string)
- func (o *SearchDashboardsParams) SetSorts(sorts *string)
- func (o *SearchDashboardsParams) SetSpaceID(spaceID *string)
- func (o *SearchDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *SearchDashboardsParams) SetTitle(title *string)
- func (o *SearchDashboardsParams) SetUserID(userID *string)
- func (o *SearchDashboardsParams) SetViewCount(viewCount *string)
- func (o *SearchDashboardsParams) WithContentFavoriteID(contentFavoriteID *int64) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithContext(ctx context.Context) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithDeleted(deleted *string) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithDescription(description *string) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithFields(fields *string) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithHTTPClient(client *http.Client) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithID(id *int64) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithLimit(limit *int64) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithOffset(offset *int64) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithPage(page *int64) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithPerPage(perPage *int64) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithSlug(slug *string) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithSorts(sorts *string) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithSpaceID(spaceID *string) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithTimeout(timeout time.Duration) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithTitle(title *string) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithUserID(userID *string) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WithViewCount(viewCount *string) *SearchDashboardsParams
- func (o *SearchDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchDashboardsReader
- type SyncLookmlDashboardBadRequest
- type SyncLookmlDashboardNotFound
- type SyncLookmlDashboardOK
- type SyncLookmlDashboardParams
- func NewSyncLookmlDashboardParams() *SyncLookmlDashboardParams
- func NewSyncLookmlDashboardParamsWithContext(ctx context.Context) *SyncLookmlDashboardParams
- func NewSyncLookmlDashboardParamsWithHTTPClient(client *http.Client) *SyncLookmlDashboardParams
- func NewSyncLookmlDashboardParamsWithTimeout(timeout time.Duration) *SyncLookmlDashboardParams
- func (o *SyncLookmlDashboardParams) SetBody(body *models.Dashboard)
- func (o *SyncLookmlDashboardParams) SetContext(ctx context.Context)
- func (o *SyncLookmlDashboardParams) SetHTTPClient(client *http.Client)
- func (o *SyncLookmlDashboardParams) SetLookmlDashboardID(lookmlDashboardID string)
- func (o *SyncLookmlDashboardParams) SetRawLocale(rawLocale *bool)
- func (o *SyncLookmlDashboardParams) SetTimeout(timeout time.Duration)
- func (o *SyncLookmlDashboardParams) WithBody(body *models.Dashboard) *SyncLookmlDashboardParams
- func (o *SyncLookmlDashboardParams) WithContext(ctx context.Context) *SyncLookmlDashboardParams
- func (o *SyncLookmlDashboardParams) WithHTTPClient(client *http.Client) *SyncLookmlDashboardParams
- func (o *SyncLookmlDashboardParams) WithLookmlDashboardID(lookmlDashboardID string) *SyncLookmlDashboardParams
- func (o *SyncLookmlDashboardParams) WithRawLocale(rawLocale *bool) *SyncLookmlDashboardParams
- func (o *SyncLookmlDashboardParams) WithTimeout(timeout time.Duration) *SyncLookmlDashboardParams
- func (o *SyncLookmlDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SyncLookmlDashboardReader
- type SyncLookmlDashboardUnprocessableEntity
- type UpdateDashboardBadRequest
- type UpdateDashboardMethodNotAllowed
- type UpdateDashboardNotFound
- type UpdateDashboardOK
- type UpdateDashboardParams
- func NewUpdateDashboardParams() *UpdateDashboardParams
- func NewUpdateDashboardParamsWithContext(ctx context.Context) *UpdateDashboardParams
- func NewUpdateDashboardParamsWithHTTPClient(client *http.Client) *UpdateDashboardParams
- func NewUpdateDashboardParamsWithTimeout(timeout time.Duration) *UpdateDashboardParams
- func (o *UpdateDashboardParams) SetBody(body *models.Dashboard)
- func (o *UpdateDashboardParams) SetContext(ctx context.Context)
- func (o *UpdateDashboardParams) SetDashboardID(dashboardID string)
- func (o *UpdateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDashboardParams) WithBody(body *models.Dashboard) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithContext(ctx context.Context) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithDashboardID(dashboardID string) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithHTTPClient(client *http.Client) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithTimeout(timeout time.Duration) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDashboardReader
- type UpdateDashboardUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllDashboardsBadRequest ¶
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 ¶
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 ¶
func (o *AllDashboardsParams) WithContext(ctx context.Context) *AllDashboardsParams
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 ¶
func (a *Client) ImportLookmlDashboard(params *ImportLookmlDashboardParams) (*ImportLookmlDashboardOK, *ImportLookmlDashboardCreated, error)
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *CreateDashboardParams) WithBody(body *models.Dashboard) *CreateDashboardParams
WithBody adds the body to the create dashboard params
func (*CreateDashboardParams) WithContext ¶
func (o *CreateDashboardParams) WithContext(ctx context.Context) *CreateDashboardParams
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 ¶
func (o *CreateDashboardUnprocessableEntity) Error() string
type DashboardBadRequest ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *DeleteDashboardMethodNotAllowed) Error() string
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 ¶
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 ¶
func (o *DeleteDashboardParams) WithContext(ctx context.Context) *DeleteDashboardParams
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 ¶
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 ¶
func (o *ImportLookmlDashboardBadRequest) Error() string
type ImportLookmlDashboardCreated ¶
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 ¶
func (o *ImportLookmlDashboardCreated) Error() string
type ImportLookmlDashboardNotFound ¶
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 ¶
func (o *ImportLookmlDashboardNotFound) Error() string
type ImportLookmlDashboardOK ¶
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 ¶
func (o *ImportLookmlDashboardParams) WithBody(body *models.Dashboard) *ImportLookmlDashboardParams
WithBody adds the body to the import lookml dashboard params
func (*ImportLookmlDashboardParams) WithContext ¶
func (o *ImportLookmlDashboardParams) WithContext(ctx context.Context) *ImportLookmlDashboardParams
WithContext adds the context to the import lookml dashboard params
func (*ImportLookmlDashboardParams) WithHTTPClient ¶
func (o *ImportLookmlDashboardParams) WithHTTPClient(client *http.Client) *ImportLookmlDashboardParams
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 ¶
func (o *ImportLookmlDashboardParams) WithSpaceID(spaceID int64) *ImportLookmlDashboardParams
WithSpaceID adds the spaceID to the import lookml dashboard params
func (*ImportLookmlDashboardParams) WithTimeout ¶
func (o *ImportLookmlDashboardParams) WithTimeout(timeout time.Duration) *ImportLookmlDashboardParams
WithTimeout adds the timeout to the import lookml dashboard params
func (*ImportLookmlDashboardParams) WriteToRequest ¶
func (o *ImportLookmlDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ImportLookmlDashboardUnprocessableEntity) Error() string
type SearchDashboardsBadRequest ¶
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 ¶
func (o *SearchDashboardsBadRequest) Error() string
type SearchDashboardsNotFound ¶
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 ¶
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 ¶
func (o *SearchDashboardsParams) WithContext(ctx context.Context) *SearchDashboardsParams
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 ¶
func (o *SearchDashboardsParams) WithID(id *int64) *SearchDashboardsParams
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 ¶
func (o *SearchDashboardsParams) WithPage(page *int64) *SearchDashboardsParams
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 ¶
func (o *SearchDashboardsParams) WithSlug(slug *string) *SearchDashboardsParams
WithSlug adds the slug to the search dashboards params
func (*SearchDashboardsParams) WithSorts ¶
func (o *SearchDashboardsParams) WithSorts(sorts *string) *SearchDashboardsParams
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 ¶
func (o *SearchDashboardsParams) WithTimeout(timeout time.Duration) *SearchDashboardsParams
WithTimeout adds the timeout to the search dashboards params
func (*SearchDashboardsParams) WithTitle ¶
func (o *SearchDashboardsParams) WithTitle(title *string) *SearchDashboardsParams
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 ¶
func (o *SearchDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *SyncLookmlDashboardBadRequest) Error() string
type SyncLookmlDashboardNotFound ¶
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 ¶
func (o *SyncLookmlDashboardNotFound) Error() string
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 ¶
func (o *SyncLookmlDashboardParams) WithBody(body *models.Dashboard) *SyncLookmlDashboardParams
WithBody adds the body to the sync lookml dashboard params
func (*SyncLookmlDashboardParams) WithContext ¶
func (o *SyncLookmlDashboardParams) WithContext(ctx context.Context) *SyncLookmlDashboardParams
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 ¶
func (o *SyncLookmlDashboardParams) WithTimeout(timeout time.Duration) *SyncLookmlDashboardParams
WithTimeout adds the timeout to the sync lookml dashboard params
func (*SyncLookmlDashboardParams) WriteToRequest ¶
func (o *SyncLookmlDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SyncLookmlDashboardUnprocessableEntity) Error() string
type UpdateDashboardBadRequest ¶
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 ¶
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 ¶
func (o *UpdateDashboardMethodNotAllowed) Error() string
type UpdateDashboardNotFound ¶
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 ¶
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 ¶
func (o *UpdateDashboardParams) WithBody(body *models.Dashboard) *UpdateDashboardParams
WithBody adds the body to the update dashboard params
func (*UpdateDashboardParams) WithContext ¶
func (o *UpdateDashboardParams) WithContext(ctx context.Context) *UpdateDashboardParams
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 ¶
func (o *UpdateDashboardUnprocessableEntity) Error() string
Source Files ¶
- all_dashboards_parameters.go
- all_dashboards_responses.go
- create_dashboard_parameters.go
- create_dashboard_responses.go
- dashboard_client.go
- dashboard_parameters.go
- dashboard_responses.go
- delete_dashboard_parameters.go
- delete_dashboard_responses.go
- import_lookml_dashboard_parameters.go
- import_lookml_dashboard_responses.go
- search_dashboards_parameters.go
- search_dashboards_responses.go
- sync_lookml_dashboard_parameters.go
- sync_lookml_dashboard_responses.go
- update_dashboard_parameters.go
- update_dashboard_responses.go