Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateClassicDashboard(params *CreateClassicDashboardParams, opts ...ClientOption) (*CreateClassicDashboardOK, error)
- func (a *Client) DeleteClassicDashboard(params *DeleteClassicDashboardParams, opts ...ClientOption) (*DeleteClassicDashboardOK, error)
- func (a *Client) ListClassicDashboards(params *ListClassicDashboardsParams, opts ...ClientOption) (*ListClassicDashboardsOK, error)
- func (a *Client) ReadClassicDashboard(params *ReadClassicDashboardParams, opts ...ClientOption) (*ReadClassicDashboardOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateClassicDashboard(params *UpdateClassicDashboardParams, opts ...ClientOption) (*UpdateClassicDashboardOK, error)
- type ClientOption
- type ClientService
- type CreateClassicDashboardBadRequest
- func (o *CreateClassicDashboardBadRequest) Code() int
- func (o *CreateClassicDashboardBadRequest) Error() string
- func (o *CreateClassicDashboardBadRequest) GetPayload() *models.APIError
- func (o *CreateClassicDashboardBadRequest) IsClientError() bool
- func (o *CreateClassicDashboardBadRequest) IsCode(code int) bool
- func (o *CreateClassicDashboardBadRequest) IsRedirect() bool
- func (o *CreateClassicDashboardBadRequest) IsServerError() bool
- func (o *CreateClassicDashboardBadRequest) IsSuccess() bool
- func (o *CreateClassicDashboardBadRequest) String() string
- type CreateClassicDashboardConflict
- func (o *CreateClassicDashboardConflict) Code() int
- func (o *CreateClassicDashboardConflict) Error() string
- func (o *CreateClassicDashboardConflict) GetPayload() *models.APIError
- func (o *CreateClassicDashboardConflict) IsClientError() bool
- func (o *CreateClassicDashboardConflict) IsCode(code int) bool
- func (o *CreateClassicDashboardConflict) IsRedirect() bool
- func (o *CreateClassicDashboardConflict) IsServerError() bool
- func (o *CreateClassicDashboardConflict) IsSuccess() bool
- func (o *CreateClassicDashboardConflict) String() string
- type CreateClassicDashboardDefault
- func (o *CreateClassicDashboardDefault) Code() int
- func (o *CreateClassicDashboardDefault) Error() string
- func (o *CreateClassicDashboardDefault) GetPayload() models.GenericError
- func (o *CreateClassicDashboardDefault) IsClientError() bool
- func (o *CreateClassicDashboardDefault) IsCode(code int) bool
- func (o *CreateClassicDashboardDefault) IsRedirect() bool
- func (o *CreateClassicDashboardDefault) IsServerError() bool
- func (o *CreateClassicDashboardDefault) IsSuccess() bool
- func (o *CreateClassicDashboardDefault) String() string
- type CreateClassicDashboardInternalServerError
- func (o *CreateClassicDashboardInternalServerError) Code() int
- func (o *CreateClassicDashboardInternalServerError) Error() string
- func (o *CreateClassicDashboardInternalServerError) GetPayload() *models.APIError
- func (o *CreateClassicDashboardInternalServerError) IsClientError() bool
- func (o *CreateClassicDashboardInternalServerError) IsCode(code int) bool
- func (o *CreateClassicDashboardInternalServerError) IsRedirect() bool
- func (o *CreateClassicDashboardInternalServerError) IsServerError() bool
- func (o *CreateClassicDashboardInternalServerError) IsSuccess() bool
- func (o *CreateClassicDashboardInternalServerError) String() string
- type CreateClassicDashboardOK
- func (o *CreateClassicDashboardOK) Code() int
- func (o *CreateClassicDashboardOK) Error() string
- func (o *CreateClassicDashboardOK) GetPayload() *models.Configv1CreateClassicDashboardResponse
- func (o *CreateClassicDashboardOK) IsClientError() bool
- func (o *CreateClassicDashboardOK) IsCode(code int) bool
- func (o *CreateClassicDashboardOK) IsRedirect() bool
- func (o *CreateClassicDashboardOK) IsServerError() bool
- func (o *CreateClassicDashboardOK) IsSuccess() bool
- func (o *CreateClassicDashboardOK) String() string
- type CreateClassicDashboardParams
- func NewCreateClassicDashboardParams() *CreateClassicDashboardParams
- func NewCreateClassicDashboardParamsWithContext(ctx context.Context) *CreateClassicDashboardParams
- func NewCreateClassicDashboardParamsWithHTTPClient(client *http.Client) *CreateClassicDashboardParams
- func NewCreateClassicDashboardParamsWithTimeout(timeout time.Duration) *CreateClassicDashboardParams
- func (o *CreateClassicDashboardParams) SetBody(body *models.Configv1CreateClassicDashboardRequest)
- func (o *CreateClassicDashboardParams) SetContext(ctx context.Context)
- func (o *CreateClassicDashboardParams) SetDefaults()
- func (o *CreateClassicDashboardParams) SetHTTPClient(client *http.Client)
- func (o *CreateClassicDashboardParams) SetTimeout(timeout time.Duration)
- func (o *CreateClassicDashboardParams) WithBody(body *models.Configv1CreateClassicDashboardRequest) *CreateClassicDashboardParams
- func (o *CreateClassicDashboardParams) WithContext(ctx context.Context) *CreateClassicDashboardParams
- func (o *CreateClassicDashboardParams) WithDefaults() *CreateClassicDashboardParams
- func (o *CreateClassicDashboardParams) WithHTTPClient(client *http.Client) *CreateClassicDashboardParams
- func (o *CreateClassicDashboardParams) WithTimeout(timeout time.Duration) *CreateClassicDashboardParams
- func (o *CreateClassicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClassicDashboardReader
- type DeleteClassicDashboardBadRequest
- func (o *DeleteClassicDashboardBadRequest) Code() int
- func (o *DeleteClassicDashboardBadRequest) Error() string
- func (o *DeleteClassicDashboardBadRequest) GetPayload() *models.APIError
- func (o *DeleteClassicDashboardBadRequest) IsClientError() bool
- func (o *DeleteClassicDashboardBadRequest) IsCode(code int) bool
- func (o *DeleteClassicDashboardBadRequest) IsRedirect() bool
- func (o *DeleteClassicDashboardBadRequest) IsServerError() bool
- func (o *DeleteClassicDashboardBadRequest) IsSuccess() bool
- func (o *DeleteClassicDashboardBadRequest) String() string
- type DeleteClassicDashboardDefault
- func (o *DeleteClassicDashboardDefault) Code() int
- func (o *DeleteClassicDashboardDefault) Error() string
- func (o *DeleteClassicDashboardDefault) GetPayload() models.GenericError
- func (o *DeleteClassicDashboardDefault) IsClientError() bool
- func (o *DeleteClassicDashboardDefault) IsCode(code int) bool
- func (o *DeleteClassicDashboardDefault) IsRedirect() bool
- func (o *DeleteClassicDashboardDefault) IsServerError() bool
- func (o *DeleteClassicDashboardDefault) IsSuccess() bool
- func (o *DeleteClassicDashboardDefault) String() string
- type DeleteClassicDashboardInternalServerError
- func (o *DeleteClassicDashboardInternalServerError) Code() int
- func (o *DeleteClassicDashboardInternalServerError) Error() string
- func (o *DeleteClassicDashboardInternalServerError) GetPayload() *models.APIError
- func (o *DeleteClassicDashboardInternalServerError) IsClientError() bool
- func (o *DeleteClassicDashboardInternalServerError) IsCode(code int) bool
- func (o *DeleteClassicDashboardInternalServerError) IsRedirect() bool
- func (o *DeleteClassicDashboardInternalServerError) IsServerError() bool
- func (o *DeleteClassicDashboardInternalServerError) IsSuccess() bool
- func (o *DeleteClassicDashboardInternalServerError) String() string
- type DeleteClassicDashboardNotFound
- func (o *DeleteClassicDashboardNotFound) Code() int
- func (o *DeleteClassicDashboardNotFound) Error() string
- func (o *DeleteClassicDashboardNotFound) GetPayload() *models.APIError
- func (o *DeleteClassicDashboardNotFound) IsClientError() bool
- func (o *DeleteClassicDashboardNotFound) IsCode(code int) bool
- func (o *DeleteClassicDashboardNotFound) IsRedirect() bool
- func (o *DeleteClassicDashboardNotFound) IsServerError() bool
- func (o *DeleteClassicDashboardNotFound) IsSuccess() bool
- func (o *DeleteClassicDashboardNotFound) String() string
- type DeleteClassicDashboardOK
- func (o *DeleteClassicDashboardOK) Code() int
- func (o *DeleteClassicDashboardOK) Error() string
- func (o *DeleteClassicDashboardOK) GetPayload() models.Configv1DeleteClassicDashboardResponse
- func (o *DeleteClassicDashboardOK) IsClientError() bool
- func (o *DeleteClassicDashboardOK) IsCode(code int) bool
- func (o *DeleteClassicDashboardOK) IsRedirect() bool
- func (o *DeleteClassicDashboardOK) IsServerError() bool
- func (o *DeleteClassicDashboardOK) IsSuccess() bool
- func (o *DeleteClassicDashboardOK) String() string
- type DeleteClassicDashboardParams
- func NewDeleteClassicDashboardParams() *DeleteClassicDashboardParams
- func NewDeleteClassicDashboardParamsWithContext(ctx context.Context) *DeleteClassicDashboardParams
- func NewDeleteClassicDashboardParamsWithHTTPClient(client *http.Client) *DeleteClassicDashboardParams
- func NewDeleteClassicDashboardParamsWithTimeout(timeout time.Duration) *DeleteClassicDashboardParams
- func (o *DeleteClassicDashboardParams) SetContext(ctx context.Context)
- func (o *DeleteClassicDashboardParams) SetDefaults()
- func (o *DeleteClassicDashboardParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClassicDashboardParams) SetSlug(slug string)
- func (o *DeleteClassicDashboardParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClassicDashboardParams) WithContext(ctx context.Context) *DeleteClassicDashboardParams
- func (o *DeleteClassicDashboardParams) WithDefaults() *DeleteClassicDashboardParams
- func (o *DeleteClassicDashboardParams) WithHTTPClient(client *http.Client) *DeleteClassicDashboardParams
- func (o *DeleteClassicDashboardParams) WithSlug(slug string) *DeleteClassicDashboardParams
- func (o *DeleteClassicDashboardParams) WithTimeout(timeout time.Duration) *DeleteClassicDashboardParams
- func (o *DeleteClassicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClassicDashboardReader
- type ListClassicDashboardsDefault
- func (o *ListClassicDashboardsDefault) Code() int
- func (o *ListClassicDashboardsDefault) Error() string
- func (o *ListClassicDashboardsDefault) GetPayload() models.GenericError
- func (o *ListClassicDashboardsDefault) IsClientError() bool
- func (o *ListClassicDashboardsDefault) IsCode(code int) bool
- func (o *ListClassicDashboardsDefault) IsRedirect() bool
- func (o *ListClassicDashboardsDefault) IsServerError() bool
- func (o *ListClassicDashboardsDefault) IsSuccess() bool
- func (o *ListClassicDashboardsDefault) String() string
- type ListClassicDashboardsInternalServerError
- func (o *ListClassicDashboardsInternalServerError) Code() int
- func (o *ListClassicDashboardsInternalServerError) Error() string
- func (o *ListClassicDashboardsInternalServerError) GetPayload() *models.APIError
- func (o *ListClassicDashboardsInternalServerError) IsClientError() bool
- func (o *ListClassicDashboardsInternalServerError) IsCode(code int) bool
- func (o *ListClassicDashboardsInternalServerError) IsRedirect() bool
- func (o *ListClassicDashboardsInternalServerError) IsServerError() bool
- func (o *ListClassicDashboardsInternalServerError) IsSuccess() bool
- func (o *ListClassicDashboardsInternalServerError) String() string
- type ListClassicDashboardsOK
- func (o *ListClassicDashboardsOK) Code() int
- func (o *ListClassicDashboardsOK) Error() string
- func (o *ListClassicDashboardsOK) GetPayload() *models.Configv1ListClassicDashboardsResponse
- func (o *ListClassicDashboardsOK) IsClientError() bool
- func (o *ListClassicDashboardsOK) IsCode(code int) bool
- func (o *ListClassicDashboardsOK) IsRedirect() bool
- func (o *ListClassicDashboardsOK) IsServerError() bool
- func (o *ListClassicDashboardsOK) IsSuccess() bool
- func (o *ListClassicDashboardsOK) String() string
- type ListClassicDashboardsParams
- func NewListClassicDashboardsParams() *ListClassicDashboardsParams
- func NewListClassicDashboardsParamsWithContext(ctx context.Context) *ListClassicDashboardsParams
- func NewListClassicDashboardsParamsWithHTTPClient(client *http.Client) *ListClassicDashboardsParams
- func NewListClassicDashboardsParamsWithTimeout(timeout time.Duration) *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) SetBucketSlugs(bucketSlugs []string)
- func (o *ListClassicDashboardsParams) SetCollectionSlugs(collectionSlugs []string)
- func (o *ListClassicDashboardsParams) SetContext(ctx context.Context)
- func (o *ListClassicDashboardsParams) SetDefaults()
- func (o *ListClassicDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *ListClassicDashboardsParams) SetIncludeDashboardJSON(includeDashboardJSON *bool)
- func (o *ListClassicDashboardsParams) SetNames(names []string)
- func (o *ListClassicDashboardsParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListClassicDashboardsParams) SetPageToken(pageToken *string)
- func (o *ListClassicDashboardsParams) SetSlugs(slugs []string)
- func (o *ListClassicDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *ListClassicDashboardsParams) WithBucketSlugs(bucketSlugs []string) *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) WithCollectionSlugs(collectionSlugs []string) *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) WithContext(ctx context.Context) *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) WithDefaults() *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) WithHTTPClient(client *http.Client) *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) WithIncludeDashboardJSON(includeDashboardJSON *bool) *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) WithNames(names []string) *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) WithPageMaxSize(pageMaxSize *int64) *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) WithPageToken(pageToken *string) *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) WithSlugs(slugs []string) *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) WithTimeout(timeout time.Duration) *ListClassicDashboardsParams
- func (o *ListClassicDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClassicDashboardsReader
- type ReadClassicDashboardDefault
- func (o *ReadClassicDashboardDefault) Code() int
- func (o *ReadClassicDashboardDefault) Error() string
- func (o *ReadClassicDashboardDefault) GetPayload() models.GenericError
- func (o *ReadClassicDashboardDefault) IsClientError() bool
- func (o *ReadClassicDashboardDefault) IsCode(code int) bool
- func (o *ReadClassicDashboardDefault) IsRedirect() bool
- func (o *ReadClassicDashboardDefault) IsServerError() bool
- func (o *ReadClassicDashboardDefault) IsSuccess() bool
- func (o *ReadClassicDashboardDefault) String() string
- type ReadClassicDashboardInternalServerError
- func (o *ReadClassicDashboardInternalServerError) Code() int
- func (o *ReadClassicDashboardInternalServerError) Error() string
- func (o *ReadClassicDashboardInternalServerError) GetPayload() *models.APIError
- func (o *ReadClassicDashboardInternalServerError) IsClientError() bool
- func (o *ReadClassicDashboardInternalServerError) IsCode(code int) bool
- func (o *ReadClassicDashboardInternalServerError) IsRedirect() bool
- func (o *ReadClassicDashboardInternalServerError) IsServerError() bool
- func (o *ReadClassicDashboardInternalServerError) IsSuccess() bool
- func (o *ReadClassicDashboardInternalServerError) String() string
- type ReadClassicDashboardNotFound
- func (o *ReadClassicDashboardNotFound) Code() int
- func (o *ReadClassicDashboardNotFound) Error() string
- func (o *ReadClassicDashboardNotFound) GetPayload() *models.APIError
- func (o *ReadClassicDashboardNotFound) IsClientError() bool
- func (o *ReadClassicDashboardNotFound) IsCode(code int) bool
- func (o *ReadClassicDashboardNotFound) IsRedirect() bool
- func (o *ReadClassicDashboardNotFound) IsServerError() bool
- func (o *ReadClassicDashboardNotFound) IsSuccess() bool
- func (o *ReadClassicDashboardNotFound) String() string
- type ReadClassicDashboardOK
- func (o *ReadClassicDashboardOK) Code() int
- func (o *ReadClassicDashboardOK) Error() string
- func (o *ReadClassicDashboardOK) GetPayload() *models.Configv1ReadClassicDashboardResponse
- func (o *ReadClassicDashboardOK) IsClientError() bool
- func (o *ReadClassicDashboardOK) IsCode(code int) bool
- func (o *ReadClassicDashboardOK) IsRedirect() bool
- func (o *ReadClassicDashboardOK) IsServerError() bool
- func (o *ReadClassicDashboardOK) IsSuccess() bool
- func (o *ReadClassicDashboardOK) String() string
- type ReadClassicDashboardParams
- func NewReadClassicDashboardParams() *ReadClassicDashboardParams
- func NewReadClassicDashboardParamsWithContext(ctx context.Context) *ReadClassicDashboardParams
- func NewReadClassicDashboardParamsWithHTTPClient(client *http.Client) *ReadClassicDashboardParams
- func NewReadClassicDashboardParamsWithTimeout(timeout time.Duration) *ReadClassicDashboardParams
- func (o *ReadClassicDashboardParams) SetContext(ctx context.Context)
- func (o *ReadClassicDashboardParams) SetDefaults()
- func (o *ReadClassicDashboardParams) SetHTTPClient(client *http.Client)
- func (o *ReadClassicDashboardParams) SetSlug(slug string)
- func (o *ReadClassicDashboardParams) SetTimeout(timeout time.Duration)
- func (o *ReadClassicDashboardParams) WithContext(ctx context.Context) *ReadClassicDashboardParams
- func (o *ReadClassicDashboardParams) WithDefaults() *ReadClassicDashboardParams
- func (o *ReadClassicDashboardParams) WithHTTPClient(client *http.Client) *ReadClassicDashboardParams
- func (o *ReadClassicDashboardParams) WithSlug(slug string) *ReadClassicDashboardParams
- func (o *ReadClassicDashboardParams) WithTimeout(timeout time.Duration) *ReadClassicDashboardParams
- func (o *ReadClassicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadClassicDashboardReader
- type UpdateClassicDashboardBadRequest
- func (o *UpdateClassicDashboardBadRequest) Code() int
- func (o *UpdateClassicDashboardBadRequest) Error() string
- func (o *UpdateClassicDashboardBadRequest) GetPayload() *models.APIError
- func (o *UpdateClassicDashboardBadRequest) IsClientError() bool
- func (o *UpdateClassicDashboardBadRequest) IsCode(code int) bool
- func (o *UpdateClassicDashboardBadRequest) IsRedirect() bool
- func (o *UpdateClassicDashboardBadRequest) IsServerError() bool
- func (o *UpdateClassicDashboardBadRequest) IsSuccess() bool
- func (o *UpdateClassicDashboardBadRequest) String() string
- type UpdateClassicDashboardConflict
- func (o *UpdateClassicDashboardConflict) Code() int
- func (o *UpdateClassicDashboardConflict) Error() string
- func (o *UpdateClassicDashboardConflict) GetPayload() *models.APIError
- func (o *UpdateClassicDashboardConflict) IsClientError() bool
- func (o *UpdateClassicDashboardConflict) IsCode(code int) bool
- func (o *UpdateClassicDashboardConflict) IsRedirect() bool
- func (o *UpdateClassicDashboardConflict) IsServerError() bool
- func (o *UpdateClassicDashboardConflict) IsSuccess() bool
- func (o *UpdateClassicDashboardConflict) String() string
- type UpdateClassicDashboardDefault
- func (o *UpdateClassicDashboardDefault) Code() int
- func (o *UpdateClassicDashboardDefault) Error() string
- func (o *UpdateClassicDashboardDefault) GetPayload() models.GenericError
- func (o *UpdateClassicDashboardDefault) IsClientError() bool
- func (o *UpdateClassicDashboardDefault) IsCode(code int) bool
- func (o *UpdateClassicDashboardDefault) IsRedirect() bool
- func (o *UpdateClassicDashboardDefault) IsServerError() bool
- func (o *UpdateClassicDashboardDefault) IsSuccess() bool
- func (o *UpdateClassicDashboardDefault) String() string
- type UpdateClassicDashboardInternalServerError
- func (o *UpdateClassicDashboardInternalServerError) Code() int
- func (o *UpdateClassicDashboardInternalServerError) Error() string
- func (o *UpdateClassicDashboardInternalServerError) GetPayload() *models.APIError
- func (o *UpdateClassicDashboardInternalServerError) IsClientError() bool
- func (o *UpdateClassicDashboardInternalServerError) IsCode(code int) bool
- func (o *UpdateClassicDashboardInternalServerError) IsRedirect() bool
- func (o *UpdateClassicDashboardInternalServerError) IsServerError() bool
- func (o *UpdateClassicDashboardInternalServerError) IsSuccess() bool
- func (o *UpdateClassicDashboardInternalServerError) String() string
- type UpdateClassicDashboardNotFound
- func (o *UpdateClassicDashboardNotFound) Code() int
- func (o *UpdateClassicDashboardNotFound) Error() string
- func (o *UpdateClassicDashboardNotFound) GetPayload() *models.APIError
- func (o *UpdateClassicDashboardNotFound) IsClientError() bool
- func (o *UpdateClassicDashboardNotFound) IsCode(code int) bool
- func (o *UpdateClassicDashboardNotFound) IsRedirect() bool
- func (o *UpdateClassicDashboardNotFound) IsServerError() bool
- func (o *UpdateClassicDashboardNotFound) IsSuccess() bool
- func (o *UpdateClassicDashboardNotFound) String() string
- type UpdateClassicDashboardOK
- func (o *UpdateClassicDashboardOK) Code() int
- func (o *UpdateClassicDashboardOK) Error() string
- func (o *UpdateClassicDashboardOK) GetPayload() *models.Configv1UpdateClassicDashboardResponse
- func (o *UpdateClassicDashboardOK) IsClientError() bool
- func (o *UpdateClassicDashboardOK) IsCode(code int) bool
- func (o *UpdateClassicDashboardOK) IsRedirect() bool
- func (o *UpdateClassicDashboardOK) IsServerError() bool
- func (o *UpdateClassicDashboardOK) IsSuccess() bool
- func (o *UpdateClassicDashboardOK) String() string
- type UpdateClassicDashboardParams
- func NewUpdateClassicDashboardParams() *UpdateClassicDashboardParams
- func NewUpdateClassicDashboardParamsWithContext(ctx context.Context) *UpdateClassicDashboardParams
- func NewUpdateClassicDashboardParamsWithHTTPClient(client *http.Client) *UpdateClassicDashboardParams
- func NewUpdateClassicDashboardParamsWithTimeout(timeout time.Duration) *UpdateClassicDashboardParams
- func (o *UpdateClassicDashboardParams) SetBody(body *models.ConfigV1UpdateClassicDashboardBody)
- func (o *UpdateClassicDashboardParams) SetContext(ctx context.Context)
- func (o *UpdateClassicDashboardParams) SetDefaults()
- func (o *UpdateClassicDashboardParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClassicDashboardParams) SetSlug(slug string)
- func (o *UpdateClassicDashboardParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClassicDashboardParams) WithBody(body *models.ConfigV1UpdateClassicDashboardBody) *UpdateClassicDashboardParams
- func (o *UpdateClassicDashboardParams) WithContext(ctx context.Context) *UpdateClassicDashboardParams
- func (o *UpdateClassicDashboardParams) WithDefaults() *UpdateClassicDashboardParams
- func (o *UpdateClassicDashboardParams) WithHTTPClient(client *http.Client) *UpdateClassicDashboardParams
- func (o *UpdateClassicDashboardParams) WithSlug(slug string) *UpdateClassicDashboardParams
- func (o *UpdateClassicDashboardParams) WithTimeout(timeout time.Duration) *UpdateClassicDashboardParams
- func (o *UpdateClassicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClassicDashboardReader
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 classic dashboard API
func (*Client) CreateClassicDashboard ¶
func (a *Client) CreateClassicDashboard(params *CreateClassicDashboardParams, opts ...ClientOption) (*CreateClassicDashboardOK, error)
CreateClassicDashboard create classic dashboard API
func (*Client) DeleteClassicDashboard ¶
func (a *Client) DeleteClassicDashboard(params *DeleteClassicDashboardParams, opts ...ClientOption) (*DeleteClassicDashboardOK, error)
DeleteClassicDashboard delete classic dashboard API
func (*Client) ListClassicDashboards ¶
func (a *Client) ListClassicDashboards(params *ListClassicDashboardsParams, opts ...ClientOption) (*ListClassicDashboardsOK, error)
ListClassicDashboards list classic dashboards API
func (*Client) ReadClassicDashboard ¶
func (a *Client) ReadClassicDashboard(params *ReadClassicDashboardParams, opts ...ClientOption) (*ReadClassicDashboardOK, error)
ReadClassicDashboard read classic dashboard API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateClassicDashboard ¶
func (a *Client) UpdateClassicDashboard(params *UpdateClassicDashboardParams, opts ...ClientOption) (*UpdateClassicDashboardOK, error)
UpdateClassicDashboard update classic dashboard API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateClassicDashboard(params *CreateClassicDashboardParams, opts ...ClientOption) (*CreateClassicDashboardOK, error) DeleteClassicDashboard(params *DeleteClassicDashboardParams, opts ...ClientOption) (*DeleteClassicDashboardOK, error) ListClassicDashboards(params *ListClassicDashboardsParams, opts ...ClientOption) (*ListClassicDashboardsOK, error) ReadClassicDashboard(params *ReadClassicDashboardParams, opts ...ClientOption) (*ReadClassicDashboardOK, error) UpdateClassicDashboard(params *UpdateClassicDashboardParams, opts ...ClientOption) (*UpdateClassicDashboardOK, 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 classic dashboard API client.
type CreateClassicDashboardBadRequest ¶
CreateClassicDashboardBadRequest describes a response with status code 400, with default header values.
Cannot create the GrafanaDashboard because the request is invalid.
func NewCreateClassicDashboardBadRequest ¶
func NewCreateClassicDashboardBadRequest() *CreateClassicDashboardBadRequest
NewCreateClassicDashboardBadRequest creates a CreateClassicDashboardBadRequest with default headers values
func (*CreateClassicDashboardBadRequest) Code ¶
func (o *CreateClassicDashboardBadRequest) Code() int
Code gets the status code for the create classic dashboard bad request response
func (*CreateClassicDashboardBadRequest) Error ¶
func (o *CreateClassicDashboardBadRequest) Error() string
func (*CreateClassicDashboardBadRequest) GetPayload ¶
func (o *CreateClassicDashboardBadRequest) GetPayload() *models.APIError
func (*CreateClassicDashboardBadRequest) IsClientError ¶
func (o *CreateClassicDashboardBadRequest) IsClientError() bool
IsClientError returns true when this create classic dashboard bad request response has a 4xx status code
func (*CreateClassicDashboardBadRequest) IsCode ¶
func (o *CreateClassicDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this create classic dashboard bad request response a status code equal to that given
func (*CreateClassicDashboardBadRequest) IsRedirect ¶
func (o *CreateClassicDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this create classic dashboard bad request response has a 3xx status code
func (*CreateClassicDashboardBadRequest) IsServerError ¶
func (o *CreateClassicDashboardBadRequest) IsServerError() bool
IsServerError returns true when this create classic dashboard bad request response has a 5xx status code
func (*CreateClassicDashboardBadRequest) IsSuccess ¶
func (o *CreateClassicDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this create classic dashboard bad request response has a 2xx status code
func (*CreateClassicDashboardBadRequest) String ¶
func (o *CreateClassicDashboardBadRequest) String() string
type CreateClassicDashboardConflict ¶
CreateClassicDashboardConflict describes a response with status code 409, with default header values.
Cannot create the GrafanaDashboard because there is a conflict with an existing GrafanaDashboard.
func NewCreateClassicDashboardConflict ¶
func NewCreateClassicDashboardConflict() *CreateClassicDashboardConflict
NewCreateClassicDashboardConflict creates a CreateClassicDashboardConflict with default headers values
func (*CreateClassicDashboardConflict) Code ¶
func (o *CreateClassicDashboardConflict) Code() int
Code gets the status code for the create classic dashboard conflict response
func (*CreateClassicDashboardConflict) Error ¶
func (o *CreateClassicDashboardConflict) Error() string
func (*CreateClassicDashboardConflict) GetPayload ¶
func (o *CreateClassicDashboardConflict) GetPayload() *models.APIError
func (*CreateClassicDashboardConflict) IsClientError ¶
func (o *CreateClassicDashboardConflict) IsClientError() bool
IsClientError returns true when this create classic dashboard conflict response has a 4xx status code
func (*CreateClassicDashboardConflict) IsCode ¶
func (o *CreateClassicDashboardConflict) IsCode(code int) bool
IsCode returns true when this create classic dashboard conflict response a status code equal to that given
func (*CreateClassicDashboardConflict) IsRedirect ¶
func (o *CreateClassicDashboardConflict) IsRedirect() bool
IsRedirect returns true when this create classic dashboard conflict response has a 3xx status code
func (*CreateClassicDashboardConflict) IsServerError ¶
func (o *CreateClassicDashboardConflict) IsServerError() bool
IsServerError returns true when this create classic dashboard conflict response has a 5xx status code
func (*CreateClassicDashboardConflict) IsSuccess ¶
func (o *CreateClassicDashboardConflict) IsSuccess() bool
IsSuccess returns true when this create classic dashboard conflict response has a 2xx status code
func (*CreateClassicDashboardConflict) String ¶
func (o *CreateClassicDashboardConflict) String() string
type CreateClassicDashboardDefault ¶
type CreateClassicDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateClassicDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateClassicDashboardDefault ¶
func NewCreateClassicDashboardDefault(code int) *CreateClassicDashboardDefault
NewCreateClassicDashboardDefault creates a CreateClassicDashboardDefault with default headers values
func (*CreateClassicDashboardDefault) Code ¶
func (o *CreateClassicDashboardDefault) Code() int
Code gets the status code for the create classic dashboard default response
func (*CreateClassicDashboardDefault) Error ¶
func (o *CreateClassicDashboardDefault) Error() string
func (*CreateClassicDashboardDefault) GetPayload ¶
func (o *CreateClassicDashboardDefault) GetPayload() models.GenericError
func (*CreateClassicDashboardDefault) IsClientError ¶
func (o *CreateClassicDashboardDefault) IsClientError() bool
IsClientError returns true when this create classic dashboard default response has a 4xx status code
func (*CreateClassicDashboardDefault) IsCode ¶
func (o *CreateClassicDashboardDefault) IsCode(code int) bool
IsCode returns true when this create classic dashboard default response a status code equal to that given
func (*CreateClassicDashboardDefault) IsRedirect ¶
func (o *CreateClassicDashboardDefault) IsRedirect() bool
IsRedirect returns true when this create classic dashboard default response has a 3xx status code
func (*CreateClassicDashboardDefault) IsServerError ¶
func (o *CreateClassicDashboardDefault) IsServerError() bool
IsServerError returns true when this create classic dashboard default response has a 5xx status code
func (*CreateClassicDashboardDefault) IsSuccess ¶
func (o *CreateClassicDashboardDefault) IsSuccess() bool
IsSuccess returns true when this create classic dashboard default response has a 2xx status code
func (*CreateClassicDashboardDefault) String ¶
func (o *CreateClassicDashboardDefault) String() string
type CreateClassicDashboardInternalServerError ¶
CreateClassicDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateClassicDashboardInternalServerError ¶
func NewCreateClassicDashboardInternalServerError() *CreateClassicDashboardInternalServerError
NewCreateClassicDashboardInternalServerError creates a CreateClassicDashboardInternalServerError with default headers values
func (*CreateClassicDashboardInternalServerError) Code ¶
func (o *CreateClassicDashboardInternalServerError) Code() int
Code gets the status code for the create classic dashboard internal server error response
func (*CreateClassicDashboardInternalServerError) Error ¶
func (o *CreateClassicDashboardInternalServerError) Error() string
func (*CreateClassicDashboardInternalServerError) GetPayload ¶
func (o *CreateClassicDashboardInternalServerError) GetPayload() *models.APIError
func (*CreateClassicDashboardInternalServerError) IsClientError ¶
func (o *CreateClassicDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this create classic dashboard internal server error response has a 4xx status code
func (*CreateClassicDashboardInternalServerError) IsCode ¶
func (o *CreateClassicDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this create classic dashboard internal server error response a status code equal to that given
func (*CreateClassicDashboardInternalServerError) IsRedirect ¶
func (o *CreateClassicDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this create classic dashboard internal server error response has a 3xx status code
func (*CreateClassicDashboardInternalServerError) IsServerError ¶
func (o *CreateClassicDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this create classic dashboard internal server error response has a 5xx status code
func (*CreateClassicDashboardInternalServerError) IsSuccess ¶
func (o *CreateClassicDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this create classic dashboard internal server error response has a 2xx status code
func (*CreateClassicDashboardInternalServerError) String ¶
func (o *CreateClassicDashboardInternalServerError) String() string
type CreateClassicDashboardOK ¶
type CreateClassicDashboardOK struct {
Payload *models.Configv1CreateClassicDashboardResponse
}
CreateClassicDashboardOK describes a response with status code 200, with default header values.
A successful response containing the created GrafanaDashboard.
func NewCreateClassicDashboardOK ¶
func NewCreateClassicDashboardOK() *CreateClassicDashboardOK
NewCreateClassicDashboardOK creates a CreateClassicDashboardOK with default headers values
func (*CreateClassicDashboardOK) Code ¶
func (o *CreateClassicDashboardOK) Code() int
Code gets the status code for the create classic dashboard o k response
func (*CreateClassicDashboardOK) Error ¶
func (o *CreateClassicDashboardOK) Error() string
func (*CreateClassicDashboardOK) GetPayload ¶
func (o *CreateClassicDashboardOK) GetPayload() *models.Configv1CreateClassicDashboardResponse
func (*CreateClassicDashboardOK) IsClientError ¶
func (o *CreateClassicDashboardOK) IsClientError() bool
IsClientError returns true when this create classic dashboard o k response has a 4xx status code
func (*CreateClassicDashboardOK) IsCode ¶
func (o *CreateClassicDashboardOK) IsCode(code int) bool
IsCode returns true when this create classic dashboard o k response a status code equal to that given
func (*CreateClassicDashboardOK) IsRedirect ¶
func (o *CreateClassicDashboardOK) IsRedirect() bool
IsRedirect returns true when this create classic dashboard o k response has a 3xx status code
func (*CreateClassicDashboardOK) IsServerError ¶
func (o *CreateClassicDashboardOK) IsServerError() bool
IsServerError returns true when this create classic dashboard o k response has a 5xx status code
func (*CreateClassicDashboardOK) IsSuccess ¶
func (o *CreateClassicDashboardOK) IsSuccess() bool
IsSuccess returns true when this create classic dashboard o k response has a 2xx status code
func (*CreateClassicDashboardOK) String ¶
func (o *CreateClassicDashboardOK) String() string
type CreateClassicDashboardParams ¶
type CreateClassicDashboardParams struct { // Body. Body *models.Configv1CreateClassicDashboardRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateClassicDashboardParams contains all the parameters to send to the API endpoint
for the create classic dashboard operation. Typically these are written to a http.Request.
func NewCreateClassicDashboardParams ¶
func NewCreateClassicDashboardParams() *CreateClassicDashboardParams
NewCreateClassicDashboardParams creates a new CreateClassicDashboardParams 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 NewCreateClassicDashboardParamsWithContext ¶
func NewCreateClassicDashboardParamsWithContext(ctx context.Context) *CreateClassicDashboardParams
NewCreateClassicDashboardParamsWithContext creates a new CreateClassicDashboardParams object with the ability to set a context for a request.
func NewCreateClassicDashboardParamsWithHTTPClient ¶
func NewCreateClassicDashboardParamsWithHTTPClient(client *http.Client) *CreateClassicDashboardParams
NewCreateClassicDashboardParamsWithHTTPClient creates a new CreateClassicDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewCreateClassicDashboardParamsWithTimeout ¶
func NewCreateClassicDashboardParamsWithTimeout(timeout time.Duration) *CreateClassicDashboardParams
NewCreateClassicDashboardParamsWithTimeout creates a new CreateClassicDashboardParams object with the ability to set a timeout on a request.
func (*CreateClassicDashboardParams) SetBody ¶
func (o *CreateClassicDashboardParams) SetBody(body *models.Configv1CreateClassicDashboardRequest)
SetBody adds the body to the create classic dashboard params
func (*CreateClassicDashboardParams) SetContext ¶
func (o *CreateClassicDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the create classic dashboard params
func (*CreateClassicDashboardParams) SetDefaults ¶
func (o *CreateClassicDashboardParams) SetDefaults()
SetDefaults hydrates default values in the create classic dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*CreateClassicDashboardParams) SetHTTPClient ¶
func (o *CreateClassicDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create classic dashboard params
func (*CreateClassicDashboardParams) SetTimeout ¶
func (o *CreateClassicDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create classic dashboard params
func (*CreateClassicDashboardParams) WithBody ¶
func (o *CreateClassicDashboardParams) WithBody(body *models.Configv1CreateClassicDashboardRequest) *CreateClassicDashboardParams
WithBody adds the body to the create classic dashboard params
func (*CreateClassicDashboardParams) WithContext ¶
func (o *CreateClassicDashboardParams) WithContext(ctx context.Context) *CreateClassicDashboardParams
WithContext adds the context to the create classic dashboard params
func (*CreateClassicDashboardParams) WithDefaults ¶
func (o *CreateClassicDashboardParams) WithDefaults() *CreateClassicDashboardParams
WithDefaults hydrates default values in the create classic dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*CreateClassicDashboardParams) WithHTTPClient ¶
func (o *CreateClassicDashboardParams) WithHTTPClient(client *http.Client) *CreateClassicDashboardParams
WithHTTPClient adds the HTTPClient to the create classic dashboard params
func (*CreateClassicDashboardParams) WithTimeout ¶
func (o *CreateClassicDashboardParams) WithTimeout(timeout time.Duration) *CreateClassicDashboardParams
WithTimeout adds the timeout to the create classic dashboard params
func (*CreateClassicDashboardParams) WriteToRequest ¶
func (o *CreateClassicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClassicDashboardReader ¶
type CreateClassicDashboardReader struct {
// contains filtered or unexported fields
}
CreateClassicDashboardReader is a Reader for the CreateClassicDashboard structure.
func (*CreateClassicDashboardReader) ReadResponse ¶
func (o *CreateClassicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClassicDashboardBadRequest ¶
DeleteClassicDashboardBadRequest describes a response with status code 400, with default header values.
Cannot delete the GrafanaDashboard because it is in use.
func NewDeleteClassicDashboardBadRequest ¶
func NewDeleteClassicDashboardBadRequest() *DeleteClassicDashboardBadRequest
NewDeleteClassicDashboardBadRequest creates a DeleteClassicDashboardBadRequest with default headers values
func (*DeleteClassicDashboardBadRequest) Code ¶
func (o *DeleteClassicDashboardBadRequest) Code() int
Code gets the status code for the delete classic dashboard bad request response
func (*DeleteClassicDashboardBadRequest) Error ¶
func (o *DeleteClassicDashboardBadRequest) Error() string
func (*DeleteClassicDashboardBadRequest) GetPayload ¶
func (o *DeleteClassicDashboardBadRequest) GetPayload() *models.APIError
func (*DeleteClassicDashboardBadRequest) IsClientError ¶
func (o *DeleteClassicDashboardBadRequest) IsClientError() bool
IsClientError returns true when this delete classic dashboard bad request response has a 4xx status code
func (*DeleteClassicDashboardBadRequest) IsCode ¶
func (o *DeleteClassicDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this delete classic dashboard bad request response a status code equal to that given
func (*DeleteClassicDashboardBadRequest) IsRedirect ¶
func (o *DeleteClassicDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this delete classic dashboard bad request response has a 3xx status code
func (*DeleteClassicDashboardBadRequest) IsServerError ¶
func (o *DeleteClassicDashboardBadRequest) IsServerError() bool
IsServerError returns true when this delete classic dashboard bad request response has a 5xx status code
func (*DeleteClassicDashboardBadRequest) IsSuccess ¶
func (o *DeleteClassicDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this delete classic dashboard bad request response has a 2xx status code
func (*DeleteClassicDashboardBadRequest) String ¶
func (o *DeleteClassicDashboardBadRequest) String() string
type DeleteClassicDashboardDefault ¶
type DeleteClassicDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteClassicDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteClassicDashboardDefault ¶
func NewDeleteClassicDashboardDefault(code int) *DeleteClassicDashboardDefault
NewDeleteClassicDashboardDefault creates a DeleteClassicDashboardDefault with default headers values
func (*DeleteClassicDashboardDefault) Code ¶
func (o *DeleteClassicDashboardDefault) Code() int
Code gets the status code for the delete classic dashboard default response
func (*DeleteClassicDashboardDefault) Error ¶
func (o *DeleteClassicDashboardDefault) Error() string
func (*DeleteClassicDashboardDefault) GetPayload ¶
func (o *DeleteClassicDashboardDefault) GetPayload() models.GenericError
func (*DeleteClassicDashboardDefault) IsClientError ¶
func (o *DeleteClassicDashboardDefault) IsClientError() bool
IsClientError returns true when this delete classic dashboard default response has a 4xx status code
func (*DeleteClassicDashboardDefault) IsCode ¶
func (o *DeleteClassicDashboardDefault) IsCode(code int) bool
IsCode returns true when this delete classic dashboard default response a status code equal to that given
func (*DeleteClassicDashboardDefault) IsRedirect ¶
func (o *DeleteClassicDashboardDefault) IsRedirect() bool
IsRedirect returns true when this delete classic dashboard default response has a 3xx status code
func (*DeleteClassicDashboardDefault) IsServerError ¶
func (o *DeleteClassicDashboardDefault) IsServerError() bool
IsServerError returns true when this delete classic dashboard default response has a 5xx status code
func (*DeleteClassicDashboardDefault) IsSuccess ¶
func (o *DeleteClassicDashboardDefault) IsSuccess() bool
IsSuccess returns true when this delete classic dashboard default response has a 2xx status code
func (*DeleteClassicDashboardDefault) String ¶
func (o *DeleteClassicDashboardDefault) String() string
type DeleteClassicDashboardInternalServerError ¶
DeleteClassicDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteClassicDashboardInternalServerError ¶
func NewDeleteClassicDashboardInternalServerError() *DeleteClassicDashboardInternalServerError
NewDeleteClassicDashboardInternalServerError creates a DeleteClassicDashboardInternalServerError with default headers values
func (*DeleteClassicDashboardInternalServerError) Code ¶
func (o *DeleteClassicDashboardInternalServerError) Code() int
Code gets the status code for the delete classic dashboard internal server error response
func (*DeleteClassicDashboardInternalServerError) Error ¶
func (o *DeleteClassicDashboardInternalServerError) Error() string
func (*DeleteClassicDashboardInternalServerError) GetPayload ¶
func (o *DeleteClassicDashboardInternalServerError) GetPayload() *models.APIError
func (*DeleteClassicDashboardInternalServerError) IsClientError ¶
func (o *DeleteClassicDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this delete classic dashboard internal server error response has a 4xx status code
func (*DeleteClassicDashboardInternalServerError) IsCode ¶
func (o *DeleteClassicDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this delete classic dashboard internal server error response a status code equal to that given
func (*DeleteClassicDashboardInternalServerError) IsRedirect ¶
func (o *DeleteClassicDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete classic dashboard internal server error response has a 3xx status code
func (*DeleteClassicDashboardInternalServerError) IsServerError ¶
func (o *DeleteClassicDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this delete classic dashboard internal server error response has a 5xx status code
func (*DeleteClassicDashboardInternalServerError) IsSuccess ¶
func (o *DeleteClassicDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete classic dashboard internal server error response has a 2xx status code
func (*DeleteClassicDashboardInternalServerError) String ¶
func (o *DeleteClassicDashboardInternalServerError) String() string
type DeleteClassicDashboardNotFound ¶
DeleteClassicDashboardNotFound describes a response with status code 404, with default header values.
Cannot delete the GrafanaDashboard because the slug does not exist.
func NewDeleteClassicDashboardNotFound ¶
func NewDeleteClassicDashboardNotFound() *DeleteClassicDashboardNotFound
NewDeleteClassicDashboardNotFound creates a DeleteClassicDashboardNotFound with default headers values
func (*DeleteClassicDashboardNotFound) Code ¶
func (o *DeleteClassicDashboardNotFound) Code() int
Code gets the status code for the delete classic dashboard not found response
func (*DeleteClassicDashboardNotFound) Error ¶
func (o *DeleteClassicDashboardNotFound) Error() string
func (*DeleteClassicDashboardNotFound) GetPayload ¶
func (o *DeleteClassicDashboardNotFound) GetPayload() *models.APIError
func (*DeleteClassicDashboardNotFound) IsClientError ¶
func (o *DeleteClassicDashboardNotFound) IsClientError() bool
IsClientError returns true when this delete classic dashboard not found response has a 4xx status code
func (*DeleteClassicDashboardNotFound) IsCode ¶
func (o *DeleteClassicDashboardNotFound) IsCode(code int) bool
IsCode returns true when this delete classic dashboard not found response a status code equal to that given
func (*DeleteClassicDashboardNotFound) IsRedirect ¶
func (o *DeleteClassicDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this delete classic dashboard not found response has a 3xx status code
func (*DeleteClassicDashboardNotFound) IsServerError ¶
func (o *DeleteClassicDashboardNotFound) IsServerError() bool
IsServerError returns true when this delete classic dashboard not found response has a 5xx status code
func (*DeleteClassicDashboardNotFound) IsSuccess ¶
func (o *DeleteClassicDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this delete classic dashboard not found response has a 2xx status code
func (*DeleteClassicDashboardNotFound) String ¶
func (o *DeleteClassicDashboardNotFound) String() string
type DeleteClassicDashboardOK ¶
type DeleteClassicDashboardOK struct {
Payload models.Configv1DeleteClassicDashboardResponse
}
DeleteClassicDashboardOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteClassicDashboardOK ¶
func NewDeleteClassicDashboardOK() *DeleteClassicDashboardOK
NewDeleteClassicDashboardOK creates a DeleteClassicDashboardOK with default headers values
func (*DeleteClassicDashboardOK) Code ¶
func (o *DeleteClassicDashboardOK) Code() int
Code gets the status code for the delete classic dashboard o k response
func (*DeleteClassicDashboardOK) Error ¶
func (o *DeleteClassicDashboardOK) Error() string
func (*DeleteClassicDashboardOK) GetPayload ¶
func (o *DeleteClassicDashboardOK) GetPayload() models.Configv1DeleteClassicDashboardResponse
func (*DeleteClassicDashboardOK) IsClientError ¶
func (o *DeleteClassicDashboardOK) IsClientError() bool
IsClientError returns true when this delete classic dashboard o k response has a 4xx status code
func (*DeleteClassicDashboardOK) IsCode ¶
func (o *DeleteClassicDashboardOK) IsCode(code int) bool
IsCode returns true when this delete classic dashboard o k response a status code equal to that given
func (*DeleteClassicDashboardOK) IsRedirect ¶
func (o *DeleteClassicDashboardOK) IsRedirect() bool
IsRedirect returns true when this delete classic dashboard o k response has a 3xx status code
func (*DeleteClassicDashboardOK) IsServerError ¶
func (o *DeleteClassicDashboardOK) IsServerError() bool
IsServerError returns true when this delete classic dashboard o k response has a 5xx status code
func (*DeleteClassicDashboardOK) IsSuccess ¶
func (o *DeleteClassicDashboardOK) IsSuccess() bool
IsSuccess returns true when this delete classic dashboard o k response has a 2xx status code
func (*DeleteClassicDashboardOK) String ¶
func (o *DeleteClassicDashboardOK) String() string
type DeleteClassicDashboardParams ¶
type DeleteClassicDashboardParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClassicDashboardParams contains all the parameters to send to the API endpoint
for the delete classic dashboard operation. Typically these are written to a http.Request.
func NewDeleteClassicDashboardParams ¶
func NewDeleteClassicDashboardParams() *DeleteClassicDashboardParams
NewDeleteClassicDashboardParams creates a new DeleteClassicDashboardParams 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 NewDeleteClassicDashboardParamsWithContext ¶
func NewDeleteClassicDashboardParamsWithContext(ctx context.Context) *DeleteClassicDashboardParams
NewDeleteClassicDashboardParamsWithContext creates a new DeleteClassicDashboardParams object with the ability to set a context for a request.
func NewDeleteClassicDashboardParamsWithHTTPClient ¶
func NewDeleteClassicDashboardParamsWithHTTPClient(client *http.Client) *DeleteClassicDashboardParams
NewDeleteClassicDashboardParamsWithHTTPClient creates a new DeleteClassicDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteClassicDashboardParamsWithTimeout ¶
func NewDeleteClassicDashboardParamsWithTimeout(timeout time.Duration) *DeleteClassicDashboardParams
NewDeleteClassicDashboardParamsWithTimeout creates a new DeleteClassicDashboardParams object with the ability to set a timeout on a request.
func (*DeleteClassicDashboardParams) SetContext ¶
func (o *DeleteClassicDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the delete classic dashboard params
func (*DeleteClassicDashboardParams) SetDefaults ¶
func (o *DeleteClassicDashboardParams) SetDefaults()
SetDefaults hydrates default values in the delete classic dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClassicDashboardParams) SetHTTPClient ¶
func (o *DeleteClassicDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete classic dashboard params
func (*DeleteClassicDashboardParams) SetSlug ¶
func (o *DeleteClassicDashboardParams) SetSlug(slug string)
SetSlug adds the slug to the delete classic dashboard params
func (*DeleteClassicDashboardParams) SetTimeout ¶
func (o *DeleteClassicDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete classic dashboard params
func (*DeleteClassicDashboardParams) WithContext ¶
func (o *DeleteClassicDashboardParams) WithContext(ctx context.Context) *DeleteClassicDashboardParams
WithContext adds the context to the delete classic dashboard params
func (*DeleteClassicDashboardParams) WithDefaults ¶
func (o *DeleteClassicDashboardParams) WithDefaults() *DeleteClassicDashboardParams
WithDefaults hydrates default values in the delete classic dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClassicDashboardParams) WithHTTPClient ¶
func (o *DeleteClassicDashboardParams) WithHTTPClient(client *http.Client) *DeleteClassicDashboardParams
WithHTTPClient adds the HTTPClient to the delete classic dashboard params
func (*DeleteClassicDashboardParams) WithSlug ¶
func (o *DeleteClassicDashboardParams) WithSlug(slug string) *DeleteClassicDashboardParams
WithSlug adds the slug to the delete classic dashboard params
func (*DeleteClassicDashboardParams) WithTimeout ¶
func (o *DeleteClassicDashboardParams) WithTimeout(timeout time.Duration) *DeleteClassicDashboardParams
WithTimeout adds the timeout to the delete classic dashboard params
func (*DeleteClassicDashboardParams) WriteToRequest ¶
func (o *DeleteClassicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClassicDashboardReader ¶
type DeleteClassicDashboardReader struct {
// contains filtered or unexported fields
}
DeleteClassicDashboardReader is a Reader for the DeleteClassicDashboard structure.
func (*DeleteClassicDashboardReader) ReadResponse ¶
func (o *DeleteClassicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClassicDashboardsDefault ¶
type ListClassicDashboardsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListClassicDashboardsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListClassicDashboardsDefault ¶
func NewListClassicDashboardsDefault(code int) *ListClassicDashboardsDefault
NewListClassicDashboardsDefault creates a ListClassicDashboardsDefault with default headers values
func (*ListClassicDashboardsDefault) Code ¶
func (o *ListClassicDashboardsDefault) Code() int
Code gets the status code for the list classic dashboards default response
func (*ListClassicDashboardsDefault) Error ¶
func (o *ListClassicDashboardsDefault) Error() string
func (*ListClassicDashboardsDefault) GetPayload ¶
func (o *ListClassicDashboardsDefault) GetPayload() models.GenericError
func (*ListClassicDashboardsDefault) IsClientError ¶
func (o *ListClassicDashboardsDefault) IsClientError() bool
IsClientError returns true when this list classic dashboards default response has a 4xx status code
func (*ListClassicDashboardsDefault) IsCode ¶
func (o *ListClassicDashboardsDefault) IsCode(code int) bool
IsCode returns true when this list classic dashboards default response a status code equal to that given
func (*ListClassicDashboardsDefault) IsRedirect ¶
func (o *ListClassicDashboardsDefault) IsRedirect() bool
IsRedirect returns true when this list classic dashboards default response has a 3xx status code
func (*ListClassicDashboardsDefault) IsServerError ¶
func (o *ListClassicDashboardsDefault) IsServerError() bool
IsServerError returns true when this list classic dashboards default response has a 5xx status code
func (*ListClassicDashboardsDefault) IsSuccess ¶
func (o *ListClassicDashboardsDefault) IsSuccess() bool
IsSuccess returns true when this list classic dashboards default response has a 2xx status code
func (*ListClassicDashboardsDefault) String ¶
func (o *ListClassicDashboardsDefault) String() string
type ListClassicDashboardsInternalServerError ¶
ListClassicDashboardsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListClassicDashboardsInternalServerError ¶
func NewListClassicDashboardsInternalServerError() *ListClassicDashboardsInternalServerError
NewListClassicDashboardsInternalServerError creates a ListClassicDashboardsInternalServerError with default headers values
func (*ListClassicDashboardsInternalServerError) Code ¶
func (o *ListClassicDashboardsInternalServerError) Code() int
Code gets the status code for the list classic dashboards internal server error response
func (*ListClassicDashboardsInternalServerError) Error ¶
func (o *ListClassicDashboardsInternalServerError) Error() string
func (*ListClassicDashboardsInternalServerError) GetPayload ¶
func (o *ListClassicDashboardsInternalServerError) GetPayload() *models.APIError
func (*ListClassicDashboardsInternalServerError) IsClientError ¶
func (o *ListClassicDashboardsInternalServerError) IsClientError() bool
IsClientError returns true when this list classic dashboards internal server error response has a 4xx status code
func (*ListClassicDashboardsInternalServerError) IsCode ¶
func (o *ListClassicDashboardsInternalServerError) IsCode(code int) bool
IsCode returns true when this list classic dashboards internal server error response a status code equal to that given
func (*ListClassicDashboardsInternalServerError) IsRedirect ¶
func (o *ListClassicDashboardsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list classic dashboards internal server error response has a 3xx status code
func (*ListClassicDashboardsInternalServerError) IsServerError ¶
func (o *ListClassicDashboardsInternalServerError) IsServerError() bool
IsServerError returns true when this list classic dashboards internal server error response has a 5xx status code
func (*ListClassicDashboardsInternalServerError) IsSuccess ¶
func (o *ListClassicDashboardsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list classic dashboards internal server error response has a 2xx status code
func (*ListClassicDashboardsInternalServerError) String ¶
func (o *ListClassicDashboardsInternalServerError) String() string
type ListClassicDashboardsOK ¶
type ListClassicDashboardsOK struct {
Payload *models.Configv1ListClassicDashboardsResponse
}
ListClassicDashboardsOK describes a response with status code 200, with default header values.
A successful response.
func NewListClassicDashboardsOK ¶
func NewListClassicDashboardsOK() *ListClassicDashboardsOK
NewListClassicDashboardsOK creates a ListClassicDashboardsOK with default headers values
func (*ListClassicDashboardsOK) Code ¶
func (o *ListClassicDashboardsOK) Code() int
Code gets the status code for the list classic dashboards o k response
func (*ListClassicDashboardsOK) Error ¶
func (o *ListClassicDashboardsOK) Error() string
func (*ListClassicDashboardsOK) GetPayload ¶
func (o *ListClassicDashboardsOK) GetPayload() *models.Configv1ListClassicDashboardsResponse
func (*ListClassicDashboardsOK) IsClientError ¶
func (o *ListClassicDashboardsOK) IsClientError() bool
IsClientError returns true when this list classic dashboards o k response has a 4xx status code
func (*ListClassicDashboardsOK) IsCode ¶
func (o *ListClassicDashboardsOK) IsCode(code int) bool
IsCode returns true when this list classic dashboards o k response a status code equal to that given
func (*ListClassicDashboardsOK) IsRedirect ¶
func (o *ListClassicDashboardsOK) IsRedirect() bool
IsRedirect returns true when this list classic dashboards o k response has a 3xx status code
func (*ListClassicDashboardsOK) IsServerError ¶
func (o *ListClassicDashboardsOK) IsServerError() bool
IsServerError returns true when this list classic dashboards o k response has a 5xx status code
func (*ListClassicDashboardsOK) IsSuccess ¶
func (o *ListClassicDashboardsOK) IsSuccess() bool
IsSuccess returns true when this list classic dashboards o k response has a 2xx status code
func (*ListClassicDashboardsOK) String ¶
func (o *ListClassicDashboardsOK) String() string
type ListClassicDashboardsParams ¶
type ListClassicDashboardsParams struct { /* BucketSlugs. Filters results by bucket_slug, where any ClassicDashboard with a matching bucket_slug in the given list (and matches all other filters) is returned. */ BucketSlugs []string /* CollectionSlugs. Filters results by collection_slug, where any ClassicDashboard with a matching collection_slug in the given list (and matches all other filters) is returned. */ CollectionSlugs []string /* IncludeDashboardJSON. Optional flag to populate the dashboard_json of the returned dashboards. By default, dashboard_json will be left empty. */ IncludeDashboardJSON *bool /* Names. Filters results by name, where any ClassicDashboard with a matching name in the given list (and matches all other filters) is returned. */ Names []string /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string /* Slugs. Filters results by slug, where any ClassicDashboard with a matching slug in the given list (and matches all other filters) is returned. */ Slugs []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClassicDashboardsParams contains all the parameters to send to the API endpoint
for the list classic dashboards operation. Typically these are written to a http.Request.
func NewListClassicDashboardsParams ¶
func NewListClassicDashboardsParams() *ListClassicDashboardsParams
NewListClassicDashboardsParams creates a new ListClassicDashboardsParams 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 NewListClassicDashboardsParamsWithContext ¶
func NewListClassicDashboardsParamsWithContext(ctx context.Context) *ListClassicDashboardsParams
NewListClassicDashboardsParamsWithContext creates a new ListClassicDashboardsParams object with the ability to set a context for a request.
func NewListClassicDashboardsParamsWithHTTPClient ¶
func NewListClassicDashboardsParamsWithHTTPClient(client *http.Client) *ListClassicDashboardsParams
NewListClassicDashboardsParamsWithHTTPClient creates a new ListClassicDashboardsParams object with the ability to set a custom HTTPClient for a request.
func NewListClassicDashboardsParamsWithTimeout ¶
func NewListClassicDashboardsParamsWithTimeout(timeout time.Duration) *ListClassicDashboardsParams
NewListClassicDashboardsParamsWithTimeout creates a new ListClassicDashboardsParams object with the ability to set a timeout on a request.
func (*ListClassicDashboardsParams) SetBucketSlugs ¶
func (o *ListClassicDashboardsParams) SetBucketSlugs(bucketSlugs []string)
SetBucketSlugs adds the bucketSlugs to the list classic dashboards params
func (*ListClassicDashboardsParams) SetCollectionSlugs ¶
func (o *ListClassicDashboardsParams) SetCollectionSlugs(collectionSlugs []string)
SetCollectionSlugs adds the collectionSlugs to the list classic dashboards params
func (*ListClassicDashboardsParams) SetContext ¶
func (o *ListClassicDashboardsParams) SetContext(ctx context.Context)
SetContext adds the context to the list classic dashboards params
func (*ListClassicDashboardsParams) SetDefaults ¶
func (o *ListClassicDashboardsParams) SetDefaults()
SetDefaults hydrates default values in the list classic dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*ListClassicDashboardsParams) SetHTTPClient ¶
func (o *ListClassicDashboardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list classic dashboards params
func (*ListClassicDashboardsParams) SetIncludeDashboardJSON ¶
func (o *ListClassicDashboardsParams) SetIncludeDashboardJSON(includeDashboardJSON *bool)
SetIncludeDashboardJSON adds the includeDashboardJson to the list classic dashboards params
func (*ListClassicDashboardsParams) SetNames ¶
func (o *ListClassicDashboardsParams) SetNames(names []string)
SetNames adds the names to the list classic dashboards params
func (*ListClassicDashboardsParams) SetPageMaxSize ¶
func (o *ListClassicDashboardsParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list classic dashboards params
func (*ListClassicDashboardsParams) SetPageToken ¶
func (o *ListClassicDashboardsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list classic dashboards params
func (*ListClassicDashboardsParams) SetSlugs ¶
func (o *ListClassicDashboardsParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list classic dashboards params
func (*ListClassicDashboardsParams) SetTimeout ¶
func (o *ListClassicDashboardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list classic dashboards params
func (*ListClassicDashboardsParams) WithBucketSlugs ¶
func (o *ListClassicDashboardsParams) WithBucketSlugs(bucketSlugs []string) *ListClassicDashboardsParams
WithBucketSlugs adds the bucketSlugs to the list classic dashboards params
func (*ListClassicDashboardsParams) WithCollectionSlugs ¶
func (o *ListClassicDashboardsParams) WithCollectionSlugs(collectionSlugs []string) *ListClassicDashboardsParams
WithCollectionSlugs adds the collectionSlugs to the list classic dashboards params
func (*ListClassicDashboardsParams) WithContext ¶
func (o *ListClassicDashboardsParams) WithContext(ctx context.Context) *ListClassicDashboardsParams
WithContext adds the context to the list classic dashboards params
func (*ListClassicDashboardsParams) WithDefaults ¶
func (o *ListClassicDashboardsParams) WithDefaults() *ListClassicDashboardsParams
WithDefaults hydrates default values in the list classic dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*ListClassicDashboardsParams) WithHTTPClient ¶
func (o *ListClassicDashboardsParams) WithHTTPClient(client *http.Client) *ListClassicDashboardsParams
WithHTTPClient adds the HTTPClient to the list classic dashboards params
func (*ListClassicDashboardsParams) WithIncludeDashboardJSON ¶
func (o *ListClassicDashboardsParams) WithIncludeDashboardJSON(includeDashboardJSON *bool) *ListClassicDashboardsParams
WithIncludeDashboardJSON adds the includeDashboardJSON to the list classic dashboards params
func (*ListClassicDashboardsParams) WithNames ¶
func (o *ListClassicDashboardsParams) WithNames(names []string) *ListClassicDashboardsParams
WithNames adds the names to the list classic dashboards params
func (*ListClassicDashboardsParams) WithPageMaxSize ¶
func (o *ListClassicDashboardsParams) WithPageMaxSize(pageMaxSize *int64) *ListClassicDashboardsParams
WithPageMaxSize adds the pageMaxSize to the list classic dashboards params
func (*ListClassicDashboardsParams) WithPageToken ¶
func (o *ListClassicDashboardsParams) WithPageToken(pageToken *string) *ListClassicDashboardsParams
WithPageToken adds the pageToken to the list classic dashboards params
func (*ListClassicDashboardsParams) WithSlugs ¶
func (o *ListClassicDashboardsParams) WithSlugs(slugs []string) *ListClassicDashboardsParams
WithSlugs adds the slugs to the list classic dashboards params
func (*ListClassicDashboardsParams) WithTimeout ¶
func (o *ListClassicDashboardsParams) WithTimeout(timeout time.Duration) *ListClassicDashboardsParams
WithTimeout adds the timeout to the list classic dashboards params
func (*ListClassicDashboardsParams) WriteToRequest ¶
func (o *ListClassicDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClassicDashboardsReader ¶
type ListClassicDashboardsReader struct {
// contains filtered or unexported fields
}
ListClassicDashboardsReader is a Reader for the ListClassicDashboards structure.
func (*ListClassicDashboardsReader) ReadResponse ¶
func (o *ListClassicDashboardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadClassicDashboardDefault ¶
type ReadClassicDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadClassicDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadClassicDashboardDefault ¶
func NewReadClassicDashboardDefault(code int) *ReadClassicDashboardDefault
NewReadClassicDashboardDefault creates a ReadClassicDashboardDefault with default headers values
func (*ReadClassicDashboardDefault) Code ¶
func (o *ReadClassicDashboardDefault) Code() int
Code gets the status code for the read classic dashboard default response
func (*ReadClassicDashboardDefault) Error ¶
func (o *ReadClassicDashboardDefault) Error() string
func (*ReadClassicDashboardDefault) GetPayload ¶
func (o *ReadClassicDashboardDefault) GetPayload() models.GenericError
func (*ReadClassicDashboardDefault) IsClientError ¶
func (o *ReadClassicDashboardDefault) IsClientError() bool
IsClientError returns true when this read classic dashboard default response has a 4xx status code
func (*ReadClassicDashboardDefault) IsCode ¶
func (o *ReadClassicDashboardDefault) IsCode(code int) bool
IsCode returns true when this read classic dashboard default response a status code equal to that given
func (*ReadClassicDashboardDefault) IsRedirect ¶
func (o *ReadClassicDashboardDefault) IsRedirect() bool
IsRedirect returns true when this read classic dashboard default response has a 3xx status code
func (*ReadClassicDashboardDefault) IsServerError ¶
func (o *ReadClassicDashboardDefault) IsServerError() bool
IsServerError returns true when this read classic dashboard default response has a 5xx status code
func (*ReadClassicDashboardDefault) IsSuccess ¶
func (o *ReadClassicDashboardDefault) IsSuccess() bool
IsSuccess returns true when this read classic dashboard default response has a 2xx status code
func (*ReadClassicDashboardDefault) String ¶
func (o *ReadClassicDashboardDefault) String() string
type ReadClassicDashboardInternalServerError ¶
ReadClassicDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadClassicDashboardInternalServerError ¶
func NewReadClassicDashboardInternalServerError() *ReadClassicDashboardInternalServerError
NewReadClassicDashboardInternalServerError creates a ReadClassicDashboardInternalServerError with default headers values
func (*ReadClassicDashboardInternalServerError) Code ¶
func (o *ReadClassicDashboardInternalServerError) Code() int
Code gets the status code for the read classic dashboard internal server error response
func (*ReadClassicDashboardInternalServerError) Error ¶
func (o *ReadClassicDashboardInternalServerError) Error() string
func (*ReadClassicDashboardInternalServerError) GetPayload ¶
func (o *ReadClassicDashboardInternalServerError) GetPayload() *models.APIError
func (*ReadClassicDashboardInternalServerError) IsClientError ¶
func (o *ReadClassicDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this read classic dashboard internal server error response has a 4xx status code
func (*ReadClassicDashboardInternalServerError) IsCode ¶
func (o *ReadClassicDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this read classic dashboard internal server error response a status code equal to that given
func (*ReadClassicDashboardInternalServerError) IsRedirect ¶
func (o *ReadClassicDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this read classic dashboard internal server error response has a 3xx status code
func (*ReadClassicDashboardInternalServerError) IsServerError ¶
func (o *ReadClassicDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this read classic dashboard internal server error response has a 5xx status code
func (*ReadClassicDashboardInternalServerError) IsSuccess ¶
func (o *ReadClassicDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this read classic dashboard internal server error response has a 2xx status code
func (*ReadClassicDashboardInternalServerError) String ¶
func (o *ReadClassicDashboardInternalServerError) String() string
type ReadClassicDashboardNotFound ¶
ReadClassicDashboardNotFound describes a response with status code 404, with default header values.
Cannot read the GrafanaDashboard because the slug does not exist.
func NewReadClassicDashboardNotFound ¶
func NewReadClassicDashboardNotFound() *ReadClassicDashboardNotFound
NewReadClassicDashboardNotFound creates a ReadClassicDashboardNotFound with default headers values
func (*ReadClassicDashboardNotFound) Code ¶
func (o *ReadClassicDashboardNotFound) Code() int
Code gets the status code for the read classic dashboard not found response
func (*ReadClassicDashboardNotFound) Error ¶
func (o *ReadClassicDashboardNotFound) Error() string
func (*ReadClassicDashboardNotFound) GetPayload ¶
func (o *ReadClassicDashboardNotFound) GetPayload() *models.APIError
func (*ReadClassicDashboardNotFound) IsClientError ¶
func (o *ReadClassicDashboardNotFound) IsClientError() bool
IsClientError returns true when this read classic dashboard not found response has a 4xx status code
func (*ReadClassicDashboardNotFound) IsCode ¶
func (o *ReadClassicDashboardNotFound) IsCode(code int) bool
IsCode returns true when this read classic dashboard not found response a status code equal to that given
func (*ReadClassicDashboardNotFound) IsRedirect ¶
func (o *ReadClassicDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this read classic dashboard not found response has a 3xx status code
func (*ReadClassicDashboardNotFound) IsServerError ¶
func (o *ReadClassicDashboardNotFound) IsServerError() bool
IsServerError returns true when this read classic dashboard not found response has a 5xx status code
func (*ReadClassicDashboardNotFound) IsSuccess ¶
func (o *ReadClassicDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this read classic dashboard not found response has a 2xx status code
func (*ReadClassicDashboardNotFound) String ¶
func (o *ReadClassicDashboardNotFound) String() string
type ReadClassicDashboardOK ¶
type ReadClassicDashboardOK struct {
Payload *models.Configv1ReadClassicDashboardResponse
}
ReadClassicDashboardOK describes a response with status code 200, with default header values.
A successful response.
func NewReadClassicDashboardOK ¶
func NewReadClassicDashboardOK() *ReadClassicDashboardOK
NewReadClassicDashboardOK creates a ReadClassicDashboardOK with default headers values
func (*ReadClassicDashboardOK) Code ¶
func (o *ReadClassicDashboardOK) Code() int
Code gets the status code for the read classic dashboard o k response
func (*ReadClassicDashboardOK) Error ¶
func (o *ReadClassicDashboardOK) Error() string
func (*ReadClassicDashboardOK) GetPayload ¶
func (o *ReadClassicDashboardOK) GetPayload() *models.Configv1ReadClassicDashboardResponse
func (*ReadClassicDashboardOK) IsClientError ¶
func (o *ReadClassicDashboardOK) IsClientError() bool
IsClientError returns true when this read classic dashboard o k response has a 4xx status code
func (*ReadClassicDashboardOK) IsCode ¶
func (o *ReadClassicDashboardOK) IsCode(code int) bool
IsCode returns true when this read classic dashboard o k response a status code equal to that given
func (*ReadClassicDashboardOK) IsRedirect ¶
func (o *ReadClassicDashboardOK) IsRedirect() bool
IsRedirect returns true when this read classic dashboard o k response has a 3xx status code
func (*ReadClassicDashboardOK) IsServerError ¶
func (o *ReadClassicDashboardOK) IsServerError() bool
IsServerError returns true when this read classic dashboard o k response has a 5xx status code
func (*ReadClassicDashboardOK) IsSuccess ¶
func (o *ReadClassicDashboardOK) IsSuccess() bool
IsSuccess returns true when this read classic dashboard o k response has a 2xx status code
func (*ReadClassicDashboardOK) String ¶
func (o *ReadClassicDashboardOK) String() string
type ReadClassicDashboardParams ¶
type ReadClassicDashboardParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadClassicDashboardParams contains all the parameters to send to the API endpoint
for the read classic dashboard operation. Typically these are written to a http.Request.
func NewReadClassicDashboardParams ¶
func NewReadClassicDashboardParams() *ReadClassicDashboardParams
NewReadClassicDashboardParams creates a new ReadClassicDashboardParams 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 NewReadClassicDashboardParamsWithContext ¶
func NewReadClassicDashboardParamsWithContext(ctx context.Context) *ReadClassicDashboardParams
NewReadClassicDashboardParamsWithContext creates a new ReadClassicDashboardParams object with the ability to set a context for a request.
func NewReadClassicDashboardParamsWithHTTPClient ¶
func NewReadClassicDashboardParamsWithHTTPClient(client *http.Client) *ReadClassicDashboardParams
NewReadClassicDashboardParamsWithHTTPClient creates a new ReadClassicDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewReadClassicDashboardParamsWithTimeout ¶
func NewReadClassicDashboardParamsWithTimeout(timeout time.Duration) *ReadClassicDashboardParams
NewReadClassicDashboardParamsWithTimeout creates a new ReadClassicDashboardParams object with the ability to set a timeout on a request.
func (*ReadClassicDashboardParams) SetContext ¶
func (o *ReadClassicDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the read classic dashboard params
func (*ReadClassicDashboardParams) SetDefaults ¶
func (o *ReadClassicDashboardParams) SetDefaults()
SetDefaults hydrates default values in the read classic dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*ReadClassicDashboardParams) SetHTTPClient ¶
func (o *ReadClassicDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read classic dashboard params
func (*ReadClassicDashboardParams) SetSlug ¶
func (o *ReadClassicDashboardParams) SetSlug(slug string)
SetSlug adds the slug to the read classic dashboard params
func (*ReadClassicDashboardParams) SetTimeout ¶
func (o *ReadClassicDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read classic dashboard params
func (*ReadClassicDashboardParams) WithContext ¶
func (o *ReadClassicDashboardParams) WithContext(ctx context.Context) *ReadClassicDashboardParams
WithContext adds the context to the read classic dashboard params
func (*ReadClassicDashboardParams) WithDefaults ¶
func (o *ReadClassicDashboardParams) WithDefaults() *ReadClassicDashboardParams
WithDefaults hydrates default values in the read classic dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*ReadClassicDashboardParams) WithHTTPClient ¶
func (o *ReadClassicDashboardParams) WithHTTPClient(client *http.Client) *ReadClassicDashboardParams
WithHTTPClient adds the HTTPClient to the read classic dashboard params
func (*ReadClassicDashboardParams) WithSlug ¶
func (o *ReadClassicDashboardParams) WithSlug(slug string) *ReadClassicDashboardParams
WithSlug adds the slug to the read classic dashboard params
func (*ReadClassicDashboardParams) WithTimeout ¶
func (o *ReadClassicDashboardParams) WithTimeout(timeout time.Duration) *ReadClassicDashboardParams
WithTimeout adds the timeout to the read classic dashboard params
func (*ReadClassicDashboardParams) WriteToRequest ¶
func (o *ReadClassicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadClassicDashboardReader ¶
type ReadClassicDashboardReader struct {
// contains filtered or unexported fields
}
ReadClassicDashboardReader is a Reader for the ReadClassicDashboard structure.
func (*ReadClassicDashboardReader) ReadResponse ¶
func (o *ReadClassicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateClassicDashboardBadRequest ¶
UpdateClassicDashboardBadRequest describes a response with status code 400, with default header values.
Cannot update the GrafanaDashboard because the request is invalid.
func NewUpdateClassicDashboardBadRequest ¶
func NewUpdateClassicDashboardBadRequest() *UpdateClassicDashboardBadRequest
NewUpdateClassicDashboardBadRequest creates a UpdateClassicDashboardBadRequest with default headers values
func (*UpdateClassicDashboardBadRequest) Code ¶
func (o *UpdateClassicDashboardBadRequest) Code() int
Code gets the status code for the update classic dashboard bad request response
func (*UpdateClassicDashboardBadRequest) Error ¶
func (o *UpdateClassicDashboardBadRequest) Error() string
func (*UpdateClassicDashboardBadRequest) GetPayload ¶
func (o *UpdateClassicDashboardBadRequest) GetPayload() *models.APIError
func (*UpdateClassicDashboardBadRequest) IsClientError ¶
func (o *UpdateClassicDashboardBadRequest) IsClientError() bool
IsClientError returns true when this update classic dashboard bad request response has a 4xx status code
func (*UpdateClassicDashboardBadRequest) IsCode ¶
func (o *UpdateClassicDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this update classic dashboard bad request response a status code equal to that given
func (*UpdateClassicDashboardBadRequest) IsRedirect ¶
func (o *UpdateClassicDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this update classic dashboard bad request response has a 3xx status code
func (*UpdateClassicDashboardBadRequest) IsServerError ¶
func (o *UpdateClassicDashboardBadRequest) IsServerError() bool
IsServerError returns true when this update classic dashboard bad request response has a 5xx status code
func (*UpdateClassicDashboardBadRequest) IsSuccess ¶
func (o *UpdateClassicDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this update classic dashboard bad request response has a 2xx status code
func (*UpdateClassicDashboardBadRequest) String ¶
func (o *UpdateClassicDashboardBadRequest) String() string
type UpdateClassicDashboardConflict ¶
UpdateClassicDashboardConflict describes a response with status code 409, with default header values.
Cannot update the GrafanaDashboard because there is a conflict with an existing GrafanaDashboard.
func NewUpdateClassicDashboardConflict ¶
func NewUpdateClassicDashboardConflict() *UpdateClassicDashboardConflict
NewUpdateClassicDashboardConflict creates a UpdateClassicDashboardConflict with default headers values
func (*UpdateClassicDashboardConflict) Code ¶
func (o *UpdateClassicDashboardConflict) Code() int
Code gets the status code for the update classic dashboard conflict response
func (*UpdateClassicDashboardConflict) Error ¶
func (o *UpdateClassicDashboardConflict) Error() string
func (*UpdateClassicDashboardConflict) GetPayload ¶
func (o *UpdateClassicDashboardConflict) GetPayload() *models.APIError
func (*UpdateClassicDashboardConflict) IsClientError ¶
func (o *UpdateClassicDashboardConflict) IsClientError() bool
IsClientError returns true when this update classic dashboard conflict response has a 4xx status code
func (*UpdateClassicDashboardConflict) IsCode ¶
func (o *UpdateClassicDashboardConflict) IsCode(code int) bool
IsCode returns true when this update classic dashboard conflict response a status code equal to that given
func (*UpdateClassicDashboardConflict) IsRedirect ¶
func (o *UpdateClassicDashboardConflict) IsRedirect() bool
IsRedirect returns true when this update classic dashboard conflict response has a 3xx status code
func (*UpdateClassicDashboardConflict) IsServerError ¶
func (o *UpdateClassicDashboardConflict) IsServerError() bool
IsServerError returns true when this update classic dashboard conflict response has a 5xx status code
func (*UpdateClassicDashboardConflict) IsSuccess ¶
func (o *UpdateClassicDashboardConflict) IsSuccess() bool
IsSuccess returns true when this update classic dashboard conflict response has a 2xx status code
func (*UpdateClassicDashboardConflict) String ¶
func (o *UpdateClassicDashboardConflict) String() string
type UpdateClassicDashboardDefault ¶
type UpdateClassicDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateClassicDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateClassicDashboardDefault ¶
func NewUpdateClassicDashboardDefault(code int) *UpdateClassicDashboardDefault
NewUpdateClassicDashboardDefault creates a UpdateClassicDashboardDefault with default headers values
func (*UpdateClassicDashboardDefault) Code ¶
func (o *UpdateClassicDashboardDefault) Code() int
Code gets the status code for the update classic dashboard default response
func (*UpdateClassicDashboardDefault) Error ¶
func (o *UpdateClassicDashboardDefault) Error() string
func (*UpdateClassicDashboardDefault) GetPayload ¶
func (o *UpdateClassicDashboardDefault) GetPayload() models.GenericError
func (*UpdateClassicDashboardDefault) IsClientError ¶
func (o *UpdateClassicDashboardDefault) IsClientError() bool
IsClientError returns true when this update classic dashboard default response has a 4xx status code
func (*UpdateClassicDashboardDefault) IsCode ¶
func (o *UpdateClassicDashboardDefault) IsCode(code int) bool
IsCode returns true when this update classic dashboard default response a status code equal to that given
func (*UpdateClassicDashboardDefault) IsRedirect ¶
func (o *UpdateClassicDashboardDefault) IsRedirect() bool
IsRedirect returns true when this update classic dashboard default response has a 3xx status code
func (*UpdateClassicDashboardDefault) IsServerError ¶
func (o *UpdateClassicDashboardDefault) IsServerError() bool
IsServerError returns true when this update classic dashboard default response has a 5xx status code
func (*UpdateClassicDashboardDefault) IsSuccess ¶
func (o *UpdateClassicDashboardDefault) IsSuccess() bool
IsSuccess returns true when this update classic dashboard default response has a 2xx status code
func (*UpdateClassicDashboardDefault) String ¶
func (o *UpdateClassicDashboardDefault) String() string
type UpdateClassicDashboardInternalServerError ¶
UpdateClassicDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateClassicDashboardInternalServerError ¶
func NewUpdateClassicDashboardInternalServerError() *UpdateClassicDashboardInternalServerError
NewUpdateClassicDashboardInternalServerError creates a UpdateClassicDashboardInternalServerError with default headers values
func (*UpdateClassicDashboardInternalServerError) Code ¶
func (o *UpdateClassicDashboardInternalServerError) Code() int
Code gets the status code for the update classic dashboard internal server error response
func (*UpdateClassicDashboardInternalServerError) Error ¶
func (o *UpdateClassicDashboardInternalServerError) Error() string
func (*UpdateClassicDashboardInternalServerError) GetPayload ¶
func (o *UpdateClassicDashboardInternalServerError) GetPayload() *models.APIError
func (*UpdateClassicDashboardInternalServerError) IsClientError ¶
func (o *UpdateClassicDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this update classic dashboard internal server error response has a 4xx status code
func (*UpdateClassicDashboardInternalServerError) IsCode ¶
func (o *UpdateClassicDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this update classic dashboard internal server error response a status code equal to that given
func (*UpdateClassicDashboardInternalServerError) IsRedirect ¶
func (o *UpdateClassicDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this update classic dashboard internal server error response has a 3xx status code
func (*UpdateClassicDashboardInternalServerError) IsServerError ¶
func (o *UpdateClassicDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this update classic dashboard internal server error response has a 5xx status code
func (*UpdateClassicDashboardInternalServerError) IsSuccess ¶
func (o *UpdateClassicDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this update classic dashboard internal server error response has a 2xx status code
func (*UpdateClassicDashboardInternalServerError) String ¶
func (o *UpdateClassicDashboardInternalServerError) String() string
type UpdateClassicDashboardNotFound ¶
UpdateClassicDashboardNotFound describes a response with status code 404, with default header values.
Cannot update the GrafanaDashboard because the slug does not exist.
func NewUpdateClassicDashboardNotFound ¶
func NewUpdateClassicDashboardNotFound() *UpdateClassicDashboardNotFound
NewUpdateClassicDashboardNotFound creates a UpdateClassicDashboardNotFound with default headers values
func (*UpdateClassicDashboardNotFound) Code ¶
func (o *UpdateClassicDashboardNotFound) Code() int
Code gets the status code for the update classic dashboard not found response
func (*UpdateClassicDashboardNotFound) Error ¶
func (o *UpdateClassicDashboardNotFound) Error() string
func (*UpdateClassicDashboardNotFound) GetPayload ¶
func (o *UpdateClassicDashboardNotFound) GetPayload() *models.APIError
func (*UpdateClassicDashboardNotFound) IsClientError ¶
func (o *UpdateClassicDashboardNotFound) IsClientError() bool
IsClientError returns true when this update classic dashboard not found response has a 4xx status code
func (*UpdateClassicDashboardNotFound) IsCode ¶
func (o *UpdateClassicDashboardNotFound) IsCode(code int) bool
IsCode returns true when this update classic dashboard not found response a status code equal to that given
func (*UpdateClassicDashboardNotFound) IsRedirect ¶
func (o *UpdateClassicDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this update classic dashboard not found response has a 3xx status code
func (*UpdateClassicDashboardNotFound) IsServerError ¶
func (o *UpdateClassicDashboardNotFound) IsServerError() bool
IsServerError returns true when this update classic dashboard not found response has a 5xx status code
func (*UpdateClassicDashboardNotFound) IsSuccess ¶
func (o *UpdateClassicDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this update classic dashboard not found response has a 2xx status code
func (*UpdateClassicDashboardNotFound) String ¶
func (o *UpdateClassicDashboardNotFound) String() string
type UpdateClassicDashboardOK ¶
type UpdateClassicDashboardOK struct {
Payload *models.Configv1UpdateClassicDashboardResponse
}
UpdateClassicDashboardOK describes a response with status code 200, with default header values.
A successful response containing the updated GrafanaDashboard.
func NewUpdateClassicDashboardOK ¶
func NewUpdateClassicDashboardOK() *UpdateClassicDashboardOK
NewUpdateClassicDashboardOK creates a UpdateClassicDashboardOK with default headers values
func (*UpdateClassicDashboardOK) Code ¶
func (o *UpdateClassicDashboardOK) Code() int
Code gets the status code for the update classic dashboard o k response
func (*UpdateClassicDashboardOK) Error ¶
func (o *UpdateClassicDashboardOK) Error() string
func (*UpdateClassicDashboardOK) GetPayload ¶
func (o *UpdateClassicDashboardOK) GetPayload() *models.Configv1UpdateClassicDashboardResponse
func (*UpdateClassicDashboardOK) IsClientError ¶
func (o *UpdateClassicDashboardOK) IsClientError() bool
IsClientError returns true when this update classic dashboard o k response has a 4xx status code
func (*UpdateClassicDashboardOK) IsCode ¶
func (o *UpdateClassicDashboardOK) IsCode(code int) bool
IsCode returns true when this update classic dashboard o k response a status code equal to that given
func (*UpdateClassicDashboardOK) IsRedirect ¶
func (o *UpdateClassicDashboardOK) IsRedirect() bool
IsRedirect returns true when this update classic dashboard o k response has a 3xx status code
func (*UpdateClassicDashboardOK) IsServerError ¶
func (o *UpdateClassicDashboardOK) IsServerError() bool
IsServerError returns true when this update classic dashboard o k response has a 5xx status code
func (*UpdateClassicDashboardOK) IsSuccess ¶
func (o *UpdateClassicDashboardOK) IsSuccess() bool
IsSuccess returns true when this update classic dashboard o k response has a 2xx status code
func (*UpdateClassicDashboardOK) String ¶
func (o *UpdateClassicDashboardOK) String() string
type UpdateClassicDashboardParams ¶
type UpdateClassicDashboardParams struct { // Body. Body *models.ConfigV1UpdateClassicDashboardBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateClassicDashboardParams contains all the parameters to send to the API endpoint
for the update classic dashboard operation. Typically these are written to a http.Request.
func NewUpdateClassicDashboardParams ¶
func NewUpdateClassicDashboardParams() *UpdateClassicDashboardParams
NewUpdateClassicDashboardParams creates a new UpdateClassicDashboardParams 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 NewUpdateClassicDashboardParamsWithContext ¶
func NewUpdateClassicDashboardParamsWithContext(ctx context.Context) *UpdateClassicDashboardParams
NewUpdateClassicDashboardParamsWithContext creates a new UpdateClassicDashboardParams object with the ability to set a context for a request.
func NewUpdateClassicDashboardParamsWithHTTPClient ¶
func NewUpdateClassicDashboardParamsWithHTTPClient(client *http.Client) *UpdateClassicDashboardParams
NewUpdateClassicDashboardParamsWithHTTPClient creates a new UpdateClassicDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateClassicDashboardParamsWithTimeout ¶
func NewUpdateClassicDashboardParamsWithTimeout(timeout time.Duration) *UpdateClassicDashboardParams
NewUpdateClassicDashboardParamsWithTimeout creates a new UpdateClassicDashboardParams object with the ability to set a timeout on a request.
func (*UpdateClassicDashboardParams) SetBody ¶
func (o *UpdateClassicDashboardParams) SetBody(body *models.ConfigV1UpdateClassicDashboardBody)
SetBody adds the body to the update classic dashboard params
func (*UpdateClassicDashboardParams) SetContext ¶
func (o *UpdateClassicDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the update classic dashboard params
func (*UpdateClassicDashboardParams) SetDefaults ¶
func (o *UpdateClassicDashboardParams) SetDefaults()
SetDefaults hydrates default values in the update classic dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClassicDashboardParams) SetHTTPClient ¶
func (o *UpdateClassicDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update classic dashboard params
func (*UpdateClassicDashboardParams) SetSlug ¶
func (o *UpdateClassicDashboardParams) SetSlug(slug string)
SetSlug adds the slug to the update classic dashboard params
func (*UpdateClassicDashboardParams) SetTimeout ¶
func (o *UpdateClassicDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update classic dashboard params
func (*UpdateClassicDashboardParams) WithBody ¶
func (o *UpdateClassicDashboardParams) WithBody(body *models.ConfigV1UpdateClassicDashboardBody) *UpdateClassicDashboardParams
WithBody adds the body to the update classic dashboard params
func (*UpdateClassicDashboardParams) WithContext ¶
func (o *UpdateClassicDashboardParams) WithContext(ctx context.Context) *UpdateClassicDashboardParams
WithContext adds the context to the update classic dashboard params
func (*UpdateClassicDashboardParams) WithDefaults ¶
func (o *UpdateClassicDashboardParams) WithDefaults() *UpdateClassicDashboardParams
WithDefaults hydrates default values in the update classic dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClassicDashboardParams) WithHTTPClient ¶
func (o *UpdateClassicDashboardParams) WithHTTPClient(client *http.Client) *UpdateClassicDashboardParams
WithHTTPClient adds the HTTPClient to the update classic dashboard params
func (*UpdateClassicDashboardParams) WithSlug ¶
func (o *UpdateClassicDashboardParams) WithSlug(slug string) *UpdateClassicDashboardParams
WithSlug adds the slug to the update classic dashboard params
func (*UpdateClassicDashboardParams) WithTimeout ¶
func (o *UpdateClassicDashboardParams) WithTimeout(timeout time.Duration) *UpdateClassicDashboardParams
WithTimeout adds the timeout to the update classic dashboard params
func (*UpdateClassicDashboardParams) WriteToRequest ¶
func (o *UpdateClassicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClassicDashboardReader ¶
type UpdateClassicDashboardReader struct {
// contains filtered or unexported fields
}
UpdateClassicDashboardReader is a Reader for the UpdateClassicDashboard structure.
func (*UpdateClassicDashboardReader) ReadResponse ¶
func (o *UpdateClassicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- classic_dashboard_client.go
- create_classic_dashboard_parameters.go
- create_classic_dashboard_responses.go
- delete_classic_dashboard_parameters.go
- delete_classic_dashboard_responses.go
- list_classic_dashboards_parameters.go
- list_classic_dashboards_responses.go
- read_classic_dashboard_parameters.go
- read_classic_dashboard_responses.go
- update_classic_dashboard_parameters.go
- update_classic_dashboard_responses.go