Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDashboard(params *CreateDashboardParams, opts ...ClientOption) (*CreateDashboardOK, error)
- func (a *Client) DeleteDashboard(params *DeleteDashboardParams, opts ...ClientOption) (*DeleteDashboardOK, error)
- func (a *Client) ListDashboards(params *ListDashboardsParams, opts ...ClientOption) (*ListDashboardsOK, error)
- func (a *Client) ReadDashboard(params *ReadDashboardParams, opts ...ClientOption) (*ReadDashboardOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDashboard(params *UpdateDashboardParams, opts ...ClientOption) (*UpdateDashboardOK, error)
- type ClientOption
- type ClientService
- type CreateDashboardBadRequest
- func (o *CreateDashboardBadRequest) Code() int
- func (o *CreateDashboardBadRequest) Error() string
- func (o *CreateDashboardBadRequest) GetPayload() *models.APIError
- func (o *CreateDashboardBadRequest) IsClientError() bool
- func (o *CreateDashboardBadRequest) IsCode(code int) bool
- func (o *CreateDashboardBadRequest) IsRedirect() bool
- func (o *CreateDashboardBadRequest) IsServerError() bool
- func (o *CreateDashboardBadRequest) IsSuccess() bool
- func (o *CreateDashboardBadRequest) String() string
- type CreateDashboardConflict
- func (o *CreateDashboardConflict) Code() int
- func (o *CreateDashboardConflict) Error() string
- func (o *CreateDashboardConflict) GetPayload() *models.APIError
- func (o *CreateDashboardConflict) IsClientError() bool
- func (o *CreateDashboardConflict) IsCode(code int) bool
- func (o *CreateDashboardConflict) IsRedirect() bool
- func (o *CreateDashboardConflict) IsServerError() bool
- func (o *CreateDashboardConflict) IsSuccess() bool
- func (o *CreateDashboardConflict) String() string
- type CreateDashboardDefault
- func (o *CreateDashboardDefault) Code() int
- func (o *CreateDashboardDefault) Error() string
- func (o *CreateDashboardDefault) GetPayload() models.GenericError
- func (o *CreateDashboardDefault) IsClientError() bool
- func (o *CreateDashboardDefault) IsCode(code int) bool
- func (o *CreateDashboardDefault) IsRedirect() bool
- func (o *CreateDashboardDefault) IsServerError() bool
- func (o *CreateDashboardDefault) IsSuccess() bool
- func (o *CreateDashboardDefault) String() string
- type CreateDashboardInternalServerError
- func (o *CreateDashboardInternalServerError) Code() int
- func (o *CreateDashboardInternalServerError) Error() string
- func (o *CreateDashboardInternalServerError) GetPayload() *models.APIError
- func (o *CreateDashboardInternalServerError) IsClientError() bool
- func (o *CreateDashboardInternalServerError) IsCode(code int) bool
- func (o *CreateDashboardInternalServerError) IsRedirect() bool
- func (o *CreateDashboardInternalServerError) IsServerError() bool
- func (o *CreateDashboardInternalServerError) IsSuccess() bool
- func (o *CreateDashboardInternalServerError) String() string
- type CreateDashboardOK
- func (o *CreateDashboardOK) Code() int
- func (o *CreateDashboardOK) Error() string
- func (o *CreateDashboardOK) GetPayload() *models.ConfigunstableCreateDashboardResponse
- func (o *CreateDashboardOK) IsClientError() bool
- func (o *CreateDashboardOK) IsCode(code int) bool
- func (o *CreateDashboardOK) IsRedirect() bool
- func (o *CreateDashboardOK) IsServerError() bool
- func (o *CreateDashboardOK) IsSuccess() bool
- func (o *CreateDashboardOK) String() string
- type CreateDashboardParams
- func NewCreateDashboardParams() *CreateDashboardParams
- func NewCreateDashboardParamsWithContext(ctx context.Context) *CreateDashboardParams
- func NewCreateDashboardParamsWithHTTPClient(client *http.Client) *CreateDashboardParams
- func NewCreateDashboardParamsWithTimeout(timeout time.Duration) *CreateDashboardParams
- func (o *CreateDashboardParams) SetBody(body *models.ConfigunstableCreateDashboardRequest)
- func (o *CreateDashboardParams) SetContext(ctx context.Context)
- func (o *CreateDashboardParams) SetDefaults()
- func (o *CreateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *CreateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *CreateDashboardParams) WithBody(body *models.ConfigunstableCreateDashboardRequest) *CreateDashboardParams
- func (o *CreateDashboardParams) WithContext(ctx context.Context) *CreateDashboardParams
- func (o *CreateDashboardParams) WithDefaults() *CreateDashboardParams
- func (o *CreateDashboardParams) WithHTTPClient(client *http.Client) *CreateDashboardParams
- func (o *CreateDashboardParams) WithTimeout(timeout time.Duration) *CreateDashboardParams
- func (o *CreateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDashboardReader
- type DeleteDashboardBadRequest
- func (o *DeleteDashboardBadRequest) Code() int
- func (o *DeleteDashboardBadRequest) Error() string
- func (o *DeleteDashboardBadRequest) GetPayload() *models.APIError
- func (o *DeleteDashboardBadRequest) IsClientError() bool
- func (o *DeleteDashboardBadRequest) IsCode(code int) bool
- func (o *DeleteDashboardBadRequest) IsRedirect() bool
- func (o *DeleteDashboardBadRequest) IsServerError() bool
- func (o *DeleteDashboardBadRequest) IsSuccess() bool
- func (o *DeleteDashboardBadRequest) String() string
- type DeleteDashboardDefault
- func (o *DeleteDashboardDefault) Code() int
- func (o *DeleteDashboardDefault) Error() string
- func (o *DeleteDashboardDefault) GetPayload() models.GenericError
- func (o *DeleteDashboardDefault) IsClientError() bool
- func (o *DeleteDashboardDefault) IsCode(code int) bool
- func (o *DeleteDashboardDefault) IsRedirect() bool
- func (o *DeleteDashboardDefault) IsServerError() bool
- func (o *DeleteDashboardDefault) IsSuccess() bool
- func (o *DeleteDashboardDefault) String() string
- type DeleteDashboardInternalServerError
- func (o *DeleteDashboardInternalServerError) Code() int
- func (o *DeleteDashboardInternalServerError) Error() string
- func (o *DeleteDashboardInternalServerError) GetPayload() *models.APIError
- func (o *DeleteDashboardInternalServerError) IsClientError() bool
- func (o *DeleteDashboardInternalServerError) IsCode(code int) bool
- func (o *DeleteDashboardInternalServerError) IsRedirect() bool
- func (o *DeleteDashboardInternalServerError) IsServerError() bool
- func (o *DeleteDashboardInternalServerError) IsSuccess() bool
- func (o *DeleteDashboardInternalServerError) String() string
- type DeleteDashboardNotFound
- func (o *DeleteDashboardNotFound) Code() int
- func (o *DeleteDashboardNotFound) Error() string
- func (o *DeleteDashboardNotFound) GetPayload() *models.APIError
- func (o *DeleteDashboardNotFound) IsClientError() bool
- func (o *DeleteDashboardNotFound) IsCode(code int) bool
- func (o *DeleteDashboardNotFound) IsRedirect() bool
- func (o *DeleteDashboardNotFound) IsServerError() bool
- func (o *DeleteDashboardNotFound) IsSuccess() bool
- func (o *DeleteDashboardNotFound) String() string
- type DeleteDashboardOK
- func (o *DeleteDashboardOK) Code() int
- func (o *DeleteDashboardOK) Error() string
- func (o *DeleteDashboardOK) GetPayload() models.ConfigunstableDeleteDashboardResponse
- func (o *DeleteDashboardOK) IsClientError() bool
- func (o *DeleteDashboardOK) IsCode(code int) bool
- func (o *DeleteDashboardOK) IsRedirect() bool
- func (o *DeleteDashboardOK) IsServerError() bool
- func (o *DeleteDashboardOK) IsSuccess() bool
- func (o *DeleteDashboardOK) String() string
- type DeleteDashboardParams
- func NewDeleteDashboardParams() *DeleteDashboardParams
- func NewDeleteDashboardParamsWithContext(ctx context.Context) *DeleteDashboardParams
- func NewDeleteDashboardParamsWithHTTPClient(client *http.Client) *DeleteDashboardParams
- func NewDeleteDashboardParamsWithTimeout(timeout time.Duration) *DeleteDashboardParams
- func (o *DeleteDashboardParams) SetContext(ctx context.Context)
- func (o *DeleteDashboardParams) SetDefaults()
- func (o *DeleteDashboardParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDashboardParams) SetSlug(slug string)
- func (o *DeleteDashboardParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDashboardParams) WithContext(ctx context.Context) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithDefaults() *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithHTTPClient(client *http.Client) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithSlug(slug string) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithTimeout(timeout time.Duration) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDashboardReader
- type ListDashboardsDefault
- func (o *ListDashboardsDefault) Code() int
- func (o *ListDashboardsDefault) Error() string
- func (o *ListDashboardsDefault) GetPayload() models.GenericError
- func (o *ListDashboardsDefault) IsClientError() bool
- func (o *ListDashboardsDefault) IsCode(code int) bool
- func (o *ListDashboardsDefault) IsRedirect() bool
- func (o *ListDashboardsDefault) IsServerError() bool
- func (o *ListDashboardsDefault) IsSuccess() bool
- func (o *ListDashboardsDefault) String() string
- type ListDashboardsInternalServerError
- func (o *ListDashboardsInternalServerError) Code() int
- func (o *ListDashboardsInternalServerError) Error() string
- func (o *ListDashboardsInternalServerError) GetPayload() *models.APIError
- func (o *ListDashboardsInternalServerError) IsClientError() bool
- func (o *ListDashboardsInternalServerError) IsCode(code int) bool
- func (o *ListDashboardsInternalServerError) IsRedirect() bool
- func (o *ListDashboardsInternalServerError) IsServerError() bool
- func (o *ListDashboardsInternalServerError) IsSuccess() bool
- func (o *ListDashboardsInternalServerError) String() string
- type ListDashboardsOK
- func (o *ListDashboardsOK) Code() int
- func (o *ListDashboardsOK) Error() string
- func (o *ListDashboardsOK) GetPayload() *models.ConfigunstableListDashboardsResponse
- func (o *ListDashboardsOK) IsClientError() bool
- func (o *ListDashboardsOK) IsCode(code int) bool
- func (o *ListDashboardsOK) IsRedirect() bool
- func (o *ListDashboardsOK) IsServerError() bool
- func (o *ListDashboardsOK) IsSuccess() bool
- func (o *ListDashboardsOK) String() string
- type ListDashboardsParams
- func NewListDashboardsParams() *ListDashboardsParams
- func NewListDashboardsParamsWithContext(ctx context.Context) *ListDashboardsParams
- func NewListDashboardsParamsWithHTTPClient(client *http.Client) *ListDashboardsParams
- func NewListDashboardsParamsWithTimeout(timeout time.Duration) *ListDashboardsParams
- func (o *ListDashboardsParams) SetCollectionSlugs(collectionSlugs []string)
- func (o *ListDashboardsParams) SetContext(ctx context.Context)
- func (o *ListDashboardsParams) SetDefaults()
- func (o *ListDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *ListDashboardsParams) SetIncludeDashboardJSON(includeDashboardJSON *bool)
- func (o *ListDashboardsParams) SetNames(names []string)
- func (o *ListDashboardsParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListDashboardsParams) SetPageToken(pageToken *string)
- func (o *ListDashboardsParams) SetSlugs(slugs []string)
- func (o *ListDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *ListDashboardsParams) WithCollectionSlugs(collectionSlugs []string) *ListDashboardsParams
- func (o *ListDashboardsParams) WithContext(ctx context.Context) *ListDashboardsParams
- func (o *ListDashboardsParams) WithDefaults() *ListDashboardsParams
- func (o *ListDashboardsParams) WithHTTPClient(client *http.Client) *ListDashboardsParams
- func (o *ListDashboardsParams) WithIncludeDashboardJSON(includeDashboardJSON *bool) *ListDashboardsParams
- func (o *ListDashboardsParams) WithNames(names []string) *ListDashboardsParams
- func (o *ListDashboardsParams) WithPageMaxSize(pageMaxSize *int64) *ListDashboardsParams
- func (o *ListDashboardsParams) WithPageToken(pageToken *string) *ListDashboardsParams
- func (o *ListDashboardsParams) WithSlugs(slugs []string) *ListDashboardsParams
- func (o *ListDashboardsParams) WithTimeout(timeout time.Duration) *ListDashboardsParams
- func (o *ListDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDashboardsReader
- type ReadDashboardDefault
- func (o *ReadDashboardDefault) Code() int
- func (o *ReadDashboardDefault) Error() string
- func (o *ReadDashboardDefault) GetPayload() models.GenericError
- func (o *ReadDashboardDefault) IsClientError() bool
- func (o *ReadDashboardDefault) IsCode(code int) bool
- func (o *ReadDashboardDefault) IsRedirect() bool
- func (o *ReadDashboardDefault) IsServerError() bool
- func (o *ReadDashboardDefault) IsSuccess() bool
- func (o *ReadDashboardDefault) String() string
- type ReadDashboardInternalServerError
- func (o *ReadDashboardInternalServerError) Code() int
- func (o *ReadDashboardInternalServerError) Error() string
- func (o *ReadDashboardInternalServerError) GetPayload() *models.APIError
- func (o *ReadDashboardInternalServerError) IsClientError() bool
- func (o *ReadDashboardInternalServerError) IsCode(code int) bool
- func (o *ReadDashboardInternalServerError) IsRedirect() bool
- func (o *ReadDashboardInternalServerError) IsServerError() bool
- func (o *ReadDashboardInternalServerError) IsSuccess() bool
- func (o *ReadDashboardInternalServerError) String() string
- type ReadDashboardNotFound
- func (o *ReadDashboardNotFound) Code() int
- func (o *ReadDashboardNotFound) Error() string
- func (o *ReadDashboardNotFound) GetPayload() *models.APIError
- func (o *ReadDashboardNotFound) IsClientError() bool
- func (o *ReadDashboardNotFound) IsCode(code int) bool
- func (o *ReadDashboardNotFound) IsRedirect() bool
- func (o *ReadDashboardNotFound) IsServerError() bool
- func (o *ReadDashboardNotFound) IsSuccess() bool
- func (o *ReadDashboardNotFound) String() string
- type ReadDashboardOK
- func (o *ReadDashboardOK) Code() int
- func (o *ReadDashboardOK) Error() string
- func (o *ReadDashboardOK) GetPayload() *models.ConfigunstableReadDashboardResponse
- func (o *ReadDashboardOK) IsClientError() bool
- func (o *ReadDashboardOK) IsCode(code int) bool
- func (o *ReadDashboardOK) IsRedirect() bool
- func (o *ReadDashboardOK) IsServerError() bool
- func (o *ReadDashboardOK) IsSuccess() bool
- func (o *ReadDashboardOK) String() string
- type ReadDashboardParams
- func (o *ReadDashboardParams) SetContext(ctx context.Context)
- func (o *ReadDashboardParams) SetDefaults()
- func (o *ReadDashboardParams) SetHTTPClient(client *http.Client)
- func (o *ReadDashboardParams) SetSlug(slug string)
- func (o *ReadDashboardParams) SetTimeout(timeout time.Duration)
- func (o *ReadDashboardParams) WithContext(ctx context.Context) *ReadDashboardParams
- func (o *ReadDashboardParams) WithDefaults() *ReadDashboardParams
- func (o *ReadDashboardParams) WithHTTPClient(client *http.Client) *ReadDashboardParams
- func (o *ReadDashboardParams) WithSlug(slug string) *ReadDashboardParams
- func (o *ReadDashboardParams) WithTimeout(timeout time.Duration) *ReadDashboardParams
- func (o *ReadDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadDashboardReader
- type UpdateDashboardBadRequest
- func (o *UpdateDashboardBadRequest) Code() int
- func (o *UpdateDashboardBadRequest) Error() string
- func (o *UpdateDashboardBadRequest) GetPayload() *models.APIError
- func (o *UpdateDashboardBadRequest) IsClientError() bool
- func (o *UpdateDashboardBadRequest) IsCode(code int) bool
- func (o *UpdateDashboardBadRequest) IsRedirect() bool
- func (o *UpdateDashboardBadRequest) IsServerError() bool
- func (o *UpdateDashboardBadRequest) IsSuccess() bool
- func (o *UpdateDashboardBadRequest) String() string
- type UpdateDashboardConflict
- func (o *UpdateDashboardConflict) Code() int
- func (o *UpdateDashboardConflict) Error() string
- func (o *UpdateDashboardConflict) GetPayload() *models.APIError
- func (o *UpdateDashboardConflict) IsClientError() bool
- func (o *UpdateDashboardConflict) IsCode(code int) bool
- func (o *UpdateDashboardConflict) IsRedirect() bool
- func (o *UpdateDashboardConflict) IsServerError() bool
- func (o *UpdateDashboardConflict) IsSuccess() bool
- func (o *UpdateDashboardConflict) String() string
- type UpdateDashboardDefault
- func (o *UpdateDashboardDefault) Code() int
- func (o *UpdateDashboardDefault) Error() string
- func (o *UpdateDashboardDefault) GetPayload() models.GenericError
- func (o *UpdateDashboardDefault) IsClientError() bool
- func (o *UpdateDashboardDefault) IsCode(code int) bool
- func (o *UpdateDashboardDefault) IsRedirect() bool
- func (o *UpdateDashboardDefault) IsServerError() bool
- func (o *UpdateDashboardDefault) IsSuccess() bool
- func (o *UpdateDashboardDefault) String() string
- type UpdateDashboardInternalServerError
- func (o *UpdateDashboardInternalServerError) Code() int
- func (o *UpdateDashboardInternalServerError) Error() string
- func (o *UpdateDashboardInternalServerError) GetPayload() *models.APIError
- func (o *UpdateDashboardInternalServerError) IsClientError() bool
- func (o *UpdateDashboardInternalServerError) IsCode(code int) bool
- func (o *UpdateDashboardInternalServerError) IsRedirect() bool
- func (o *UpdateDashboardInternalServerError) IsServerError() bool
- func (o *UpdateDashboardInternalServerError) IsSuccess() bool
- func (o *UpdateDashboardInternalServerError) String() string
- type UpdateDashboardNotFound
- func (o *UpdateDashboardNotFound) Code() int
- func (o *UpdateDashboardNotFound) Error() string
- func (o *UpdateDashboardNotFound) GetPayload() *models.APIError
- func (o *UpdateDashboardNotFound) IsClientError() bool
- func (o *UpdateDashboardNotFound) IsCode(code int) bool
- func (o *UpdateDashboardNotFound) IsRedirect() bool
- func (o *UpdateDashboardNotFound) IsServerError() bool
- func (o *UpdateDashboardNotFound) IsSuccess() bool
- func (o *UpdateDashboardNotFound) String() string
- type UpdateDashboardOK
- func (o *UpdateDashboardOK) Code() int
- func (o *UpdateDashboardOK) Error() string
- func (o *UpdateDashboardOK) GetPayload() *models.ConfigunstableUpdateDashboardResponse
- func (o *UpdateDashboardOK) IsClientError() bool
- func (o *UpdateDashboardOK) IsCode(code int) bool
- func (o *UpdateDashboardOK) IsRedirect() bool
- func (o *UpdateDashboardOK) IsServerError() bool
- func (o *UpdateDashboardOK) IsSuccess() bool
- func (o *UpdateDashboardOK) String() string
- type UpdateDashboardParams
- func NewUpdateDashboardParams() *UpdateDashboardParams
- func NewUpdateDashboardParamsWithContext(ctx context.Context) *UpdateDashboardParams
- func NewUpdateDashboardParamsWithHTTPClient(client *http.Client) *UpdateDashboardParams
- func NewUpdateDashboardParamsWithTimeout(timeout time.Duration) *UpdateDashboardParams
- func (o *UpdateDashboardParams) SetBody(body *models.ConfigUnstableUpdateDashboardBody)
- func (o *UpdateDashboardParams) SetContext(ctx context.Context)
- func (o *UpdateDashboardParams) SetDefaults()
- func (o *UpdateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDashboardParams) SetSlug(slug string)
- func (o *UpdateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDashboardParams) WithBody(body *models.ConfigUnstableUpdateDashboardBody) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithContext(ctx context.Context) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithDefaults() *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithHTTPClient(client *http.Client) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithSlug(slug string) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithTimeout(timeout time.Duration) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDashboardReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for dashboard API
func (*Client) CreateDashboard ¶
func (a *Client) CreateDashboard(params *CreateDashboardParams, opts ...ClientOption) (*CreateDashboardOK, error)
CreateDashboard create dashboard API
func (*Client) DeleteDashboard ¶
func (a *Client) DeleteDashboard(params *DeleteDashboardParams, opts ...ClientOption) (*DeleteDashboardOK, error)
DeleteDashboard delete dashboard API
func (*Client) ListDashboards ¶
func (a *Client) ListDashboards(params *ListDashboardsParams, opts ...ClientOption) (*ListDashboardsOK, error)
ListDashboards list dashboards API
func (*Client) ReadDashboard ¶
func (a *Client) ReadDashboard(params *ReadDashboardParams, opts ...ClientOption) (*ReadDashboardOK, error)
ReadDashboard read dashboard API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDashboard ¶
func (a *Client) UpdateDashboard(params *UpdateDashboardParams, opts ...ClientOption) (*UpdateDashboardOK, error)
UpdateDashboard update dashboard API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateDashboard(params *CreateDashboardParams, opts ...ClientOption) (*CreateDashboardOK, error) DeleteDashboard(params *DeleteDashboardParams, opts ...ClientOption) (*DeleteDashboardOK, error) ListDashboards(params *ListDashboardsParams, opts ...ClientOption) (*ListDashboardsOK, error) ReadDashboard(params *ReadDashboardParams, opts ...ClientOption) (*ReadDashboardOK, error) UpdateDashboard(params *UpdateDashboardParams, opts ...ClientOption) (*UpdateDashboardOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new dashboard API client.
type CreateDashboardBadRequest ¶
CreateDashboardBadRequest describes a response with status code 400, with default header values.
Cannot create the Dashboard because the request is invalid.
func NewCreateDashboardBadRequest ¶
func NewCreateDashboardBadRequest() *CreateDashboardBadRequest
NewCreateDashboardBadRequest creates a CreateDashboardBadRequest with default headers values
func (*CreateDashboardBadRequest) Code ¶
func (o *CreateDashboardBadRequest) Code() int
Code gets the status code for the create dashboard bad request response
func (*CreateDashboardBadRequest) Error ¶
func (o *CreateDashboardBadRequest) Error() string
func (*CreateDashboardBadRequest) GetPayload ¶
func (o *CreateDashboardBadRequest) GetPayload() *models.APIError
func (*CreateDashboardBadRequest) IsClientError ¶
func (o *CreateDashboardBadRequest) IsClientError() bool
IsClientError returns true when this create dashboard bad request response has a 4xx status code
func (*CreateDashboardBadRequest) IsCode ¶
func (o *CreateDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this create dashboard bad request response a status code equal to that given
func (*CreateDashboardBadRequest) IsRedirect ¶
func (o *CreateDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this create dashboard bad request response has a 3xx status code
func (*CreateDashboardBadRequest) IsServerError ¶
func (o *CreateDashboardBadRequest) IsServerError() bool
IsServerError returns true when this create dashboard bad request response has a 5xx status code
func (*CreateDashboardBadRequest) IsSuccess ¶
func (o *CreateDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this create dashboard bad request response has a 2xx status code
func (*CreateDashboardBadRequest) String ¶
func (o *CreateDashboardBadRequest) String() string
type CreateDashboardConflict ¶
CreateDashboardConflict describes a response with status code 409, with default header values.
Cannot create the Dashboard because there is a conflict with an existing Dashboard.
func NewCreateDashboardConflict ¶
func NewCreateDashboardConflict() *CreateDashboardConflict
NewCreateDashboardConflict creates a CreateDashboardConflict with default headers values
func (*CreateDashboardConflict) Code ¶
func (o *CreateDashboardConflict) Code() int
Code gets the status code for the create dashboard conflict response
func (*CreateDashboardConflict) Error ¶
func (o *CreateDashboardConflict) Error() string
func (*CreateDashboardConflict) GetPayload ¶
func (o *CreateDashboardConflict) GetPayload() *models.APIError
func (*CreateDashboardConflict) IsClientError ¶
func (o *CreateDashboardConflict) IsClientError() bool
IsClientError returns true when this create dashboard conflict response has a 4xx status code
func (*CreateDashboardConflict) IsCode ¶
func (o *CreateDashboardConflict) IsCode(code int) bool
IsCode returns true when this create dashboard conflict response a status code equal to that given
func (*CreateDashboardConflict) IsRedirect ¶
func (o *CreateDashboardConflict) IsRedirect() bool
IsRedirect returns true when this create dashboard conflict response has a 3xx status code
func (*CreateDashboardConflict) IsServerError ¶
func (o *CreateDashboardConflict) IsServerError() bool
IsServerError returns true when this create dashboard conflict response has a 5xx status code
func (*CreateDashboardConflict) IsSuccess ¶
func (o *CreateDashboardConflict) IsSuccess() bool
IsSuccess returns true when this create dashboard conflict response has a 2xx status code
func (*CreateDashboardConflict) String ¶
func (o *CreateDashboardConflict) String() string
type CreateDashboardDefault ¶
type CreateDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateDashboardDefault ¶
func NewCreateDashboardDefault(code int) *CreateDashboardDefault
NewCreateDashboardDefault creates a CreateDashboardDefault with default headers values
func (*CreateDashboardDefault) Code ¶
func (o *CreateDashboardDefault) Code() int
Code gets the status code for the create dashboard default response
func (*CreateDashboardDefault) Error ¶
func (o *CreateDashboardDefault) Error() string
func (*CreateDashboardDefault) GetPayload ¶
func (o *CreateDashboardDefault) GetPayload() models.GenericError
func (*CreateDashboardDefault) IsClientError ¶
func (o *CreateDashboardDefault) IsClientError() bool
IsClientError returns true when this create dashboard default response has a 4xx status code
func (*CreateDashboardDefault) IsCode ¶
func (o *CreateDashboardDefault) IsCode(code int) bool
IsCode returns true when this create dashboard default response a status code equal to that given
func (*CreateDashboardDefault) IsRedirect ¶
func (o *CreateDashboardDefault) IsRedirect() bool
IsRedirect returns true when this create dashboard default response has a 3xx status code
func (*CreateDashboardDefault) IsServerError ¶
func (o *CreateDashboardDefault) IsServerError() bool
IsServerError returns true when this create dashboard default response has a 5xx status code
func (*CreateDashboardDefault) IsSuccess ¶
func (o *CreateDashboardDefault) IsSuccess() bool
IsSuccess returns true when this create dashboard default response has a 2xx status code
func (*CreateDashboardDefault) String ¶
func (o *CreateDashboardDefault) String() string
type CreateDashboardInternalServerError ¶
CreateDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateDashboardInternalServerError ¶
func NewCreateDashboardInternalServerError() *CreateDashboardInternalServerError
NewCreateDashboardInternalServerError creates a CreateDashboardInternalServerError with default headers values
func (*CreateDashboardInternalServerError) Code ¶
func (o *CreateDashboardInternalServerError) Code() int
Code gets the status code for the create dashboard internal server error response
func (*CreateDashboardInternalServerError) Error ¶
func (o *CreateDashboardInternalServerError) Error() string
func (*CreateDashboardInternalServerError) GetPayload ¶
func (o *CreateDashboardInternalServerError) GetPayload() *models.APIError
func (*CreateDashboardInternalServerError) IsClientError ¶
func (o *CreateDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this create dashboard internal server error response has a 4xx status code
func (*CreateDashboardInternalServerError) IsCode ¶
func (o *CreateDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this create dashboard internal server error response a status code equal to that given
func (*CreateDashboardInternalServerError) IsRedirect ¶
func (o *CreateDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this create dashboard internal server error response has a 3xx status code
func (*CreateDashboardInternalServerError) IsServerError ¶
func (o *CreateDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this create dashboard internal server error response has a 5xx status code
func (*CreateDashboardInternalServerError) IsSuccess ¶
func (o *CreateDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this create dashboard internal server error response has a 2xx status code
func (*CreateDashboardInternalServerError) String ¶
func (o *CreateDashboardInternalServerError) String() string
type CreateDashboardOK ¶
type CreateDashboardOK struct {
Payload *models.ConfigunstableCreateDashboardResponse
}
CreateDashboardOK describes a response with status code 200, with default header values.
A successful response containing the created Dashboard.
func NewCreateDashboardOK ¶
func NewCreateDashboardOK() *CreateDashboardOK
NewCreateDashboardOK creates a CreateDashboardOK with default headers values
func (*CreateDashboardOK) Code ¶
func (o *CreateDashboardOK) Code() int
Code gets the status code for the create dashboard o k response
func (*CreateDashboardOK) Error ¶
func (o *CreateDashboardOK) Error() string
func (*CreateDashboardOK) GetPayload ¶
func (o *CreateDashboardOK) GetPayload() *models.ConfigunstableCreateDashboardResponse
func (*CreateDashboardOK) IsClientError ¶
func (o *CreateDashboardOK) IsClientError() bool
IsClientError returns true when this create dashboard o k response has a 4xx status code
func (*CreateDashboardOK) IsCode ¶
func (o *CreateDashboardOK) IsCode(code int) bool
IsCode returns true when this create dashboard o k response a status code equal to that given
func (*CreateDashboardOK) IsRedirect ¶
func (o *CreateDashboardOK) IsRedirect() bool
IsRedirect returns true when this create dashboard o k response has a 3xx status code
func (*CreateDashboardOK) IsServerError ¶
func (o *CreateDashboardOK) IsServerError() bool
IsServerError returns true when this create dashboard o k response has a 5xx status code
func (*CreateDashboardOK) IsSuccess ¶
func (o *CreateDashboardOK) IsSuccess() bool
IsSuccess returns true when this create dashboard o k response has a 2xx status code
func (*CreateDashboardOK) String ¶
func (o *CreateDashboardOK) String() string
type CreateDashboardParams ¶
type CreateDashboardParams struct { // Body. Body *models.ConfigunstableCreateDashboardRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDashboardParams contains all the parameters to send to the API endpoint
for the create dashboard operation. Typically these are written to a http.Request.
func NewCreateDashboardParams ¶
func NewCreateDashboardParams() *CreateDashboardParams
NewCreateDashboardParams creates a new CreateDashboardParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateDashboardParamsWithContext ¶
func NewCreateDashboardParamsWithContext(ctx context.Context) *CreateDashboardParams
NewCreateDashboardParamsWithContext creates a new CreateDashboardParams object with the ability to set a context for a request.
func NewCreateDashboardParamsWithHTTPClient ¶
func NewCreateDashboardParamsWithHTTPClient(client *http.Client) *CreateDashboardParams
NewCreateDashboardParamsWithHTTPClient creates a new CreateDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDashboardParamsWithTimeout ¶
func NewCreateDashboardParamsWithTimeout(timeout time.Duration) *CreateDashboardParams
NewCreateDashboardParamsWithTimeout creates a new CreateDashboardParams object with the ability to set a timeout on a request.
func (*CreateDashboardParams) SetBody ¶
func (o *CreateDashboardParams) SetBody(body *models.ConfigunstableCreateDashboardRequest)
SetBody adds the body to the create dashboard params
func (*CreateDashboardParams) SetContext ¶
func (o *CreateDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the create dashboard params
func (*CreateDashboardParams) SetDefaults ¶
func (o *CreateDashboardParams) SetDefaults()
SetDefaults hydrates default values in the create dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDashboardParams) SetHTTPClient ¶
func (o *CreateDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create dashboard params
func (*CreateDashboardParams) SetTimeout ¶
func (o *CreateDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create dashboard params
func (*CreateDashboardParams) WithBody ¶
func (o *CreateDashboardParams) WithBody(body *models.ConfigunstableCreateDashboardRequest) *CreateDashboardParams
WithBody adds the body to the create dashboard params
func (*CreateDashboardParams) WithContext ¶
func (o *CreateDashboardParams) WithContext(ctx context.Context) *CreateDashboardParams
WithContext adds the context to the create dashboard params
func (*CreateDashboardParams) WithDefaults ¶
func (o *CreateDashboardParams) WithDefaults() *CreateDashboardParams
WithDefaults hydrates default values in the create dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDashboardParams) WithHTTPClient ¶
func (o *CreateDashboardParams) WithHTTPClient(client *http.Client) *CreateDashboardParams
WithHTTPClient adds the HTTPClient to the create dashboard params
func (*CreateDashboardParams) WithTimeout ¶
func (o *CreateDashboardParams) WithTimeout(timeout time.Duration) *CreateDashboardParams
WithTimeout adds the timeout to the create dashboard params
func (*CreateDashboardParams) WriteToRequest ¶
func (o *CreateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDashboardReader ¶
type CreateDashboardReader struct {
// contains filtered or unexported fields
}
CreateDashboardReader is a Reader for the CreateDashboard structure.
func (*CreateDashboardReader) ReadResponse ¶
func (o *CreateDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDashboardBadRequest ¶
DeleteDashboardBadRequest describes a response with status code 400, with default header values.
Cannot delete the Dashboard because it is in use.
func NewDeleteDashboardBadRequest ¶
func NewDeleteDashboardBadRequest() *DeleteDashboardBadRequest
NewDeleteDashboardBadRequest creates a DeleteDashboardBadRequest with default headers values
func (*DeleteDashboardBadRequest) Code ¶
func (o *DeleteDashboardBadRequest) Code() int
Code gets the status code for the delete dashboard bad request response
func (*DeleteDashboardBadRequest) Error ¶
func (o *DeleteDashboardBadRequest) Error() string
func (*DeleteDashboardBadRequest) GetPayload ¶
func (o *DeleteDashboardBadRequest) GetPayload() *models.APIError
func (*DeleteDashboardBadRequest) IsClientError ¶
func (o *DeleteDashboardBadRequest) IsClientError() bool
IsClientError returns true when this delete dashboard bad request response has a 4xx status code
func (*DeleteDashboardBadRequest) IsCode ¶
func (o *DeleteDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this delete dashboard bad request response a status code equal to that given
func (*DeleteDashboardBadRequest) IsRedirect ¶
func (o *DeleteDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this delete dashboard bad request response has a 3xx status code
func (*DeleteDashboardBadRequest) IsServerError ¶
func (o *DeleteDashboardBadRequest) IsServerError() bool
IsServerError returns true when this delete dashboard bad request response has a 5xx status code
func (*DeleteDashboardBadRequest) IsSuccess ¶
func (o *DeleteDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this delete dashboard bad request response has a 2xx status code
func (*DeleteDashboardBadRequest) String ¶
func (o *DeleteDashboardBadRequest) String() string
type DeleteDashboardDefault ¶
type DeleteDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteDashboardDefault ¶
func NewDeleteDashboardDefault(code int) *DeleteDashboardDefault
NewDeleteDashboardDefault creates a DeleteDashboardDefault with default headers values
func (*DeleteDashboardDefault) Code ¶
func (o *DeleteDashboardDefault) Code() int
Code gets the status code for the delete dashboard default response
func (*DeleteDashboardDefault) Error ¶
func (o *DeleteDashboardDefault) Error() string
func (*DeleteDashboardDefault) GetPayload ¶
func (o *DeleteDashboardDefault) GetPayload() models.GenericError
func (*DeleteDashboardDefault) IsClientError ¶
func (o *DeleteDashboardDefault) IsClientError() bool
IsClientError returns true when this delete dashboard default response has a 4xx status code
func (*DeleteDashboardDefault) IsCode ¶
func (o *DeleteDashboardDefault) IsCode(code int) bool
IsCode returns true when this delete dashboard default response a status code equal to that given
func (*DeleteDashboardDefault) IsRedirect ¶
func (o *DeleteDashboardDefault) IsRedirect() bool
IsRedirect returns true when this delete dashboard default response has a 3xx status code
func (*DeleteDashboardDefault) IsServerError ¶
func (o *DeleteDashboardDefault) IsServerError() bool
IsServerError returns true when this delete dashboard default response has a 5xx status code
func (*DeleteDashboardDefault) IsSuccess ¶
func (o *DeleteDashboardDefault) IsSuccess() bool
IsSuccess returns true when this delete dashboard default response has a 2xx status code
func (*DeleteDashboardDefault) String ¶
func (o *DeleteDashboardDefault) String() string
type DeleteDashboardInternalServerError ¶
DeleteDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteDashboardInternalServerError ¶
func NewDeleteDashboardInternalServerError() *DeleteDashboardInternalServerError
NewDeleteDashboardInternalServerError creates a DeleteDashboardInternalServerError with default headers values
func (*DeleteDashboardInternalServerError) Code ¶
func (o *DeleteDashboardInternalServerError) Code() int
Code gets the status code for the delete dashboard internal server error response
func (*DeleteDashboardInternalServerError) Error ¶
func (o *DeleteDashboardInternalServerError) Error() string
func (*DeleteDashboardInternalServerError) GetPayload ¶
func (o *DeleteDashboardInternalServerError) GetPayload() *models.APIError
func (*DeleteDashboardInternalServerError) IsClientError ¶
func (o *DeleteDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this delete dashboard internal server error response has a 4xx status code
func (*DeleteDashboardInternalServerError) IsCode ¶
func (o *DeleteDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this delete dashboard internal server error response a status code equal to that given
func (*DeleteDashboardInternalServerError) IsRedirect ¶
func (o *DeleteDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete dashboard internal server error response has a 3xx status code
func (*DeleteDashboardInternalServerError) IsServerError ¶
func (o *DeleteDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this delete dashboard internal server error response has a 5xx status code
func (*DeleteDashboardInternalServerError) IsSuccess ¶
func (o *DeleteDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete dashboard internal server error response has a 2xx status code
func (*DeleteDashboardInternalServerError) String ¶
func (o *DeleteDashboardInternalServerError) String() string
type DeleteDashboardNotFound ¶
DeleteDashboardNotFound describes a response with status code 404, with default header values.
Cannot delete the Dashboard because the slug does not exist.
func NewDeleteDashboardNotFound ¶
func NewDeleteDashboardNotFound() *DeleteDashboardNotFound
NewDeleteDashboardNotFound creates a DeleteDashboardNotFound with default headers values
func (*DeleteDashboardNotFound) Code ¶
func (o *DeleteDashboardNotFound) Code() int
Code gets the status code for the delete dashboard not found response
func (*DeleteDashboardNotFound) Error ¶
func (o *DeleteDashboardNotFound) Error() string
func (*DeleteDashboardNotFound) GetPayload ¶
func (o *DeleteDashboardNotFound) GetPayload() *models.APIError
func (*DeleteDashboardNotFound) IsClientError ¶
func (o *DeleteDashboardNotFound) IsClientError() bool
IsClientError returns true when this delete dashboard not found response has a 4xx status code
func (*DeleteDashboardNotFound) IsCode ¶
func (o *DeleteDashboardNotFound) IsCode(code int) bool
IsCode returns true when this delete dashboard not found response a status code equal to that given
func (*DeleteDashboardNotFound) IsRedirect ¶
func (o *DeleteDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this delete dashboard not found response has a 3xx status code
func (*DeleteDashboardNotFound) IsServerError ¶
func (o *DeleteDashboardNotFound) IsServerError() bool
IsServerError returns true when this delete dashboard not found response has a 5xx status code
func (*DeleteDashboardNotFound) IsSuccess ¶
func (o *DeleteDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this delete dashboard not found response has a 2xx status code
func (*DeleteDashboardNotFound) String ¶
func (o *DeleteDashboardNotFound) String() string
type DeleteDashboardOK ¶
type DeleteDashboardOK struct {
Payload models.ConfigunstableDeleteDashboardResponse
}
DeleteDashboardOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteDashboardOK ¶
func NewDeleteDashboardOK() *DeleteDashboardOK
NewDeleteDashboardOK creates a DeleteDashboardOK with default headers values
func (*DeleteDashboardOK) Code ¶
func (o *DeleteDashboardOK) Code() int
Code gets the status code for the delete dashboard o k response
func (*DeleteDashboardOK) Error ¶
func (o *DeleteDashboardOK) Error() string
func (*DeleteDashboardOK) GetPayload ¶
func (o *DeleteDashboardOK) GetPayload() models.ConfigunstableDeleteDashboardResponse
func (*DeleteDashboardOK) IsClientError ¶
func (o *DeleteDashboardOK) IsClientError() bool
IsClientError returns true when this delete dashboard o k response has a 4xx status code
func (*DeleteDashboardOK) IsCode ¶
func (o *DeleteDashboardOK) IsCode(code int) bool
IsCode returns true when this delete dashboard o k response a status code equal to that given
func (*DeleteDashboardOK) IsRedirect ¶
func (o *DeleteDashboardOK) IsRedirect() bool
IsRedirect returns true when this delete dashboard o k response has a 3xx status code
func (*DeleteDashboardOK) IsServerError ¶
func (o *DeleteDashboardOK) IsServerError() bool
IsServerError returns true when this delete dashboard o k response has a 5xx status code
func (*DeleteDashboardOK) IsSuccess ¶
func (o *DeleteDashboardOK) IsSuccess() bool
IsSuccess returns true when this delete dashboard o k response has a 2xx status code
func (*DeleteDashboardOK) String ¶
func (o *DeleteDashboardOK) String() string
type DeleteDashboardParams ¶
type DeleteDashboardParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDashboardParams contains all the parameters to send to the API endpoint
for the delete dashboard operation. Typically these are written to a http.Request.
func NewDeleteDashboardParams ¶
func NewDeleteDashboardParams() *DeleteDashboardParams
NewDeleteDashboardParams creates a new DeleteDashboardParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteDashboardParamsWithContext ¶
func NewDeleteDashboardParamsWithContext(ctx context.Context) *DeleteDashboardParams
NewDeleteDashboardParamsWithContext creates a new DeleteDashboardParams object with the ability to set a context for a request.
func NewDeleteDashboardParamsWithHTTPClient ¶
func NewDeleteDashboardParamsWithHTTPClient(client *http.Client) *DeleteDashboardParams
NewDeleteDashboardParamsWithHTTPClient creates a new DeleteDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDashboardParamsWithTimeout ¶
func NewDeleteDashboardParamsWithTimeout(timeout time.Duration) *DeleteDashboardParams
NewDeleteDashboardParamsWithTimeout creates a new DeleteDashboardParams object with the ability to set a timeout on a request.
func (*DeleteDashboardParams) SetContext ¶
func (o *DeleteDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the delete dashboard params
func (*DeleteDashboardParams) SetDefaults ¶
func (o *DeleteDashboardParams) SetDefaults()
SetDefaults hydrates default values in the delete dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDashboardParams) SetHTTPClient ¶
func (o *DeleteDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete dashboard params
func (*DeleteDashboardParams) SetSlug ¶
func (o *DeleteDashboardParams) SetSlug(slug string)
SetSlug adds the slug to the delete dashboard params
func (*DeleteDashboardParams) SetTimeout ¶
func (o *DeleteDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete dashboard params
func (*DeleteDashboardParams) WithContext ¶
func (o *DeleteDashboardParams) WithContext(ctx context.Context) *DeleteDashboardParams
WithContext adds the context to the delete dashboard params
func (*DeleteDashboardParams) WithDefaults ¶
func (o *DeleteDashboardParams) WithDefaults() *DeleteDashboardParams
WithDefaults hydrates default values in the delete dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDashboardParams) WithHTTPClient ¶
func (o *DeleteDashboardParams) WithHTTPClient(client *http.Client) *DeleteDashboardParams
WithHTTPClient adds the HTTPClient to the delete dashboard params
func (*DeleteDashboardParams) WithSlug ¶
func (o *DeleteDashboardParams) WithSlug(slug string) *DeleteDashboardParams
WithSlug adds the slug to the delete dashboard params
func (*DeleteDashboardParams) WithTimeout ¶
func (o *DeleteDashboardParams) WithTimeout(timeout time.Duration) *DeleteDashboardParams
WithTimeout adds the timeout to the delete dashboard params
func (*DeleteDashboardParams) WriteToRequest ¶
func (o *DeleteDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDashboardReader ¶
type DeleteDashboardReader struct {
// contains filtered or unexported fields
}
DeleteDashboardReader is a Reader for the DeleteDashboard structure.
func (*DeleteDashboardReader) ReadResponse ¶
func (o *DeleteDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDashboardsDefault ¶
type ListDashboardsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListDashboardsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListDashboardsDefault ¶
func NewListDashboardsDefault(code int) *ListDashboardsDefault
NewListDashboardsDefault creates a ListDashboardsDefault with default headers values
func (*ListDashboardsDefault) Code ¶
func (o *ListDashboardsDefault) Code() int
Code gets the status code for the list dashboards default response
func (*ListDashboardsDefault) Error ¶
func (o *ListDashboardsDefault) Error() string
func (*ListDashboardsDefault) GetPayload ¶
func (o *ListDashboardsDefault) GetPayload() models.GenericError
func (*ListDashboardsDefault) IsClientError ¶
func (o *ListDashboardsDefault) IsClientError() bool
IsClientError returns true when this list dashboards default response has a 4xx status code
func (*ListDashboardsDefault) IsCode ¶
func (o *ListDashboardsDefault) IsCode(code int) bool
IsCode returns true when this list dashboards default response a status code equal to that given
func (*ListDashboardsDefault) IsRedirect ¶
func (o *ListDashboardsDefault) IsRedirect() bool
IsRedirect returns true when this list dashboards default response has a 3xx status code
func (*ListDashboardsDefault) IsServerError ¶
func (o *ListDashboardsDefault) IsServerError() bool
IsServerError returns true when this list dashboards default response has a 5xx status code
func (*ListDashboardsDefault) IsSuccess ¶
func (o *ListDashboardsDefault) IsSuccess() bool
IsSuccess returns true when this list dashboards default response has a 2xx status code
func (*ListDashboardsDefault) String ¶
func (o *ListDashboardsDefault) String() string
type ListDashboardsInternalServerError ¶
ListDashboardsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListDashboardsInternalServerError ¶
func NewListDashboardsInternalServerError() *ListDashboardsInternalServerError
NewListDashboardsInternalServerError creates a ListDashboardsInternalServerError with default headers values
func (*ListDashboardsInternalServerError) Code ¶
func (o *ListDashboardsInternalServerError) Code() int
Code gets the status code for the list dashboards internal server error response
func (*ListDashboardsInternalServerError) Error ¶
func (o *ListDashboardsInternalServerError) Error() string
func (*ListDashboardsInternalServerError) GetPayload ¶
func (o *ListDashboardsInternalServerError) GetPayload() *models.APIError
func (*ListDashboardsInternalServerError) IsClientError ¶
func (o *ListDashboardsInternalServerError) IsClientError() bool
IsClientError returns true when this list dashboards internal server error response has a 4xx status code
func (*ListDashboardsInternalServerError) IsCode ¶
func (o *ListDashboardsInternalServerError) IsCode(code int) bool
IsCode returns true when this list dashboards internal server error response a status code equal to that given
func (*ListDashboardsInternalServerError) IsRedirect ¶
func (o *ListDashboardsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list dashboards internal server error response has a 3xx status code
func (*ListDashboardsInternalServerError) IsServerError ¶
func (o *ListDashboardsInternalServerError) IsServerError() bool
IsServerError returns true when this list dashboards internal server error response has a 5xx status code
func (*ListDashboardsInternalServerError) IsSuccess ¶
func (o *ListDashboardsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list dashboards internal server error response has a 2xx status code
func (*ListDashboardsInternalServerError) String ¶
func (o *ListDashboardsInternalServerError) String() string
type ListDashboardsOK ¶
type ListDashboardsOK struct {
Payload *models.ConfigunstableListDashboardsResponse
}
ListDashboardsOK describes a response with status code 200, with default header values.
A successful response.
func NewListDashboardsOK ¶
func NewListDashboardsOK() *ListDashboardsOK
NewListDashboardsOK creates a ListDashboardsOK with default headers values
func (*ListDashboardsOK) Code ¶
func (o *ListDashboardsOK) Code() int
Code gets the status code for the list dashboards o k response
func (*ListDashboardsOK) Error ¶
func (o *ListDashboardsOK) Error() string
func (*ListDashboardsOK) GetPayload ¶
func (o *ListDashboardsOK) GetPayload() *models.ConfigunstableListDashboardsResponse
func (*ListDashboardsOK) IsClientError ¶
func (o *ListDashboardsOK) IsClientError() bool
IsClientError returns true when this list dashboards o k response has a 4xx status code
func (*ListDashboardsOK) IsCode ¶
func (o *ListDashboardsOK) IsCode(code int) bool
IsCode returns true when this list dashboards o k response a status code equal to that given
func (*ListDashboardsOK) IsRedirect ¶
func (o *ListDashboardsOK) IsRedirect() bool
IsRedirect returns true when this list dashboards o k response has a 3xx status code
func (*ListDashboardsOK) IsServerError ¶
func (o *ListDashboardsOK) IsServerError() bool
IsServerError returns true when this list dashboards o k response has a 5xx status code
func (*ListDashboardsOK) IsSuccess ¶
func (o *ListDashboardsOK) IsSuccess() bool
IsSuccess returns true when this list dashboards o k response has a 2xx status code
func (*ListDashboardsOK) String ¶
func (o *ListDashboardsOK) String() string
type ListDashboardsParams ¶
type ListDashboardsParams struct { /* CollectionSlugs. Filters results by collection_slug, where any Dashboard 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 Dashboard 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 Dashboard 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 }
ListDashboardsParams contains all the parameters to send to the API endpoint
for the list dashboards operation. Typically these are written to a http.Request.
func NewListDashboardsParams ¶
func NewListDashboardsParams() *ListDashboardsParams
NewListDashboardsParams creates a new ListDashboardsParams 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 NewListDashboardsParamsWithContext ¶
func NewListDashboardsParamsWithContext(ctx context.Context) *ListDashboardsParams
NewListDashboardsParamsWithContext creates a new ListDashboardsParams object with the ability to set a context for a request.
func NewListDashboardsParamsWithHTTPClient ¶
func NewListDashboardsParamsWithHTTPClient(client *http.Client) *ListDashboardsParams
NewListDashboardsParamsWithHTTPClient creates a new ListDashboardsParams object with the ability to set a custom HTTPClient for a request.
func NewListDashboardsParamsWithTimeout ¶
func NewListDashboardsParamsWithTimeout(timeout time.Duration) *ListDashboardsParams
NewListDashboardsParamsWithTimeout creates a new ListDashboardsParams object with the ability to set a timeout on a request.
func (*ListDashboardsParams) SetCollectionSlugs ¶
func (o *ListDashboardsParams) SetCollectionSlugs(collectionSlugs []string)
SetCollectionSlugs adds the collectionSlugs to the list dashboards params
func (*ListDashboardsParams) SetContext ¶
func (o *ListDashboardsParams) SetContext(ctx context.Context)
SetContext adds the context to the list dashboards params
func (*ListDashboardsParams) SetDefaults ¶
func (o *ListDashboardsParams) SetDefaults()
SetDefaults hydrates default values in the list dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*ListDashboardsParams) SetHTTPClient ¶
func (o *ListDashboardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list dashboards params
func (*ListDashboardsParams) SetIncludeDashboardJSON ¶
func (o *ListDashboardsParams) SetIncludeDashboardJSON(includeDashboardJSON *bool)
SetIncludeDashboardJSON adds the includeDashboardJson to the list dashboards params
func (*ListDashboardsParams) SetNames ¶
func (o *ListDashboardsParams) SetNames(names []string)
SetNames adds the names to the list dashboards params
func (*ListDashboardsParams) SetPageMaxSize ¶
func (o *ListDashboardsParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list dashboards params
func (*ListDashboardsParams) SetPageToken ¶
func (o *ListDashboardsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list dashboards params
func (*ListDashboardsParams) SetSlugs ¶
func (o *ListDashboardsParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list dashboards params
func (*ListDashboardsParams) SetTimeout ¶
func (o *ListDashboardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list dashboards params
func (*ListDashboardsParams) WithCollectionSlugs ¶
func (o *ListDashboardsParams) WithCollectionSlugs(collectionSlugs []string) *ListDashboardsParams
WithCollectionSlugs adds the collectionSlugs to the list dashboards params
func (*ListDashboardsParams) WithContext ¶
func (o *ListDashboardsParams) WithContext(ctx context.Context) *ListDashboardsParams
WithContext adds the context to the list dashboards params
func (*ListDashboardsParams) WithDefaults ¶
func (o *ListDashboardsParams) WithDefaults() *ListDashboardsParams
WithDefaults hydrates default values in the list dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*ListDashboardsParams) WithHTTPClient ¶
func (o *ListDashboardsParams) WithHTTPClient(client *http.Client) *ListDashboardsParams
WithHTTPClient adds the HTTPClient to the list dashboards params
func (*ListDashboardsParams) WithIncludeDashboardJSON ¶
func (o *ListDashboardsParams) WithIncludeDashboardJSON(includeDashboardJSON *bool) *ListDashboardsParams
WithIncludeDashboardJSON adds the includeDashboardJSON to the list dashboards params
func (*ListDashboardsParams) WithNames ¶
func (o *ListDashboardsParams) WithNames(names []string) *ListDashboardsParams
WithNames adds the names to the list dashboards params
func (*ListDashboardsParams) WithPageMaxSize ¶
func (o *ListDashboardsParams) WithPageMaxSize(pageMaxSize *int64) *ListDashboardsParams
WithPageMaxSize adds the pageMaxSize to the list dashboards params
func (*ListDashboardsParams) WithPageToken ¶
func (o *ListDashboardsParams) WithPageToken(pageToken *string) *ListDashboardsParams
WithPageToken adds the pageToken to the list dashboards params
func (*ListDashboardsParams) WithSlugs ¶
func (o *ListDashboardsParams) WithSlugs(slugs []string) *ListDashboardsParams
WithSlugs adds the slugs to the list dashboards params
func (*ListDashboardsParams) WithTimeout ¶
func (o *ListDashboardsParams) WithTimeout(timeout time.Duration) *ListDashboardsParams
WithTimeout adds the timeout to the list dashboards params
func (*ListDashboardsParams) WriteToRequest ¶
func (o *ListDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDashboardsReader ¶
type ListDashboardsReader struct {
// contains filtered or unexported fields
}
ListDashboardsReader is a Reader for the ListDashboards structure.
func (*ListDashboardsReader) ReadResponse ¶
func (o *ListDashboardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadDashboardDefault ¶
type ReadDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadDashboardDefault ¶
func NewReadDashboardDefault(code int) *ReadDashboardDefault
NewReadDashboardDefault creates a ReadDashboardDefault with default headers values
func (*ReadDashboardDefault) Code ¶
func (o *ReadDashboardDefault) Code() int
Code gets the status code for the read dashboard default response
func (*ReadDashboardDefault) Error ¶
func (o *ReadDashboardDefault) Error() string
func (*ReadDashboardDefault) GetPayload ¶
func (o *ReadDashboardDefault) GetPayload() models.GenericError
func (*ReadDashboardDefault) IsClientError ¶
func (o *ReadDashboardDefault) IsClientError() bool
IsClientError returns true when this read dashboard default response has a 4xx status code
func (*ReadDashboardDefault) IsCode ¶
func (o *ReadDashboardDefault) IsCode(code int) bool
IsCode returns true when this read dashboard default response a status code equal to that given
func (*ReadDashboardDefault) IsRedirect ¶
func (o *ReadDashboardDefault) IsRedirect() bool
IsRedirect returns true when this read dashboard default response has a 3xx status code
func (*ReadDashboardDefault) IsServerError ¶
func (o *ReadDashboardDefault) IsServerError() bool
IsServerError returns true when this read dashboard default response has a 5xx status code
func (*ReadDashboardDefault) IsSuccess ¶
func (o *ReadDashboardDefault) IsSuccess() bool
IsSuccess returns true when this read dashboard default response has a 2xx status code
func (*ReadDashboardDefault) String ¶
func (o *ReadDashboardDefault) String() string
type ReadDashboardInternalServerError ¶
ReadDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadDashboardInternalServerError ¶
func NewReadDashboardInternalServerError() *ReadDashboardInternalServerError
NewReadDashboardInternalServerError creates a ReadDashboardInternalServerError with default headers values
func (*ReadDashboardInternalServerError) Code ¶
func (o *ReadDashboardInternalServerError) Code() int
Code gets the status code for the read dashboard internal server error response
func (*ReadDashboardInternalServerError) Error ¶
func (o *ReadDashboardInternalServerError) Error() string
func (*ReadDashboardInternalServerError) GetPayload ¶
func (o *ReadDashboardInternalServerError) GetPayload() *models.APIError
func (*ReadDashboardInternalServerError) IsClientError ¶
func (o *ReadDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this read dashboard internal server error response has a 4xx status code
func (*ReadDashboardInternalServerError) IsCode ¶
func (o *ReadDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this read dashboard internal server error response a status code equal to that given
func (*ReadDashboardInternalServerError) IsRedirect ¶
func (o *ReadDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this read dashboard internal server error response has a 3xx status code
func (*ReadDashboardInternalServerError) IsServerError ¶
func (o *ReadDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this read dashboard internal server error response has a 5xx status code
func (*ReadDashboardInternalServerError) IsSuccess ¶
func (o *ReadDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this read dashboard internal server error response has a 2xx status code
func (*ReadDashboardInternalServerError) String ¶
func (o *ReadDashboardInternalServerError) String() string
type ReadDashboardNotFound ¶
ReadDashboardNotFound describes a response with status code 404, with default header values.
Cannot read the Dashboard because the slug does not exist.
func NewReadDashboardNotFound ¶
func NewReadDashboardNotFound() *ReadDashboardNotFound
NewReadDashboardNotFound creates a ReadDashboardNotFound with default headers values
func (*ReadDashboardNotFound) Code ¶
func (o *ReadDashboardNotFound) Code() int
Code gets the status code for the read dashboard not found response
func (*ReadDashboardNotFound) Error ¶
func (o *ReadDashboardNotFound) Error() string
func (*ReadDashboardNotFound) GetPayload ¶
func (o *ReadDashboardNotFound) GetPayload() *models.APIError
func (*ReadDashboardNotFound) IsClientError ¶
func (o *ReadDashboardNotFound) IsClientError() bool
IsClientError returns true when this read dashboard not found response has a 4xx status code
func (*ReadDashboardNotFound) IsCode ¶
func (o *ReadDashboardNotFound) IsCode(code int) bool
IsCode returns true when this read dashboard not found response a status code equal to that given
func (*ReadDashboardNotFound) IsRedirect ¶
func (o *ReadDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this read dashboard not found response has a 3xx status code
func (*ReadDashboardNotFound) IsServerError ¶
func (o *ReadDashboardNotFound) IsServerError() bool
IsServerError returns true when this read dashboard not found response has a 5xx status code
func (*ReadDashboardNotFound) IsSuccess ¶
func (o *ReadDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this read dashboard not found response has a 2xx status code
func (*ReadDashboardNotFound) String ¶
func (o *ReadDashboardNotFound) String() string
type ReadDashboardOK ¶
type ReadDashboardOK struct {
Payload *models.ConfigunstableReadDashboardResponse
}
ReadDashboardOK describes a response with status code 200, with default header values.
A successful response.
func NewReadDashboardOK ¶
func NewReadDashboardOK() *ReadDashboardOK
NewReadDashboardOK creates a ReadDashboardOK with default headers values
func (*ReadDashboardOK) Code ¶
func (o *ReadDashboardOK) Code() int
Code gets the status code for the read dashboard o k response
func (*ReadDashboardOK) Error ¶
func (o *ReadDashboardOK) Error() string
func (*ReadDashboardOK) GetPayload ¶
func (o *ReadDashboardOK) GetPayload() *models.ConfigunstableReadDashboardResponse
func (*ReadDashboardOK) IsClientError ¶
func (o *ReadDashboardOK) IsClientError() bool
IsClientError returns true when this read dashboard o k response has a 4xx status code
func (*ReadDashboardOK) IsCode ¶
func (o *ReadDashboardOK) IsCode(code int) bool
IsCode returns true when this read dashboard o k response a status code equal to that given
func (*ReadDashboardOK) IsRedirect ¶
func (o *ReadDashboardOK) IsRedirect() bool
IsRedirect returns true when this read dashboard o k response has a 3xx status code
func (*ReadDashboardOK) IsServerError ¶
func (o *ReadDashboardOK) IsServerError() bool
IsServerError returns true when this read dashboard o k response has a 5xx status code
func (*ReadDashboardOK) IsSuccess ¶
func (o *ReadDashboardOK) IsSuccess() bool
IsSuccess returns true when this read dashboard o k response has a 2xx status code
func (*ReadDashboardOK) String ¶
func (o *ReadDashboardOK) String() string
type ReadDashboardParams ¶
type ReadDashboardParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadDashboardParams contains all the parameters to send to the API endpoint
for the read dashboard operation. Typically these are written to a http.Request.
func NewReadDashboardParams ¶
func NewReadDashboardParams() *ReadDashboardParams
NewReadDashboardParams creates a new ReadDashboardParams 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 NewReadDashboardParamsWithContext ¶
func NewReadDashboardParamsWithContext(ctx context.Context) *ReadDashboardParams
NewReadDashboardParamsWithContext creates a new ReadDashboardParams object with the ability to set a context for a request.
func NewReadDashboardParamsWithHTTPClient ¶
func NewReadDashboardParamsWithHTTPClient(client *http.Client) *ReadDashboardParams
NewReadDashboardParamsWithHTTPClient creates a new ReadDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewReadDashboardParamsWithTimeout ¶
func NewReadDashboardParamsWithTimeout(timeout time.Duration) *ReadDashboardParams
NewReadDashboardParamsWithTimeout creates a new ReadDashboardParams object with the ability to set a timeout on a request.
func (*ReadDashboardParams) SetContext ¶
func (o *ReadDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the read dashboard params
func (*ReadDashboardParams) SetDefaults ¶
func (o *ReadDashboardParams) SetDefaults()
SetDefaults hydrates default values in the read dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*ReadDashboardParams) SetHTTPClient ¶
func (o *ReadDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read dashboard params
func (*ReadDashboardParams) SetSlug ¶
func (o *ReadDashboardParams) SetSlug(slug string)
SetSlug adds the slug to the read dashboard params
func (*ReadDashboardParams) SetTimeout ¶
func (o *ReadDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read dashboard params
func (*ReadDashboardParams) WithContext ¶
func (o *ReadDashboardParams) WithContext(ctx context.Context) *ReadDashboardParams
WithContext adds the context to the read dashboard params
func (*ReadDashboardParams) WithDefaults ¶
func (o *ReadDashboardParams) WithDefaults() *ReadDashboardParams
WithDefaults hydrates default values in the read dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*ReadDashboardParams) WithHTTPClient ¶
func (o *ReadDashboardParams) WithHTTPClient(client *http.Client) *ReadDashboardParams
WithHTTPClient adds the HTTPClient to the read dashboard params
func (*ReadDashboardParams) WithSlug ¶
func (o *ReadDashboardParams) WithSlug(slug string) *ReadDashboardParams
WithSlug adds the slug to the read dashboard params
func (*ReadDashboardParams) WithTimeout ¶
func (o *ReadDashboardParams) WithTimeout(timeout time.Duration) *ReadDashboardParams
WithTimeout adds the timeout to the read dashboard params
func (*ReadDashboardParams) WriteToRequest ¶
func (o *ReadDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadDashboardReader ¶
type ReadDashboardReader struct {
// contains filtered or unexported fields
}
ReadDashboardReader is a Reader for the ReadDashboard structure.
func (*ReadDashboardReader) ReadResponse ¶
func (o *ReadDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDashboardBadRequest ¶
UpdateDashboardBadRequest describes a response with status code 400, with default header values.
Cannot update the Dashboard because the request is invalid.
func NewUpdateDashboardBadRequest ¶
func NewUpdateDashboardBadRequest() *UpdateDashboardBadRequest
NewUpdateDashboardBadRequest creates a UpdateDashboardBadRequest with default headers values
func (*UpdateDashboardBadRequest) Code ¶
func (o *UpdateDashboardBadRequest) Code() int
Code gets the status code for the update dashboard bad request response
func (*UpdateDashboardBadRequest) Error ¶
func (o *UpdateDashboardBadRequest) Error() string
func (*UpdateDashboardBadRequest) GetPayload ¶
func (o *UpdateDashboardBadRequest) GetPayload() *models.APIError
func (*UpdateDashboardBadRequest) IsClientError ¶
func (o *UpdateDashboardBadRequest) IsClientError() bool
IsClientError returns true when this update dashboard bad request response has a 4xx status code
func (*UpdateDashboardBadRequest) IsCode ¶
func (o *UpdateDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this update dashboard bad request response a status code equal to that given
func (*UpdateDashboardBadRequest) IsRedirect ¶
func (o *UpdateDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this update dashboard bad request response has a 3xx status code
func (*UpdateDashboardBadRequest) IsServerError ¶
func (o *UpdateDashboardBadRequest) IsServerError() bool
IsServerError returns true when this update dashboard bad request response has a 5xx status code
func (*UpdateDashboardBadRequest) IsSuccess ¶
func (o *UpdateDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this update dashboard bad request response has a 2xx status code
func (*UpdateDashboardBadRequest) String ¶
func (o *UpdateDashboardBadRequest) String() string
type UpdateDashboardConflict ¶
UpdateDashboardConflict describes a response with status code 409, with default header values.
Cannot update the Dashboard because there is a conflict with an existing Dashboard.
func NewUpdateDashboardConflict ¶
func NewUpdateDashboardConflict() *UpdateDashboardConflict
NewUpdateDashboardConflict creates a UpdateDashboardConflict with default headers values
func (*UpdateDashboardConflict) Code ¶
func (o *UpdateDashboardConflict) Code() int
Code gets the status code for the update dashboard conflict response
func (*UpdateDashboardConflict) Error ¶
func (o *UpdateDashboardConflict) Error() string
func (*UpdateDashboardConflict) GetPayload ¶
func (o *UpdateDashboardConflict) GetPayload() *models.APIError
func (*UpdateDashboardConflict) IsClientError ¶
func (o *UpdateDashboardConflict) IsClientError() bool
IsClientError returns true when this update dashboard conflict response has a 4xx status code
func (*UpdateDashboardConflict) IsCode ¶
func (o *UpdateDashboardConflict) IsCode(code int) bool
IsCode returns true when this update dashboard conflict response a status code equal to that given
func (*UpdateDashboardConflict) IsRedirect ¶
func (o *UpdateDashboardConflict) IsRedirect() bool
IsRedirect returns true when this update dashboard conflict response has a 3xx status code
func (*UpdateDashboardConflict) IsServerError ¶
func (o *UpdateDashboardConflict) IsServerError() bool
IsServerError returns true when this update dashboard conflict response has a 5xx status code
func (*UpdateDashboardConflict) IsSuccess ¶
func (o *UpdateDashboardConflict) IsSuccess() bool
IsSuccess returns true when this update dashboard conflict response has a 2xx status code
func (*UpdateDashboardConflict) String ¶
func (o *UpdateDashboardConflict) String() string
type UpdateDashboardDefault ¶
type UpdateDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateDashboardDefault ¶
func NewUpdateDashboardDefault(code int) *UpdateDashboardDefault
NewUpdateDashboardDefault creates a UpdateDashboardDefault with default headers values
func (*UpdateDashboardDefault) Code ¶
func (o *UpdateDashboardDefault) Code() int
Code gets the status code for the update dashboard default response
func (*UpdateDashboardDefault) Error ¶
func (o *UpdateDashboardDefault) Error() string
func (*UpdateDashboardDefault) GetPayload ¶
func (o *UpdateDashboardDefault) GetPayload() models.GenericError
func (*UpdateDashboardDefault) IsClientError ¶
func (o *UpdateDashboardDefault) IsClientError() bool
IsClientError returns true when this update dashboard default response has a 4xx status code
func (*UpdateDashboardDefault) IsCode ¶
func (o *UpdateDashboardDefault) IsCode(code int) bool
IsCode returns true when this update dashboard default response a status code equal to that given
func (*UpdateDashboardDefault) IsRedirect ¶
func (o *UpdateDashboardDefault) IsRedirect() bool
IsRedirect returns true when this update dashboard default response has a 3xx status code
func (*UpdateDashboardDefault) IsServerError ¶
func (o *UpdateDashboardDefault) IsServerError() bool
IsServerError returns true when this update dashboard default response has a 5xx status code
func (*UpdateDashboardDefault) IsSuccess ¶
func (o *UpdateDashboardDefault) IsSuccess() bool
IsSuccess returns true when this update dashboard default response has a 2xx status code
func (*UpdateDashboardDefault) String ¶
func (o *UpdateDashboardDefault) String() string
type UpdateDashboardInternalServerError ¶
UpdateDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateDashboardInternalServerError ¶
func NewUpdateDashboardInternalServerError() *UpdateDashboardInternalServerError
NewUpdateDashboardInternalServerError creates a UpdateDashboardInternalServerError with default headers values
func (*UpdateDashboardInternalServerError) Code ¶
func (o *UpdateDashboardInternalServerError) Code() int
Code gets the status code for the update dashboard internal server error response
func (*UpdateDashboardInternalServerError) Error ¶
func (o *UpdateDashboardInternalServerError) Error() string
func (*UpdateDashboardInternalServerError) GetPayload ¶
func (o *UpdateDashboardInternalServerError) GetPayload() *models.APIError
func (*UpdateDashboardInternalServerError) IsClientError ¶
func (o *UpdateDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this update dashboard internal server error response has a 4xx status code
func (*UpdateDashboardInternalServerError) IsCode ¶
func (o *UpdateDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this update dashboard internal server error response a status code equal to that given
func (*UpdateDashboardInternalServerError) IsRedirect ¶
func (o *UpdateDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this update dashboard internal server error response has a 3xx status code
func (*UpdateDashboardInternalServerError) IsServerError ¶
func (o *UpdateDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this update dashboard internal server error response has a 5xx status code
func (*UpdateDashboardInternalServerError) IsSuccess ¶
func (o *UpdateDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this update dashboard internal server error response has a 2xx status code
func (*UpdateDashboardInternalServerError) String ¶
func (o *UpdateDashboardInternalServerError) String() string
type UpdateDashboardNotFound ¶
UpdateDashboardNotFound describes a response with status code 404, with default header values.
Cannot update the Dashboard because the slug does not exist.
func NewUpdateDashboardNotFound ¶
func NewUpdateDashboardNotFound() *UpdateDashboardNotFound
NewUpdateDashboardNotFound creates a UpdateDashboardNotFound with default headers values
func (*UpdateDashboardNotFound) Code ¶
func (o *UpdateDashboardNotFound) Code() int
Code gets the status code for the update dashboard not found response
func (*UpdateDashboardNotFound) Error ¶
func (o *UpdateDashboardNotFound) Error() string
func (*UpdateDashboardNotFound) GetPayload ¶
func (o *UpdateDashboardNotFound) GetPayload() *models.APIError
func (*UpdateDashboardNotFound) IsClientError ¶
func (o *UpdateDashboardNotFound) IsClientError() bool
IsClientError returns true when this update dashboard not found response has a 4xx status code
func (*UpdateDashboardNotFound) IsCode ¶
func (o *UpdateDashboardNotFound) IsCode(code int) bool
IsCode returns true when this update dashboard not found response a status code equal to that given
func (*UpdateDashboardNotFound) IsRedirect ¶
func (o *UpdateDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this update dashboard not found response has a 3xx status code
func (*UpdateDashboardNotFound) IsServerError ¶
func (o *UpdateDashboardNotFound) IsServerError() bool
IsServerError returns true when this update dashboard not found response has a 5xx status code
func (*UpdateDashboardNotFound) IsSuccess ¶
func (o *UpdateDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this update dashboard not found response has a 2xx status code
func (*UpdateDashboardNotFound) String ¶
func (o *UpdateDashboardNotFound) String() string
type UpdateDashboardOK ¶
type UpdateDashboardOK struct {
Payload *models.ConfigunstableUpdateDashboardResponse
}
UpdateDashboardOK describes a response with status code 200, with default header values.
A successful response containing the updated Dashboard.
func NewUpdateDashboardOK ¶
func NewUpdateDashboardOK() *UpdateDashboardOK
NewUpdateDashboardOK creates a UpdateDashboardOK with default headers values
func (*UpdateDashboardOK) Code ¶
func (o *UpdateDashboardOK) Code() int
Code gets the status code for the update dashboard o k response
func (*UpdateDashboardOK) Error ¶
func (o *UpdateDashboardOK) Error() string
func (*UpdateDashboardOK) GetPayload ¶
func (o *UpdateDashboardOK) GetPayload() *models.ConfigunstableUpdateDashboardResponse
func (*UpdateDashboardOK) IsClientError ¶
func (o *UpdateDashboardOK) IsClientError() bool
IsClientError returns true when this update dashboard o k response has a 4xx status code
func (*UpdateDashboardOK) IsCode ¶
func (o *UpdateDashboardOK) IsCode(code int) bool
IsCode returns true when this update dashboard o k response a status code equal to that given
func (*UpdateDashboardOK) IsRedirect ¶
func (o *UpdateDashboardOK) IsRedirect() bool
IsRedirect returns true when this update dashboard o k response has a 3xx status code
func (*UpdateDashboardOK) IsServerError ¶
func (o *UpdateDashboardOK) IsServerError() bool
IsServerError returns true when this update dashboard o k response has a 5xx status code
func (*UpdateDashboardOK) IsSuccess ¶
func (o *UpdateDashboardOK) IsSuccess() bool
IsSuccess returns true when this update dashboard o k response has a 2xx status code
func (*UpdateDashboardOK) String ¶
func (o *UpdateDashboardOK) String() string
type UpdateDashboardParams ¶
type UpdateDashboardParams struct { // Body. Body *models.ConfigUnstableUpdateDashboardBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDashboardParams contains all the parameters to send to the API endpoint
for the update dashboard operation. Typically these are written to a http.Request.
func NewUpdateDashboardParams ¶
func NewUpdateDashboardParams() *UpdateDashboardParams
NewUpdateDashboardParams creates a new UpdateDashboardParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateDashboardParamsWithContext ¶
func NewUpdateDashboardParamsWithContext(ctx context.Context) *UpdateDashboardParams
NewUpdateDashboardParamsWithContext creates a new UpdateDashboardParams object with the ability to set a context for a request.
func NewUpdateDashboardParamsWithHTTPClient ¶
func NewUpdateDashboardParamsWithHTTPClient(client *http.Client) *UpdateDashboardParams
NewUpdateDashboardParamsWithHTTPClient creates a new UpdateDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDashboardParamsWithTimeout ¶
func NewUpdateDashboardParamsWithTimeout(timeout time.Duration) *UpdateDashboardParams
NewUpdateDashboardParamsWithTimeout creates a new UpdateDashboardParams object with the ability to set a timeout on a request.
func (*UpdateDashboardParams) SetBody ¶
func (o *UpdateDashboardParams) SetBody(body *models.ConfigUnstableUpdateDashboardBody)
SetBody adds the body to the update dashboard params
func (*UpdateDashboardParams) SetContext ¶
func (o *UpdateDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the update dashboard params
func (*UpdateDashboardParams) SetDefaults ¶
func (o *UpdateDashboardParams) SetDefaults()
SetDefaults hydrates default values in the update dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDashboardParams) SetHTTPClient ¶
func (o *UpdateDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update dashboard params
func (*UpdateDashboardParams) SetSlug ¶
func (o *UpdateDashboardParams) SetSlug(slug string)
SetSlug adds the slug to the update dashboard params
func (*UpdateDashboardParams) SetTimeout ¶
func (o *UpdateDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update dashboard params
func (*UpdateDashboardParams) WithBody ¶
func (o *UpdateDashboardParams) WithBody(body *models.ConfigUnstableUpdateDashboardBody) *UpdateDashboardParams
WithBody adds the body to the update dashboard params
func (*UpdateDashboardParams) WithContext ¶
func (o *UpdateDashboardParams) WithContext(ctx context.Context) *UpdateDashboardParams
WithContext adds the context to the update dashboard params
func (*UpdateDashboardParams) WithDefaults ¶
func (o *UpdateDashboardParams) WithDefaults() *UpdateDashboardParams
WithDefaults hydrates default values in the update dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDashboardParams) WithHTTPClient ¶
func (o *UpdateDashboardParams) WithHTTPClient(client *http.Client) *UpdateDashboardParams
WithHTTPClient adds the HTTPClient to the update dashboard params
func (*UpdateDashboardParams) WithSlug ¶
func (o *UpdateDashboardParams) WithSlug(slug string) *UpdateDashboardParams
WithSlug adds the slug to the update dashboard params
func (*UpdateDashboardParams) WithTimeout ¶
func (o *UpdateDashboardParams) WithTimeout(timeout time.Duration) *UpdateDashboardParams
WithTimeout adds the timeout to the update dashboard params
func (*UpdateDashboardParams) WriteToRequest ¶
func (o *UpdateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDashboardReader ¶
type UpdateDashboardReader struct {
// contains filtered or unexported fields
}
UpdateDashboardReader is a Reader for the UpdateDashboard structure.
func (*UpdateDashboardReader) ReadResponse ¶
func (o *UpdateDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_dashboard_parameters.go
- create_dashboard_responses.go
- dashboard_client.go
- delete_dashboard_parameters.go
- delete_dashboard_responses.go
- list_dashboards_parameters.go
- list_dashboards_responses.go
- read_dashboard_parameters.go
- read_dashboard_responses.go
- update_dashboard_parameters.go
- update_dashboard_responses.go