Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateDashboard(params *CreateDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateDashboardCreated, error)
- func (a *Client) DeleteDashboard(params *DeleteDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteDashboardNoContent, error)
- func (a *Client) GetDashboard(params *GetDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDashboardOK, error)
- func (a *Client) GetDashboards(params *GetDashboardsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDashboardsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDashboard(params *UpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateDashboardOK, error)
- type ClientOption
- type ClientService
- type CreateDashboardBadRequest
- func (o *CreateDashboardBadRequest) Code() int
- func (o *CreateDashboardBadRequest) Error() string
- func (o *CreateDashboardBadRequest) GetPayload() *models.Errors
- func (o *CreateDashboardBadRequest) IsClientError() bool
- func (o *CreateDashboardBadRequest) IsCode(code int) bool
- func (o *CreateDashboardBadRequest) IsRedirect() bool
- func (o *CreateDashboardBadRequest) IsServerError() bool
- func (o *CreateDashboardBadRequest) IsSuccess() bool
- func (o *CreateDashboardBadRequest) String() string
- type CreateDashboardCreated
- func (o *CreateDashboardCreated) Code() int
- func (o *CreateDashboardCreated) Error() string
- func (o *CreateDashboardCreated) GetPayload() *models.Dashboard
- func (o *CreateDashboardCreated) IsClientError() bool
- func (o *CreateDashboardCreated) IsCode(code int) bool
- func (o *CreateDashboardCreated) IsRedirect() bool
- func (o *CreateDashboardCreated) IsServerError() bool
- func (o *CreateDashboardCreated) IsSuccess() bool
- func (o *CreateDashboardCreated) String() string
- 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) SetContext(ctx context.Context)
- func (o *CreateDashboardParams) SetDashboards(dashboards *models.PostDashboards)
- func (o *CreateDashboardParams) SetDefaults()
- func (o *CreateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *CreateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *CreateDashboardParams) WithContext(ctx context.Context) *CreateDashboardParams
- func (o *CreateDashboardParams) WithDashboards(dashboards *models.PostDashboards) *CreateDashboardParams
- func (o *CreateDashboardParams) WithDefaults() *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 DeleteDashboardNoContent
- func (o *DeleteDashboardNoContent) Code() int
- func (o *DeleteDashboardNoContent) Error() string
- func (o *DeleteDashboardNoContent) GetPayload() *models.Dashboard
- func (o *DeleteDashboardNoContent) IsClientError() bool
- func (o *DeleteDashboardNoContent) IsCode(code int) bool
- func (o *DeleteDashboardNoContent) IsRedirect() bool
- func (o *DeleteDashboardNoContent) IsServerError() bool
- func (o *DeleteDashboardNoContent) IsSuccess() bool
- func (o *DeleteDashboardNoContent) String() string
- type DeleteDashboardNotFound
- func (o *DeleteDashboardNotFound) Code() int
- func (o *DeleteDashboardNotFound) Error() string
- func (o *DeleteDashboardNotFound) GetPayload() *models.Errors
- func (o *DeleteDashboardNotFound) IsClientError() bool
- func (o *DeleteDashboardNotFound) IsCode(code int) bool
- func (o *DeleteDashboardNotFound) IsRedirect() bool
- func (o *DeleteDashboardNotFound) IsServerError() bool
- func (o *DeleteDashboardNotFound) IsSuccess() bool
- func (o *DeleteDashboardNotFound) String() string
- 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) SetDashboardToken(dashboardToken string)
- func (o *DeleteDashboardParams) SetDefaults()
- 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) WithDashboardToken(dashboardToken string) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithDefaults() *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 GetDashboardNotFound
- func (o *GetDashboardNotFound) Code() int
- func (o *GetDashboardNotFound) Error() string
- func (o *GetDashboardNotFound) GetPayload() *models.Errors
- func (o *GetDashboardNotFound) IsClientError() bool
- func (o *GetDashboardNotFound) IsCode(code int) bool
- func (o *GetDashboardNotFound) IsRedirect() bool
- func (o *GetDashboardNotFound) IsServerError() bool
- func (o *GetDashboardNotFound) IsSuccess() bool
- func (o *GetDashboardNotFound) String() string
- type GetDashboardOK
- func (o *GetDashboardOK) Code() int
- func (o *GetDashboardOK) Error() string
- func (o *GetDashboardOK) GetPayload() *models.Dashboard
- func (o *GetDashboardOK) IsClientError() bool
- func (o *GetDashboardOK) IsCode(code int) bool
- func (o *GetDashboardOK) IsRedirect() bool
- func (o *GetDashboardOK) IsServerError() bool
- func (o *GetDashboardOK) IsSuccess() bool
- func (o *GetDashboardOK) String() string
- type GetDashboardParams
- func (o *GetDashboardParams) SetContext(ctx context.Context)
- func (o *GetDashboardParams) SetDashboardToken(dashboardToken string)
- func (o *GetDashboardParams) SetDefaults()
- func (o *GetDashboardParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardParams) WithContext(ctx context.Context) *GetDashboardParams
- func (o *GetDashboardParams) WithDashboardToken(dashboardToken string) *GetDashboardParams
- func (o *GetDashboardParams) WithDefaults() *GetDashboardParams
- func (o *GetDashboardParams) WithHTTPClient(client *http.Client) *GetDashboardParams
- func (o *GetDashboardParams) WithTimeout(timeout time.Duration) *GetDashboardParams
- func (o *GetDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardReader
- type GetDashboardsOK
- func (o *GetDashboardsOK) Code() int
- func (o *GetDashboardsOK) Error() string
- func (o *GetDashboardsOK) GetPayload() *models.Dashboards
- func (o *GetDashboardsOK) IsClientError() bool
- func (o *GetDashboardsOK) IsCode(code int) bool
- func (o *GetDashboardsOK) IsRedirect() bool
- func (o *GetDashboardsOK) IsServerError() bool
- func (o *GetDashboardsOK) IsSuccess() bool
- func (o *GetDashboardsOK) String() string
- type GetDashboardsParams
- func (o *GetDashboardsParams) SetContext(ctx context.Context)
- func (o *GetDashboardsParams) SetDefaults()
- func (o *GetDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardsParams) SetLimit(limit *int32)
- func (o *GetDashboardsParams) SetPage(page *int32)
- func (o *GetDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardsParams) WithContext(ctx context.Context) *GetDashboardsParams
- func (o *GetDashboardsParams) WithDefaults() *GetDashboardsParams
- func (o *GetDashboardsParams) WithHTTPClient(client *http.Client) *GetDashboardsParams
- func (o *GetDashboardsParams) WithLimit(limit *int32) *GetDashboardsParams
- func (o *GetDashboardsParams) WithPage(page *int32) *GetDashboardsParams
- func (o *GetDashboardsParams) WithTimeout(timeout time.Duration) *GetDashboardsParams
- func (o *GetDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardsReader
- type UpdateDashboardBadRequest
- func (o *UpdateDashboardBadRequest) Code() int
- func (o *UpdateDashboardBadRequest) Error() string
- func (o *UpdateDashboardBadRequest) GetPayload() *models.Errors
- func (o *UpdateDashboardBadRequest) IsClientError() bool
- func (o *UpdateDashboardBadRequest) IsCode(code int) bool
- func (o *UpdateDashboardBadRequest) IsRedirect() bool
- func (o *UpdateDashboardBadRequest) IsServerError() bool
- func (o *UpdateDashboardBadRequest) IsSuccess() bool
- func (o *UpdateDashboardBadRequest) String() string
- type UpdateDashboardNotFound
- func (o *UpdateDashboardNotFound) Code() int
- func (o *UpdateDashboardNotFound) Error() string
- func (o *UpdateDashboardNotFound) GetPayload() *models.Errors
- func (o *UpdateDashboardNotFound) IsClientError() bool
- func (o *UpdateDashboardNotFound) IsCode(code int) bool
- func (o *UpdateDashboardNotFound) IsRedirect() bool
- func (o *UpdateDashboardNotFound) IsServerError() bool
- func (o *UpdateDashboardNotFound) IsSuccess() bool
- func (o *UpdateDashboardNotFound) String() string
- type UpdateDashboardOK
- func (o *UpdateDashboardOK) Code() int
- func (o *UpdateDashboardOK) Error() string
- func (o *UpdateDashboardOK) GetPayload() *models.Dashboard
- func (o *UpdateDashboardOK) IsClientError() bool
- func (o *UpdateDashboardOK) IsCode(code int) bool
- func (o *UpdateDashboardOK) IsRedirect() bool
- func (o *UpdateDashboardOK) IsServerError() bool
- func (o *UpdateDashboardOK) IsSuccess() bool
- func (o *UpdateDashboardOK) String() string
- 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) SetContext(ctx context.Context)
- func (o *UpdateDashboardParams) SetDashboardToken(dashboardToken string)
- func (o *UpdateDashboardParams) SetDashboards(dashboards *models.PutDashboards)
- func (o *UpdateDashboardParams) SetDefaults()
- func (o *UpdateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDashboardParams) WithContext(ctx context.Context) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithDashboardToken(dashboardToken string) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithDashboards(dashboards *models.PutDashboards) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithDefaults() *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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for dashboards API
func (*Client) CreateDashboard ¶
func (a *Client) CreateDashboard(params *CreateDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDashboardCreated, error)
CreateDashboard Create a Dashboard.
func (*Client) DeleteDashboard ¶
func (a *Client) DeleteDashboard(params *DeleteDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardNoContent, error)
DeleteDashboard Delete a Dashboard.
func (*Client) GetDashboard ¶
func (a *Client) GetDashboard(params *GetDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardOK, error)
GetDashboard Return a specific Dashboard.
func (*Client) GetDashboards ¶
func (a *Client) GetDashboards(params *GetDashboardsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardsOK, error)
GetDashboards Return all Dashboards.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDashboard ¶
func (a *Client) UpdateDashboard(params *UpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDashboardOK, error)
UpdateDashboard Update a Dashboard.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateDashboard(params *CreateDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDashboardCreated, error) DeleteDashboard(params *DeleteDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardNoContent, error) GetDashboard(params *GetDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardOK, error) GetDashboards(params *GetDashboardsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardsOK, error) UpdateDashboard(params *UpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDashboardOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new dashboards API client.
type CreateDashboardBadRequest ¶
CreateDashboardBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewCreateDashboardBadRequest ¶
func NewCreateDashboardBadRequest() *CreateDashboardBadRequest
NewCreateDashboardBadRequest creates a CreateDashboardBadRequest with default headers values
func (*CreateDashboardBadRequest) Code ¶
func (o *CreateDashboardBadRequest) Code() int
Code gets the status code for the create dashboard bad request response
func (*CreateDashboardBadRequest) Error ¶
func (o *CreateDashboardBadRequest) Error() string
func (*CreateDashboardBadRequest) GetPayload ¶
func (o *CreateDashboardBadRequest) GetPayload() *models.Errors
func (*CreateDashboardBadRequest) IsClientError ¶
func (o *CreateDashboardBadRequest) IsClientError() bool
IsClientError returns true when this create dashboard bad request response has a 4xx status code
func (*CreateDashboardBadRequest) IsCode ¶
func (o *CreateDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this create dashboard bad request response a status code equal to that given
func (*CreateDashboardBadRequest) IsRedirect ¶
func (o *CreateDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this create dashboard bad request response has a 3xx status code
func (*CreateDashboardBadRequest) IsServerError ¶
func (o *CreateDashboardBadRequest) IsServerError() bool
IsServerError returns true when this create dashboard bad request response has a 5xx status code
func (*CreateDashboardBadRequest) IsSuccess ¶
func (o *CreateDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this create dashboard bad request response has a 2xx status code
func (*CreateDashboardBadRequest) String ¶
func (o *CreateDashboardBadRequest) String() string
type CreateDashboardCreated ¶
CreateDashboardCreated describes a response with status code 201, with default header values.
CreateDashboardCreated create dashboard created
func NewCreateDashboardCreated ¶
func NewCreateDashboardCreated() *CreateDashboardCreated
NewCreateDashboardCreated creates a CreateDashboardCreated with default headers values
func (*CreateDashboardCreated) Code ¶
func (o *CreateDashboardCreated) Code() int
Code gets the status code for the create dashboard created response
func (*CreateDashboardCreated) Error ¶
func (o *CreateDashboardCreated) Error() string
func (*CreateDashboardCreated) GetPayload ¶
func (o *CreateDashboardCreated) GetPayload() *models.Dashboard
func (*CreateDashboardCreated) IsClientError ¶
func (o *CreateDashboardCreated) IsClientError() bool
IsClientError returns true when this create dashboard created response has a 4xx status code
func (*CreateDashboardCreated) IsCode ¶
func (o *CreateDashboardCreated) IsCode(code int) bool
IsCode returns true when this create dashboard created response a status code equal to that given
func (*CreateDashboardCreated) IsRedirect ¶
func (o *CreateDashboardCreated) IsRedirect() bool
IsRedirect returns true when this create dashboard created response has a 3xx status code
func (*CreateDashboardCreated) IsServerError ¶
func (o *CreateDashboardCreated) IsServerError() bool
IsServerError returns true when this create dashboard created response has a 5xx status code
func (*CreateDashboardCreated) IsSuccess ¶
func (o *CreateDashboardCreated) IsSuccess() bool
IsSuccess returns true when this create dashboard created response has a 2xx status code
func (*CreateDashboardCreated) String ¶
func (o *CreateDashboardCreated) String() string
type CreateDashboardParams ¶
type CreateDashboardParams struct { // Dashboards. Dashboards *models.PostDashboards 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateDashboardParamsWithContext ¶
func NewCreateDashboardParamsWithContext(ctx context.Context) *CreateDashboardParams
NewCreateDashboardParamsWithContext creates a new CreateDashboardParams object with 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 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 ability to set a timeout on a request.
func (*CreateDashboardParams) SetContext ¶
func (o *CreateDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the create dashboard params
func (*CreateDashboardParams) SetDashboards ¶
func (o *CreateDashboardParams) SetDashboards(dashboards *models.PostDashboards)
SetDashboards adds the dashboards to the create dashboard params
func (*CreateDashboardParams) SetDefaults ¶
func (o *CreateDashboardParams) SetDefaults()
SetDefaults hydrates default values in the create dashboard params (not the query body).
All values with no default are reset to their zero value.
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) WithContext ¶
func (o *CreateDashboardParams) WithContext(ctx context.Context) *CreateDashboardParams
WithContext adds the context to the create dashboard params
func (*CreateDashboardParams) WithDashboards ¶
func (o *CreateDashboardParams) WithDashboards(dashboards *models.PostDashboards) *CreateDashboardParams
WithDashboards adds the dashboards to the create dashboard params
func (*CreateDashboardParams) WithDefaults ¶
func (o *CreateDashboardParams) WithDefaults() *CreateDashboardParams
WithDefaults hydrates default values in the create dashboard params (not the query body).
All values with no default are reset to their zero value.
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 DeleteDashboardNoContent ¶
DeleteDashboardNoContent describes a response with status code 204, with default header values.
DeleteDashboardNoContent delete dashboard no content
func NewDeleteDashboardNoContent ¶
func NewDeleteDashboardNoContent() *DeleteDashboardNoContent
NewDeleteDashboardNoContent creates a DeleteDashboardNoContent with default headers values
func (*DeleteDashboardNoContent) Code ¶
func (o *DeleteDashboardNoContent) Code() int
Code gets the status code for the delete dashboard no content response
func (*DeleteDashboardNoContent) Error ¶
func (o *DeleteDashboardNoContent) Error() string
func (*DeleteDashboardNoContent) GetPayload ¶
func (o *DeleteDashboardNoContent) GetPayload() *models.Dashboard
func (*DeleteDashboardNoContent) IsClientError ¶
func (o *DeleteDashboardNoContent) IsClientError() bool
IsClientError returns true when this delete dashboard no content response has a 4xx status code
func (*DeleteDashboardNoContent) IsCode ¶
func (o *DeleteDashboardNoContent) IsCode(code int) bool
IsCode returns true when this delete dashboard no content response a status code equal to that given
func (*DeleteDashboardNoContent) IsRedirect ¶
func (o *DeleteDashboardNoContent) IsRedirect() bool
IsRedirect returns true when this delete dashboard no content response has a 3xx status code
func (*DeleteDashboardNoContent) IsServerError ¶
func (o *DeleteDashboardNoContent) IsServerError() bool
IsServerError returns true when this delete dashboard no content response has a 5xx status code
func (*DeleteDashboardNoContent) IsSuccess ¶
func (o *DeleteDashboardNoContent) IsSuccess() bool
IsSuccess returns true when this delete dashboard no content response has a 2xx status code
func (*DeleteDashboardNoContent) String ¶
func (o *DeleteDashboardNoContent) String() string
type DeleteDashboardNotFound ¶
DeleteDashboardNotFound describes a response with status code 404, with default header values.
NotFound
func NewDeleteDashboardNotFound ¶
func NewDeleteDashboardNotFound() *DeleteDashboardNotFound
NewDeleteDashboardNotFound creates a DeleteDashboardNotFound with default headers values
func (*DeleteDashboardNotFound) Code ¶
func (o *DeleteDashboardNotFound) Code() int
Code gets the status code for the delete dashboard not found response
func (*DeleteDashboardNotFound) Error ¶
func (o *DeleteDashboardNotFound) Error() string
func (*DeleteDashboardNotFound) GetPayload ¶
func (o *DeleteDashboardNotFound) GetPayload() *models.Errors
func (*DeleteDashboardNotFound) IsClientError ¶
func (o *DeleteDashboardNotFound) IsClientError() bool
IsClientError returns true when this delete dashboard not found response has a 4xx status code
func (*DeleteDashboardNotFound) IsCode ¶
func (o *DeleteDashboardNotFound) IsCode(code int) bool
IsCode returns true when this delete dashboard not found response a status code equal to that given
func (*DeleteDashboardNotFound) IsRedirect ¶
func (o *DeleteDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this delete dashboard not found response has a 3xx status code
func (*DeleteDashboardNotFound) IsServerError ¶
func (o *DeleteDashboardNotFound) IsServerError() bool
IsServerError returns true when this delete dashboard not found response has a 5xx status code
func (*DeleteDashboardNotFound) IsSuccess ¶
func (o *DeleteDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this delete dashboard not found response has a 2xx status code
func (*DeleteDashboardNotFound) String ¶
func (o *DeleteDashboardNotFound) String() string
type DeleteDashboardParams ¶
type DeleteDashboardParams struct { // DashboardToken. DashboardToken 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteDashboardParamsWithContext ¶
func NewDeleteDashboardParamsWithContext(ctx context.Context) *DeleteDashboardParams
NewDeleteDashboardParamsWithContext creates a new DeleteDashboardParams object with 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 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 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) SetDashboardToken ¶
func (o *DeleteDashboardParams) SetDashboardToken(dashboardToken string)
SetDashboardToken adds the dashboardToken to the delete dashboard params
func (*DeleteDashboardParams) SetDefaults ¶
func (o *DeleteDashboardParams) SetDefaults()
SetDefaults hydrates default values in the delete dashboard params (not the query body).
All values with no default are reset to their zero value.
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) WithDashboardToken ¶
func (o *DeleteDashboardParams) WithDashboardToken(dashboardToken string) *DeleteDashboardParams
WithDashboardToken adds the dashboardToken to the delete dashboard params
func (*DeleteDashboardParams) WithDefaults ¶
func (o *DeleteDashboardParams) WithDefaults() *DeleteDashboardParams
WithDefaults hydrates default values in the delete dashboard params (not the query body).
All values with no default are reset to their zero value.
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 GetDashboardNotFound ¶
GetDashboardNotFound describes a response with status code 404, with default header values.
NotFound
func NewGetDashboardNotFound ¶
func NewGetDashboardNotFound() *GetDashboardNotFound
NewGetDashboardNotFound creates a GetDashboardNotFound with default headers values
func (*GetDashboardNotFound) Code ¶
func (o *GetDashboardNotFound) Code() int
Code gets the status code for the get dashboard not found response
func (*GetDashboardNotFound) Error ¶
func (o *GetDashboardNotFound) Error() string
func (*GetDashboardNotFound) GetPayload ¶
func (o *GetDashboardNotFound) GetPayload() *models.Errors
func (*GetDashboardNotFound) IsClientError ¶
func (o *GetDashboardNotFound) IsClientError() bool
IsClientError returns true when this get dashboard not found response has a 4xx status code
func (*GetDashboardNotFound) IsCode ¶
func (o *GetDashboardNotFound) IsCode(code int) bool
IsCode returns true when this get dashboard not found response a status code equal to that given
func (*GetDashboardNotFound) IsRedirect ¶
func (o *GetDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this get dashboard not found response has a 3xx status code
func (*GetDashboardNotFound) IsServerError ¶
func (o *GetDashboardNotFound) IsServerError() bool
IsServerError returns true when this get dashboard not found response has a 5xx status code
func (*GetDashboardNotFound) IsSuccess ¶
func (o *GetDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this get dashboard not found response has a 2xx status code
func (*GetDashboardNotFound) String ¶
func (o *GetDashboardNotFound) String() string
type GetDashboardOK ¶
GetDashboardOK describes a response with status code 200, with default header values.
GetDashboardOK get dashboard o k
func NewGetDashboardOK ¶
func NewGetDashboardOK() *GetDashboardOK
NewGetDashboardOK creates a GetDashboardOK with default headers values
func (*GetDashboardOK) Code ¶
func (o *GetDashboardOK) Code() int
Code gets the status code for the get dashboard o k response
func (*GetDashboardOK) Error ¶
func (o *GetDashboardOK) Error() string
func (*GetDashboardOK) GetPayload ¶
func (o *GetDashboardOK) GetPayload() *models.Dashboard
func (*GetDashboardOK) IsClientError ¶
func (o *GetDashboardOK) IsClientError() bool
IsClientError returns true when this get dashboard o k response has a 4xx status code
func (*GetDashboardOK) IsCode ¶
func (o *GetDashboardOK) IsCode(code int) bool
IsCode returns true when this get dashboard o k response a status code equal to that given
func (*GetDashboardOK) IsRedirect ¶
func (o *GetDashboardOK) IsRedirect() bool
IsRedirect returns true when this get dashboard o k response has a 3xx status code
func (*GetDashboardOK) IsServerError ¶
func (o *GetDashboardOK) IsServerError() bool
IsServerError returns true when this get dashboard o k response has a 5xx status code
func (*GetDashboardOK) IsSuccess ¶
func (o *GetDashboardOK) IsSuccess() bool
IsSuccess returns true when this get dashboard o k response has a 2xx status code
func (*GetDashboardOK) String ¶
func (o *GetDashboardOK) String() string
type GetDashboardParams ¶
type GetDashboardParams struct { // DashboardToken. DashboardToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardParams contains all the parameters to send to the API endpoint
for the get dashboard operation. Typically these are written to a http.Request.
func NewGetDashboardParams ¶
func NewGetDashboardParams() *GetDashboardParams
NewGetDashboardParams creates a new GetDashboardParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDashboardParamsWithContext ¶
func NewGetDashboardParamsWithContext(ctx context.Context) *GetDashboardParams
NewGetDashboardParamsWithContext creates a new GetDashboardParams object with the ability to set a context for a request.
func NewGetDashboardParamsWithHTTPClient ¶
func NewGetDashboardParamsWithHTTPClient(client *http.Client) *GetDashboardParams
NewGetDashboardParamsWithHTTPClient creates a new GetDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardParamsWithTimeout ¶
func NewGetDashboardParamsWithTimeout(timeout time.Duration) *GetDashboardParams
NewGetDashboardParamsWithTimeout creates a new GetDashboardParams object with the ability to set a timeout on a request.
func (*GetDashboardParams) SetContext ¶
func (o *GetDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard params
func (*GetDashboardParams) SetDashboardToken ¶
func (o *GetDashboardParams) SetDashboardToken(dashboardToken string)
SetDashboardToken adds the dashboardToken to the get dashboard params
func (*GetDashboardParams) SetDefaults ¶
func (o *GetDashboardParams) SetDefaults()
SetDefaults hydrates default values in the get dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardParams) SetHTTPClient ¶
func (o *GetDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard params
func (*GetDashboardParams) SetTimeout ¶
func (o *GetDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard params
func (*GetDashboardParams) WithContext ¶
func (o *GetDashboardParams) WithContext(ctx context.Context) *GetDashboardParams
WithContext adds the context to the get dashboard params
func (*GetDashboardParams) WithDashboardToken ¶
func (o *GetDashboardParams) WithDashboardToken(dashboardToken string) *GetDashboardParams
WithDashboardToken adds the dashboardToken to the get dashboard params
func (*GetDashboardParams) WithDefaults ¶
func (o *GetDashboardParams) WithDefaults() *GetDashboardParams
WithDefaults hydrates default values in the get dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardParams) WithHTTPClient ¶
func (o *GetDashboardParams) WithHTTPClient(client *http.Client) *GetDashboardParams
WithHTTPClient adds the HTTPClient to the get dashboard params
func (*GetDashboardParams) WithTimeout ¶
func (o *GetDashboardParams) WithTimeout(timeout time.Duration) *GetDashboardParams
WithTimeout adds the timeout to the get dashboard params
func (*GetDashboardParams) WriteToRequest ¶
func (o *GetDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardReader ¶
type GetDashboardReader struct {
// contains filtered or unexported fields
}
GetDashboardReader is a Reader for the GetDashboard structure.
func (*GetDashboardReader) ReadResponse ¶
func (o *GetDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDashboardsOK ¶
type GetDashboardsOK struct {
Payload *models.Dashboards
}
GetDashboardsOK describes a response with status code 200, with default header values.
GetDashboardsOK get dashboards o k
func NewGetDashboardsOK ¶
func NewGetDashboardsOK() *GetDashboardsOK
NewGetDashboardsOK creates a GetDashboardsOK with default headers values
func (*GetDashboardsOK) Code ¶
func (o *GetDashboardsOK) Code() int
Code gets the status code for the get dashboards o k response
func (*GetDashboardsOK) Error ¶
func (o *GetDashboardsOK) Error() string
func (*GetDashboardsOK) GetPayload ¶
func (o *GetDashboardsOK) GetPayload() *models.Dashboards
func (*GetDashboardsOK) IsClientError ¶
func (o *GetDashboardsOK) IsClientError() bool
IsClientError returns true when this get dashboards o k response has a 4xx status code
func (*GetDashboardsOK) IsCode ¶
func (o *GetDashboardsOK) IsCode(code int) bool
IsCode returns true when this get dashboards o k response a status code equal to that given
func (*GetDashboardsOK) IsRedirect ¶
func (o *GetDashboardsOK) IsRedirect() bool
IsRedirect returns true when this get dashboards o k response has a 3xx status code
func (*GetDashboardsOK) IsServerError ¶
func (o *GetDashboardsOK) IsServerError() bool
IsServerError returns true when this get dashboards o k response has a 5xx status code
func (*GetDashboardsOK) IsSuccess ¶
func (o *GetDashboardsOK) IsSuccess() bool
IsSuccess returns true when this get dashboards o k response has a 2xx status code
func (*GetDashboardsOK) String ¶
func (o *GetDashboardsOK) String() string
type GetDashboardsParams ¶
type GetDashboardsParams struct { /* Limit. The amount of results to return. The maximum is 1000. Format: int32 */ Limit *int32 /* Page. The page of results to return. Format: int32 */ Page *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardsParams contains all the parameters to send to the API endpoint
for the get dashboards operation. Typically these are written to a http.Request.
func NewGetDashboardsParams ¶
func NewGetDashboardsParams() *GetDashboardsParams
NewGetDashboardsParams creates a new GetDashboardsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDashboardsParamsWithContext ¶
func NewGetDashboardsParamsWithContext(ctx context.Context) *GetDashboardsParams
NewGetDashboardsParamsWithContext creates a new GetDashboardsParams object with the ability to set a context for a request.
func NewGetDashboardsParamsWithHTTPClient ¶
func NewGetDashboardsParamsWithHTTPClient(client *http.Client) *GetDashboardsParams
NewGetDashboardsParamsWithHTTPClient creates a new GetDashboardsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardsParamsWithTimeout ¶
func NewGetDashboardsParamsWithTimeout(timeout time.Duration) *GetDashboardsParams
NewGetDashboardsParamsWithTimeout creates a new GetDashboardsParams object with the ability to set a timeout on a request.
func (*GetDashboardsParams) SetContext ¶
func (o *GetDashboardsParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboards params
func (*GetDashboardsParams) SetDefaults ¶
func (o *GetDashboardsParams) SetDefaults()
SetDefaults hydrates default values in the get dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardsParams) SetHTTPClient ¶
func (o *GetDashboardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboards params
func (*GetDashboardsParams) SetLimit ¶
func (o *GetDashboardsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get dashboards params
func (*GetDashboardsParams) SetPage ¶
func (o *GetDashboardsParams) SetPage(page *int32)
SetPage adds the page to the get dashboards params
func (*GetDashboardsParams) SetTimeout ¶
func (o *GetDashboardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboards params
func (*GetDashboardsParams) WithContext ¶
func (o *GetDashboardsParams) WithContext(ctx context.Context) *GetDashboardsParams
WithContext adds the context to the get dashboards params
func (*GetDashboardsParams) WithDefaults ¶
func (o *GetDashboardsParams) WithDefaults() *GetDashboardsParams
WithDefaults hydrates default values in the get dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardsParams) WithHTTPClient ¶
func (o *GetDashboardsParams) WithHTTPClient(client *http.Client) *GetDashboardsParams
WithHTTPClient adds the HTTPClient to the get dashboards params
func (*GetDashboardsParams) WithLimit ¶
func (o *GetDashboardsParams) WithLimit(limit *int32) *GetDashboardsParams
WithLimit adds the limit to the get dashboards params
func (*GetDashboardsParams) WithPage ¶
func (o *GetDashboardsParams) WithPage(page *int32) *GetDashboardsParams
WithPage adds the page to the get dashboards params
func (*GetDashboardsParams) WithTimeout ¶
func (o *GetDashboardsParams) WithTimeout(timeout time.Duration) *GetDashboardsParams
WithTimeout adds the timeout to the get dashboards params
func (*GetDashboardsParams) WriteToRequest ¶
func (o *GetDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardsReader ¶
type GetDashboardsReader struct {
// contains filtered or unexported fields
}
GetDashboardsReader is a Reader for the GetDashboards structure.
func (*GetDashboardsReader) ReadResponse ¶
func (o *GetDashboardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDashboardBadRequest ¶
UpdateDashboardBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewUpdateDashboardBadRequest ¶
func NewUpdateDashboardBadRequest() *UpdateDashboardBadRequest
NewUpdateDashboardBadRequest creates a UpdateDashboardBadRequest with default headers values
func (*UpdateDashboardBadRequest) Code ¶
func (o *UpdateDashboardBadRequest) Code() int
Code gets the status code for the update dashboard bad request response
func (*UpdateDashboardBadRequest) Error ¶
func (o *UpdateDashboardBadRequest) Error() string
func (*UpdateDashboardBadRequest) GetPayload ¶
func (o *UpdateDashboardBadRequest) GetPayload() *models.Errors
func (*UpdateDashboardBadRequest) IsClientError ¶
func (o *UpdateDashboardBadRequest) IsClientError() bool
IsClientError returns true when this update dashboard bad request response has a 4xx status code
func (*UpdateDashboardBadRequest) IsCode ¶
func (o *UpdateDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this update dashboard bad request response a status code equal to that given
func (*UpdateDashboardBadRequest) IsRedirect ¶
func (o *UpdateDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this update dashboard bad request response has a 3xx status code
func (*UpdateDashboardBadRequest) IsServerError ¶
func (o *UpdateDashboardBadRequest) IsServerError() bool
IsServerError returns true when this update dashboard bad request response has a 5xx status code
func (*UpdateDashboardBadRequest) IsSuccess ¶
func (o *UpdateDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this update dashboard bad request response has a 2xx status code
func (*UpdateDashboardBadRequest) String ¶
func (o *UpdateDashboardBadRequest) String() string
type UpdateDashboardNotFound ¶
UpdateDashboardNotFound describes a response with status code 404, with default header values.
NotFound
func NewUpdateDashboardNotFound ¶
func NewUpdateDashboardNotFound() *UpdateDashboardNotFound
NewUpdateDashboardNotFound creates a UpdateDashboardNotFound with default headers values
func (*UpdateDashboardNotFound) Code ¶
func (o *UpdateDashboardNotFound) Code() int
Code gets the status code for the update dashboard not found response
func (*UpdateDashboardNotFound) Error ¶
func (o *UpdateDashboardNotFound) Error() string
func (*UpdateDashboardNotFound) GetPayload ¶
func (o *UpdateDashboardNotFound) GetPayload() *models.Errors
func (*UpdateDashboardNotFound) IsClientError ¶
func (o *UpdateDashboardNotFound) IsClientError() bool
IsClientError returns true when this update dashboard not found response has a 4xx status code
func (*UpdateDashboardNotFound) IsCode ¶
func (o *UpdateDashboardNotFound) IsCode(code int) bool
IsCode returns true when this update dashboard not found response a status code equal to that given
func (*UpdateDashboardNotFound) IsRedirect ¶
func (o *UpdateDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this update dashboard not found response has a 3xx status code
func (*UpdateDashboardNotFound) IsServerError ¶
func (o *UpdateDashboardNotFound) IsServerError() bool
IsServerError returns true when this update dashboard not found response has a 5xx status code
func (*UpdateDashboardNotFound) IsSuccess ¶
func (o *UpdateDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this update dashboard not found response has a 2xx status code
func (*UpdateDashboardNotFound) String ¶
func (o *UpdateDashboardNotFound) String() string
type UpdateDashboardOK ¶
UpdateDashboardOK describes a response with status code 200, with default header values.
UpdateDashboardOK update dashboard o k
func NewUpdateDashboardOK ¶
func NewUpdateDashboardOK() *UpdateDashboardOK
NewUpdateDashboardOK creates a UpdateDashboardOK with default headers values
func (*UpdateDashboardOK) Code ¶
func (o *UpdateDashboardOK) Code() int
Code gets the status code for the update dashboard o k response
func (*UpdateDashboardOK) Error ¶
func (o *UpdateDashboardOK) Error() string
func (*UpdateDashboardOK) GetPayload ¶
func (o *UpdateDashboardOK) GetPayload() *models.Dashboard
func (*UpdateDashboardOK) IsClientError ¶
func (o *UpdateDashboardOK) IsClientError() bool
IsClientError returns true when this update dashboard o k response has a 4xx status code
func (*UpdateDashboardOK) IsCode ¶
func (o *UpdateDashboardOK) IsCode(code int) bool
IsCode returns true when this update dashboard o k response a status code equal to that given
func (*UpdateDashboardOK) IsRedirect ¶
func (o *UpdateDashboardOK) IsRedirect() bool
IsRedirect returns true when this update dashboard o k response has a 3xx status code
func (*UpdateDashboardOK) IsServerError ¶
func (o *UpdateDashboardOK) IsServerError() bool
IsServerError returns true when this update dashboard o k response has a 5xx status code
func (*UpdateDashboardOK) IsSuccess ¶
func (o *UpdateDashboardOK) IsSuccess() bool
IsSuccess returns true when this update dashboard o k response has a 2xx status code
func (*UpdateDashboardOK) String ¶
func (o *UpdateDashboardOK) String() string
type UpdateDashboardParams ¶
type UpdateDashboardParams struct { // Dashboards. Dashboards *models.PutDashboards // DashboardToken. DashboardToken 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateDashboardParamsWithContext ¶
func NewUpdateDashboardParamsWithContext(ctx context.Context) *UpdateDashboardParams
NewUpdateDashboardParamsWithContext creates a new UpdateDashboardParams object with 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 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 ability to set a timeout on a request.
func (*UpdateDashboardParams) SetContext ¶
func (o *UpdateDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the update dashboard params
func (*UpdateDashboardParams) SetDashboardToken ¶
func (o *UpdateDashboardParams) SetDashboardToken(dashboardToken string)
SetDashboardToken adds the dashboardToken to the update dashboard params
func (*UpdateDashboardParams) SetDashboards ¶
func (o *UpdateDashboardParams) SetDashboards(dashboards *models.PutDashboards)
SetDashboards adds the dashboards to the update dashboard params
func (*UpdateDashboardParams) SetDefaults ¶
func (o *UpdateDashboardParams) SetDefaults()
SetDefaults hydrates default values in the update dashboard params (not the query body).
All values with no default are reset to their zero value.
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) WithContext ¶
func (o *UpdateDashboardParams) WithContext(ctx context.Context) *UpdateDashboardParams
WithContext adds the context to the update dashboard params
func (*UpdateDashboardParams) WithDashboardToken ¶
func (o *UpdateDashboardParams) WithDashboardToken(dashboardToken string) *UpdateDashboardParams
WithDashboardToken adds the dashboardToken to the update dashboard params
func (*UpdateDashboardParams) WithDashboards ¶
func (o *UpdateDashboardParams) WithDashboards(dashboards *models.PutDashboards) *UpdateDashboardParams
WithDashboards adds the dashboards to the update dashboard params
func (*UpdateDashboardParams) WithDefaults ¶
func (o *UpdateDashboardParams) WithDefaults() *UpdateDashboardParams
WithDefaults hydrates default values in the update dashboard params (not the query body).
All values with no default are reset to their zero value.
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.
Source Files
¶
- create_dashboard_parameters.go
- create_dashboard_responses.go
- dashboards_client.go
- delete_dashboard_parameters.go
- delete_dashboard_responses.go
- get_dashboard_parameters.go
- get_dashboard_responses.go
- get_dashboards_parameters.go
- get_dashboards_responses.go
- update_dashboard_parameters.go
- update_dashboard_responses.go