Documentation ¶
Index ¶
- type AddWidgetBadRequest
- type AddWidgetNotFound
- type AddWidgetOK
- type AddWidgetParams
- func (o *AddWidgetParams) SetContext(ctx context.Context)
- func (o *AddWidgetParams) SetDashboardID(dashboardID string)
- func (o *AddWidgetParams) SetHTTPClient(client *http.Client)
- func (o *AddWidgetParams) SetJSONBody(jSONBody *models.AddWidgetRequest)
- func (o *AddWidgetParams) SetTimeout(timeout time.Duration)
- func (o *AddWidgetParams) WithContext(ctx context.Context) *AddWidgetParams
- func (o *AddWidgetParams) WithDashboardID(dashboardID string) *AddWidgetParams
- func (o *AddWidgetParams) WithHTTPClient(client *http.Client) *AddWidgetParams
- func (o *AddWidgetParams) WithJSONBody(jSONBody *models.AddWidgetRequest) *AddWidgetParams
- func (o *AddWidgetParams) WithTimeout(timeout time.Duration) *AddWidgetParams
- func (o *AddWidgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddWidgetReader
- type Client
- func (a *Client) AddWidget(params *AddWidgetParams, authInfo runtime.ClientAuthInfoWriter) (*AddWidgetOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCacheTime(params *UpdateCacheTimeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCacheTimeOK, error)
- func (a *Client) UpdateDescription(params *UpdateDescriptionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDescriptionOK, error)
- func (a *Client) UpdateWidget(params *UpdateWidgetParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateWidgetOK, error)
- func (a *Client) WidgetValue(params *WidgetValueParams, authInfo runtime.ClientAuthInfoWriter) (*WidgetValueOK, error)
- type GetWidgetNotFound
- type GetWidgetOK
- type GetWidgetParams
- func (o *GetWidgetParams) SetContext(ctx context.Context)
- func (o *GetWidgetParams) SetDashboardID(dashboardID string)
- func (o *GetWidgetParams) SetHTTPClient(client *http.Client)
- func (o *GetWidgetParams) SetTimeout(timeout time.Duration)
- func (o *GetWidgetParams) SetWidgetID(widgetID string)
- func (o *GetWidgetParams) WithContext(ctx context.Context) *GetWidgetParams
- func (o *GetWidgetParams) WithDashboardID(dashboardID string) *GetWidgetParams
- func (o *GetWidgetParams) WithHTTPClient(client *http.Client) *GetWidgetParams
- func (o *GetWidgetParams) WithTimeout(timeout time.Duration) *GetWidgetParams
- func (o *GetWidgetParams) WithWidgetID(widgetID string) *GetWidgetParams
- func (o *GetWidgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWidgetReader
- type UpdateCacheTimeNotFound
- type UpdateCacheTimeOK
- type UpdateCacheTimeParams
- func NewUpdateCacheTimeParams() *UpdateCacheTimeParams
- func NewUpdateCacheTimeParamsWithContext(ctx context.Context) *UpdateCacheTimeParams
- func NewUpdateCacheTimeParamsWithHTTPClient(client *http.Client) *UpdateCacheTimeParams
- func NewUpdateCacheTimeParamsWithTimeout(timeout time.Duration) *UpdateCacheTimeParams
- func (o *UpdateCacheTimeParams) SetContext(ctx context.Context)
- func (o *UpdateCacheTimeParams) SetDashboardID(dashboardID string)
- func (o *UpdateCacheTimeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCacheTimeParams) SetJSONBody(jSONBody *models.UpdateWidgetRequest)
- func (o *UpdateCacheTimeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCacheTimeParams) SetWidgetID(widgetID string)
- func (o *UpdateCacheTimeParams) WithContext(ctx context.Context) *UpdateCacheTimeParams
- func (o *UpdateCacheTimeParams) WithDashboardID(dashboardID string) *UpdateCacheTimeParams
- func (o *UpdateCacheTimeParams) WithHTTPClient(client *http.Client) *UpdateCacheTimeParams
- func (o *UpdateCacheTimeParams) WithJSONBody(jSONBody *models.UpdateWidgetRequest) *UpdateCacheTimeParams
- func (o *UpdateCacheTimeParams) WithTimeout(timeout time.Duration) *UpdateCacheTimeParams
- func (o *UpdateCacheTimeParams) WithWidgetID(widgetID string) *UpdateCacheTimeParams
- func (o *UpdateCacheTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCacheTimeReader
- type UpdateDescriptionNotFound
- type UpdateDescriptionOK
- type UpdateDescriptionParams
- func NewUpdateDescriptionParams() *UpdateDescriptionParams
- func NewUpdateDescriptionParamsWithContext(ctx context.Context) *UpdateDescriptionParams
- func NewUpdateDescriptionParamsWithHTTPClient(client *http.Client) *UpdateDescriptionParams
- func NewUpdateDescriptionParamsWithTimeout(timeout time.Duration) *UpdateDescriptionParams
- func (o *UpdateDescriptionParams) SetContext(ctx context.Context)
- func (o *UpdateDescriptionParams) SetDashboardID(dashboardID string)
- func (o *UpdateDescriptionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDescriptionParams) SetJSONBody(jSONBody *models.UpdateWidgetRequest)
- func (o *UpdateDescriptionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDescriptionParams) SetWidgetID(widgetID string)
- func (o *UpdateDescriptionParams) WithContext(ctx context.Context) *UpdateDescriptionParams
- func (o *UpdateDescriptionParams) WithDashboardID(dashboardID string) *UpdateDescriptionParams
- func (o *UpdateDescriptionParams) WithHTTPClient(client *http.Client) *UpdateDescriptionParams
- func (o *UpdateDescriptionParams) WithJSONBody(jSONBody *models.UpdateWidgetRequest) *UpdateDescriptionParams
- func (o *UpdateDescriptionParams) WithTimeout(timeout time.Duration) *UpdateDescriptionParams
- func (o *UpdateDescriptionParams) WithWidgetID(widgetID string) *UpdateDescriptionParams
- func (o *UpdateDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDescriptionReader
- type UpdateWidgetNotFound
- type UpdateWidgetOK
- type UpdateWidgetParams
- func (o *UpdateWidgetParams) SetContext(ctx context.Context)
- func (o *UpdateWidgetParams) SetDashboardID(dashboardID string)
- func (o *UpdateWidgetParams) SetHTTPClient(client *http.Client)
- func (o *UpdateWidgetParams) SetJSONBody(jSONBody *models.AddWidgetRequest)
- func (o *UpdateWidgetParams) SetTimeout(timeout time.Duration)
- func (o *UpdateWidgetParams) SetWidgetID(widgetID string)
- func (o *UpdateWidgetParams) WithContext(ctx context.Context) *UpdateWidgetParams
- func (o *UpdateWidgetParams) WithDashboardID(dashboardID string) *UpdateWidgetParams
- func (o *UpdateWidgetParams) WithHTTPClient(client *http.Client) *UpdateWidgetParams
- func (o *UpdateWidgetParams) WithJSONBody(jSONBody *models.AddWidgetRequest) *UpdateWidgetParams
- func (o *UpdateWidgetParams) WithTimeout(timeout time.Duration) *UpdateWidgetParams
- func (o *UpdateWidgetParams) WithWidgetID(widgetID string) *UpdateWidgetParams
- func (o *UpdateWidgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateWidgetReader
- type WidgetValueGatewayTimeout
- type WidgetValueNotFound
- type WidgetValueOK
- type WidgetValueOKBody
- type WidgetValueParams
- func (o *WidgetValueParams) SetContext(ctx context.Context)
- func (o *WidgetValueParams) SetDashboardID(dashboardID string)
- func (o *WidgetValueParams) SetHTTPClient(client *http.Client)
- func (o *WidgetValueParams) SetTimeout(timeout time.Duration)
- func (o *WidgetValueParams) SetWidgetID(widgetID string)
- func (o *WidgetValueParams) WithContext(ctx context.Context) *WidgetValueParams
- func (o *WidgetValueParams) WithDashboardID(dashboardID string) *WidgetValueParams
- func (o *WidgetValueParams) WithHTTPClient(client *http.Client) *WidgetValueParams
- func (o *WidgetValueParams) WithTimeout(timeout time.Duration) *WidgetValueParams
- func (o *WidgetValueParams) WithWidgetID(widgetID string) *WidgetValueParams
- func (o *WidgetValueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WidgetValueReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddWidgetBadRequest ¶
type AddWidgetBadRequest struct { }
AddWidgetBadRequest handles this case with default header values.
No such widget type.
func NewAddWidgetBadRequest ¶
func NewAddWidgetBadRequest() *AddWidgetBadRequest
NewAddWidgetBadRequest creates a AddWidgetBadRequest with default headers values
func (*AddWidgetBadRequest) Error ¶
func (o *AddWidgetBadRequest) Error() string
type AddWidgetNotFound ¶
type AddWidgetNotFound struct { }
AddWidgetNotFound handles this case with default header values.
Dashboard not found.
func NewAddWidgetNotFound ¶
func NewAddWidgetNotFound() *AddWidgetNotFound
NewAddWidgetNotFound creates a AddWidgetNotFound with default headers values
func (*AddWidgetNotFound) Error ¶
func (o *AddWidgetNotFound) Error() string
type AddWidgetOK ¶
type AddWidgetOK struct { }
AddWidgetOK handles this case with default header values.
No response was specified
func NewAddWidgetOK ¶
func NewAddWidgetOK() *AddWidgetOK
NewAddWidgetOK creates a AddWidgetOK with default headers values
func (*AddWidgetOK) Error ¶
func (o *AddWidgetOK) Error() string
type AddWidgetParams ¶
type AddWidgetParams struct { /*JSONBody*/ JSONBody *models.AddWidgetRequest /*DashboardID*/ DashboardID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddWidgetParams contains all the parameters to send to the API endpoint for the add widget operation typically these are written to a http.Request
func NewAddWidgetParams ¶
func NewAddWidgetParams() *AddWidgetParams
NewAddWidgetParams creates a new AddWidgetParams object with the default values initialized.
func NewAddWidgetParamsWithContext ¶
func NewAddWidgetParamsWithContext(ctx context.Context) *AddWidgetParams
NewAddWidgetParamsWithContext creates a new AddWidgetParams object with the default values initialized, and the ability to set a context for a request
func NewAddWidgetParamsWithHTTPClient ¶
func NewAddWidgetParamsWithHTTPClient(client *http.Client) *AddWidgetParams
NewAddWidgetParamsWithHTTPClient creates a new AddWidgetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddWidgetParamsWithTimeout ¶
func NewAddWidgetParamsWithTimeout(timeout time.Duration) *AddWidgetParams
NewAddWidgetParamsWithTimeout creates a new AddWidgetParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddWidgetParams) SetContext ¶
func (o *AddWidgetParams) SetContext(ctx context.Context)
SetContext adds the context to the add widget params
func (*AddWidgetParams) SetDashboardID ¶
func (o *AddWidgetParams) SetDashboardID(dashboardID string)
SetDashboardID adds the dashboardId to the add widget params
func (*AddWidgetParams) SetHTTPClient ¶
func (o *AddWidgetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add widget params
func (*AddWidgetParams) SetJSONBody ¶
func (o *AddWidgetParams) SetJSONBody(jSONBody *models.AddWidgetRequest)
SetJSONBody adds the jsonBody to the add widget params
func (*AddWidgetParams) SetTimeout ¶
func (o *AddWidgetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add widget params
func (*AddWidgetParams) WithContext ¶
func (o *AddWidgetParams) WithContext(ctx context.Context) *AddWidgetParams
WithContext adds the context to the add widget params
func (*AddWidgetParams) WithDashboardID ¶
func (o *AddWidgetParams) WithDashboardID(dashboardID string) *AddWidgetParams
WithDashboardID adds the dashboardID to the add widget params
func (*AddWidgetParams) WithHTTPClient ¶
func (o *AddWidgetParams) WithHTTPClient(client *http.Client) *AddWidgetParams
WithHTTPClient adds the HTTPClient to the add widget params
func (*AddWidgetParams) WithJSONBody ¶
func (o *AddWidgetParams) WithJSONBody(jSONBody *models.AddWidgetRequest) *AddWidgetParams
WithJSONBody adds the jSONBody to the add widget params
func (*AddWidgetParams) WithTimeout ¶
func (o *AddWidgetParams) WithTimeout(timeout time.Duration) *AddWidgetParams
WithTimeout adds the timeout to the add widget params
func (*AddWidgetParams) WriteToRequest ¶
func (o *AddWidgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddWidgetReader ¶
type AddWidgetReader struct {
// contains filtered or unexported fields
}
AddWidgetReader is a Reader for the AddWidget structure.
func (*AddWidgetReader) ReadResponse ¶
func (o *AddWidgetReader) 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 dashboards dashboard id widgets API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new dashboards dashboard id widgets API client.
func (*Client) AddWidget ¶
func (a *Client) AddWidget(params *AddWidgetParams, authInfo runtime.ClientAuthInfoWriter) (*AddWidgetOK, error)
AddWidget adds a widget to a dashboard
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCacheTime ¶
func (a *Client) UpdateCacheTime(params *UpdateCacheTimeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCacheTimeOK, error)
UpdateCacheTime updates cache time of a widget
func (*Client) UpdateDescription ¶
func (a *Client) UpdateDescription(params *UpdateDescriptionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDescriptionOK, error)
UpdateDescription updates description of a widget
func (*Client) UpdateWidget ¶
func (a *Client) UpdateWidget(params *UpdateWidgetParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateWidgetOK, error)
UpdateWidget updates a widget
func (*Client) WidgetValue ¶
func (a *Client) WidgetValue(params *WidgetValueParams, authInfo runtime.ClientAuthInfoWriter) (*WidgetValueOK, error)
WidgetValue gets a single widget value
type GetWidgetNotFound ¶
type GetWidgetNotFound struct { }
GetWidgetNotFound handles this case with default header values.
Widget not found.
func NewGetWidgetNotFound ¶
func NewGetWidgetNotFound() *GetWidgetNotFound
NewGetWidgetNotFound creates a GetWidgetNotFound with default headers values
func (*GetWidgetNotFound) Error ¶
func (o *GetWidgetNotFound) Error() string
type GetWidgetOK ¶
type GetWidgetOK struct {
Payload *models.WidgetSummary
}
GetWidgetOK handles this case with default header values.
No response was specified
func NewGetWidgetOK ¶
func NewGetWidgetOK() *GetWidgetOK
NewGetWidgetOK creates a GetWidgetOK with default headers values
func (*GetWidgetOK) Error ¶
func (o *GetWidgetOK) Error() string
type GetWidgetParams ¶
type GetWidgetParams struct { /*DashboardID*/ DashboardID string /*WidgetID*/ WidgetID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWidgetParams contains all the parameters to send to the API endpoint for the get widget operation typically these are written to a http.Request
func NewGetWidgetParams ¶
func NewGetWidgetParams() *GetWidgetParams
NewGetWidgetParams creates a new GetWidgetParams object with the default values initialized.
func NewGetWidgetParamsWithContext ¶
func NewGetWidgetParamsWithContext(ctx context.Context) *GetWidgetParams
NewGetWidgetParamsWithContext creates a new GetWidgetParams object with the default values initialized, and the ability to set a context for a request
func NewGetWidgetParamsWithHTTPClient ¶
func NewGetWidgetParamsWithHTTPClient(client *http.Client) *GetWidgetParams
NewGetWidgetParamsWithHTTPClient creates a new GetWidgetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWidgetParamsWithTimeout ¶
func NewGetWidgetParamsWithTimeout(timeout time.Duration) *GetWidgetParams
NewGetWidgetParamsWithTimeout creates a new GetWidgetParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWidgetParams) SetContext ¶
func (o *GetWidgetParams) SetContext(ctx context.Context)
SetContext adds the context to the get widget params
func (*GetWidgetParams) SetDashboardID ¶
func (o *GetWidgetParams) SetDashboardID(dashboardID string)
SetDashboardID adds the dashboardId to the get widget params
func (*GetWidgetParams) SetHTTPClient ¶
func (o *GetWidgetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get widget params
func (*GetWidgetParams) SetTimeout ¶
func (o *GetWidgetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get widget params
func (*GetWidgetParams) SetWidgetID ¶
func (o *GetWidgetParams) SetWidgetID(widgetID string)
SetWidgetID adds the widgetId to the get widget params
func (*GetWidgetParams) WithContext ¶
func (o *GetWidgetParams) WithContext(ctx context.Context) *GetWidgetParams
WithContext adds the context to the get widget params
func (*GetWidgetParams) WithDashboardID ¶
func (o *GetWidgetParams) WithDashboardID(dashboardID string) *GetWidgetParams
WithDashboardID adds the dashboardID to the get widget params
func (*GetWidgetParams) WithHTTPClient ¶
func (o *GetWidgetParams) WithHTTPClient(client *http.Client) *GetWidgetParams
WithHTTPClient adds the HTTPClient to the get widget params
func (*GetWidgetParams) WithTimeout ¶
func (o *GetWidgetParams) WithTimeout(timeout time.Duration) *GetWidgetParams
WithTimeout adds the timeout to the get widget params
func (*GetWidgetParams) WithWidgetID ¶
func (o *GetWidgetParams) WithWidgetID(widgetID string) *GetWidgetParams
WithWidgetID adds the widgetID to the get widget params
func (*GetWidgetParams) WriteToRequest ¶
func (o *GetWidgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWidgetReader ¶
type GetWidgetReader struct {
// contains filtered or unexported fields
}
GetWidgetReader is a Reader for the GetWidget structure.
func (*GetWidgetReader) ReadResponse ¶
func (o *GetWidgetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCacheTimeNotFound ¶
type UpdateCacheTimeNotFound struct { }
UpdateCacheTimeNotFound handles this case with default header values.
Widget not found.
func NewUpdateCacheTimeNotFound ¶
func NewUpdateCacheTimeNotFound() *UpdateCacheTimeNotFound
NewUpdateCacheTimeNotFound creates a UpdateCacheTimeNotFound with default headers values
func (*UpdateCacheTimeNotFound) Error ¶
func (o *UpdateCacheTimeNotFound) Error() string
type UpdateCacheTimeOK ¶
type UpdateCacheTimeOK struct { }
UpdateCacheTimeOK handles this case with default header values.
No response was specified
func NewUpdateCacheTimeOK ¶
func NewUpdateCacheTimeOK() *UpdateCacheTimeOK
NewUpdateCacheTimeOK creates a UpdateCacheTimeOK with default headers values
func (*UpdateCacheTimeOK) Error ¶
func (o *UpdateCacheTimeOK) Error() string
type UpdateCacheTimeParams ¶
type UpdateCacheTimeParams struct { /*JSONBody*/ JSONBody *models.UpdateWidgetRequest /*DashboardID*/ DashboardID string /*WidgetID*/ WidgetID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCacheTimeParams contains all the parameters to send to the API endpoint for the update cache time operation typically these are written to a http.Request
func NewUpdateCacheTimeParams ¶
func NewUpdateCacheTimeParams() *UpdateCacheTimeParams
NewUpdateCacheTimeParams creates a new UpdateCacheTimeParams object with the default values initialized.
func NewUpdateCacheTimeParamsWithContext ¶
func NewUpdateCacheTimeParamsWithContext(ctx context.Context) *UpdateCacheTimeParams
NewUpdateCacheTimeParamsWithContext creates a new UpdateCacheTimeParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateCacheTimeParamsWithHTTPClient ¶
func NewUpdateCacheTimeParamsWithHTTPClient(client *http.Client) *UpdateCacheTimeParams
NewUpdateCacheTimeParamsWithHTTPClient creates a new UpdateCacheTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateCacheTimeParamsWithTimeout ¶
func NewUpdateCacheTimeParamsWithTimeout(timeout time.Duration) *UpdateCacheTimeParams
NewUpdateCacheTimeParamsWithTimeout creates a new UpdateCacheTimeParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateCacheTimeParams) SetContext ¶
func (o *UpdateCacheTimeParams) SetContext(ctx context.Context)
SetContext adds the context to the update cache time params
func (*UpdateCacheTimeParams) SetDashboardID ¶
func (o *UpdateCacheTimeParams) SetDashboardID(dashboardID string)
SetDashboardID adds the dashboardId to the update cache time params
func (*UpdateCacheTimeParams) SetHTTPClient ¶
func (o *UpdateCacheTimeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update cache time params
func (*UpdateCacheTimeParams) SetJSONBody ¶
func (o *UpdateCacheTimeParams) SetJSONBody(jSONBody *models.UpdateWidgetRequest)
SetJSONBody adds the jsonBody to the update cache time params
func (*UpdateCacheTimeParams) SetTimeout ¶
func (o *UpdateCacheTimeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update cache time params
func (*UpdateCacheTimeParams) SetWidgetID ¶
func (o *UpdateCacheTimeParams) SetWidgetID(widgetID string)
SetWidgetID adds the widgetId to the update cache time params
func (*UpdateCacheTimeParams) WithContext ¶
func (o *UpdateCacheTimeParams) WithContext(ctx context.Context) *UpdateCacheTimeParams
WithContext adds the context to the update cache time params
func (*UpdateCacheTimeParams) WithDashboardID ¶
func (o *UpdateCacheTimeParams) WithDashboardID(dashboardID string) *UpdateCacheTimeParams
WithDashboardID adds the dashboardID to the update cache time params
func (*UpdateCacheTimeParams) WithHTTPClient ¶
func (o *UpdateCacheTimeParams) WithHTTPClient(client *http.Client) *UpdateCacheTimeParams
WithHTTPClient adds the HTTPClient to the update cache time params
func (*UpdateCacheTimeParams) WithJSONBody ¶
func (o *UpdateCacheTimeParams) WithJSONBody(jSONBody *models.UpdateWidgetRequest) *UpdateCacheTimeParams
WithJSONBody adds the jSONBody to the update cache time params
func (*UpdateCacheTimeParams) WithTimeout ¶
func (o *UpdateCacheTimeParams) WithTimeout(timeout time.Duration) *UpdateCacheTimeParams
WithTimeout adds the timeout to the update cache time params
func (*UpdateCacheTimeParams) WithWidgetID ¶
func (o *UpdateCacheTimeParams) WithWidgetID(widgetID string) *UpdateCacheTimeParams
WithWidgetID adds the widgetID to the update cache time params
func (*UpdateCacheTimeParams) WriteToRequest ¶
func (o *UpdateCacheTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCacheTimeReader ¶
type UpdateCacheTimeReader struct {
// contains filtered or unexported fields
}
UpdateCacheTimeReader is a Reader for the UpdateCacheTime structure.
func (*UpdateCacheTimeReader) ReadResponse ¶
func (o *UpdateCacheTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDescriptionNotFound ¶
type UpdateDescriptionNotFound struct { }
UpdateDescriptionNotFound handles this case with default header values.
Widget not found.
func NewUpdateDescriptionNotFound ¶
func NewUpdateDescriptionNotFound() *UpdateDescriptionNotFound
NewUpdateDescriptionNotFound creates a UpdateDescriptionNotFound with default headers values
func (*UpdateDescriptionNotFound) Error ¶
func (o *UpdateDescriptionNotFound) Error() string
type UpdateDescriptionOK ¶
type UpdateDescriptionOK struct { }
UpdateDescriptionOK handles this case with default header values.
No response was specified
func NewUpdateDescriptionOK ¶
func NewUpdateDescriptionOK() *UpdateDescriptionOK
NewUpdateDescriptionOK creates a UpdateDescriptionOK with default headers values
func (*UpdateDescriptionOK) Error ¶
func (o *UpdateDescriptionOK) Error() string
type UpdateDescriptionParams ¶
type UpdateDescriptionParams struct { /*JSONBody*/ JSONBody *models.UpdateWidgetRequest /*DashboardID*/ DashboardID string /*WidgetID*/ WidgetID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDescriptionParams contains all the parameters to send to the API endpoint for the update description operation typically these are written to a http.Request
func NewUpdateDescriptionParams ¶
func NewUpdateDescriptionParams() *UpdateDescriptionParams
NewUpdateDescriptionParams creates a new UpdateDescriptionParams object with the default values initialized.
func NewUpdateDescriptionParamsWithContext ¶
func NewUpdateDescriptionParamsWithContext(ctx context.Context) *UpdateDescriptionParams
NewUpdateDescriptionParamsWithContext creates a new UpdateDescriptionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateDescriptionParamsWithHTTPClient ¶
func NewUpdateDescriptionParamsWithHTTPClient(client *http.Client) *UpdateDescriptionParams
NewUpdateDescriptionParamsWithHTTPClient creates a new UpdateDescriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateDescriptionParamsWithTimeout ¶
func NewUpdateDescriptionParamsWithTimeout(timeout time.Duration) *UpdateDescriptionParams
NewUpdateDescriptionParamsWithTimeout creates a new UpdateDescriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateDescriptionParams) SetContext ¶
func (o *UpdateDescriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the update description params
func (*UpdateDescriptionParams) SetDashboardID ¶
func (o *UpdateDescriptionParams) SetDashboardID(dashboardID string)
SetDashboardID adds the dashboardId to the update description params
func (*UpdateDescriptionParams) SetHTTPClient ¶
func (o *UpdateDescriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update description params
func (*UpdateDescriptionParams) SetJSONBody ¶
func (o *UpdateDescriptionParams) SetJSONBody(jSONBody *models.UpdateWidgetRequest)
SetJSONBody adds the jsonBody to the update description params
func (*UpdateDescriptionParams) SetTimeout ¶
func (o *UpdateDescriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update description params
func (*UpdateDescriptionParams) SetWidgetID ¶
func (o *UpdateDescriptionParams) SetWidgetID(widgetID string)
SetWidgetID adds the widgetId to the update description params
func (*UpdateDescriptionParams) WithContext ¶
func (o *UpdateDescriptionParams) WithContext(ctx context.Context) *UpdateDescriptionParams
WithContext adds the context to the update description params
func (*UpdateDescriptionParams) WithDashboardID ¶
func (o *UpdateDescriptionParams) WithDashboardID(dashboardID string) *UpdateDescriptionParams
WithDashboardID adds the dashboardID to the update description params
func (*UpdateDescriptionParams) WithHTTPClient ¶
func (o *UpdateDescriptionParams) WithHTTPClient(client *http.Client) *UpdateDescriptionParams
WithHTTPClient adds the HTTPClient to the update description params
func (*UpdateDescriptionParams) WithJSONBody ¶
func (o *UpdateDescriptionParams) WithJSONBody(jSONBody *models.UpdateWidgetRequest) *UpdateDescriptionParams
WithJSONBody adds the jSONBody to the update description params
func (*UpdateDescriptionParams) WithTimeout ¶
func (o *UpdateDescriptionParams) WithTimeout(timeout time.Duration) *UpdateDescriptionParams
WithTimeout adds the timeout to the update description params
func (*UpdateDescriptionParams) WithWidgetID ¶
func (o *UpdateDescriptionParams) WithWidgetID(widgetID string) *UpdateDescriptionParams
WithWidgetID adds the widgetID to the update description params
func (*UpdateDescriptionParams) WriteToRequest ¶
func (o *UpdateDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDescriptionReader ¶
type UpdateDescriptionReader struct {
// contains filtered or unexported fields
}
UpdateDescriptionReader is a Reader for the UpdateDescription structure.
func (*UpdateDescriptionReader) ReadResponse ¶
func (o *UpdateDescriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateWidgetNotFound ¶
type UpdateWidgetNotFound struct { }
UpdateWidgetNotFound handles this case with default header values.
Widget not found.
func NewUpdateWidgetNotFound ¶
func NewUpdateWidgetNotFound() *UpdateWidgetNotFound
NewUpdateWidgetNotFound creates a UpdateWidgetNotFound with default headers values
func (*UpdateWidgetNotFound) Error ¶
func (o *UpdateWidgetNotFound) Error() string
type UpdateWidgetOK ¶
type UpdateWidgetOK struct { }
UpdateWidgetOK handles this case with default header values.
No response was specified
func NewUpdateWidgetOK ¶
func NewUpdateWidgetOK() *UpdateWidgetOK
NewUpdateWidgetOK creates a UpdateWidgetOK with default headers values
func (*UpdateWidgetOK) Error ¶
func (o *UpdateWidgetOK) Error() string
type UpdateWidgetParams ¶
type UpdateWidgetParams struct { /*JSONBody*/ JSONBody *models.AddWidgetRequest /*DashboardID*/ DashboardID string /*WidgetID*/ WidgetID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateWidgetParams contains all the parameters to send to the API endpoint for the update widget operation typically these are written to a http.Request
func NewUpdateWidgetParams ¶
func NewUpdateWidgetParams() *UpdateWidgetParams
NewUpdateWidgetParams creates a new UpdateWidgetParams object with the default values initialized.
func NewUpdateWidgetParamsWithContext ¶
func NewUpdateWidgetParamsWithContext(ctx context.Context) *UpdateWidgetParams
NewUpdateWidgetParamsWithContext creates a new UpdateWidgetParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateWidgetParamsWithHTTPClient ¶
func NewUpdateWidgetParamsWithHTTPClient(client *http.Client) *UpdateWidgetParams
NewUpdateWidgetParamsWithHTTPClient creates a new UpdateWidgetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateWidgetParamsWithTimeout ¶
func NewUpdateWidgetParamsWithTimeout(timeout time.Duration) *UpdateWidgetParams
NewUpdateWidgetParamsWithTimeout creates a new UpdateWidgetParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateWidgetParams) SetContext ¶
func (o *UpdateWidgetParams) SetContext(ctx context.Context)
SetContext adds the context to the update widget params
func (*UpdateWidgetParams) SetDashboardID ¶
func (o *UpdateWidgetParams) SetDashboardID(dashboardID string)
SetDashboardID adds the dashboardId to the update widget params
func (*UpdateWidgetParams) SetHTTPClient ¶
func (o *UpdateWidgetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update widget params
func (*UpdateWidgetParams) SetJSONBody ¶
func (o *UpdateWidgetParams) SetJSONBody(jSONBody *models.AddWidgetRequest)
SetJSONBody adds the jsonBody to the update widget params
func (*UpdateWidgetParams) SetTimeout ¶
func (o *UpdateWidgetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update widget params
func (*UpdateWidgetParams) SetWidgetID ¶
func (o *UpdateWidgetParams) SetWidgetID(widgetID string)
SetWidgetID adds the widgetId to the update widget params
func (*UpdateWidgetParams) WithContext ¶
func (o *UpdateWidgetParams) WithContext(ctx context.Context) *UpdateWidgetParams
WithContext adds the context to the update widget params
func (*UpdateWidgetParams) WithDashboardID ¶
func (o *UpdateWidgetParams) WithDashboardID(dashboardID string) *UpdateWidgetParams
WithDashboardID adds the dashboardID to the update widget params
func (*UpdateWidgetParams) WithHTTPClient ¶
func (o *UpdateWidgetParams) WithHTTPClient(client *http.Client) *UpdateWidgetParams
WithHTTPClient adds the HTTPClient to the update widget params
func (*UpdateWidgetParams) WithJSONBody ¶
func (o *UpdateWidgetParams) WithJSONBody(jSONBody *models.AddWidgetRequest) *UpdateWidgetParams
WithJSONBody adds the jSONBody to the update widget params
func (*UpdateWidgetParams) WithTimeout ¶
func (o *UpdateWidgetParams) WithTimeout(timeout time.Duration) *UpdateWidgetParams
WithTimeout adds the timeout to the update widget params
func (*UpdateWidgetParams) WithWidgetID ¶
func (o *UpdateWidgetParams) WithWidgetID(widgetID string) *UpdateWidgetParams
WithWidgetID adds the widgetID to the update widget params
func (*UpdateWidgetParams) WriteToRequest ¶
func (o *UpdateWidgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateWidgetReader ¶
type UpdateWidgetReader struct {
// contains filtered or unexported fields
}
UpdateWidgetReader is a Reader for the UpdateWidget structure.
func (*UpdateWidgetReader) ReadResponse ¶
func (o *UpdateWidgetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WidgetValueGatewayTimeout ¶
type WidgetValueGatewayTimeout struct { }
WidgetValueGatewayTimeout handles this case with default header values.
Computation failed on indexer side.
func NewWidgetValueGatewayTimeout ¶
func NewWidgetValueGatewayTimeout() *WidgetValueGatewayTimeout
NewWidgetValueGatewayTimeout creates a WidgetValueGatewayTimeout with default headers values
func (*WidgetValueGatewayTimeout) Error ¶
func (o *WidgetValueGatewayTimeout) Error() string
type WidgetValueNotFound ¶
type WidgetValueNotFound struct { }
WidgetValueNotFound handles this case with default header values.
Widget not found.
func NewWidgetValueNotFound ¶
func NewWidgetValueNotFound() *WidgetValueNotFound
NewWidgetValueNotFound creates a WidgetValueNotFound with default headers values
func (*WidgetValueNotFound) Error ¶
func (o *WidgetValueNotFound) Error() string
type WidgetValueOK ¶
type WidgetValueOK struct {
Payload WidgetValueOKBody
}
WidgetValueOK handles this case with default header values.
No response was specified
func NewWidgetValueOK ¶
func NewWidgetValueOK() *WidgetValueOK
NewWidgetValueOK creates a WidgetValueOK with default headers values
func (*WidgetValueOK) Error ¶
func (o *WidgetValueOK) Error() string
type WidgetValueOKBody ¶
type WidgetValueOKBody interface{}
WidgetValueOKBody widget value o k body swagger:model WidgetValueOKBody
type WidgetValueParams ¶
type WidgetValueParams struct { /*DashboardID*/ DashboardID string /*WidgetID*/ WidgetID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WidgetValueParams contains all the parameters to send to the API endpoint for the widget value operation typically these are written to a http.Request
func NewWidgetValueParams ¶
func NewWidgetValueParams() *WidgetValueParams
NewWidgetValueParams creates a new WidgetValueParams object with the default values initialized.
func NewWidgetValueParamsWithContext ¶
func NewWidgetValueParamsWithContext(ctx context.Context) *WidgetValueParams
NewWidgetValueParamsWithContext creates a new WidgetValueParams object with the default values initialized, and the ability to set a context for a request
func NewWidgetValueParamsWithHTTPClient ¶
func NewWidgetValueParamsWithHTTPClient(client *http.Client) *WidgetValueParams
NewWidgetValueParamsWithHTTPClient creates a new WidgetValueParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewWidgetValueParamsWithTimeout ¶
func NewWidgetValueParamsWithTimeout(timeout time.Duration) *WidgetValueParams
NewWidgetValueParamsWithTimeout creates a new WidgetValueParams object with the default values initialized, and the ability to set a timeout on a request
func (*WidgetValueParams) SetContext ¶
func (o *WidgetValueParams) SetContext(ctx context.Context)
SetContext adds the context to the widget value params
func (*WidgetValueParams) SetDashboardID ¶
func (o *WidgetValueParams) SetDashboardID(dashboardID string)
SetDashboardID adds the dashboardId to the widget value params
func (*WidgetValueParams) SetHTTPClient ¶
func (o *WidgetValueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the widget value params
func (*WidgetValueParams) SetTimeout ¶
func (o *WidgetValueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the widget value params
func (*WidgetValueParams) SetWidgetID ¶
func (o *WidgetValueParams) SetWidgetID(widgetID string)
SetWidgetID adds the widgetId to the widget value params
func (*WidgetValueParams) WithContext ¶
func (o *WidgetValueParams) WithContext(ctx context.Context) *WidgetValueParams
WithContext adds the context to the widget value params
func (*WidgetValueParams) WithDashboardID ¶
func (o *WidgetValueParams) WithDashboardID(dashboardID string) *WidgetValueParams
WithDashboardID adds the dashboardID to the widget value params
func (*WidgetValueParams) WithHTTPClient ¶
func (o *WidgetValueParams) WithHTTPClient(client *http.Client) *WidgetValueParams
WithHTTPClient adds the HTTPClient to the widget value params
func (*WidgetValueParams) WithTimeout ¶
func (o *WidgetValueParams) WithTimeout(timeout time.Duration) *WidgetValueParams
WithTimeout adds the timeout to the widget value params
func (*WidgetValueParams) WithWidgetID ¶
func (o *WidgetValueParams) WithWidgetID(widgetID string) *WidgetValueParams
WithWidgetID adds the widgetID to the widget value params
func (*WidgetValueParams) WriteToRequest ¶
func (o *WidgetValueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WidgetValueReader ¶
type WidgetValueReader struct {
// contains filtered or unexported fields
}
WidgetValueReader is a Reader for the WidgetValue structure.
func (*WidgetValueReader) ReadResponse ¶
func (o *WidgetValueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_widget_parameters.go
- add_widget_responses.go
- dashboards_dashboard_id_widgets_client.go
- get_widget_parameters.go
- get_widget_responses.go
- update_cache_time_parameters.go
- update_cache_time_responses.go
- update_description_parameters.go
- update_description_responses.go
- update_widget_parameters.go
- update_widget_responses.go
- widget_value_parameters.go
- widget_value_responses.go