Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePublicDashboard(dashboardUID string, body *models.PublicDashboardDTO, opts ...ClientOption) (*CreatePublicDashboardOK, error)
- func (a *Client) CreatePublicDashboardWithParams(params *CreatePublicDashboardParams, opts ...ClientOption) (*CreatePublicDashboardOK, error)
- func (a *Client) DeletePublicDashboard(uid string, dashboardUID string, opts ...ClientOption) (*DeletePublicDashboardOK, error)
- func (a *Client) DeletePublicDashboardWithParams(params *DeletePublicDashboardParams, opts ...ClientOption) (*DeletePublicDashboardOK, error)
- func (a *Client) GetPublicAnnotations(accessToken string, opts ...ClientOption) (*GetPublicAnnotationsOK, error)
- func (a *Client) GetPublicAnnotationsWithParams(params *GetPublicAnnotationsParams, opts ...ClientOption) (*GetPublicAnnotationsOK, error)
- func (a *Client) GetPublicDashboard(dashboardUID string, opts ...ClientOption) (*GetPublicDashboardOK, error)
- func (a *Client) GetPublicDashboardWithParams(params *GetPublicDashboardParams, opts ...ClientOption) (*GetPublicDashboardOK, error)
- func (a *Client) ListPublicDashboards(opts ...ClientOption) (*ListPublicDashboardsOK, error)
- func (a *Client) ListPublicDashboardsWithParams(params *ListPublicDashboardsParams, opts ...ClientOption) (*ListPublicDashboardsOK, error)
- func (a *Client) QueryPublicDashboard(panelID int64, accessToken string, opts ...ClientOption) (*QueryPublicDashboardOK, error)
- func (a *Client) QueryPublicDashboardWithParams(params *QueryPublicDashboardParams, opts ...ClientOption) (*QueryPublicDashboardOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePublicDashboard(params *UpdatePublicDashboardParams, opts ...ClientOption) (*UpdatePublicDashboardOK, error)
- func (a *Client) ViewPublicDashboard(accessToken string, opts ...ClientOption) (*ViewPublicDashboardOK, error)
- func (a *Client) ViewPublicDashboardWithParams(params *ViewPublicDashboardParams, opts ...ClientOption) (*ViewPublicDashboardOK, error)
- type ClientOption
- type ClientService
- type CreatePublicDashboardBadRequest
- func (o *CreatePublicDashboardBadRequest) Code() int
- func (o *CreatePublicDashboardBadRequest) Error() string
- func (o *CreatePublicDashboardBadRequest) GetPayload() *models.PublicError
- func (o *CreatePublicDashboardBadRequest) IsClientError() bool
- func (o *CreatePublicDashboardBadRequest) IsCode(code int) bool
- func (o *CreatePublicDashboardBadRequest) IsRedirect() bool
- func (o *CreatePublicDashboardBadRequest) IsServerError() bool
- func (o *CreatePublicDashboardBadRequest) IsSuccess() bool
- func (o *CreatePublicDashboardBadRequest) String() string
- type CreatePublicDashboardForbidden
- func (o *CreatePublicDashboardForbidden) Code() int
- func (o *CreatePublicDashboardForbidden) Error() string
- func (o *CreatePublicDashboardForbidden) GetPayload() *models.PublicError
- func (o *CreatePublicDashboardForbidden) IsClientError() bool
- func (o *CreatePublicDashboardForbidden) IsCode(code int) bool
- func (o *CreatePublicDashboardForbidden) IsRedirect() bool
- func (o *CreatePublicDashboardForbidden) IsServerError() bool
- func (o *CreatePublicDashboardForbidden) IsSuccess() bool
- func (o *CreatePublicDashboardForbidden) String() string
- type CreatePublicDashboardInternalServerError
- func (o *CreatePublicDashboardInternalServerError) Code() int
- func (o *CreatePublicDashboardInternalServerError) Error() string
- func (o *CreatePublicDashboardInternalServerError) GetPayload() *models.PublicError
- func (o *CreatePublicDashboardInternalServerError) IsClientError() bool
- func (o *CreatePublicDashboardInternalServerError) IsCode(code int) bool
- func (o *CreatePublicDashboardInternalServerError) IsRedirect() bool
- func (o *CreatePublicDashboardInternalServerError) IsServerError() bool
- func (o *CreatePublicDashboardInternalServerError) IsSuccess() bool
- func (o *CreatePublicDashboardInternalServerError) String() string
- type CreatePublicDashboardOK
- func (o *CreatePublicDashboardOK) Code() int
- func (o *CreatePublicDashboardOK) Error() string
- func (o *CreatePublicDashboardOK) GetPayload() *models.PublicDashboard
- func (o *CreatePublicDashboardOK) IsClientError() bool
- func (o *CreatePublicDashboardOK) IsCode(code int) bool
- func (o *CreatePublicDashboardOK) IsRedirect() bool
- func (o *CreatePublicDashboardOK) IsServerError() bool
- func (o *CreatePublicDashboardOK) IsSuccess() bool
- func (o *CreatePublicDashboardOK) String() string
- type CreatePublicDashboardParams
- func NewCreatePublicDashboardParams() *CreatePublicDashboardParams
- func NewCreatePublicDashboardParamsWithContext(ctx context.Context) *CreatePublicDashboardParams
- func NewCreatePublicDashboardParamsWithHTTPClient(client *http.Client) *CreatePublicDashboardParams
- func NewCreatePublicDashboardParamsWithTimeout(timeout time.Duration) *CreatePublicDashboardParams
- func (o *CreatePublicDashboardParams) SetBody(body *models.PublicDashboardDTO)
- func (o *CreatePublicDashboardParams) SetContext(ctx context.Context)
- func (o *CreatePublicDashboardParams) SetDashboardUID(dashboardUID string)
- func (o *CreatePublicDashboardParams) SetDefaults()
- func (o *CreatePublicDashboardParams) SetHTTPClient(client *http.Client)
- func (o *CreatePublicDashboardParams) SetTimeout(timeout time.Duration)
- func (o *CreatePublicDashboardParams) WithBody(body *models.PublicDashboardDTO) *CreatePublicDashboardParams
- func (o *CreatePublicDashboardParams) WithContext(ctx context.Context) *CreatePublicDashboardParams
- func (o *CreatePublicDashboardParams) WithDashboardUID(dashboardUID string) *CreatePublicDashboardParams
- func (o *CreatePublicDashboardParams) WithDefaults() *CreatePublicDashboardParams
- func (o *CreatePublicDashboardParams) WithHTTPClient(client *http.Client) *CreatePublicDashboardParams
- func (o *CreatePublicDashboardParams) WithTimeout(timeout time.Duration) *CreatePublicDashboardParams
- func (o *CreatePublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePublicDashboardReader
- type CreatePublicDashboardUnauthorized
- func (o *CreatePublicDashboardUnauthorized) Code() int
- func (o *CreatePublicDashboardUnauthorized) Error() string
- func (o *CreatePublicDashboardUnauthorized) GetPayload() *models.PublicError
- func (o *CreatePublicDashboardUnauthorized) IsClientError() bool
- func (o *CreatePublicDashboardUnauthorized) IsCode(code int) bool
- func (o *CreatePublicDashboardUnauthorized) IsRedirect() bool
- func (o *CreatePublicDashboardUnauthorized) IsServerError() bool
- func (o *CreatePublicDashboardUnauthorized) IsSuccess() bool
- func (o *CreatePublicDashboardUnauthorized) String() string
- type DeletePublicDashboardBadRequest
- func (o *DeletePublicDashboardBadRequest) Code() int
- func (o *DeletePublicDashboardBadRequest) Error() string
- func (o *DeletePublicDashboardBadRequest) GetPayload() *models.PublicError
- func (o *DeletePublicDashboardBadRequest) IsClientError() bool
- func (o *DeletePublicDashboardBadRequest) IsCode(code int) bool
- func (o *DeletePublicDashboardBadRequest) IsRedirect() bool
- func (o *DeletePublicDashboardBadRequest) IsServerError() bool
- func (o *DeletePublicDashboardBadRequest) IsSuccess() bool
- func (o *DeletePublicDashboardBadRequest) String() string
- type DeletePublicDashboardForbidden
- func (o *DeletePublicDashboardForbidden) Code() int
- func (o *DeletePublicDashboardForbidden) Error() string
- func (o *DeletePublicDashboardForbidden) GetPayload() *models.PublicError
- func (o *DeletePublicDashboardForbidden) IsClientError() bool
- func (o *DeletePublicDashboardForbidden) IsCode(code int) bool
- func (o *DeletePublicDashboardForbidden) IsRedirect() bool
- func (o *DeletePublicDashboardForbidden) IsServerError() bool
- func (o *DeletePublicDashboardForbidden) IsSuccess() bool
- func (o *DeletePublicDashboardForbidden) String() string
- type DeletePublicDashboardInternalServerError
- func (o *DeletePublicDashboardInternalServerError) Code() int
- func (o *DeletePublicDashboardInternalServerError) Error() string
- func (o *DeletePublicDashboardInternalServerError) GetPayload() *models.PublicError
- func (o *DeletePublicDashboardInternalServerError) IsClientError() bool
- func (o *DeletePublicDashboardInternalServerError) IsCode(code int) bool
- func (o *DeletePublicDashboardInternalServerError) IsRedirect() bool
- func (o *DeletePublicDashboardInternalServerError) IsServerError() bool
- func (o *DeletePublicDashboardInternalServerError) IsSuccess() bool
- func (o *DeletePublicDashboardInternalServerError) String() string
- type DeletePublicDashboardOK
- func (o *DeletePublicDashboardOK) Code() int
- func (o *DeletePublicDashboardOK) Error() string
- func (o *DeletePublicDashboardOK) GetPayload() *models.SuccessResponseBody
- func (o *DeletePublicDashboardOK) IsClientError() bool
- func (o *DeletePublicDashboardOK) IsCode(code int) bool
- func (o *DeletePublicDashboardOK) IsRedirect() bool
- func (o *DeletePublicDashboardOK) IsServerError() bool
- func (o *DeletePublicDashboardOK) IsSuccess() bool
- func (o *DeletePublicDashboardOK) String() string
- type DeletePublicDashboardParams
- func NewDeletePublicDashboardParams() *DeletePublicDashboardParams
- func NewDeletePublicDashboardParamsWithContext(ctx context.Context) *DeletePublicDashboardParams
- func NewDeletePublicDashboardParamsWithHTTPClient(client *http.Client) *DeletePublicDashboardParams
- func NewDeletePublicDashboardParamsWithTimeout(timeout time.Duration) *DeletePublicDashboardParams
- func (o *DeletePublicDashboardParams) SetContext(ctx context.Context)
- func (o *DeletePublicDashboardParams) SetDashboardUID(dashboardUID string)
- func (o *DeletePublicDashboardParams) SetDefaults()
- func (o *DeletePublicDashboardParams) SetHTTPClient(client *http.Client)
- func (o *DeletePublicDashboardParams) SetTimeout(timeout time.Duration)
- func (o *DeletePublicDashboardParams) SetUID(uid string)
- func (o *DeletePublicDashboardParams) WithContext(ctx context.Context) *DeletePublicDashboardParams
- func (o *DeletePublicDashboardParams) WithDashboardUID(dashboardUID string) *DeletePublicDashboardParams
- func (o *DeletePublicDashboardParams) WithDefaults() *DeletePublicDashboardParams
- func (o *DeletePublicDashboardParams) WithHTTPClient(client *http.Client) *DeletePublicDashboardParams
- func (o *DeletePublicDashboardParams) WithTimeout(timeout time.Duration) *DeletePublicDashboardParams
- func (o *DeletePublicDashboardParams) WithUID(uid string) *DeletePublicDashboardParams
- func (o *DeletePublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePublicDashboardReader
- type DeletePublicDashboardUnauthorized
- func (o *DeletePublicDashboardUnauthorized) Code() int
- func (o *DeletePublicDashboardUnauthorized) Error() string
- func (o *DeletePublicDashboardUnauthorized) GetPayload() *models.PublicError
- func (o *DeletePublicDashboardUnauthorized) IsClientError() bool
- func (o *DeletePublicDashboardUnauthorized) IsCode(code int) bool
- func (o *DeletePublicDashboardUnauthorized) IsRedirect() bool
- func (o *DeletePublicDashboardUnauthorized) IsServerError() bool
- func (o *DeletePublicDashboardUnauthorized) IsSuccess() bool
- func (o *DeletePublicDashboardUnauthorized) String() string
- type GetPublicAnnotationsBadRequest
- func (o *GetPublicAnnotationsBadRequest) Code() int
- func (o *GetPublicAnnotationsBadRequest) Error() string
- func (o *GetPublicAnnotationsBadRequest) GetPayload() *models.PublicError
- func (o *GetPublicAnnotationsBadRequest) IsClientError() bool
- func (o *GetPublicAnnotationsBadRequest) IsCode(code int) bool
- func (o *GetPublicAnnotationsBadRequest) IsRedirect() bool
- func (o *GetPublicAnnotationsBadRequest) IsServerError() bool
- func (o *GetPublicAnnotationsBadRequest) IsSuccess() bool
- func (o *GetPublicAnnotationsBadRequest) String() string
- type GetPublicAnnotationsForbidden
- func (o *GetPublicAnnotationsForbidden) Code() int
- func (o *GetPublicAnnotationsForbidden) Error() string
- func (o *GetPublicAnnotationsForbidden) GetPayload() *models.PublicError
- func (o *GetPublicAnnotationsForbidden) IsClientError() bool
- func (o *GetPublicAnnotationsForbidden) IsCode(code int) bool
- func (o *GetPublicAnnotationsForbidden) IsRedirect() bool
- func (o *GetPublicAnnotationsForbidden) IsServerError() bool
- func (o *GetPublicAnnotationsForbidden) IsSuccess() bool
- func (o *GetPublicAnnotationsForbidden) String() string
- type GetPublicAnnotationsInternalServerError
- func (o *GetPublicAnnotationsInternalServerError) Code() int
- func (o *GetPublicAnnotationsInternalServerError) Error() string
- func (o *GetPublicAnnotationsInternalServerError) GetPayload() *models.PublicError
- func (o *GetPublicAnnotationsInternalServerError) IsClientError() bool
- func (o *GetPublicAnnotationsInternalServerError) IsCode(code int) bool
- func (o *GetPublicAnnotationsInternalServerError) IsRedirect() bool
- func (o *GetPublicAnnotationsInternalServerError) IsServerError() bool
- func (o *GetPublicAnnotationsInternalServerError) IsSuccess() bool
- func (o *GetPublicAnnotationsInternalServerError) String() string
- type GetPublicAnnotationsNotFound
- func (o *GetPublicAnnotationsNotFound) Code() int
- func (o *GetPublicAnnotationsNotFound) Error() string
- func (o *GetPublicAnnotationsNotFound) GetPayload() *models.PublicError
- func (o *GetPublicAnnotationsNotFound) IsClientError() bool
- func (o *GetPublicAnnotationsNotFound) IsCode(code int) bool
- func (o *GetPublicAnnotationsNotFound) IsRedirect() bool
- func (o *GetPublicAnnotationsNotFound) IsServerError() bool
- func (o *GetPublicAnnotationsNotFound) IsSuccess() bool
- func (o *GetPublicAnnotationsNotFound) String() string
- type GetPublicAnnotationsOK
- func (o *GetPublicAnnotationsOK) Code() int
- func (o *GetPublicAnnotationsOK) Error() string
- func (o *GetPublicAnnotationsOK) GetPayload() []*models.AnnotationEvent
- func (o *GetPublicAnnotationsOK) IsClientError() bool
- func (o *GetPublicAnnotationsOK) IsCode(code int) bool
- func (o *GetPublicAnnotationsOK) IsRedirect() bool
- func (o *GetPublicAnnotationsOK) IsServerError() bool
- func (o *GetPublicAnnotationsOK) IsSuccess() bool
- func (o *GetPublicAnnotationsOK) String() string
- type GetPublicAnnotationsParams
- func NewGetPublicAnnotationsParams() *GetPublicAnnotationsParams
- func NewGetPublicAnnotationsParamsWithContext(ctx context.Context) *GetPublicAnnotationsParams
- func NewGetPublicAnnotationsParamsWithHTTPClient(client *http.Client) *GetPublicAnnotationsParams
- func NewGetPublicAnnotationsParamsWithTimeout(timeout time.Duration) *GetPublicAnnotationsParams
- func (o *GetPublicAnnotationsParams) SetAccessToken(accessToken string)
- func (o *GetPublicAnnotationsParams) SetContext(ctx context.Context)
- func (o *GetPublicAnnotationsParams) SetDefaults()
- func (o *GetPublicAnnotationsParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicAnnotationsParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicAnnotationsParams) WithAccessToken(accessToken string) *GetPublicAnnotationsParams
- func (o *GetPublicAnnotationsParams) WithContext(ctx context.Context) *GetPublicAnnotationsParams
- func (o *GetPublicAnnotationsParams) WithDefaults() *GetPublicAnnotationsParams
- func (o *GetPublicAnnotationsParams) WithHTTPClient(client *http.Client) *GetPublicAnnotationsParams
- func (o *GetPublicAnnotationsParams) WithTimeout(timeout time.Duration) *GetPublicAnnotationsParams
- func (o *GetPublicAnnotationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicAnnotationsReader
- type GetPublicAnnotationsUnauthorized
- func (o *GetPublicAnnotationsUnauthorized) Code() int
- func (o *GetPublicAnnotationsUnauthorized) Error() string
- func (o *GetPublicAnnotationsUnauthorized) GetPayload() *models.PublicError
- func (o *GetPublicAnnotationsUnauthorized) IsClientError() bool
- func (o *GetPublicAnnotationsUnauthorized) IsCode(code int) bool
- func (o *GetPublicAnnotationsUnauthorized) IsRedirect() bool
- func (o *GetPublicAnnotationsUnauthorized) IsServerError() bool
- func (o *GetPublicAnnotationsUnauthorized) IsSuccess() bool
- func (o *GetPublicAnnotationsUnauthorized) String() string
- type GetPublicDashboardBadRequest
- func (o *GetPublicDashboardBadRequest) Code() int
- func (o *GetPublicDashboardBadRequest) Error() string
- func (o *GetPublicDashboardBadRequest) GetPayload() *models.PublicError
- func (o *GetPublicDashboardBadRequest) IsClientError() bool
- func (o *GetPublicDashboardBadRequest) IsCode(code int) bool
- func (o *GetPublicDashboardBadRequest) IsRedirect() bool
- func (o *GetPublicDashboardBadRequest) IsServerError() bool
- func (o *GetPublicDashboardBadRequest) IsSuccess() bool
- func (o *GetPublicDashboardBadRequest) String() string
- type GetPublicDashboardForbidden
- func (o *GetPublicDashboardForbidden) Code() int
- func (o *GetPublicDashboardForbidden) Error() string
- func (o *GetPublicDashboardForbidden) GetPayload() *models.PublicError
- func (o *GetPublicDashboardForbidden) IsClientError() bool
- func (o *GetPublicDashboardForbidden) IsCode(code int) bool
- func (o *GetPublicDashboardForbidden) IsRedirect() bool
- func (o *GetPublicDashboardForbidden) IsServerError() bool
- func (o *GetPublicDashboardForbidden) IsSuccess() bool
- func (o *GetPublicDashboardForbidden) String() string
- type GetPublicDashboardInternalServerError
- func (o *GetPublicDashboardInternalServerError) Code() int
- func (o *GetPublicDashboardInternalServerError) Error() string
- func (o *GetPublicDashboardInternalServerError) GetPayload() *models.PublicError
- func (o *GetPublicDashboardInternalServerError) IsClientError() bool
- func (o *GetPublicDashboardInternalServerError) IsCode(code int) bool
- func (o *GetPublicDashboardInternalServerError) IsRedirect() bool
- func (o *GetPublicDashboardInternalServerError) IsServerError() bool
- func (o *GetPublicDashboardInternalServerError) IsSuccess() bool
- func (o *GetPublicDashboardInternalServerError) String() string
- type GetPublicDashboardNotFound
- func (o *GetPublicDashboardNotFound) Code() int
- func (o *GetPublicDashboardNotFound) Error() string
- func (o *GetPublicDashboardNotFound) GetPayload() *models.PublicError
- func (o *GetPublicDashboardNotFound) IsClientError() bool
- func (o *GetPublicDashboardNotFound) IsCode(code int) bool
- func (o *GetPublicDashboardNotFound) IsRedirect() bool
- func (o *GetPublicDashboardNotFound) IsServerError() bool
- func (o *GetPublicDashboardNotFound) IsSuccess() bool
- func (o *GetPublicDashboardNotFound) String() string
- type GetPublicDashboardOK
- func (o *GetPublicDashboardOK) Code() int
- func (o *GetPublicDashboardOK) Error() string
- func (o *GetPublicDashboardOK) GetPayload() *models.PublicDashboard
- func (o *GetPublicDashboardOK) IsClientError() bool
- func (o *GetPublicDashboardOK) IsCode(code int) bool
- func (o *GetPublicDashboardOK) IsRedirect() bool
- func (o *GetPublicDashboardOK) IsServerError() bool
- func (o *GetPublicDashboardOK) IsSuccess() bool
- func (o *GetPublicDashboardOK) String() string
- type GetPublicDashboardParams
- func NewGetPublicDashboardParams() *GetPublicDashboardParams
- func NewGetPublicDashboardParamsWithContext(ctx context.Context) *GetPublicDashboardParams
- func NewGetPublicDashboardParamsWithHTTPClient(client *http.Client) *GetPublicDashboardParams
- func NewGetPublicDashboardParamsWithTimeout(timeout time.Duration) *GetPublicDashboardParams
- func (o *GetPublicDashboardParams) SetContext(ctx context.Context)
- func (o *GetPublicDashboardParams) SetDashboardUID(dashboardUID string)
- func (o *GetPublicDashboardParams) SetDefaults()
- func (o *GetPublicDashboardParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicDashboardParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicDashboardParams) WithContext(ctx context.Context) *GetPublicDashboardParams
- func (o *GetPublicDashboardParams) WithDashboardUID(dashboardUID string) *GetPublicDashboardParams
- func (o *GetPublicDashboardParams) WithDefaults() *GetPublicDashboardParams
- func (o *GetPublicDashboardParams) WithHTTPClient(client *http.Client) *GetPublicDashboardParams
- func (o *GetPublicDashboardParams) WithTimeout(timeout time.Duration) *GetPublicDashboardParams
- func (o *GetPublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicDashboardReader
- type GetPublicDashboardUnauthorized
- func (o *GetPublicDashboardUnauthorized) Code() int
- func (o *GetPublicDashboardUnauthorized) Error() string
- func (o *GetPublicDashboardUnauthorized) GetPayload() *models.PublicError
- func (o *GetPublicDashboardUnauthorized) IsClientError() bool
- func (o *GetPublicDashboardUnauthorized) IsCode(code int) bool
- func (o *GetPublicDashboardUnauthorized) IsRedirect() bool
- func (o *GetPublicDashboardUnauthorized) IsServerError() bool
- func (o *GetPublicDashboardUnauthorized) IsSuccess() bool
- func (o *GetPublicDashboardUnauthorized) String() string
- type ListPublicDashboardsForbidden
- func (o *ListPublicDashboardsForbidden) Code() int
- func (o *ListPublicDashboardsForbidden) Error() string
- func (o *ListPublicDashboardsForbidden) GetPayload() *models.PublicError
- func (o *ListPublicDashboardsForbidden) IsClientError() bool
- func (o *ListPublicDashboardsForbidden) IsCode(code int) bool
- func (o *ListPublicDashboardsForbidden) IsRedirect() bool
- func (o *ListPublicDashboardsForbidden) IsServerError() bool
- func (o *ListPublicDashboardsForbidden) IsSuccess() bool
- func (o *ListPublicDashboardsForbidden) String() string
- type ListPublicDashboardsInternalServerError
- func (o *ListPublicDashboardsInternalServerError) Code() int
- func (o *ListPublicDashboardsInternalServerError) Error() string
- func (o *ListPublicDashboardsInternalServerError) GetPayload() *models.PublicError
- func (o *ListPublicDashboardsInternalServerError) IsClientError() bool
- func (o *ListPublicDashboardsInternalServerError) IsCode(code int) bool
- func (o *ListPublicDashboardsInternalServerError) IsRedirect() bool
- func (o *ListPublicDashboardsInternalServerError) IsServerError() bool
- func (o *ListPublicDashboardsInternalServerError) IsSuccess() bool
- func (o *ListPublicDashboardsInternalServerError) String() string
- type ListPublicDashboardsOK
- func (o *ListPublicDashboardsOK) Code() int
- func (o *ListPublicDashboardsOK) Error() string
- func (o *ListPublicDashboardsOK) GetPayload() *models.PublicDashboardListResponseWithPagination
- func (o *ListPublicDashboardsOK) IsClientError() bool
- func (o *ListPublicDashboardsOK) IsCode(code int) bool
- func (o *ListPublicDashboardsOK) IsRedirect() bool
- func (o *ListPublicDashboardsOK) IsServerError() bool
- func (o *ListPublicDashboardsOK) IsSuccess() bool
- func (o *ListPublicDashboardsOK) String() string
- type ListPublicDashboardsParams
- func NewListPublicDashboardsParams() *ListPublicDashboardsParams
- func NewListPublicDashboardsParamsWithContext(ctx context.Context) *ListPublicDashboardsParams
- func NewListPublicDashboardsParamsWithHTTPClient(client *http.Client) *ListPublicDashboardsParams
- func NewListPublicDashboardsParamsWithTimeout(timeout time.Duration) *ListPublicDashboardsParams
- func (o *ListPublicDashboardsParams) SetContext(ctx context.Context)
- func (o *ListPublicDashboardsParams) SetDefaults()
- func (o *ListPublicDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *ListPublicDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *ListPublicDashboardsParams) WithContext(ctx context.Context) *ListPublicDashboardsParams
- func (o *ListPublicDashboardsParams) WithDefaults() *ListPublicDashboardsParams
- func (o *ListPublicDashboardsParams) WithHTTPClient(client *http.Client) *ListPublicDashboardsParams
- func (o *ListPublicDashboardsParams) WithTimeout(timeout time.Duration) *ListPublicDashboardsParams
- func (o *ListPublicDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPublicDashboardsReader
- type ListPublicDashboardsUnauthorized
- func (o *ListPublicDashboardsUnauthorized) Code() int
- func (o *ListPublicDashboardsUnauthorized) Error() string
- func (o *ListPublicDashboardsUnauthorized) GetPayload() *models.PublicError
- func (o *ListPublicDashboardsUnauthorized) IsClientError() bool
- func (o *ListPublicDashboardsUnauthorized) IsCode(code int) bool
- func (o *ListPublicDashboardsUnauthorized) IsRedirect() bool
- func (o *ListPublicDashboardsUnauthorized) IsServerError() bool
- func (o *ListPublicDashboardsUnauthorized) IsSuccess() bool
- func (o *ListPublicDashboardsUnauthorized) String() string
- type QueryPublicDashboardBadRequest
- func (o *QueryPublicDashboardBadRequest) Code() int
- func (o *QueryPublicDashboardBadRequest) Error() string
- func (o *QueryPublicDashboardBadRequest) GetPayload() *models.PublicError
- func (o *QueryPublicDashboardBadRequest) IsClientError() bool
- func (o *QueryPublicDashboardBadRequest) IsCode(code int) bool
- func (o *QueryPublicDashboardBadRequest) IsRedirect() bool
- func (o *QueryPublicDashboardBadRequest) IsServerError() bool
- func (o *QueryPublicDashboardBadRequest) IsSuccess() bool
- func (o *QueryPublicDashboardBadRequest) String() string
- type QueryPublicDashboardForbidden
- func (o *QueryPublicDashboardForbidden) Code() int
- func (o *QueryPublicDashboardForbidden) Error() string
- func (o *QueryPublicDashboardForbidden) GetPayload() *models.PublicError
- func (o *QueryPublicDashboardForbidden) IsClientError() bool
- func (o *QueryPublicDashboardForbidden) IsCode(code int) bool
- func (o *QueryPublicDashboardForbidden) IsRedirect() bool
- func (o *QueryPublicDashboardForbidden) IsServerError() bool
- func (o *QueryPublicDashboardForbidden) IsSuccess() bool
- func (o *QueryPublicDashboardForbidden) String() string
- type QueryPublicDashboardInternalServerError
- func (o *QueryPublicDashboardInternalServerError) Code() int
- func (o *QueryPublicDashboardInternalServerError) Error() string
- func (o *QueryPublicDashboardInternalServerError) GetPayload() *models.PublicError
- func (o *QueryPublicDashboardInternalServerError) IsClientError() bool
- func (o *QueryPublicDashboardInternalServerError) IsCode(code int) bool
- func (o *QueryPublicDashboardInternalServerError) IsRedirect() bool
- func (o *QueryPublicDashboardInternalServerError) IsServerError() bool
- func (o *QueryPublicDashboardInternalServerError) IsSuccess() bool
- func (o *QueryPublicDashboardInternalServerError) String() string
- type QueryPublicDashboardNotFound
- func (o *QueryPublicDashboardNotFound) Code() int
- func (o *QueryPublicDashboardNotFound) Error() string
- func (o *QueryPublicDashboardNotFound) GetPayload() *models.PublicError
- func (o *QueryPublicDashboardNotFound) IsClientError() bool
- func (o *QueryPublicDashboardNotFound) IsCode(code int) bool
- func (o *QueryPublicDashboardNotFound) IsRedirect() bool
- func (o *QueryPublicDashboardNotFound) IsServerError() bool
- func (o *QueryPublicDashboardNotFound) IsSuccess() bool
- func (o *QueryPublicDashboardNotFound) String() string
- type QueryPublicDashboardOK
- func (o *QueryPublicDashboardOK) Code() int
- func (o *QueryPublicDashboardOK) Error() string
- func (o *QueryPublicDashboardOK) GetPayload() *models.QueryDataResponse
- func (o *QueryPublicDashboardOK) IsClientError() bool
- func (o *QueryPublicDashboardOK) IsCode(code int) bool
- func (o *QueryPublicDashboardOK) IsRedirect() bool
- func (o *QueryPublicDashboardOK) IsServerError() bool
- func (o *QueryPublicDashboardOK) IsSuccess() bool
- func (o *QueryPublicDashboardOK) String() string
- type QueryPublicDashboardParams
- func NewQueryPublicDashboardParams() *QueryPublicDashboardParams
- func NewQueryPublicDashboardParamsWithContext(ctx context.Context) *QueryPublicDashboardParams
- func NewQueryPublicDashboardParamsWithHTTPClient(client *http.Client) *QueryPublicDashboardParams
- func NewQueryPublicDashboardParamsWithTimeout(timeout time.Duration) *QueryPublicDashboardParams
- func (o *QueryPublicDashboardParams) SetAccessToken(accessToken string)
- func (o *QueryPublicDashboardParams) SetContext(ctx context.Context)
- func (o *QueryPublicDashboardParams) SetDefaults()
- func (o *QueryPublicDashboardParams) SetHTTPClient(client *http.Client)
- func (o *QueryPublicDashboardParams) SetPanelID(panelID int64)
- func (o *QueryPublicDashboardParams) SetTimeout(timeout time.Duration)
- func (o *QueryPublicDashboardParams) WithAccessToken(accessToken string) *QueryPublicDashboardParams
- func (o *QueryPublicDashboardParams) WithContext(ctx context.Context) *QueryPublicDashboardParams
- func (o *QueryPublicDashboardParams) WithDefaults() *QueryPublicDashboardParams
- func (o *QueryPublicDashboardParams) WithHTTPClient(client *http.Client) *QueryPublicDashboardParams
- func (o *QueryPublicDashboardParams) WithPanelID(panelID int64) *QueryPublicDashboardParams
- func (o *QueryPublicDashboardParams) WithTimeout(timeout time.Duration) *QueryPublicDashboardParams
- func (o *QueryPublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryPublicDashboardReader
- type QueryPublicDashboardUnauthorized
- func (o *QueryPublicDashboardUnauthorized) Code() int
- func (o *QueryPublicDashboardUnauthorized) Error() string
- func (o *QueryPublicDashboardUnauthorized) GetPayload() *models.PublicError
- func (o *QueryPublicDashboardUnauthorized) IsClientError() bool
- func (o *QueryPublicDashboardUnauthorized) IsCode(code int) bool
- func (o *QueryPublicDashboardUnauthorized) IsRedirect() bool
- func (o *QueryPublicDashboardUnauthorized) IsServerError() bool
- func (o *QueryPublicDashboardUnauthorized) IsSuccess() bool
- func (o *QueryPublicDashboardUnauthorized) String() string
- type UpdatePublicDashboardBadRequest
- func (o *UpdatePublicDashboardBadRequest) Code() int
- func (o *UpdatePublicDashboardBadRequest) Error() string
- func (o *UpdatePublicDashboardBadRequest) GetPayload() *models.PublicError
- func (o *UpdatePublicDashboardBadRequest) IsClientError() bool
- func (o *UpdatePublicDashboardBadRequest) IsCode(code int) bool
- func (o *UpdatePublicDashboardBadRequest) IsRedirect() bool
- func (o *UpdatePublicDashboardBadRequest) IsServerError() bool
- func (o *UpdatePublicDashboardBadRequest) IsSuccess() bool
- func (o *UpdatePublicDashboardBadRequest) String() string
- type UpdatePublicDashboardForbidden
- func (o *UpdatePublicDashboardForbidden) Code() int
- func (o *UpdatePublicDashboardForbidden) Error() string
- func (o *UpdatePublicDashboardForbidden) GetPayload() *models.PublicError
- func (o *UpdatePublicDashboardForbidden) IsClientError() bool
- func (o *UpdatePublicDashboardForbidden) IsCode(code int) bool
- func (o *UpdatePublicDashboardForbidden) IsRedirect() bool
- func (o *UpdatePublicDashboardForbidden) IsServerError() bool
- func (o *UpdatePublicDashboardForbidden) IsSuccess() bool
- func (o *UpdatePublicDashboardForbidden) String() string
- type UpdatePublicDashboardInternalServerError
- func (o *UpdatePublicDashboardInternalServerError) Code() int
- func (o *UpdatePublicDashboardInternalServerError) Error() string
- func (o *UpdatePublicDashboardInternalServerError) GetPayload() *models.PublicError
- func (o *UpdatePublicDashboardInternalServerError) IsClientError() bool
- func (o *UpdatePublicDashboardInternalServerError) IsCode(code int) bool
- func (o *UpdatePublicDashboardInternalServerError) IsRedirect() bool
- func (o *UpdatePublicDashboardInternalServerError) IsServerError() bool
- func (o *UpdatePublicDashboardInternalServerError) IsSuccess() bool
- func (o *UpdatePublicDashboardInternalServerError) String() string
- type UpdatePublicDashboardOK
- func (o *UpdatePublicDashboardOK) Code() int
- func (o *UpdatePublicDashboardOK) Error() string
- func (o *UpdatePublicDashboardOK) GetPayload() *models.PublicDashboard
- func (o *UpdatePublicDashboardOK) IsClientError() bool
- func (o *UpdatePublicDashboardOK) IsCode(code int) bool
- func (o *UpdatePublicDashboardOK) IsRedirect() bool
- func (o *UpdatePublicDashboardOK) IsServerError() bool
- func (o *UpdatePublicDashboardOK) IsSuccess() bool
- func (o *UpdatePublicDashboardOK) String() string
- type UpdatePublicDashboardParams
- func NewUpdatePublicDashboardParams() *UpdatePublicDashboardParams
- func NewUpdatePublicDashboardParamsWithContext(ctx context.Context) *UpdatePublicDashboardParams
- func NewUpdatePublicDashboardParamsWithHTTPClient(client *http.Client) *UpdatePublicDashboardParams
- func NewUpdatePublicDashboardParamsWithTimeout(timeout time.Duration) *UpdatePublicDashboardParams
- func (o *UpdatePublicDashboardParams) SetBody(body *models.PublicDashboardDTO)
- func (o *UpdatePublicDashboardParams) SetContext(ctx context.Context)
- func (o *UpdatePublicDashboardParams) SetDashboardUID(dashboardUID string)
- func (o *UpdatePublicDashboardParams) SetDefaults()
- func (o *UpdatePublicDashboardParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePublicDashboardParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePublicDashboardParams) SetUID(uid string)
- func (o *UpdatePublicDashboardParams) WithBody(body *models.PublicDashboardDTO) *UpdatePublicDashboardParams
- func (o *UpdatePublicDashboardParams) WithContext(ctx context.Context) *UpdatePublicDashboardParams
- func (o *UpdatePublicDashboardParams) WithDashboardUID(dashboardUID string) *UpdatePublicDashboardParams
- func (o *UpdatePublicDashboardParams) WithDefaults() *UpdatePublicDashboardParams
- func (o *UpdatePublicDashboardParams) WithHTTPClient(client *http.Client) *UpdatePublicDashboardParams
- func (o *UpdatePublicDashboardParams) WithTimeout(timeout time.Duration) *UpdatePublicDashboardParams
- func (o *UpdatePublicDashboardParams) WithUID(uid string) *UpdatePublicDashboardParams
- func (o *UpdatePublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePublicDashboardReader
- type UpdatePublicDashboardUnauthorized
- func (o *UpdatePublicDashboardUnauthorized) Code() int
- func (o *UpdatePublicDashboardUnauthorized) Error() string
- func (o *UpdatePublicDashboardUnauthorized) GetPayload() *models.PublicError
- func (o *UpdatePublicDashboardUnauthorized) IsClientError() bool
- func (o *UpdatePublicDashboardUnauthorized) IsCode(code int) bool
- func (o *UpdatePublicDashboardUnauthorized) IsRedirect() bool
- func (o *UpdatePublicDashboardUnauthorized) IsServerError() bool
- func (o *UpdatePublicDashboardUnauthorized) IsSuccess() bool
- func (o *UpdatePublicDashboardUnauthorized) String() string
- type ViewPublicDashboardBadRequest
- func (o *ViewPublicDashboardBadRequest) Code() int
- func (o *ViewPublicDashboardBadRequest) Error() string
- func (o *ViewPublicDashboardBadRequest) GetPayload() *models.PublicError
- func (o *ViewPublicDashboardBadRequest) IsClientError() bool
- func (o *ViewPublicDashboardBadRequest) IsCode(code int) bool
- func (o *ViewPublicDashboardBadRequest) IsRedirect() bool
- func (o *ViewPublicDashboardBadRequest) IsServerError() bool
- func (o *ViewPublicDashboardBadRequest) IsSuccess() bool
- func (o *ViewPublicDashboardBadRequest) String() string
- type ViewPublicDashboardForbidden
- func (o *ViewPublicDashboardForbidden) Code() int
- func (o *ViewPublicDashboardForbidden) Error() string
- func (o *ViewPublicDashboardForbidden) GetPayload() *models.PublicError
- func (o *ViewPublicDashboardForbidden) IsClientError() bool
- func (o *ViewPublicDashboardForbidden) IsCode(code int) bool
- func (o *ViewPublicDashboardForbidden) IsRedirect() bool
- func (o *ViewPublicDashboardForbidden) IsServerError() bool
- func (o *ViewPublicDashboardForbidden) IsSuccess() bool
- func (o *ViewPublicDashboardForbidden) String() string
- type ViewPublicDashboardInternalServerError
- func (o *ViewPublicDashboardInternalServerError) Code() int
- func (o *ViewPublicDashboardInternalServerError) Error() string
- func (o *ViewPublicDashboardInternalServerError) GetPayload() *models.PublicError
- func (o *ViewPublicDashboardInternalServerError) IsClientError() bool
- func (o *ViewPublicDashboardInternalServerError) IsCode(code int) bool
- func (o *ViewPublicDashboardInternalServerError) IsRedirect() bool
- func (o *ViewPublicDashboardInternalServerError) IsServerError() bool
- func (o *ViewPublicDashboardInternalServerError) IsSuccess() bool
- func (o *ViewPublicDashboardInternalServerError) String() string
- type ViewPublicDashboardNotFound
- func (o *ViewPublicDashboardNotFound) Code() int
- func (o *ViewPublicDashboardNotFound) Error() string
- func (o *ViewPublicDashboardNotFound) GetPayload() *models.PublicError
- func (o *ViewPublicDashboardNotFound) IsClientError() bool
- func (o *ViewPublicDashboardNotFound) IsCode(code int) bool
- func (o *ViewPublicDashboardNotFound) IsRedirect() bool
- func (o *ViewPublicDashboardNotFound) IsServerError() bool
- func (o *ViewPublicDashboardNotFound) IsSuccess() bool
- func (o *ViewPublicDashboardNotFound) String() string
- type ViewPublicDashboardOK
- func (o *ViewPublicDashboardOK) Code() int
- func (o *ViewPublicDashboardOK) Error() string
- func (o *ViewPublicDashboardOK) GetPayload() *models.DashboardFullWithMeta
- func (o *ViewPublicDashboardOK) IsClientError() bool
- func (o *ViewPublicDashboardOK) IsCode(code int) bool
- func (o *ViewPublicDashboardOK) IsRedirect() bool
- func (o *ViewPublicDashboardOK) IsServerError() bool
- func (o *ViewPublicDashboardOK) IsSuccess() bool
- func (o *ViewPublicDashboardOK) String() string
- type ViewPublicDashboardParams
- func NewViewPublicDashboardParams() *ViewPublicDashboardParams
- func NewViewPublicDashboardParamsWithContext(ctx context.Context) *ViewPublicDashboardParams
- func NewViewPublicDashboardParamsWithHTTPClient(client *http.Client) *ViewPublicDashboardParams
- func NewViewPublicDashboardParamsWithTimeout(timeout time.Duration) *ViewPublicDashboardParams
- func (o *ViewPublicDashboardParams) SetAccessToken(accessToken string)
- func (o *ViewPublicDashboardParams) SetContext(ctx context.Context)
- func (o *ViewPublicDashboardParams) SetDefaults()
- func (o *ViewPublicDashboardParams) SetHTTPClient(client *http.Client)
- func (o *ViewPublicDashboardParams) SetTimeout(timeout time.Duration)
- func (o *ViewPublicDashboardParams) WithAccessToken(accessToken string) *ViewPublicDashboardParams
- func (o *ViewPublicDashboardParams) WithContext(ctx context.Context) *ViewPublicDashboardParams
- func (o *ViewPublicDashboardParams) WithDefaults() *ViewPublicDashboardParams
- func (o *ViewPublicDashboardParams) WithHTTPClient(client *http.Client) *ViewPublicDashboardParams
- func (o *ViewPublicDashboardParams) WithTimeout(timeout time.Duration) *ViewPublicDashboardParams
- func (o *ViewPublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ViewPublicDashboardReader
- type ViewPublicDashboardUnauthorized
- func (o *ViewPublicDashboardUnauthorized) Code() int
- func (o *ViewPublicDashboardUnauthorized) Error() string
- func (o *ViewPublicDashboardUnauthorized) GetPayload() *models.PublicError
- func (o *ViewPublicDashboardUnauthorized) IsClientError() bool
- func (o *ViewPublicDashboardUnauthorized) IsCode(code int) bool
- func (o *ViewPublicDashboardUnauthorized) IsRedirect() bool
- func (o *ViewPublicDashboardUnauthorized) IsServerError() bool
- func (o *ViewPublicDashboardUnauthorized) IsSuccess() bool
- func (o *ViewPublicDashboardUnauthorized) String() string
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 public API
func (*Client) CreatePublicDashboard ¶
func (a *Client) CreatePublicDashboard(dashboardUID string, body *models.PublicDashboardDTO, opts ...ClientOption) (*CreatePublicDashboardOK, error)
CreatePublicDashboard Create public dashboard for a dashboard
func (*Client) CreatePublicDashboardWithParams ¶
func (a *Client) CreatePublicDashboardWithParams(params *CreatePublicDashboardParams, opts ...ClientOption) (*CreatePublicDashboardOK, error)
func (*Client) DeletePublicDashboard ¶
func (a *Client) DeletePublicDashboard(uid string, dashboardUID string, opts ...ClientOption) (*DeletePublicDashboardOK, error)
DeletePublicDashboard Delete public dashboard for a dashboard
func (*Client) DeletePublicDashboardWithParams ¶
func (a *Client) DeletePublicDashboardWithParams(params *DeletePublicDashboardParams, opts ...ClientOption) (*DeletePublicDashboardOK, error)
func (*Client) GetPublicAnnotations ¶
func (a *Client) GetPublicAnnotations(accessToken string, opts ...ClientOption) (*GetPublicAnnotationsOK, error)
GetPublicAnnotations Get annotations for a public dashboard
func (*Client) GetPublicAnnotationsWithParams ¶
func (a *Client) GetPublicAnnotationsWithParams(params *GetPublicAnnotationsParams, opts ...ClientOption) (*GetPublicAnnotationsOK, error)
func (*Client) GetPublicDashboard ¶
func (a *Client) GetPublicDashboard(dashboardUID string, opts ...ClientOption) (*GetPublicDashboardOK, error)
GetPublicDashboard Get public dashboard by dashboardUid
func (*Client) GetPublicDashboardWithParams ¶
func (a *Client) GetPublicDashboardWithParams(params *GetPublicDashboardParams, opts ...ClientOption) (*GetPublicDashboardOK, error)
func (*Client) ListPublicDashboards ¶
func (a *Client) ListPublicDashboards(opts ...ClientOption) (*ListPublicDashboardsOK, error)
ListPublicDashboards Get list of public dashboards
func (*Client) ListPublicDashboardsWithParams ¶
func (a *Client) ListPublicDashboardsWithParams(params *ListPublicDashboardsParams, opts ...ClientOption) (*ListPublicDashboardsOK, error)
func (*Client) QueryPublicDashboard ¶
func (a *Client) QueryPublicDashboard(panelID int64, accessToken string, opts ...ClientOption) (*QueryPublicDashboardOK, error)
QueryPublicDashboard Get results for a given panel on a public dashboard
func (*Client) QueryPublicDashboardWithParams ¶
func (a *Client) QueryPublicDashboardWithParams(params *QueryPublicDashboardParams, opts ...ClientOption) (*QueryPublicDashboardOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePublicDashboard ¶
func (a *Client) UpdatePublicDashboard(params *UpdatePublicDashboardParams, opts ...ClientOption) (*UpdatePublicDashboardOK, error)
func (*Client) ViewPublicDashboard ¶
func (a *Client) ViewPublicDashboard(accessToken string, opts ...ClientOption) (*ViewPublicDashboardOK, error)
ViewPublicDashboard Get public dashboard for view
func (*Client) ViewPublicDashboardWithParams ¶
func (a *Client) ViewPublicDashboardWithParams(params *ViewPublicDashboardParams, opts ...ClientOption) (*ViewPublicDashboardOK, error)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { CreatePublicDashboard(dashboardUID string, body *models.PublicDashboardDTO, opts ...ClientOption) (*CreatePublicDashboardOK, error) CreatePublicDashboardWithParams(params *CreatePublicDashboardParams, opts ...ClientOption) (*CreatePublicDashboardOK, error) DeletePublicDashboard(uid string, dashboardUID string, opts ...ClientOption) (*DeletePublicDashboardOK, error) DeletePublicDashboardWithParams(params *DeletePublicDashboardParams, opts ...ClientOption) (*DeletePublicDashboardOK, error) GetPublicAnnotations(accessToken string, opts ...ClientOption) (*GetPublicAnnotationsOK, error) GetPublicAnnotationsWithParams(params *GetPublicAnnotationsParams, opts ...ClientOption) (*GetPublicAnnotationsOK, error) GetPublicDashboard(dashboardUID string, opts ...ClientOption) (*GetPublicDashboardOK, error) GetPublicDashboardWithParams(params *GetPublicDashboardParams, opts ...ClientOption) (*GetPublicDashboardOK, error) ListPublicDashboards(opts ...ClientOption) (*ListPublicDashboardsOK, error) ListPublicDashboardsWithParams(params *ListPublicDashboardsParams, opts ...ClientOption) (*ListPublicDashboardsOK, error) QueryPublicDashboard(panelID int64, accessToken string, opts ...ClientOption) (*QueryPublicDashboardOK, error) QueryPublicDashboardWithParams(params *QueryPublicDashboardParams, opts ...ClientOption) (*QueryPublicDashboardOK, error) UpdatePublicDashboard(params *UpdatePublicDashboardParams, opts ...ClientOption) (*UpdatePublicDashboardOK, error) ViewPublicDashboard(accessToken string, opts ...ClientOption) (*ViewPublicDashboardOK, error) ViewPublicDashboardWithParams(params *ViewPublicDashboardParams, opts ...ClientOption) (*ViewPublicDashboardOK, 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 public API client.
type CreatePublicDashboardBadRequest ¶
type CreatePublicDashboardBadRequest struct {
Payload *models.PublicError
}
CreatePublicDashboardBadRequest describes a response with status code 400, with default header values.
BadRequestPublicError is returned when the request is invalid and it cannot be processed.
func NewCreatePublicDashboardBadRequest ¶
func NewCreatePublicDashboardBadRequest() *CreatePublicDashboardBadRequest
NewCreatePublicDashboardBadRequest creates a CreatePublicDashboardBadRequest with default headers values
func (*CreatePublicDashboardBadRequest) Code ¶
func (o *CreatePublicDashboardBadRequest) Code() int
Code gets the status code for the create public dashboard bad request response
func (*CreatePublicDashboardBadRequest) Error ¶
func (o *CreatePublicDashboardBadRequest) Error() string
func (*CreatePublicDashboardBadRequest) GetPayload ¶
func (o *CreatePublicDashboardBadRequest) GetPayload() *models.PublicError
func (*CreatePublicDashboardBadRequest) IsClientError ¶
func (o *CreatePublicDashboardBadRequest) IsClientError() bool
IsClientError returns true when this create public dashboard bad request response has a 4xx status code
func (*CreatePublicDashboardBadRequest) IsCode ¶
func (o *CreatePublicDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this create public dashboard bad request response a status code equal to that given
func (*CreatePublicDashboardBadRequest) IsRedirect ¶
func (o *CreatePublicDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this create public dashboard bad request response has a 3xx status code
func (*CreatePublicDashboardBadRequest) IsServerError ¶
func (o *CreatePublicDashboardBadRequest) IsServerError() bool
IsServerError returns true when this create public dashboard bad request response has a 5xx status code
func (*CreatePublicDashboardBadRequest) IsSuccess ¶
func (o *CreatePublicDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this create public dashboard bad request response has a 2xx status code
func (*CreatePublicDashboardBadRequest) String ¶
func (o *CreatePublicDashboardBadRequest) String() string
type CreatePublicDashboardForbidden ¶
type CreatePublicDashboardForbidden struct {
Payload *models.PublicError
}
CreatePublicDashboardForbidden describes a response with status code 403, with default header values.
ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.
func NewCreatePublicDashboardForbidden ¶
func NewCreatePublicDashboardForbidden() *CreatePublicDashboardForbidden
NewCreatePublicDashboardForbidden creates a CreatePublicDashboardForbidden with default headers values
func (*CreatePublicDashboardForbidden) Code ¶
func (o *CreatePublicDashboardForbidden) Code() int
Code gets the status code for the create public dashboard forbidden response
func (*CreatePublicDashboardForbidden) Error ¶
func (o *CreatePublicDashboardForbidden) Error() string
func (*CreatePublicDashboardForbidden) GetPayload ¶
func (o *CreatePublicDashboardForbidden) GetPayload() *models.PublicError
func (*CreatePublicDashboardForbidden) IsClientError ¶
func (o *CreatePublicDashboardForbidden) IsClientError() bool
IsClientError returns true when this create public dashboard forbidden response has a 4xx status code
func (*CreatePublicDashboardForbidden) IsCode ¶
func (o *CreatePublicDashboardForbidden) IsCode(code int) bool
IsCode returns true when this create public dashboard forbidden response a status code equal to that given
func (*CreatePublicDashboardForbidden) IsRedirect ¶
func (o *CreatePublicDashboardForbidden) IsRedirect() bool
IsRedirect returns true when this create public dashboard forbidden response has a 3xx status code
func (*CreatePublicDashboardForbidden) IsServerError ¶
func (o *CreatePublicDashboardForbidden) IsServerError() bool
IsServerError returns true when this create public dashboard forbidden response has a 5xx status code
func (*CreatePublicDashboardForbidden) IsSuccess ¶
func (o *CreatePublicDashboardForbidden) IsSuccess() bool
IsSuccess returns true when this create public dashboard forbidden response has a 2xx status code
func (*CreatePublicDashboardForbidden) String ¶
func (o *CreatePublicDashboardForbidden) String() string
type CreatePublicDashboardInternalServerError ¶
type CreatePublicDashboardInternalServerError struct {
Payload *models.PublicError
}
CreatePublicDashboardInternalServerError describes a response with status code 500, with default header values.
InternalServerPublicError is a general error indicating something went wrong internally.
func NewCreatePublicDashboardInternalServerError ¶
func NewCreatePublicDashboardInternalServerError() *CreatePublicDashboardInternalServerError
NewCreatePublicDashboardInternalServerError creates a CreatePublicDashboardInternalServerError with default headers values
func (*CreatePublicDashboardInternalServerError) Code ¶
func (o *CreatePublicDashboardInternalServerError) Code() int
Code gets the status code for the create public dashboard internal server error response
func (*CreatePublicDashboardInternalServerError) Error ¶
func (o *CreatePublicDashboardInternalServerError) Error() string
func (*CreatePublicDashboardInternalServerError) GetPayload ¶
func (o *CreatePublicDashboardInternalServerError) GetPayload() *models.PublicError
func (*CreatePublicDashboardInternalServerError) IsClientError ¶
func (o *CreatePublicDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this create public dashboard internal server error response has a 4xx status code
func (*CreatePublicDashboardInternalServerError) IsCode ¶
func (o *CreatePublicDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this create public dashboard internal server error response a status code equal to that given
func (*CreatePublicDashboardInternalServerError) IsRedirect ¶
func (o *CreatePublicDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this create public dashboard internal server error response has a 3xx status code
func (*CreatePublicDashboardInternalServerError) IsServerError ¶
func (o *CreatePublicDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this create public dashboard internal server error response has a 5xx status code
func (*CreatePublicDashboardInternalServerError) IsSuccess ¶
func (o *CreatePublicDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this create public dashboard internal server error response has a 2xx status code
func (*CreatePublicDashboardInternalServerError) String ¶
func (o *CreatePublicDashboardInternalServerError) String() string
type CreatePublicDashboardOK ¶
type CreatePublicDashboardOK struct {
Payload *models.PublicDashboard
}
CreatePublicDashboardOK describes a response with status code 200, with default header values.
(empty)
func NewCreatePublicDashboardOK ¶
func NewCreatePublicDashboardOK() *CreatePublicDashboardOK
NewCreatePublicDashboardOK creates a CreatePublicDashboardOK with default headers values
func (*CreatePublicDashboardOK) Code ¶
func (o *CreatePublicDashboardOK) Code() int
Code gets the status code for the create public dashboard Ok response
func (*CreatePublicDashboardOK) Error ¶
func (o *CreatePublicDashboardOK) Error() string
func (*CreatePublicDashboardOK) GetPayload ¶
func (o *CreatePublicDashboardOK) GetPayload() *models.PublicDashboard
func (*CreatePublicDashboardOK) IsClientError ¶
func (o *CreatePublicDashboardOK) IsClientError() bool
IsClientError returns true when this create public dashboard Ok response has a 4xx status code
func (*CreatePublicDashboardOK) IsCode ¶
func (o *CreatePublicDashboardOK) IsCode(code int) bool
IsCode returns true when this create public dashboard Ok response a status code equal to that given
func (*CreatePublicDashboardOK) IsRedirect ¶
func (o *CreatePublicDashboardOK) IsRedirect() bool
IsRedirect returns true when this create public dashboard Ok response has a 3xx status code
func (*CreatePublicDashboardOK) IsServerError ¶
func (o *CreatePublicDashboardOK) IsServerError() bool
IsServerError returns true when this create public dashboard Ok response has a 5xx status code
func (*CreatePublicDashboardOK) IsSuccess ¶
func (o *CreatePublicDashboardOK) IsSuccess() bool
IsSuccess returns true when this create public dashboard Ok response has a 2xx status code
func (*CreatePublicDashboardOK) String ¶
func (o *CreatePublicDashboardOK) String() string
type CreatePublicDashboardParams ¶
type CreatePublicDashboardParams struct { // Body. Body *models.PublicDashboardDTO // DashboardUID. DashboardUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePublicDashboardParams contains all the parameters to send to the API endpoint
for the create public dashboard operation. Typically these are written to a http.Request.
func NewCreatePublicDashboardParams ¶
func NewCreatePublicDashboardParams() *CreatePublicDashboardParams
NewCreatePublicDashboardParams creates a new CreatePublicDashboardParams 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 NewCreatePublicDashboardParamsWithContext ¶
func NewCreatePublicDashboardParamsWithContext(ctx context.Context) *CreatePublicDashboardParams
NewCreatePublicDashboardParamsWithContext creates a new CreatePublicDashboardParams object with the ability to set a context for a request.
func NewCreatePublicDashboardParamsWithHTTPClient ¶
func NewCreatePublicDashboardParamsWithHTTPClient(client *http.Client) *CreatePublicDashboardParams
NewCreatePublicDashboardParamsWithHTTPClient creates a new CreatePublicDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePublicDashboardParamsWithTimeout ¶
func NewCreatePublicDashboardParamsWithTimeout(timeout time.Duration) *CreatePublicDashboardParams
NewCreatePublicDashboardParamsWithTimeout creates a new CreatePublicDashboardParams object with the ability to set a timeout on a request.
func (*CreatePublicDashboardParams) SetBody ¶
func (o *CreatePublicDashboardParams) SetBody(body *models.PublicDashboardDTO)
SetBody adds the body to the create public dashboard params
func (*CreatePublicDashboardParams) SetContext ¶
func (o *CreatePublicDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the create public dashboard params
func (*CreatePublicDashboardParams) SetDashboardUID ¶
func (o *CreatePublicDashboardParams) SetDashboardUID(dashboardUID string)
SetDashboardUID adds the dashboardUid to the create public dashboard params
func (*CreatePublicDashboardParams) SetDefaults ¶
func (o *CreatePublicDashboardParams) SetDefaults()
SetDefaults hydrates default values in the create public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePublicDashboardParams) SetHTTPClient ¶
func (o *CreatePublicDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create public dashboard params
func (*CreatePublicDashboardParams) SetTimeout ¶
func (o *CreatePublicDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create public dashboard params
func (*CreatePublicDashboardParams) WithBody ¶
func (o *CreatePublicDashboardParams) WithBody(body *models.PublicDashboardDTO) *CreatePublicDashboardParams
WithBody adds the body to the create public dashboard params
func (*CreatePublicDashboardParams) WithContext ¶
func (o *CreatePublicDashboardParams) WithContext(ctx context.Context) *CreatePublicDashboardParams
WithContext adds the context to the create public dashboard params
func (*CreatePublicDashboardParams) WithDashboardUID ¶
func (o *CreatePublicDashboardParams) WithDashboardUID(dashboardUID string) *CreatePublicDashboardParams
WithDashboardUID adds the dashboardUID to the create public dashboard params
func (*CreatePublicDashboardParams) WithDefaults ¶
func (o *CreatePublicDashboardParams) WithDefaults() *CreatePublicDashboardParams
WithDefaults hydrates default values in the create public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePublicDashboardParams) WithHTTPClient ¶
func (o *CreatePublicDashboardParams) WithHTTPClient(client *http.Client) *CreatePublicDashboardParams
WithHTTPClient adds the HTTPClient to the create public dashboard params
func (*CreatePublicDashboardParams) WithTimeout ¶
func (o *CreatePublicDashboardParams) WithTimeout(timeout time.Duration) *CreatePublicDashboardParams
WithTimeout adds the timeout to the create public dashboard params
func (*CreatePublicDashboardParams) WriteToRequest ¶
func (o *CreatePublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePublicDashboardReader ¶
type CreatePublicDashboardReader struct {
// contains filtered or unexported fields
}
CreatePublicDashboardReader is a Reader for the CreatePublicDashboard structure.
func (*CreatePublicDashboardReader) ReadResponse ¶
func (o *CreatePublicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePublicDashboardUnauthorized ¶
type CreatePublicDashboardUnauthorized struct {
}CreatePublicDashboardUnauthorized describes a response with status code 401, with default header values.
UnauthorisedPublicError is returned when the request is not authenticated.
func NewCreatePublicDashboardUnauthorized ¶
func NewCreatePublicDashboardUnauthorized() *CreatePublicDashboardUnauthorized
NewCreatePublicDashboardUnauthorized creates a CreatePublicDashboardUnauthorized with default headers values
func (*CreatePublicDashboardUnauthorized) Code ¶
func (o *CreatePublicDashboardUnauthorized) Code() int
Code gets the status code for the create public dashboard unauthorized response
func (*CreatePublicDashboardUnauthorized) Error ¶
func (o *CreatePublicDashboardUnauthorized) Error() string
func (*CreatePublicDashboardUnauthorized) GetPayload ¶
func (o *CreatePublicDashboardUnauthorized) GetPayload() *models.PublicError
func (*CreatePublicDashboardUnauthorized) IsClientError ¶
func (o *CreatePublicDashboardUnauthorized) IsClientError() bool
IsClientError returns true when this create public dashboard unauthorized response has a 4xx status code
func (*CreatePublicDashboardUnauthorized) IsCode ¶
func (o *CreatePublicDashboardUnauthorized) IsCode(code int) bool
IsCode returns true when this create public dashboard unauthorized response a status code equal to that given
func (*CreatePublicDashboardUnauthorized) IsRedirect ¶
func (o *CreatePublicDashboardUnauthorized) IsRedirect() bool
IsRedirect returns true when this create public dashboard unauthorized response has a 3xx status code
func (*CreatePublicDashboardUnauthorized) IsServerError ¶
func (o *CreatePublicDashboardUnauthorized) IsServerError() bool
IsServerError returns true when this create public dashboard unauthorized response has a 5xx status code
func (*CreatePublicDashboardUnauthorized) IsSuccess ¶
func (o *CreatePublicDashboardUnauthorized) IsSuccess() bool
IsSuccess returns true when this create public dashboard unauthorized response has a 2xx status code
func (*CreatePublicDashboardUnauthorized) String ¶
func (o *CreatePublicDashboardUnauthorized) String() string
type DeletePublicDashboardBadRequest ¶
type DeletePublicDashboardBadRequest struct {
Payload *models.PublicError
}
DeletePublicDashboardBadRequest describes a response with status code 400, with default header values.
BadRequestPublicError is returned when the request is invalid and it cannot be processed.
func NewDeletePublicDashboardBadRequest ¶
func NewDeletePublicDashboardBadRequest() *DeletePublicDashboardBadRequest
NewDeletePublicDashboardBadRequest creates a DeletePublicDashboardBadRequest with default headers values
func (*DeletePublicDashboardBadRequest) Code ¶
func (o *DeletePublicDashboardBadRequest) Code() int
Code gets the status code for the delete public dashboard bad request response
func (*DeletePublicDashboardBadRequest) Error ¶
func (o *DeletePublicDashboardBadRequest) Error() string
func (*DeletePublicDashboardBadRequest) GetPayload ¶
func (o *DeletePublicDashboardBadRequest) GetPayload() *models.PublicError
func (*DeletePublicDashboardBadRequest) IsClientError ¶
func (o *DeletePublicDashboardBadRequest) IsClientError() bool
IsClientError returns true when this delete public dashboard bad request response has a 4xx status code
func (*DeletePublicDashboardBadRequest) IsCode ¶
func (o *DeletePublicDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this delete public dashboard bad request response a status code equal to that given
func (*DeletePublicDashboardBadRequest) IsRedirect ¶
func (o *DeletePublicDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this delete public dashboard bad request response has a 3xx status code
func (*DeletePublicDashboardBadRequest) IsServerError ¶
func (o *DeletePublicDashboardBadRequest) IsServerError() bool
IsServerError returns true when this delete public dashboard bad request response has a 5xx status code
func (*DeletePublicDashboardBadRequest) IsSuccess ¶
func (o *DeletePublicDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this delete public dashboard bad request response has a 2xx status code
func (*DeletePublicDashboardBadRequest) String ¶
func (o *DeletePublicDashboardBadRequest) String() string
type DeletePublicDashboardForbidden ¶
type DeletePublicDashboardForbidden struct {
Payload *models.PublicError
}
DeletePublicDashboardForbidden describes a response with status code 403, with default header values.
ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.
func NewDeletePublicDashboardForbidden ¶
func NewDeletePublicDashboardForbidden() *DeletePublicDashboardForbidden
NewDeletePublicDashboardForbidden creates a DeletePublicDashboardForbidden with default headers values
func (*DeletePublicDashboardForbidden) Code ¶
func (o *DeletePublicDashboardForbidden) Code() int
Code gets the status code for the delete public dashboard forbidden response
func (*DeletePublicDashboardForbidden) Error ¶
func (o *DeletePublicDashboardForbidden) Error() string
func (*DeletePublicDashboardForbidden) GetPayload ¶
func (o *DeletePublicDashboardForbidden) GetPayload() *models.PublicError
func (*DeletePublicDashboardForbidden) IsClientError ¶
func (o *DeletePublicDashboardForbidden) IsClientError() bool
IsClientError returns true when this delete public dashboard forbidden response has a 4xx status code
func (*DeletePublicDashboardForbidden) IsCode ¶
func (o *DeletePublicDashboardForbidden) IsCode(code int) bool
IsCode returns true when this delete public dashboard forbidden response a status code equal to that given
func (*DeletePublicDashboardForbidden) IsRedirect ¶
func (o *DeletePublicDashboardForbidden) IsRedirect() bool
IsRedirect returns true when this delete public dashboard forbidden response has a 3xx status code
func (*DeletePublicDashboardForbidden) IsServerError ¶
func (o *DeletePublicDashboardForbidden) IsServerError() bool
IsServerError returns true when this delete public dashboard forbidden response has a 5xx status code
func (*DeletePublicDashboardForbidden) IsSuccess ¶
func (o *DeletePublicDashboardForbidden) IsSuccess() bool
IsSuccess returns true when this delete public dashboard forbidden response has a 2xx status code
func (*DeletePublicDashboardForbidden) String ¶
func (o *DeletePublicDashboardForbidden) String() string
type DeletePublicDashboardInternalServerError ¶
type DeletePublicDashboardInternalServerError struct {
Payload *models.PublicError
}
DeletePublicDashboardInternalServerError describes a response with status code 500, with default header values.
InternalServerPublicError is a general error indicating something went wrong internally.
func NewDeletePublicDashboardInternalServerError ¶
func NewDeletePublicDashboardInternalServerError() *DeletePublicDashboardInternalServerError
NewDeletePublicDashboardInternalServerError creates a DeletePublicDashboardInternalServerError with default headers values
func (*DeletePublicDashboardInternalServerError) Code ¶
func (o *DeletePublicDashboardInternalServerError) Code() int
Code gets the status code for the delete public dashboard internal server error response
func (*DeletePublicDashboardInternalServerError) Error ¶
func (o *DeletePublicDashboardInternalServerError) Error() string
func (*DeletePublicDashboardInternalServerError) GetPayload ¶
func (o *DeletePublicDashboardInternalServerError) GetPayload() *models.PublicError
func (*DeletePublicDashboardInternalServerError) IsClientError ¶
func (o *DeletePublicDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this delete public dashboard internal server error response has a 4xx status code
func (*DeletePublicDashboardInternalServerError) IsCode ¶
func (o *DeletePublicDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this delete public dashboard internal server error response a status code equal to that given
func (*DeletePublicDashboardInternalServerError) IsRedirect ¶
func (o *DeletePublicDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete public dashboard internal server error response has a 3xx status code
func (*DeletePublicDashboardInternalServerError) IsServerError ¶
func (o *DeletePublicDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this delete public dashboard internal server error response has a 5xx status code
func (*DeletePublicDashboardInternalServerError) IsSuccess ¶
func (o *DeletePublicDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete public dashboard internal server error response has a 2xx status code
func (*DeletePublicDashboardInternalServerError) String ¶
func (o *DeletePublicDashboardInternalServerError) String() string
type DeletePublicDashboardOK ¶
type DeletePublicDashboardOK struct {
Payload *models.SuccessResponseBody
}
DeletePublicDashboardOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewDeletePublicDashboardOK ¶
func NewDeletePublicDashboardOK() *DeletePublicDashboardOK
NewDeletePublicDashboardOK creates a DeletePublicDashboardOK with default headers values
func (*DeletePublicDashboardOK) Code ¶
func (o *DeletePublicDashboardOK) Code() int
Code gets the status code for the delete public dashboard Ok response
func (*DeletePublicDashboardOK) Error ¶
func (o *DeletePublicDashboardOK) Error() string
func (*DeletePublicDashboardOK) GetPayload ¶
func (o *DeletePublicDashboardOK) GetPayload() *models.SuccessResponseBody
func (*DeletePublicDashboardOK) IsClientError ¶
func (o *DeletePublicDashboardOK) IsClientError() bool
IsClientError returns true when this delete public dashboard Ok response has a 4xx status code
func (*DeletePublicDashboardOK) IsCode ¶
func (o *DeletePublicDashboardOK) IsCode(code int) bool
IsCode returns true when this delete public dashboard Ok response a status code equal to that given
func (*DeletePublicDashboardOK) IsRedirect ¶
func (o *DeletePublicDashboardOK) IsRedirect() bool
IsRedirect returns true when this delete public dashboard Ok response has a 3xx status code
func (*DeletePublicDashboardOK) IsServerError ¶
func (o *DeletePublicDashboardOK) IsServerError() bool
IsServerError returns true when this delete public dashboard Ok response has a 5xx status code
func (*DeletePublicDashboardOK) IsSuccess ¶
func (o *DeletePublicDashboardOK) IsSuccess() bool
IsSuccess returns true when this delete public dashboard Ok response has a 2xx status code
func (*DeletePublicDashboardOK) String ¶
func (o *DeletePublicDashboardOK) String() string
type DeletePublicDashboardParams ¶
type DeletePublicDashboardParams struct { // DashboardUID. DashboardUID string // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePublicDashboardParams contains all the parameters to send to the API endpoint
for the delete public dashboard operation. Typically these are written to a http.Request.
func NewDeletePublicDashboardParams ¶
func NewDeletePublicDashboardParams() *DeletePublicDashboardParams
NewDeletePublicDashboardParams creates a new DeletePublicDashboardParams 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 NewDeletePublicDashboardParamsWithContext ¶
func NewDeletePublicDashboardParamsWithContext(ctx context.Context) *DeletePublicDashboardParams
NewDeletePublicDashboardParamsWithContext creates a new DeletePublicDashboardParams object with the ability to set a context for a request.
func NewDeletePublicDashboardParamsWithHTTPClient ¶
func NewDeletePublicDashboardParamsWithHTTPClient(client *http.Client) *DeletePublicDashboardParams
NewDeletePublicDashboardParamsWithHTTPClient creates a new DeletePublicDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePublicDashboardParamsWithTimeout ¶
func NewDeletePublicDashboardParamsWithTimeout(timeout time.Duration) *DeletePublicDashboardParams
NewDeletePublicDashboardParamsWithTimeout creates a new DeletePublicDashboardParams object with the ability to set a timeout on a request.
func (*DeletePublicDashboardParams) SetContext ¶
func (o *DeletePublicDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the delete public dashboard params
func (*DeletePublicDashboardParams) SetDashboardUID ¶
func (o *DeletePublicDashboardParams) SetDashboardUID(dashboardUID string)
SetDashboardUID adds the dashboardUid to the delete public dashboard params
func (*DeletePublicDashboardParams) SetDefaults ¶
func (o *DeletePublicDashboardParams) SetDefaults()
SetDefaults hydrates default values in the delete public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePublicDashboardParams) SetHTTPClient ¶
func (o *DeletePublicDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete public dashboard params
func (*DeletePublicDashboardParams) SetTimeout ¶
func (o *DeletePublicDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete public dashboard params
func (*DeletePublicDashboardParams) SetUID ¶
func (o *DeletePublicDashboardParams) SetUID(uid string)
SetUID adds the uid to the delete public dashboard params
func (*DeletePublicDashboardParams) WithContext ¶
func (o *DeletePublicDashboardParams) WithContext(ctx context.Context) *DeletePublicDashboardParams
WithContext adds the context to the delete public dashboard params
func (*DeletePublicDashboardParams) WithDashboardUID ¶
func (o *DeletePublicDashboardParams) WithDashboardUID(dashboardUID string) *DeletePublicDashboardParams
WithDashboardUID adds the dashboardUID to the delete public dashboard params
func (*DeletePublicDashboardParams) WithDefaults ¶
func (o *DeletePublicDashboardParams) WithDefaults() *DeletePublicDashboardParams
WithDefaults hydrates default values in the delete public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePublicDashboardParams) WithHTTPClient ¶
func (o *DeletePublicDashboardParams) WithHTTPClient(client *http.Client) *DeletePublicDashboardParams
WithHTTPClient adds the HTTPClient to the delete public dashboard params
func (*DeletePublicDashboardParams) WithTimeout ¶
func (o *DeletePublicDashboardParams) WithTimeout(timeout time.Duration) *DeletePublicDashboardParams
WithTimeout adds the timeout to the delete public dashboard params
func (*DeletePublicDashboardParams) WithUID ¶
func (o *DeletePublicDashboardParams) WithUID(uid string) *DeletePublicDashboardParams
WithUID adds the uid to the delete public dashboard params
func (*DeletePublicDashboardParams) WriteToRequest ¶
func (o *DeletePublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePublicDashboardReader ¶
type DeletePublicDashboardReader struct {
// contains filtered or unexported fields
}
DeletePublicDashboardReader is a Reader for the DeletePublicDashboard structure.
func (*DeletePublicDashboardReader) ReadResponse ¶
func (o *DeletePublicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePublicDashboardUnauthorized ¶
type DeletePublicDashboardUnauthorized struct {
}DeletePublicDashboardUnauthorized describes a response with status code 401, with default header values.
UnauthorisedPublicError is returned when the request is not authenticated.
func NewDeletePublicDashboardUnauthorized ¶
func NewDeletePublicDashboardUnauthorized() *DeletePublicDashboardUnauthorized
NewDeletePublicDashboardUnauthorized creates a DeletePublicDashboardUnauthorized with default headers values
func (*DeletePublicDashboardUnauthorized) Code ¶
func (o *DeletePublicDashboardUnauthorized) Code() int
Code gets the status code for the delete public dashboard unauthorized response
func (*DeletePublicDashboardUnauthorized) Error ¶
func (o *DeletePublicDashboardUnauthorized) Error() string
func (*DeletePublicDashboardUnauthorized) GetPayload ¶
func (o *DeletePublicDashboardUnauthorized) GetPayload() *models.PublicError
func (*DeletePublicDashboardUnauthorized) IsClientError ¶
func (o *DeletePublicDashboardUnauthorized) IsClientError() bool
IsClientError returns true when this delete public dashboard unauthorized response has a 4xx status code
func (*DeletePublicDashboardUnauthorized) IsCode ¶
func (o *DeletePublicDashboardUnauthorized) IsCode(code int) bool
IsCode returns true when this delete public dashboard unauthorized response a status code equal to that given
func (*DeletePublicDashboardUnauthorized) IsRedirect ¶
func (o *DeletePublicDashboardUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete public dashboard unauthorized response has a 3xx status code
func (*DeletePublicDashboardUnauthorized) IsServerError ¶
func (o *DeletePublicDashboardUnauthorized) IsServerError() bool
IsServerError returns true when this delete public dashboard unauthorized response has a 5xx status code
func (*DeletePublicDashboardUnauthorized) IsSuccess ¶
func (o *DeletePublicDashboardUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete public dashboard unauthorized response has a 2xx status code
func (*DeletePublicDashboardUnauthorized) String ¶
func (o *DeletePublicDashboardUnauthorized) String() string
type GetPublicAnnotationsBadRequest ¶
type GetPublicAnnotationsBadRequest struct {
Payload *models.PublicError
}
GetPublicAnnotationsBadRequest describes a response with status code 400, with default header values.
BadRequestPublicError is returned when the request is invalid and it cannot be processed.
func NewGetPublicAnnotationsBadRequest ¶
func NewGetPublicAnnotationsBadRequest() *GetPublicAnnotationsBadRequest
NewGetPublicAnnotationsBadRequest creates a GetPublicAnnotationsBadRequest with default headers values
func (*GetPublicAnnotationsBadRequest) Code ¶
func (o *GetPublicAnnotationsBadRequest) Code() int
Code gets the status code for the get public annotations bad request response
func (*GetPublicAnnotationsBadRequest) Error ¶
func (o *GetPublicAnnotationsBadRequest) Error() string
func (*GetPublicAnnotationsBadRequest) GetPayload ¶
func (o *GetPublicAnnotationsBadRequest) GetPayload() *models.PublicError
func (*GetPublicAnnotationsBadRequest) IsClientError ¶
func (o *GetPublicAnnotationsBadRequest) IsClientError() bool
IsClientError returns true when this get public annotations bad request response has a 4xx status code
func (*GetPublicAnnotationsBadRequest) IsCode ¶
func (o *GetPublicAnnotationsBadRequest) IsCode(code int) bool
IsCode returns true when this get public annotations bad request response a status code equal to that given
func (*GetPublicAnnotationsBadRequest) IsRedirect ¶
func (o *GetPublicAnnotationsBadRequest) IsRedirect() bool
IsRedirect returns true when this get public annotations bad request response has a 3xx status code
func (*GetPublicAnnotationsBadRequest) IsServerError ¶
func (o *GetPublicAnnotationsBadRequest) IsServerError() bool
IsServerError returns true when this get public annotations bad request response has a 5xx status code
func (*GetPublicAnnotationsBadRequest) IsSuccess ¶
func (o *GetPublicAnnotationsBadRequest) IsSuccess() bool
IsSuccess returns true when this get public annotations bad request response has a 2xx status code
func (*GetPublicAnnotationsBadRequest) String ¶
func (o *GetPublicAnnotationsBadRequest) String() string
type GetPublicAnnotationsForbidden ¶
type GetPublicAnnotationsForbidden struct {
Payload *models.PublicError
}
GetPublicAnnotationsForbidden describes a response with status code 403, with default header values.
ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetPublicAnnotationsForbidden ¶
func NewGetPublicAnnotationsForbidden() *GetPublicAnnotationsForbidden
NewGetPublicAnnotationsForbidden creates a GetPublicAnnotationsForbidden with default headers values
func (*GetPublicAnnotationsForbidden) Code ¶
func (o *GetPublicAnnotationsForbidden) Code() int
Code gets the status code for the get public annotations forbidden response
func (*GetPublicAnnotationsForbidden) Error ¶
func (o *GetPublicAnnotationsForbidden) Error() string
func (*GetPublicAnnotationsForbidden) GetPayload ¶
func (o *GetPublicAnnotationsForbidden) GetPayload() *models.PublicError
func (*GetPublicAnnotationsForbidden) IsClientError ¶
func (o *GetPublicAnnotationsForbidden) IsClientError() bool
IsClientError returns true when this get public annotations forbidden response has a 4xx status code
func (*GetPublicAnnotationsForbidden) IsCode ¶
func (o *GetPublicAnnotationsForbidden) IsCode(code int) bool
IsCode returns true when this get public annotations forbidden response a status code equal to that given
func (*GetPublicAnnotationsForbidden) IsRedirect ¶
func (o *GetPublicAnnotationsForbidden) IsRedirect() bool
IsRedirect returns true when this get public annotations forbidden response has a 3xx status code
func (*GetPublicAnnotationsForbidden) IsServerError ¶
func (o *GetPublicAnnotationsForbidden) IsServerError() bool
IsServerError returns true when this get public annotations forbidden response has a 5xx status code
func (*GetPublicAnnotationsForbidden) IsSuccess ¶
func (o *GetPublicAnnotationsForbidden) IsSuccess() bool
IsSuccess returns true when this get public annotations forbidden response has a 2xx status code
func (*GetPublicAnnotationsForbidden) String ¶
func (o *GetPublicAnnotationsForbidden) String() string
type GetPublicAnnotationsInternalServerError ¶
type GetPublicAnnotationsInternalServerError struct {
Payload *models.PublicError
}
GetPublicAnnotationsInternalServerError describes a response with status code 500, with default header values.
InternalServerPublicError is a general error indicating something went wrong internally.
func NewGetPublicAnnotationsInternalServerError ¶
func NewGetPublicAnnotationsInternalServerError() *GetPublicAnnotationsInternalServerError
NewGetPublicAnnotationsInternalServerError creates a GetPublicAnnotationsInternalServerError with default headers values
func (*GetPublicAnnotationsInternalServerError) Code ¶
func (o *GetPublicAnnotationsInternalServerError) Code() int
Code gets the status code for the get public annotations internal server error response
func (*GetPublicAnnotationsInternalServerError) Error ¶
func (o *GetPublicAnnotationsInternalServerError) Error() string
func (*GetPublicAnnotationsInternalServerError) GetPayload ¶
func (o *GetPublicAnnotationsInternalServerError) GetPayload() *models.PublicError
func (*GetPublicAnnotationsInternalServerError) IsClientError ¶
func (o *GetPublicAnnotationsInternalServerError) IsClientError() bool
IsClientError returns true when this get public annotations internal server error response has a 4xx status code
func (*GetPublicAnnotationsInternalServerError) IsCode ¶
func (o *GetPublicAnnotationsInternalServerError) IsCode(code int) bool
IsCode returns true when this get public annotations internal server error response a status code equal to that given
func (*GetPublicAnnotationsInternalServerError) IsRedirect ¶
func (o *GetPublicAnnotationsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get public annotations internal server error response has a 3xx status code
func (*GetPublicAnnotationsInternalServerError) IsServerError ¶
func (o *GetPublicAnnotationsInternalServerError) IsServerError() bool
IsServerError returns true when this get public annotations internal server error response has a 5xx status code
func (*GetPublicAnnotationsInternalServerError) IsSuccess ¶
func (o *GetPublicAnnotationsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get public annotations internal server error response has a 2xx status code
func (*GetPublicAnnotationsInternalServerError) String ¶
func (o *GetPublicAnnotationsInternalServerError) String() string
type GetPublicAnnotationsNotFound ¶
type GetPublicAnnotationsNotFound struct {
Payload *models.PublicError
}
GetPublicAnnotationsNotFound describes a response with status code 404, with default header values.
NotFoundPublicError is returned when the requested resource was not found.
func NewGetPublicAnnotationsNotFound ¶
func NewGetPublicAnnotationsNotFound() *GetPublicAnnotationsNotFound
NewGetPublicAnnotationsNotFound creates a GetPublicAnnotationsNotFound with default headers values
func (*GetPublicAnnotationsNotFound) Code ¶
func (o *GetPublicAnnotationsNotFound) Code() int
Code gets the status code for the get public annotations not found response
func (*GetPublicAnnotationsNotFound) Error ¶
func (o *GetPublicAnnotationsNotFound) Error() string
func (*GetPublicAnnotationsNotFound) GetPayload ¶
func (o *GetPublicAnnotationsNotFound) GetPayload() *models.PublicError
func (*GetPublicAnnotationsNotFound) IsClientError ¶
func (o *GetPublicAnnotationsNotFound) IsClientError() bool
IsClientError returns true when this get public annotations not found response has a 4xx status code
func (*GetPublicAnnotationsNotFound) IsCode ¶
func (o *GetPublicAnnotationsNotFound) IsCode(code int) bool
IsCode returns true when this get public annotations not found response a status code equal to that given
func (*GetPublicAnnotationsNotFound) IsRedirect ¶
func (o *GetPublicAnnotationsNotFound) IsRedirect() bool
IsRedirect returns true when this get public annotations not found response has a 3xx status code
func (*GetPublicAnnotationsNotFound) IsServerError ¶
func (o *GetPublicAnnotationsNotFound) IsServerError() bool
IsServerError returns true when this get public annotations not found response has a 5xx status code
func (*GetPublicAnnotationsNotFound) IsSuccess ¶
func (o *GetPublicAnnotationsNotFound) IsSuccess() bool
IsSuccess returns true when this get public annotations not found response has a 2xx status code
func (*GetPublicAnnotationsNotFound) String ¶
func (o *GetPublicAnnotationsNotFound) String() string
type GetPublicAnnotationsOK ¶
type GetPublicAnnotationsOK struct {
Payload []*models.AnnotationEvent
}
GetPublicAnnotationsOK describes a response with status code 200, with default header values.
(empty)
func NewGetPublicAnnotationsOK ¶
func NewGetPublicAnnotationsOK() *GetPublicAnnotationsOK
NewGetPublicAnnotationsOK creates a GetPublicAnnotationsOK with default headers values
func (*GetPublicAnnotationsOK) Code ¶
func (o *GetPublicAnnotationsOK) Code() int
Code gets the status code for the get public annotations Ok response
func (*GetPublicAnnotationsOK) Error ¶
func (o *GetPublicAnnotationsOK) Error() string
func (*GetPublicAnnotationsOK) GetPayload ¶
func (o *GetPublicAnnotationsOK) GetPayload() []*models.AnnotationEvent
func (*GetPublicAnnotationsOK) IsClientError ¶
func (o *GetPublicAnnotationsOK) IsClientError() bool
IsClientError returns true when this get public annotations Ok response has a 4xx status code
func (*GetPublicAnnotationsOK) IsCode ¶
func (o *GetPublicAnnotationsOK) IsCode(code int) bool
IsCode returns true when this get public annotations Ok response a status code equal to that given
func (*GetPublicAnnotationsOK) IsRedirect ¶
func (o *GetPublicAnnotationsOK) IsRedirect() bool
IsRedirect returns true when this get public annotations Ok response has a 3xx status code
func (*GetPublicAnnotationsOK) IsServerError ¶
func (o *GetPublicAnnotationsOK) IsServerError() bool
IsServerError returns true when this get public annotations Ok response has a 5xx status code
func (*GetPublicAnnotationsOK) IsSuccess ¶
func (o *GetPublicAnnotationsOK) IsSuccess() bool
IsSuccess returns true when this get public annotations Ok response has a 2xx status code
func (*GetPublicAnnotationsOK) String ¶
func (o *GetPublicAnnotationsOK) String() string
type GetPublicAnnotationsParams ¶
type GetPublicAnnotationsParams struct { // AccessToken. AccessToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicAnnotationsParams contains all the parameters to send to the API endpoint
for the get public annotations operation. Typically these are written to a http.Request.
func NewGetPublicAnnotationsParams ¶
func NewGetPublicAnnotationsParams() *GetPublicAnnotationsParams
NewGetPublicAnnotationsParams creates a new GetPublicAnnotationsParams 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 NewGetPublicAnnotationsParamsWithContext ¶
func NewGetPublicAnnotationsParamsWithContext(ctx context.Context) *GetPublicAnnotationsParams
NewGetPublicAnnotationsParamsWithContext creates a new GetPublicAnnotationsParams object with the ability to set a context for a request.
func NewGetPublicAnnotationsParamsWithHTTPClient ¶
func NewGetPublicAnnotationsParamsWithHTTPClient(client *http.Client) *GetPublicAnnotationsParams
NewGetPublicAnnotationsParamsWithHTTPClient creates a new GetPublicAnnotationsParams object with the ability to set a custom HTTPClient for a request.
func NewGetPublicAnnotationsParamsWithTimeout ¶
func NewGetPublicAnnotationsParamsWithTimeout(timeout time.Duration) *GetPublicAnnotationsParams
NewGetPublicAnnotationsParamsWithTimeout creates a new GetPublicAnnotationsParams object with the ability to set a timeout on a request.
func (*GetPublicAnnotationsParams) SetAccessToken ¶
func (o *GetPublicAnnotationsParams) SetAccessToken(accessToken string)
SetAccessToken adds the accessToken to the get public annotations params
func (*GetPublicAnnotationsParams) SetContext ¶
func (o *GetPublicAnnotationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get public annotations params
func (*GetPublicAnnotationsParams) SetDefaults ¶
func (o *GetPublicAnnotationsParams) SetDefaults()
SetDefaults hydrates default values in the get public annotations params (not the query body).
All values with no default are reset to their zero value.
func (*GetPublicAnnotationsParams) SetHTTPClient ¶
func (o *GetPublicAnnotationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public annotations params
func (*GetPublicAnnotationsParams) SetTimeout ¶
func (o *GetPublicAnnotationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public annotations params
func (*GetPublicAnnotationsParams) WithAccessToken ¶
func (o *GetPublicAnnotationsParams) WithAccessToken(accessToken string) *GetPublicAnnotationsParams
WithAccessToken adds the accessToken to the get public annotations params
func (*GetPublicAnnotationsParams) WithContext ¶
func (o *GetPublicAnnotationsParams) WithContext(ctx context.Context) *GetPublicAnnotationsParams
WithContext adds the context to the get public annotations params
func (*GetPublicAnnotationsParams) WithDefaults ¶
func (o *GetPublicAnnotationsParams) WithDefaults() *GetPublicAnnotationsParams
WithDefaults hydrates default values in the get public annotations params (not the query body).
All values with no default are reset to their zero value.
func (*GetPublicAnnotationsParams) WithHTTPClient ¶
func (o *GetPublicAnnotationsParams) WithHTTPClient(client *http.Client) *GetPublicAnnotationsParams
WithHTTPClient adds the HTTPClient to the get public annotations params
func (*GetPublicAnnotationsParams) WithTimeout ¶
func (o *GetPublicAnnotationsParams) WithTimeout(timeout time.Duration) *GetPublicAnnotationsParams
WithTimeout adds the timeout to the get public annotations params
func (*GetPublicAnnotationsParams) WriteToRequest ¶
func (o *GetPublicAnnotationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicAnnotationsReader ¶
type GetPublicAnnotationsReader struct {
// contains filtered or unexported fields
}
GetPublicAnnotationsReader is a Reader for the GetPublicAnnotations structure.
func (*GetPublicAnnotationsReader) ReadResponse ¶
func (o *GetPublicAnnotationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicAnnotationsUnauthorized ¶
type GetPublicAnnotationsUnauthorized struct {
}GetPublicAnnotationsUnauthorized describes a response with status code 401, with default header values.
UnauthorisedPublicError is returned when the request is not authenticated.
func NewGetPublicAnnotationsUnauthorized ¶
func NewGetPublicAnnotationsUnauthorized() *GetPublicAnnotationsUnauthorized
NewGetPublicAnnotationsUnauthorized creates a GetPublicAnnotationsUnauthorized with default headers values
func (*GetPublicAnnotationsUnauthorized) Code ¶
func (o *GetPublicAnnotationsUnauthorized) Code() int
Code gets the status code for the get public annotations unauthorized response
func (*GetPublicAnnotationsUnauthorized) Error ¶
func (o *GetPublicAnnotationsUnauthorized) Error() string
func (*GetPublicAnnotationsUnauthorized) GetPayload ¶
func (o *GetPublicAnnotationsUnauthorized) GetPayload() *models.PublicError
func (*GetPublicAnnotationsUnauthorized) IsClientError ¶
func (o *GetPublicAnnotationsUnauthorized) IsClientError() bool
IsClientError returns true when this get public annotations unauthorized response has a 4xx status code
func (*GetPublicAnnotationsUnauthorized) IsCode ¶
func (o *GetPublicAnnotationsUnauthorized) IsCode(code int) bool
IsCode returns true when this get public annotations unauthorized response a status code equal to that given
func (*GetPublicAnnotationsUnauthorized) IsRedirect ¶
func (o *GetPublicAnnotationsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get public annotations unauthorized response has a 3xx status code
func (*GetPublicAnnotationsUnauthorized) IsServerError ¶
func (o *GetPublicAnnotationsUnauthorized) IsServerError() bool
IsServerError returns true when this get public annotations unauthorized response has a 5xx status code
func (*GetPublicAnnotationsUnauthorized) IsSuccess ¶
func (o *GetPublicAnnotationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get public annotations unauthorized response has a 2xx status code
func (*GetPublicAnnotationsUnauthorized) String ¶
func (o *GetPublicAnnotationsUnauthorized) String() string
type GetPublicDashboardBadRequest ¶
type GetPublicDashboardBadRequest struct {
Payload *models.PublicError
}
GetPublicDashboardBadRequest describes a response with status code 400, with default header values.
BadRequestPublicError is returned when the request is invalid and it cannot be processed.
func NewGetPublicDashboardBadRequest ¶
func NewGetPublicDashboardBadRequest() *GetPublicDashboardBadRequest
NewGetPublicDashboardBadRequest creates a GetPublicDashboardBadRequest with default headers values
func (*GetPublicDashboardBadRequest) Code ¶
func (o *GetPublicDashboardBadRequest) Code() int
Code gets the status code for the get public dashboard bad request response
func (*GetPublicDashboardBadRequest) Error ¶
func (o *GetPublicDashboardBadRequest) Error() string
func (*GetPublicDashboardBadRequest) GetPayload ¶
func (o *GetPublicDashboardBadRequest) GetPayload() *models.PublicError
func (*GetPublicDashboardBadRequest) IsClientError ¶
func (o *GetPublicDashboardBadRequest) IsClientError() bool
IsClientError returns true when this get public dashboard bad request response has a 4xx status code
func (*GetPublicDashboardBadRequest) IsCode ¶
func (o *GetPublicDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this get public dashboard bad request response a status code equal to that given
func (*GetPublicDashboardBadRequest) IsRedirect ¶
func (o *GetPublicDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this get public dashboard bad request response has a 3xx status code
func (*GetPublicDashboardBadRequest) IsServerError ¶
func (o *GetPublicDashboardBadRequest) IsServerError() bool
IsServerError returns true when this get public dashboard bad request response has a 5xx status code
func (*GetPublicDashboardBadRequest) IsSuccess ¶
func (o *GetPublicDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this get public dashboard bad request response has a 2xx status code
func (*GetPublicDashboardBadRequest) String ¶
func (o *GetPublicDashboardBadRequest) String() string
type GetPublicDashboardForbidden ¶
type GetPublicDashboardForbidden struct {
Payload *models.PublicError
}
GetPublicDashboardForbidden describes a response with status code 403, with default header values.
ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetPublicDashboardForbidden ¶
func NewGetPublicDashboardForbidden() *GetPublicDashboardForbidden
NewGetPublicDashboardForbidden creates a GetPublicDashboardForbidden with default headers values
func (*GetPublicDashboardForbidden) Code ¶
func (o *GetPublicDashboardForbidden) Code() int
Code gets the status code for the get public dashboard forbidden response
func (*GetPublicDashboardForbidden) Error ¶
func (o *GetPublicDashboardForbidden) Error() string
func (*GetPublicDashboardForbidden) GetPayload ¶
func (o *GetPublicDashboardForbidden) GetPayload() *models.PublicError
func (*GetPublicDashboardForbidden) IsClientError ¶
func (o *GetPublicDashboardForbidden) IsClientError() bool
IsClientError returns true when this get public dashboard forbidden response has a 4xx status code
func (*GetPublicDashboardForbidden) IsCode ¶
func (o *GetPublicDashboardForbidden) IsCode(code int) bool
IsCode returns true when this get public dashboard forbidden response a status code equal to that given
func (*GetPublicDashboardForbidden) IsRedirect ¶
func (o *GetPublicDashboardForbidden) IsRedirect() bool
IsRedirect returns true when this get public dashboard forbidden response has a 3xx status code
func (*GetPublicDashboardForbidden) IsServerError ¶
func (o *GetPublicDashboardForbidden) IsServerError() bool
IsServerError returns true when this get public dashboard forbidden response has a 5xx status code
func (*GetPublicDashboardForbidden) IsSuccess ¶
func (o *GetPublicDashboardForbidden) IsSuccess() bool
IsSuccess returns true when this get public dashboard forbidden response has a 2xx status code
func (*GetPublicDashboardForbidden) String ¶
func (o *GetPublicDashboardForbidden) String() string
type GetPublicDashboardInternalServerError ¶
type GetPublicDashboardInternalServerError struct {
Payload *models.PublicError
}
GetPublicDashboardInternalServerError describes a response with status code 500, with default header values.
InternalServerPublicError is a general error indicating something went wrong internally.
func NewGetPublicDashboardInternalServerError ¶
func NewGetPublicDashboardInternalServerError() *GetPublicDashboardInternalServerError
NewGetPublicDashboardInternalServerError creates a GetPublicDashboardInternalServerError with default headers values
func (*GetPublicDashboardInternalServerError) Code ¶
func (o *GetPublicDashboardInternalServerError) Code() int
Code gets the status code for the get public dashboard internal server error response
func (*GetPublicDashboardInternalServerError) Error ¶
func (o *GetPublicDashboardInternalServerError) Error() string
func (*GetPublicDashboardInternalServerError) GetPayload ¶
func (o *GetPublicDashboardInternalServerError) GetPayload() *models.PublicError
func (*GetPublicDashboardInternalServerError) IsClientError ¶
func (o *GetPublicDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this get public dashboard internal server error response has a 4xx status code
func (*GetPublicDashboardInternalServerError) IsCode ¶
func (o *GetPublicDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this get public dashboard internal server error response a status code equal to that given
func (*GetPublicDashboardInternalServerError) IsRedirect ¶
func (o *GetPublicDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this get public dashboard internal server error response has a 3xx status code
func (*GetPublicDashboardInternalServerError) IsServerError ¶
func (o *GetPublicDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this get public dashboard internal server error response has a 5xx status code
func (*GetPublicDashboardInternalServerError) IsSuccess ¶
func (o *GetPublicDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this get public dashboard internal server error response has a 2xx status code
func (*GetPublicDashboardInternalServerError) String ¶
func (o *GetPublicDashboardInternalServerError) String() string
type GetPublicDashboardNotFound ¶
type GetPublicDashboardNotFound struct {
Payload *models.PublicError
}
GetPublicDashboardNotFound describes a response with status code 404, with default header values.
NotFoundPublicError is returned when the requested resource was not found.
func NewGetPublicDashboardNotFound ¶
func NewGetPublicDashboardNotFound() *GetPublicDashboardNotFound
NewGetPublicDashboardNotFound creates a GetPublicDashboardNotFound with default headers values
func (*GetPublicDashboardNotFound) Code ¶
func (o *GetPublicDashboardNotFound) Code() int
Code gets the status code for the get public dashboard not found response
func (*GetPublicDashboardNotFound) Error ¶
func (o *GetPublicDashboardNotFound) Error() string
func (*GetPublicDashboardNotFound) GetPayload ¶
func (o *GetPublicDashboardNotFound) GetPayload() *models.PublicError
func (*GetPublicDashboardNotFound) IsClientError ¶
func (o *GetPublicDashboardNotFound) IsClientError() bool
IsClientError returns true when this get public dashboard not found response has a 4xx status code
func (*GetPublicDashboardNotFound) IsCode ¶
func (o *GetPublicDashboardNotFound) IsCode(code int) bool
IsCode returns true when this get public dashboard not found response a status code equal to that given
func (*GetPublicDashboardNotFound) IsRedirect ¶
func (o *GetPublicDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this get public dashboard not found response has a 3xx status code
func (*GetPublicDashboardNotFound) IsServerError ¶
func (o *GetPublicDashboardNotFound) IsServerError() bool
IsServerError returns true when this get public dashboard not found response has a 5xx status code
func (*GetPublicDashboardNotFound) IsSuccess ¶
func (o *GetPublicDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this get public dashboard not found response has a 2xx status code
func (*GetPublicDashboardNotFound) String ¶
func (o *GetPublicDashboardNotFound) String() string
type GetPublicDashboardOK ¶
type GetPublicDashboardOK struct {
Payload *models.PublicDashboard
}
GetPublicDashboardOK describes a response with status code 200, with default header values.
(empty)
func NewGetPublicDashboardOK ¶
func NewGetPublicDashboardOK() *GetPublicDashboardOK
NewGetPublicDashboardOK creates a GetPublicDashboardOK with default headers values
func (*GetPublicDashboardOK) Code ¶
func (o *GetPublicDashboardOK) Code() int
Code gets the status code for the get public dashboard Ok response
func (*GetPublicDashboardOK) Error ¶
func (o *GetPublicDashboardOK) Error() string
func (*GetPublicDashboardOK) GetPayload ¶
func (o *GetPublicDashboardOK) GetPayload() *models.PublicDashboard
func (*GetPublicDashboardOK) IsClientError ¶
func (o *GetPublicDashboardOK) IsClientError() bool
IsClientError returns true when this get public dashboard Ok response has a 4xx status code
func (*GetPublicDashboardOK) IsCode ¶
func (o *GetPublicDashboardOK) IsCode(code int) bool
IsCode returns true when this get public dashboard Ok response a status code equal to that given
func (*GetPublicDashboardOK) IsRedirect ¶
func (o *GetPublicDashboardOK) IsRedirect() bool
IsRedirect returns true when this get public dashboard Ok response has a 3xx status code
func (*GetPublicDashboardOK) IsServerError ¶
func (o *GetPublicDashboardOK) IsServerError() bool
IsServerError returns true when this get public dashboard Ok response has a 5xx status code
func (*GetPublicDashboardOK) IsSuccess ¶
func (o *GetPublicDashboardOK) IsSuccess() bool
IsSuccess returns true when this get public dashboard Ok response has a 2xx status code
func (*GetPublicDashboardOK) String ¶
func (o *GetPublicDashboardOK) String() string
type GetPublicDashboardParams ¶
type GetPublicDashboardParams struct { // DashboardUID. DashboardUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicDashboardParams contains all the parameters to send to the API endpoint
for the get public dashboard operation. Typically these are written to a http.Request.
func NewGetPublicDashboardParams ¶
func NewGetPublicDashboardParams() *GetPublicDashboardParams
NewGetPublicDashboardParams creates a new GetPublicDashboardParams 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 NewGetPublicDashboardParamsWithContext ¶
func NewGetPublicDashboardParamsWithContext(ctx context.Context) *GetPublicDashboardParams
NewGetPublicDashboardParamsWithContext creates a new GetPublicDashboardParams object with the ability to set a context for a request.
func NewGetPublicDashboardParamsWithHTTPClient ¶
func NewGetPublicDashboardParamsWithHTTPClient(client *http.Client) *GetPublicDashboardParams
NewGetPublicDashboardParamsWithHTTPClient creates a new GetPublicDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewGetPublicDashboardParamsWithTimeout ¶
func NewGetPublicDashboardParamsWithTimeout(timeout time.Duration) *GetPublicDashboardParams
NewGetPublicDashboardParamsWithTimeout creates a new GetPublicDashboardParams object with the ability to set a timeout on a request.
func (*GetPublicDashboardParams) SetContext ¶
func (o *GetPublicDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the get public dashboard params
func (*GetPublicDashboardParams) SetDashboardUID ¶
func (o *GetPublicDashboardParams) SetDashboardUID(dashboardUID string)
SetDashboardUID adds the dashboardUid to the get public dashboard params
func (*GetPublicDashboardParams) SetDefaults ¶
func (o *GetPublicDashboardParams) SetDefaults()
SetDefaults hydrates default values in the get public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*GetPublicDashboardParams) SetHTTPClient ¶
func (o *GetPublicDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public dashboard params
func (*GetPublicDashboardParams) SetTimeout ¶
func (o *GetPublicDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public dashboard params
func (*GetPublicDashboardParams) WithContext ¶
func (o *GetPublicDashboardParams) WithContext(ctx context.Context) *GetPublicDashboardParams
WithContext adds the context to the get public dashboard params
func (*GetPublicDashboardParams) WithDashboardUID ¶
func (o *GetPublicDashboardParams) WithDashboardUID(dashboardUID string) *GetPublicDashboardParams
WithDashboardUID adds the dashboardUID to the get public dashboard params
func (*GetPublicDashboardParams) WithDefaults ¶
func (o *GetPublicDashboardParams) WithDefaults() *GetPublicDashboardParams
WithDefaults hydrates default values in the get public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*GetPublicDashboardParams) WithHTTPClient ¶
func (o *GetPublicDashboardParams) WithHTTPClient(client *http.Client) *GetPublicDashboardParams
WithHTTPClient adds the HTTPClient to the get public dashboard params
func (*GetPublicDashboardParams) WithTimeout ¶
func (o *GetPublicDashboardParams) WithTimeout(timeout time.Duration) *GetPublicDashboardParams
WithTimeout adds the timeout to the get public dashboard params
func (*GetPublicDashboardParams) WriteToRequest ¶
func (o *GetPublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicDashboardReader ¶
type GetPublicDashboardReader struct {
// contains filtered or unexported fields
}
GetPublicDashboardReader is a Reader for the GetPublicDashboard structure.
func (*GetPublicDashboardReader) ReadResponse ¶
func (o *GetPublicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicDashboardUnauthorized ¶
type GetPublicDashboardUnauthorized struct {
}GetPublicDashboardUnauthorized describes a response with status code 401, with default header values.
UnauthorisedPublicError is returned when the request is not authenticated.
func NewGetPublicDashboardUnauthorized ¶
func NewGetPublicDashboardUnauthorized() *GetPublicDashboardUnauthorized
NewGetPublicDashboardUnauthorized creates a GetPublicDashboardUnauthorized with default headers values
func (*GetPublicDashboardUnauthorized) Code ¶
func (o *GetPublicDashboardUnauthorized) Code() int
Code gets the status code for the get public dashboard unauthorized response
func (*GetPublicDashboardUnauthorized) Error ¶
func (o *GetPublicDashboardUnauthorized) Error() string
func (*GetPublicDashboardUnauthorized) GetPayload ¶
func (o *GetPublicDashboardUnauthorized) GetPayload() *models.PublicError
func (*GetPublicDashboardUnauthorized) IsClientError ¶
func (o *GetPublicDashboardUnauthorized) IsClientError() bool
IsClientError returns true when this get public dashboard unauthorized response has a 4xx status code
func (*GetPublicDashboardUnauthorized) IsCode ¶
func (o *GetPublicDashboardUnauthorized) IsCode(code int) bool
IsCode returns true when this get public dashboard unauthorized response a status code equal to that given
func (*GetPublicDashboardUnauthorized) IsRedirect ¶
func (o *GetPublicDashboardUnauthorized) IsRedirect() bool
IsRedirect returns true when this get public dashboard unauthorized response has a 3xx status code
func (*GetPublicDashboardUnauthorized) IsServerError ¶
func (o *GetPublicDashboardUnauthorized) IsServerError() bool
IsServerError returns true when this get public dashboard unauthorized response has a 5xx status code
func (*GetPublicDashboardUnauthorized) IsSuccess ¶
func (o *GetPublicDashboardUnauthorized) IsSuccess() bool
IsSuccess returns true when this get public dashboard unauthorized response has a 2xx status code
func (*GetPublicDashboardUnauthorized) String ¶
func (o *GetPublicDashboardUnauthorized) String() string
type ListPublicDashboardsForbidden ¶
type ListPublicDashboardsForbidden struct {
Payload *models.PublicError
}
ListPublicDashboardsForbidden describes a response with status code 403, with default header values.
ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.
func NewListPublicDashboardsForbidden ¶
func NewListPublicDashboardsForbidden() *ListPublicDashboardsForbidden
NewListPublicDashboardsForbidden creates a ListPublicDashboardsForbidden with default headers values
func (*ListPublicDashboardsForbidden) Code ¶
func (o *ListPublicDashboardsForbidden) Code() int
Code gets the status code for the list public dashboards forbidden response
func (*ListPublicDashboardsForbidden) Error ¶
func (o *ListPublicDashboardsForbidden) Error() string
func (*ListPublicDashboardsForbidden) GetPayload ¶
func (o *ListPublicDashboardsForbidden) GetPayload() *models.PublicError
func (*ListPublicDashboardsForbidden) IsClientError ¶
func (o *ListPublicDashboardsForbidden) IsClientError() bool
IsClientError returns true when this list public dashboards forbidden response has a 4xx status code
func (*ListPublicDashboardsForbidden) IsCode ¶
func (o *ListPublicDashboardsForbidden) IsCode(code int) bool
IsCode returns true when this list public dashboards forbidden response a status code equal to that given
func (*ListPublicDashboardsForbidden) IsRedirect ¶
func (o *ListPublicDashboardsForbidden) IsRedirect() bool
IsRedirect returns true when this list public dashboards forbidden response has a 3xx status code
func (*ListPublicDashboardsForbidden) IsServerError ¶
func (o *ListPublicDashboardsForbidden) IsServerError() bool
IsServerError returns true when this list public dashboards forbidden response has a 5xx status code
func (*ListPublicDashboardsForbidden) IsSuccess ¶
func (o *ListPublicDashboardsForbidden) IsSuccess() bool
IsSuccess returns true when this list public dashboards forbidden response has a 2xx status code
func (*ListPublicDashboardsForbidden) String ¶
func (o *ListPublicDashboardsForbidden) String() string
type ListPublicDashboardsInternalServerError ¶
type ListPublicDashboardsInternalServerError struct {
Payload *models.PublicError
}
ListPublicDashboardsInternalServerError describes a response with status code 500, with default header values.
InternalServerPublicError is a general error indicating something went wrong internally.
func NewListPublicDashboardsInternalServerError ¶
func NewListPublicDashboardsInternalServerError() *ListPublicDashboardsInternalServerError
NewListPublicDashboardsInternalServerError creates a ListPublicDashboardsInternalServerError with default headers values
func (*ListPublicDashboardsInternalServerError) Code ¶
func (o *ListPublicDashboardsInternalServerError) Code() int
Code gets the status code for the list public dashboards internal server error response
func (*ListPublicDashboardsInternalServerError) Error ¶
func (o *ListPublicDashboardsInternalServerError) Error() string
func (*ListPublicDashboardsInternalServerError) GetPayload ¶
func (o *ListPublicDashboardsInternalServerError) GetPayload() *models.PublicError
func (*ListPublicDashboardsInternalServerError) IsClientError ¶
func (o *ListPublicDashboardsInternalServerError) IsClientError() bool
IsClientError returns true when this list public dashboards internal server error response has a 4xx status code
func (*ListPublicDashboardsInternalServerError) IsCode ¶
func (o *ListPublicDashboardsInternalServerError) IsCode(code int) bool
IsCode returns true when this list public dashboards internal server error response a status code equal to that given
func (*ListPublicDashboardsInternalServerError) IsRedirect ¶
func (o *ListPublicDashboardsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list public dashboards internal server error response has a 3xx status code
func (*ListPublicDashboardsInternalServerError) IsServerError ¶
func (o *ListPublicDashboardsInternalServerError) IsServerError() bool
IsServerError returns true when this list public dashboards internal server error response has a 5xx status code
func (*ListPublicDashboardsInternalServerError) IsSuccess ¶
func (o *ListPublicDashboardsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list public dashboards internal server error response has a 2xx status code
func (*ListPublicDashboardsInternalServerError) String ¶
func (o *ListPublicDashboardsInternalServerError) String() string
type ListPublicDashboardsOK ¶
type ListPublicDashboardsOK struct {
Payload *models.PublicDashboardListResponseWithPagination
}
ListPublicDashboardsOK describes a response with status code 200, with default header values.
(empty)
func NewListPublicDashboardsOK ¶
func NewListPublicDashboardsOK() *ListPublicDashboardsOK
NewListPublicDashboardsOK creates a ListPublicDashboardsOK with default headers values
func (*ListPublicDashboardsOK) Code ¶
func (o *ListPublicDashboardsOK) Code() int
Code gets the status code for the list public dashboards Ok response
func (*ListPublicDashboardsOK) Error ¶
func (o *ListPublicDashboardsOK) Error() string
func (*ListPublicDashboardsOK) GetPayload ¶
func (o *ListPublicDashboardsOK) GetPayload() *models.PublicDashboardListResponseWithPagination
func (*ListPublicDashboardsOK) IsClientError ¶
func (o *ListPublicDashboardsOK) IsClientError() bool
IsClientError returns true when this list public dashboards Ok response has a 4xx status code
func (*ListPublicDashboardsOK) IsCode ¶
func (o *ListPublicDashboardsOK) IsCode(code int) bool
IsCode returns true when this list public dashboards Ok response a status code equal to that given
func (*ListPublicDashboardsOK) IsRedirect ¶
func (o *ListPublicDashboardsOK) IsRedirect() bool
IsRedirect returns true when this list public dashboards Ok response has a 3xx status code
func (*ListPublicDashboardsOK) IsServerError ¶
func (o *ListPublicDashboardsOK) IsServerError() bool
IsServerError returns true when this list public dashboards Ok response has a 5xx status code
func (*ListPublicDashboardsOK) IsSuccess ¶
func (o *ListPublicDashboardsOK) IsSuccess() bool
IsSuccess returns true when this list public dashboards Ok response has a 2xx status code
func (*ListPublicDashboardsOK) String ¶
func (o *ListPublicDashboardsOK) String() string
type ListPublicDashboardsParams ¶
type ListPublicDashboardsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPublicDashboardsParams contains all the parameters to send to the API endpoint
for the list public dashboards operation. Typically these are written to a http.Request.
func NewListPublicDashboardsParams ¶
func NewListPublicDashboardsParams() *ListPublicDashboardsParams
NewListPublicDashboardsParams creates a new ListPublicDashboardsParams 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 NewListPublicDashboardsParamsWithContext ¶
func NewListPublicDashboardsParamsWithContext(ctx context.Context) *ListPublicDashboardsParams
NewListPublicDashboardsParamsWithContext creates a new ListPublicDashboardsParams object with the ability to set a context for a request.
func NewListPublicDashboardsParamsWithHTTPClient ¶
func NewListPublicDashboardsParamsWithHTTPClient(client *http.Client) *ListPublicDashboardsParams
NewListPublicDashboardsParamsWithHTTPClient creates a new ListPublicDashboardsParams object with the ability to set a custom HTTPClient for a request.
func NewListPublicDashboardsParamsWithTimeout ¶
func NewListPublicDashboardsParamsWithTimeout(timeout time.Duration) *ListPublicDashboardsParams
NewListPublicDashboardsParamsWithTimeout creates a new ListPublicDashboardsParams object with the ability to set a timeout on a request.
func (*ListPublicDashboardsParams) SetContext ¶
func (o *ListPublicDashboardsParams) SetContext(ctx context.Context)
SetContext adds the context to the list public dashboards params
func (*ListPublicDashboardsParams) SetDefaults ¶
func (o *ListPublicDashboardsParams) SetDefaults()
SetDefaults hydrates default values in the list public dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*ListPublicDashboardsParams) SetHTTPClient ¶
func (o *ListPublicDashboardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list public dashboards params
func (*ListPublicDashboardsParams) SetTimeout ¶
func (o *ListPublicDashboardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list public dashboards params
func (*ListPublicDashboardsParams) WithContext ¶
func (o *ListPublicDashboardsParams) WithContext(ctx context.Context) *ListPublicDashboardsParams
WithContext adds the context to the list public dashboards params
func (*ListPublicDashboardsParams) WithDefaults ¶
func (o *ListPublicDashboardsParams) WithDefaults() *ListPublicDashboardsParams
WithDefaults hydrates default values in the list public dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*ListPublicDashboardsParams) WithHTTPClient ¶
func (o *ListPublicDashboardsParams) WithHTTPClient(client *http.Client) *ListPublicDashboardsParams
WithHTTPClient adds the HTTPClient to the list public dashboards params
func (*ListPublicDashboardsParams) WithTimeout ¶
func (o *ListPublicDashboardsParams) WithTimeout(timeout time.Duration) *ListPublicDashboardsParams
WithTimeout adds the timeout to the list public dashboards params
func (*ListPublicDashboardsParams) WriteToRequest ¶
func (o *ListPublicDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPublicDashboardsReader ¶
type ListPublicDashboardsReader struct {
// contains filtered or unexported fields
}
ListPublicDashboardsReader is a Reader for the ListPublicDashboards structure.
func (*ListPublicDashboardsReader) ReadResponse ¶
func (o *ListPublicDashboardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPublicDashboardsUnauthorized ¶
type ListPublicDashboardsUnauthorized struct {
}ListPublicDashboardsUnauthorized describes a response with status code 401, with default header values.
UnauthorisedPublicError is returned when the request is not authenticated.
func NewListPublicDashboardsUnauthorized ¶
func NewListPublicDashboardsUnauthorized() *ListPublicDashboardsUnauthorized
NewListPublicDashboardsUnauthorized creates a ListPublicDashboardsUnauthorized with default headers values
func (*ListPublicDashboardsUnauthorized) Code ¶
func (o *ListPublicDashboardsUnauthorized) Code() int
Code gets the status code for the list public dashboards unauthorized response
func (*ListPublicDashboardsUnauthorized) Error ¶
func (o *ListPublicDashboardsUnauthorized) Error() string
func (*ListPublicDashboardsUnauthorized) GetPayload ¶
func (o *ListPublicDashboardsUnauthorized) GetPayload() *models.PublicError
func (*ListPublicDashboardsUnauthorized) IsClientError ¶
func (o *ListPublicDashboardsUnauthorized) IsClientError() bool
IsClientError returns true when this list public dashboards unauthorized response has a 4xx status code
func (*ListPublicDashboardsUnauthorized) IsCode ¶
func (o *ListPublicDashboardsUnauthorized) IsCode(code int) bool
IsCode returns true when this list public dashboards unauthorized response a status code equal to that given
func (*ListPublicDashboardsUnauthorized) IsRedirect ¶
func (o *ListPublicDashboardsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list public dashboards unauthorized response has a 3xx status code
func (*ListPublicDashboardsUnauthorized) IsServerError ¶
func (o *ListPublicDashboardsUnauthorized) IsServerError() bool
IsServerError returns true when this list public dashboards unauthorized response has a 5xx status code
func (*ListPublicDashboardsUnauthorized) IsSuccess ¶
func (o *ListPublicDashboardsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list public dashboards unauthorized response has a 2xx status code
func (*ListPublicDashboardsUnauthorized) String ¶
func (o *ListPublicDashboardsUnauthorized) String() string
type QueryPublicDashboardBadRequest ¶
type QueryPublicDashboardBadRequest struct {
Payload *models.PublicError
}
QueryPublicDashboardBadRequest describes a response with status code 400, with default header values.
BadRequestPublicError is returned when the request is invalid and it cannot be processed.
func NewQueryPublicDashboardBadRequest ¶
func NewQueryPublicDashboardBadRequest() *QueryPublicDashboardBadRequest
NewQueryPublicDashboardBadRequest creates a QueryPublicDashboardBadRequest with default headers values
func (*QueryPublicDashboardBadRequest) Code ¶
func (o *QueryPublicDashboardBadRequest) Code() int
Code gets the status code for the query public dashboard bad request response
func (*QueryPublicDashboardBadRequest) Error ¶
func (o *QueryPublicDashboardBadRequest) Error() string
func (*QueryPublicDashboardBadRequest) GetPayload ¶
func (o *QueryPublicDashboardBadRequest) GetPayload() *models.PublicError
func (*QueryPublicDashboardBadRequest) IsClientError ¶
func (o *QueryPublicDashboardBadRequest) IsClientError() bool
IsClientError returns true when this query public dashboard bad request response has a 4xx status code
func (*QueryPublicDashboardBadRequest) IsCode ¶
func (o *QueryPublicDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this query public dashboard bad request response a status code equal to that given
func (*QueryPublicDashboardBadRequest) IsRedirect ¶
func (o *QueryPublicDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this query public dashboard bad request response has a 3xx status code
func (*QueryPublicDashboardBadRequest) IsServerError ¶
func (o *QueryPublicDashboardBadRequest) IsServerError() bool
IsServerError returns true when this query public dashboard bad request response has a 5xx status code
func (*QueryPublicDashboardBadRequest) IsSuccess ¶
func (o *QueryPublicDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this query public dashboard bad request response has a 2xx status code
func (*QueryPublicDashboardBadRequest) String ¶
func (o *QueryPublicDashboardBadRequest) String() string
type QueryPublicDashboardForbidden ¶
type QueryPublicDashboardForbidden struct {
Payload *models.PublicError
}
QueryPublicDashboardForbidden describes a response with status code 403, with default header values.
ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.
func NewQueryPublicDashboardForbidden ¶
func NewQueryPublicDashboardForbidden() *QueryPublicDashboardForbidden
NewQueryPublicDashboardForbidden creates a QueryPublicDashboardForbidden with default headers values
func (*QueryPublicDashboardForbidden) Code ¶
func (o *QueryPublicDashboardForbidden) Code() int
Code gets the status code for the query public dashboard forbidden response
func (*QueryPublicDashboardForbidden) Error ¶
func (o *QueryPublicDashboardForbidden) Error() string
func (*QueryPublicDashboardForbidden) GetPayload ¶
func (o *QueryPublicDashboardForbidden) GetPayload() *models.PublicError
func (*QueryPublicDashboardForbidden) IsClientError ¶
func (o *QueryPublicDashboardForbidden) IsClientError() bool
IsClientError returns true when this query public dashboard forbidden response has a 4xx status code
func (*QueryPublicDashboardForbidden) IsCode ¶
func (o *QueryPublicDashboardForbidden) IsCode(code int) bool
IsCode returns true when this query public dashboard forbidden response a status code equal to that given
func (*QueryPublicDashboardForbidden) IsRedirect ¶
func (o *QueryPublicDashboardForbidden) IsRedirect() bool
IsRedirect returns true when this query public dashboard forbidden response has a 3xx status code
func (*QueryPublicDashboardForbidden) IsServerError ¶
func (o *QueryPublicDashboardForbidden) IsServerError() bool
IsServerError returns true when this query public dashboard forbidden response has a 5xx status code
func (*QueryPublicDashboardForbidden) IsSuccess ¶
func (o *QueryPublicDashboardForbidden) IsSuccess() bool
IsSuccess returns true when this query public dashboard forbidden response has a 2xx status code
func (*QueryPublicDashboardForbidden) String ¶
func (o *QueryPublicDashboardForbidden) String() string
type QueryPublicDashboardInternalServerError ¶
type QueryPublicDashboardInternalServerError struct {
Payload *models.PublicError
}
QueryPublicDashboardInternalServerError describes a response with status code 500, with default header values.
InternalServerPublicError is a general error indicating something went wrong internally.
func NewQueryPublicDashboardInternalServerError ¶
func NewQueryPublicDashboardInternalServerError() *QueryPublicDashboardInternalServerError
NewQueryPublicDashboardInternalServerError creates a QueryPublicDashboardInternalServerError with default headers values
func (*QueryPublicDashboardInternalServerError) Code ¶
func (o *QueryPublicDashboardInternalServerError) Code() int
Code gets the status code for the query public dashboard internal server error response
func (*QueryPublicDashboardInternalServerError) Error ¶
func (o *QueryPublicDashboardInternalServerError) Error() string
func (*QueryPublicDashboardInternalServerError) GetPayload ¶
func (o *QueryPublicDashboardInternalServerError) GetPayload() *models.PublicError
func (*QueryPublicDashboardInternalServerError) IsClientError ¶
func (o *QueryPublicDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this query public dashboard internal server error response has a 4xx status code
func (*QueryPublicDashboardInternalServerError) IsCode ¶
func (o *QueryPublicDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this query public dashboard internal server error response a status code equal to that given
func (*QueryPublicDashboardInternalServerError) IsRedirect ¶
func (o *QueryPublicDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this query public dashboard internal server error response has a 3xx status code
func (*QueryPublicDashboardInternalServerError) IsServerError ¶
func (o *QueryPublicDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this query public dashboard internal server error response has a 5xx status code
func (*QueryPublicDashboardInternalServerError) IsSuccess ¶
func (o *QueryPublicDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this query public dashboard internal server error response has a 2xx status code
func (*QueryPublicDashboardInternalServerError) String ¶
func (o *QueryPublicDashboardInternalServerError) String() string
type QueryPublicDashboardNotFound ¶
type QueryPublicDashboardNotFound struct {
Payload *models.PublicError
}
QueryPublicDashboardNotFound describes a response with status code 404, with default header values.
NotFoundPublicError is returned when the requested resource was not found.
func NewQueryPublicDashboardNotFound ¶
func NewQueryPublicDashboardNotFound() *QueryPublicDashboardNotFound
NewQueryPublicDashboardNotFound creates a QueryPublicDashboardNotFound with default headers values
func (*QueryPublicDashboardNotFound) Code ¶
func (o *QueryPublicDashboardNotFound) Code() int
Code gets the status code for the query public dashboard not found response
func (*QueryPublicDashboardNotFound) Error ¶
func (o *QueryPublicDashboardNotFound) Error() string
func (*QueryPublicDashboardNotFound) GetPayload ¶
func (o *QueryPublicDashboardNotFound) GetPayload() *models.PublicError
func (*QueryPublicDashboardNotFound) IsClientError ¶
func (o *QueryPublicDashboardNotFound) IsClientError() bool
IsClientError returns true when this query public dashboard not found response has a 4xx status code
func (*QueryPublicDashboardNotFound) IsCode ¶
func (o *QueryPublicDashboardNotFound) IsCode(code int) bool
IsCode returns true when this query public dashboard not found response a status code equal to that given
func (*QueryPublicDashboardNotFound) IsRedirect ¶
func (o *QueryPublicDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this query public dashboard not found response has a 3xx status code
func (*QueryPublicDashboardNotFound) IsServerError ¶
func (o *QueryPublicDashboardNotFound) IsServerError() bool
IsServerError returns true when this query public dashboard not found response has a 5xx status code
func (*QueryPublicDashboardNotFound) IsSuccess ¶
func (o *QueryPublicDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this query public dashboard not found response has a 2xx status code
func (*QueryPublicDashboardNotFound) String ¶
func (o *QueryPublicDashboardNotFound) String() string
type QueryPublicDashboardOK ¶
type QueryPublicDashboardOK struct {
Payload *models.QueryDataResponse
}
QueryPublicDashboardOK describes a response with status code 200, with default header values.
(empty)
func NewQueryPublicDashboardOK ¶
func NewQueryPublicDashboardOK() *QueryPublicDashboardOK
NewQueryPublicDashboardOK creates a QueryPublicDashboardOK with default headers values
func (*QueryPublicDashboardOK) Code ¶
func (o *QueryPublicDashboardOK) Code() int
Code gets the status code for the query public dashboard Ok response
func (*QueryPublicDashboardOK) Error ¶
func (o *QueryPublicDashboardOK) Error() string
func (*QueryPublicDashboardOK) GetPayload ¶
func (o *QueryPublicDashboardOK) GetPayload() *models.QueryDataResponse
func (*QueryPublicDashboardOK) IsClientError ¶
func (o *QueryPublicDashboardOK) IsClientError() bool
IsClientError returns true when this query public dashboard Ok response has a 4xx status code
func (*QueryPublicDashboardOK) IsCode ¶
func (o *QueryPublicDashboardOK) IsCode(code int) bool
IsCode returns true when this query public dashboard Ok response a status code equal to that given
func (*QueryPublicDashboardOK) IsRedirect ¶
func (o *QueryPublicDashboardOK) IsRedirect() bool
IsRedirect returns true when this query public dashboard Ok response has a 3xx status code
func (*QueryPublicDashboardOK) IsServerError ¶
func (o *QueryPublicDashboardOK) IsServerError() bool
IsServerError returns true when this query public dashboard Ok response has a 5xx status code
func (*QueryPublicDashboardOK) IsSuccess ¶
func (o *QueryPublicDashboardOK) IsSuccess() bool
IsSuccess returns true when this query public dashboard Ok response has a 2xx status code
func (*QueryPublicDashboardOK) String ¶
func (o *QueryPublicDashboardOK) String() string
type QueryPublicDashboardParams ¶
type QueryPublicDashboardParams struct { // AccessToken. AccessToken string // PanelID. // // Format: int64 PanelID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryPublicDashboardParams contains all the parameters to send to the API endpoint
for the query public dashboard operation. Typically these are written to a http.Request.
func NewQueryPublicDashboardParams ¶
func NewQueryPublicDashboardParams() *QueryPublicDashboardParams
NewQueryPublicDashboardParams creates a new QueryPublicDashboardParams 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 NewQueryPublicDashboardParamsWithContext ¶
func NewQueryPublicDashboardParamsWithContext(ctx context.Context) *QueryPublicDashboardParams
NewQueryPublicDashboardParamsWithContext creates a new QueryPublicDashboardParams object with the ability to set a context for a request.
func NewQueryPublicDashboardParamsWithHTTPClient ¶
func NewQueryPublicDashboardParamsWithHTTPClient(client *http.Client) *QueryPublicDashboardParams
NewQueryPublicDashboardParamsWithHTTPClient creates a new QueryPublicDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewQueryPublicDashboardParamsWithTimeout ¶
func NewQueryPublicDashboardParamsWithTimeout(timeout time.Duration) *QueryPublicDashboardParams
NewQueryPublicDashboardParamsWithTimeout creates a new QueryPublicDashboardParams object with the ability to set a timeout on a request.
func (*QueryPublicDashboardParams) SetAccessToken ¶
func (o *QueryPublicDashboardParams) SetAccessToken(accessToken string)
SetAccessToken adds the accessToken to the query public dashboard params
func (*QueryPublicDashboardParams) SetContext ¶
func (o *QueryPublicDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the query public dashboard params
func (*QueryPublicDashboardParams) SetDefaults ¶
func (o *QueryPublicDashboardParams) SetDefaults()
SetDefaults hydrates default values in the query public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*QueryPublicDashboardParams) SetHTTPClient ¶
func (o *QueryPublicDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query public dashboard params
func (*QueryPublicDashboardParams) SetPanelID ¶
func (o *QueryPublicDashboardParams) SetPanelID(panelID int64)
SetPanelID adds the panelId to the query public dashboard params
func (*QueryPublicDashboardParams) SetTimeout ¶
func (o *QueryPublicDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query public dashboard params
func (*QueryPublicDashboardParams) WithAccessToken ¶
func (o *QueryPublicDashboardParams) WithAccessToken(accessToken string) *QueryPublicDashboardParams
WithAccessToken adds the accessToken to the query public dashboard params
func (*QueryPublicDashboardParams) WithContext ¶
func (o *QueryPublicDashboardParams) WithContext(ctx context.Context) *QueryPublicDashboardParams
WithContext adds the context to the query public dashboard params
func (*QueryPublicDashboardParams) WithDefaults ¶
func (o *QueryPublicDashboardParams) WithDefaults() *QueryPublicDashboardParams
WithDefaults hydrates default values in the query public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*QueryPublicDashboardParams) WithHTTPClient ¶
func (o *QueryPublicDashboardParams) WithHTTPClient(client *http.Client) *QueryPublicDashboardParams
WithHTTPClient adds the HTTPClient to the query public dashboard params
func (*QueryPublicDashboardParams) WithPanelID ¶
func (o *QueryPublicDashboardParams) WithPanelID(panelID int64) *QueryPublicDashboardParams
WithPanelID adds the panelID to the query public dashboard params
func (*QueryPublicDashboardParams) WithTimeout ¶
func (o *QueryPublicDashboardParams) WithTimeout(timeout time.Duration) *QueryPublicDashboardParams
WithTimeout adds the timeout to the query public dashboard params
func (*QueryPublicDashboardParams) WriteToRequest ¶
func (o *QueryPublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryPublicDashboardReader ¶
type QueryPublicDashboardReader struct {
// contains filtered or unexported fields
}
QueryPublicDashboardReader is a Reader for the QueryPublicDashboard structure.
func (*QueryPublicDashboardReader) ReadResponse ¶
func (o *QueryPublicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryPublicDashboardUnauthorized ¶
type QueryPublicDashboardUnauthorized struct {
}QueryPublicDashboardUnauthorized describes a response with status code 401, with default header values.
UnauthorisedPublicError is returned when the request is not authenticated.
func NewQueryPublicDashboardUnauthorized ¶
func NewQueryPublicDashboardUnauthorized() *QueryPublicDashboardUnauthorized
NewQueryPublicDashboardUnauthorized creates a QueryPublicDashboardUnauthorized with default headers values
func (*QueryPublicDashboardUnauthorized) Code ¶
func (o *QueryPublicDashboardUnauthorized) Code() int
Code gets the status code for the query public dashboard unauthorized response
func (*QueryPublicDashboardUnauthorized) Error ¶
func (o *QueryPublicDashboardUnauthorized) Error() string
func (*QueryPublicDashboardUnauthorized) GetPayload ¶
func (o *QueryPublicDashboardUnauthorized) GetPayload() *models.PublicError
func (*QueryPublicDashboardUnauthorized) IsClientError ¶
func (o *QueryPublicDashboardUnauthorized) IsClientError() bool
IsClientError returns true when this query public dashboard unauthorized response has a 4xx status code
func (*QueryPublicDashboardUnauthorized) IsCode ¶
func (o *QueryPublicDashboardUnauthorized) IsCode(code int) bool
IsCode returns true when this query public dashboard unauthorized response a status code equal to that given
func (*QueryPublicDashboardUnauthorized) IsRedirect ¶
func (o *QueryPublicDashboardUnauthorized) IsRedirect() bool
IsRedirect returns true when this query public dashboard unauthorized response has a 3xx status code
func (*QueryPublicDashboardUnauthorized) IsServerError ¶
func (o *QueryPublicDashboardUnauthorized) IsServerError() bool
IsServerError returns true when this query public dashboard unauthorized response has a 5xx status code
func (*QueryPublicDashboardUnauthorized) IsSuccess ¶
func (o *QueryPublicDashboardUnauthorized) IsSuccess() bool
IsSuccess returns true when this query public dashboard unauthorized response has a 2xx status code
func (*QueryPublicDashboardUnauthorized) String ¶
func (o *QueryPublicDashboardUnauthorized) String() string
type UpdatePublicDashboardBadRequest ¶
type UpdatePublicDashboardBadRequest struct {
Payload *models.PublicError
}
UpdatePublicDashboardBadRequest describes a response with status code 400, with default header values.
BadRequestPublicError is returned when the request is invalid and it cannot be processed.
func NewUpdatePublicDashboardBadRequest ¶
func NewUpdatePublicDashboardBadRequest() *UpdatePublicDashboardBadRequest
NewUpdatePublicDashboardBadRequest creates a UpdatePublicDashboardBadRequest with default headers values
func (*UpdatePublicDashboardBadRequest) Code ¶
func (o *UpdatePublicDashboardBadRequest) Code() int
Code gets the status code for the update public dashboard bad request response
func (*UpdatePublicDashboardBadRequest) Error ¶
func (o *UpdatePublicDashboardBadRequest) Error() string
func (*UpdatePublicDashboardBadRequest) GetPayload ¶
func (o *UpdatePublicDashboardBadRequest) GetPayload() *models.PublicError
func (*UpdatePublicDashboardBadRequest) IsClientError ¶
func (o *UpdatePublicDashboardBadRequest) IsClientError() bool
IsClientError returns true when this update public dashboard bad request response has a 4xx status code
func (*UpdatePublicDashboardBadRequest) IsCode ¶
func (o *UpdatePublicDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this update public dashboard bad request response a status code equal to that given
func (*UpdatePublicDashboardBadRequest) IsRedirect ¶
func (o *UpdatePublicDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this update public dashboard bad request response has a 3xx status code
func (*UpdatePublicDashboardBadRequest) IsServerError ¶
func (o *UpdatePublicDashboardBadRequest) IsServerError() bool
IsServerError returns true when this update public dashboard bad request response has a 5xx status code
func (*UpdatePublicDashboardBadRequest) IsSuccess ¶
func (o *UpdatePublicDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this update public dashboard bad request response has a 2xx status code
func (*UpdatePublicDashboardBadRequest) String ¶
func (o *UpdatePublicDashboardBadRequest) String() string
type UpdatePublicDashboardForbidden ¶
type UpdatePublicDashboardForbidden struct {
Payload *models.PublicError
}
UpdatePublicDashboardForbidden describes a response with status code 403, with default header values.
ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdatePublicDashboardForbidden ¶
func NewUpdatePublicDashboardForbidden() *UpdatePublicDashboardForbidden
NewUpdatePublicDashboardForbidden creates a UpdatePublicDashboardForbidden with default headers values
func (*UpdatePublicDashboardForbidden) Code ¶
func (o *UpdatePublicDashboardForbidden) Code() int
Code gets the status code for the update public dashboard forbidden response
func (*UpdatePublicDashboardForbidden) Error ¶
func (o *UpdatePublicDashboardForbidden) Error() string
func (*UpdatePublicDashboardForbidden) GetPayload ¶
func (o *UpdatePublicDashboardForbidden) GetPayload() *models.PublicError
func (*UpdatePublicDashboardForbidden) IsClientError ¶
func (o *UpdatePublicDashboardForbidden) IsClientError() bool
IsClientError returns true when this update public dashboard forbidden response has a 4xx status code
func (*UpdatePublicDashboardForbidden) IsCode ¶
func (o *UpdatePublicDashboardForbidden) IsCode(code int) bool
IsCode returns true when this update public dashboard forbidden response a status code equal to that given
func (*UpdatePublicDashboardForbidden) IsRedirect ¶
func (o *UpdatePublicDashboardForbidden) IsRedirect() bool
IsRedirect returns true when this update public dashboard forbidden response has a 3xx status code
func (*UpdatePublicDashboardForbidden) IsServerError ¶
func (o *UpdatePublicDashboardForbidden) IsServerError() bool
IsServerError returns true when this update public dashboard forbidden response has a 5xx status code
func (*UpdatePublicDashboardForbidden) IsSuccess ¶
func (o *UpdatePublicDashboardForbidden) IsSuccess() bool
IsSuccess returns true when this update public dashboard forbidden response has a 2xx status code
func (*UpdatePublicDashboardForbidden) String ¶
func (o *UpdatePublicDashboardForbidden) String() string
type UpdatePublicDashboardInternalServerError ¶
type UpdatePublicDashboardInternalServerError struct {
Payload *models.PublicError
}
UpdatePublicDashboardInternalServerError describes a response with status code 500, with default header values.
InternalServerPublicError is a general error indicating something went wrong internally.
func NewUpdatePublicDashboardInternalServerError ¶
func NewUpdatePublicDashboardInternalServerError() *UpdatePublicDashboardInternalServerError
NewUpdatePublicDashboardInternalServerError creates a UpdatePublicDashboardInternalServerError with default headers values
func (*UpdatePublicDashboardInternalServerError) Code ¶
func (o *UpdatePublicDashboardInternalServerError) Code() int
Code gets the status code for the update public dashboard internal server error response
func (*UpdatePublicDashboardInternalServerError) Error ¶
func (o *UpdatePublicDashboardInternalServerError) Error() string
func (*UpdatePublicDashboardInternalServerError) GetPayload ¶
func (o *UpdatePublicDashboardInternalServerError) GetPayload() *models.PublicError
func (*UpdatePublicDashboardInternalServerError) IsClientError ¶
func (o *UpdatePublicDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this update public dashboard internal server error response has a 4xx status code
func (*UpdatePublicDashboardInternalServerError) IsCode ¶
func (o *UpdatePublicDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this update public dashboard internal server error response a status code equal to that given
func (*UpdatePublicDashboardInternalServerError) IsRedirect ¶
func (o *UpdatePublicDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this update public dashboard internal server error response has a 3xx status code
func (*UpdatePublicDashboardInternalServerError) IsServerError ¶
func (o *UpdatePublicDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this update public dashboard internal server error response has a 5xx status code
func (*UpdatePublicDashboardInternalServerError) IsSuccess ¶
func (o *UpdatePublicDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this update public dashboard internal server error response has a 2xx status code
func (*UpdatePublicDashboardInternalServerError) String ¶
func (o *UpdatePublicDashboardInternalServerError) String() string
type UpdatePublicDashboardOK ¶
type UpdatePublicDashboardOK struct {
Payload *models.PublicDashboard
}
UpdatePublicDashboardOK describes a response with status code 200, with default header values.
(empty)
func NewUpdatePublicDashboardOK ¶
func NewUpdatePublicDashboardOK() *UpdatePublicDashboardOK
NewUpdatePublicDashboardOK creates a UpdatePublicDashboardOK with default headers values
func (*UpdatePublicDashboardOK) Code ¶
func (o *UpdatePublicDashboardOK) Code() int
Code gets the status code for the update public dashboard Ok response
func (*UpdatePublicDashboardOK) Error ¶
func (o *UpdatePublicDashboardOK) Error() string
func (*UpdatePublicDashboardOK) GetPayload ¶
func (o *UpdatePublicDashboardOK) GetPayload() *models.PublicDashboard
func (*UpdatePublicDashboardOK) IsClientError ¶
func (o *UpdatePublicDashboardOK) IsClientError() bool
IsClientError returns true when this update public dashboard Ok response has a 4xx status code
func (*UpdatePublicDashboardOK) IsCode ¶
func (o *UpdatePublicDashboardOK) IsCode(code int) bool
IsCode returns true when this update public dashboard Ok response a status code equal to that given
func (*UpdatePublicDashboardOK) IsRedirect ¶
func (o *UpdatePublicDashboardOK) IsRedirect() bool
IsRedirect returns true when this update public dashboard Ok response has a 3xx status code
func (*UpdatePublicDashboardOK) IsServerError ¶
func (o *UpdatePublicDashboardOK) IsServerError() bool
IsServerError returns true when this update public dashboard Ok response has a 5xx status code
func (*UpdatePublicDashboardOK) IsSuccess ¶
func (o *UpdatePublicDashboardOK) IsSuccess() bool
IsSuccess returns true when this update public dashboard Ok response has a 2xx status code
func (*UpdatePublicDashboardOK) String ¶
func (o *UpdatePublicDashboardOK) String() string
type UpdatePublicDashboardParams ¶
type UpdatePublicDashboardParams struct { // Body. Body *models.PublicDashboardDTO // DashboardUID. DashboardUID string // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePublicDashboardParams contains all the parameters to send to the API endpoint
for the update public dashboard operation. Typically these are written to a http.Request.
func NewUpdatePublicDashboardParams ¶
func NewUpdatePublicDashboardParams() *UpdatePublicDashboardParams
NewUpdatePublicDashboardParams creates a new UpdatePublicDashboardParams 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 NewUpdatePublicDashboardParamsWithContext ¶
func NewUpdatePublicDashboardParamsWithContext(ctx context.Context) *UpdatePublicDashboardParams
NewUpdatePublicDashboardParamsWithContext creates a new UpdatePublicDashboardParams object with the ability to set a context for a request.
func NewUpdatePublicDashboardParamsWithHTTPClient ¶
func NewUpdatePublicDashboardParamsWithHTTPClient(client *http.Client) *UpdatePublicDashboardParams
NewUpdatePublicDashboardParamsWithHTTPClient creates a new UpdatePublicDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePublicDashboardParamsWithTimeout ¶
func NewUpdatePublicDashboardParamsWithTimeout(timeout time.Duration) *UpdatePublicDashboardParams
NewUpdatePublicDashboardParamsWithTimeout creates a new UpdatePublicDashboardParams object with the ability to set a timeout on a request.
func (*UpdatePublicDashboardParams) SetBody ¶
func (o *UpdatePublicDashboardParams) SetBody(body *models.PublicDashboardDTO)
SetBody adds the body to the update public dashboard params
func (*UpdatePublicDashboardParams) SetContext ¶
func (o *UpdatePublicDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the update public dashboard params
func (*UpdatePublicDashboardParams) SetDashboardUID ¶
func (o *UpdatePublicDashboardParams) SetDashboardUID(dashboardUID string)
SetDashboardUID adds the dashboardUid to the update public dashboard params
func (*UpdatePublicDashboardParams) SetDefaults ¶
func (o *UpdatePublicDashboardParams) SetDefaults()
SetDefaults hydrates default values in the update public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePublicDashboardParams) SetHTTPClient ¶
func (o *UpdatePublicDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update public dashboard params
func (*UpdatePublicDashboardParams) SetTimeout ¶
func (o *UpdatePublicDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update public dashboard params
func (*UpdatePublicDashboardParams) SetUID ¶
func (o *UpdatePublicDashboardParams) SetUID(uid string)
SetUID adds the uid to the update public dashboard params
func (*UpdatePublicDashboardParams) WithBody ¶
func (o *UpdatePublicDashboardParams) WithBody(body *models.PublicDashboardDTO) *UpdatePublicDashboardParams
WithBody adds the body to the update public dashboard params
func (*UpdatePublicDashboardParams) WithContext ¶
func (o *UpdatePublicDashboardParams) WithContext(ctx context.Context) *UpdatePublicDashboardParams
WithContext adds the context to the update public dashboard params
func (*UpdatePublicDashboardParams) WithDashboardUID ¶
func (o *UpdatePublicDashboardParams) WithDashboardUID(dashboardUID string) *UpdatePublicDashboardParams
WithDashboardUID adds the dashboardUID to the update public dashboard params
func (*UpdatePublicDashboardParams) WithDefaults ¶
func (o *UpdatePublicDashboardParams) WithDefaults() *UpdatePublicDashboardParams
WithDefaults hydrates default values in the update public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePublicDashboardParams) WithHTTPClient ¶
func (o *UpdatePublicDashboardParams) WithHTTPClient(client *http.Client) *UpdatePublicDashboardParams
WithHTTPClient adds the HTTPClient to the update public dashboard params
func (*UpdatePublicDashboardParams) WithTimeout ¶
func (o *UpdatePublicDashboardParams) WithTimeout(timeout time.Duration) *UpdatePublicDashboardParams
WithTimeout adds the timeout to the update public dashboard params
func (*UpdatePublicDashboardParams) WithUID ¶
func (o *UpdatePublicDashboardParams) WithUID(uid string) *UpdatePublicDashboardParams
WithUID adds the uid to the update public dashboard params
func (*UpdatePublicDashboardParams) WriteToRequest ¶
func (o *UpdatePublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePublicDashboardReader ¶
type UpdatePublicDashboardReader struct {
// contains filtered or unexported fields
}
UpdatePublicDashboardReader is a Reader for the UpdatePublicDashboard structure.
func (*UpdatePublicDashboardReader) ReadResponse ¶
func (o *UpdatePublicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePublicDashboardUnauthorized ¶
type UpdatePublicDashboardUnauthorized struct {
}UpdatePublicDashboardUnauthorized describes a response with status code 401, with default header values.
UnauthorisedPublicError is returned when the request is not authenticated.
func NewUpdatePublicDashboardUnauthorized ¶
func NewUpdatePublicDashboardUnauthorized() *UpdatePublicDashboardUnauthorized
NewUpdatePublicDashboardUnauthorized creates a UpdatePublicDashboardUnauthorized with default headers values
func (*UpdatePublicDashboardUnauthorized) Code ¶
func (o *UpdatePublicDashboardUnauthorized) Code() int
Code gets the status code for the update public dashboard unauthorized response
func (*UpdatePublicDashboardUnauthorized) Error ¶
func (o *UpdatePublicDashboardUnauthorized) Error() string
func (*UpdatePublicDashboardUnauthorized) GetPayload ¶
func (o *UpdatePublicDashboardUnauthorized) GetPayload() *models.PublicError
func (*UpdatePublicDashboardUnauthorized) IsClientError ¶
func (o *UpdatePublicDashboardUnauthorized) IsClientError() bool
IsClientError returns true when this update public dashboard unauthorized response has a 4xx status code
func (*UpdatePublicDashboardUnauthorized) IsCode ¶
func (o *UpdatePublicDashboardUnauthorized) IsCode(code int) bool
IsCode returns true when this update public dashboard unauthorized response a status code equal to that given
func (*UpdatePublicDashboardUnauthorized) IsRedirect ¶
func (o *UpdatePublicDashboardUnauthorized) IsRedirect() bool
IsRedirect returns true when this update public dashboard unauthorized response has a 3xx status code
func (*UpdatePublicDashboardUnauthorized) IsServerError ¶
func (o *UpdatePublicDashboardUnauthorized) IsServerError() bool
IsServerError returns true when this update public dashboard unauthorized response has a 5xx status code
func (*UpdatePublicDashboardUnauthorized) IsSuccess ¶
func (o *UpdatePublicDashboardUnauthorized) IsSuccess() bool
IsSuccess returns true when this update public dashboard unauthorized response has a 2xx status code
func (*UpdatePublicDashboardUnauthorized) String ¶
func (o *UpdatePublicDashboardUnauthorized) String() string
type ViewPublicDashboardBadRequest ¶
type ViewPublicDashboardBadRequest struct {
Payload *models.PublicError
}
ViewPublicDashboardBadRequest describes a response with status code 400, with default header values.
BadRequestPublicError is returned when the request is invalid and it cannot be processed.
func NewViewPublicDashboardBadRequest ¶
func NewViewPublicDashboardBadRequest() *ViewPublicDashboardBadRequest
NewViewPublicDashboardBadRequest creates a ViewPublicDashboardBadRequest with default headers values
func (*ViewPublicDashboardBadRequest) Code ¶
func (o *ViewPublicDashboardBadRequest) Code() int
Code gets the status code for the view public dashboard bad request response
func (*ViewPublicDashboardBadRequest) Error ¶
func (o *ViewPublicDashboardBadRequest) Error() string
func (*ViewPublicDashboardBadRequest) GetPayload ¶
func (o *ViewPublicDashboardBadRequest) GetPayload() *models.PublicError
func (*ViewPublicDashboardBadRequest) IsClientError ¶
func (o *ViewPublicDashboardBadRequest) IsClientError() bool
IsClientError returns true when this view public dashboard bad request response has a 4xx status code
func (*ViewPublicDashboardBadRequest) IsCode ¶
func (o *ViewPublicDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this view public dashboard bad request response a status code equal to that given
func (*ViewPublicDashboardBadRequest) IsRedirect ¶
func (o *ViewPublicDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this view public dashboard bad request response has a 3xx status code
func (*ViewPublicDashboardBadRequest) IsServerError ¶
func (o *ViewPublicDashboardBadRequest) IsServerError() bool
IsServerError returns true when this view public dashboard bad request response has a 5xx status code
func (*ViewPublicDashboardBadRequest) IsSuccess ¶
func (o *ViewPublicDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this view public dashboard bad request response has a 2xx status code
func (*ViewPublicDashboardBadRequest) String ¶
func (o *ViewPublicDashboardBadRequest) String() string
type ViewPublicDashboardForbidden ¶
type ViewPublicDashboardForbidden struct {
Payload *models.PublicError
}
ViewPublicDashboardForbidden describes a response with status code 403, with default header values.
ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.
func NewViewPublicDashboardForbidden ¶
func NewViewPublicDashboardForbidden() *ViewPublicDashboardForbidden
NewViewPublicDashboardForbidden creates a ViewPublicDashboardForbidden with default headers values
func (*ViewPublicDashboardForbidden) Code ¶
func (o *ViewPublicDashboardForbidden) Code() int
Code gets the status code for the view public dashboard forbidden response
func (*ViewPublicDashboardForbidden) Error ¶
func (o *ViewPublicDashboardForbidden) Error() string
func (*ViewPublicDashboardForbidden) GetPayload ¶
func (o *ViewPublicDashboardForbidden) GetPayload() *models.PublicError
func (*ViewPublicDashboardForbidden) IsClientError ¶
func (o *ViewPublicDashboardForbidden) IsClientError() bool
IsClientError returns true when this view public dashboard forbidden response has a 4xx status code
func (*ViewPublicDashboardForbidden) IsCode ¶
func (o *ViewPublicDashboardForbidden) IsCode(code int) bool
IsCode returns true when this view public dashboard forbidden response a status code equal to that given
func (*ViewPublicDashboardForbidden) IsRedirect ¶
func (o *ViewPublicDashboardForbidden) IsRedirect() bool
IsRedirect returns true when this view public dashboard forbidden response has a 3xx status code
func (*ViewPublicDashboardForbidden) IsServerError ¶
func (o *ViewPublicDashboardForbidden) IsServerError() bool
IsServerError returns true when this view public dashboard forbidden response has a 5xx status code
func (*ViewPublicDashboardForbidden) IsSuccess ¶
func (o *ViewPublicDashboardForbidden) IsSuccess() bool
IsSuccess returns true when this view public dashboard forbidden response has a 2xx status code
func (*ViewPublicDashboardForbidden) String ¶
func (o *ViewPublicDashboardForbidden) String() string
type ViewPublicDashboardInternalServerError ¶
type ViewPublicDashboardInternalServerError struct {
Payload *models.PublicError
}
ViewPublicDashboardInternalServerError describes a response with status code 500, with default header values.
InternalServerPublicError is a general error indicating something went wrong internally.
func NewViewPublicDashboardInternalServerError ¶
func NewViewPublicDashboardInternalServerError() *ViewPublicDashboardInternalServerError
NewViewPublicDashboardInternalServerError creates a ViewPublicDashboardInternalServerError with default headers values
func (*ViewPublicDashboardInternalServerError) Code ¶
func (o *ViewPublicDashboardInternalServerError) Code() int
Code gets the status code for the view public dashboard internal server error response
func (*ViewPublicDashboardInternalServerError) Error ¶
func (o *ViewPublicDashboardInternalServerError) Error() string
func (*ViewPublicDashboardInternalServerError) GetPayload ¶
func (o *ViewPublicDashboardInternalServerError) GetPayload() *models.PublicError
func (*ViewPublicDashboardInternalServerError) IsClientError ¶
func (o *ViewPublicDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this view public dashboard internal server error response has a 4xx status code
func (*ViewPublicDashboardInternalServerError) IsCode ¶
func (o *ViewPublicDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this view public dashboard internal server error response a status code equal to that given
func (*ViewPublicDashboardInternalServerError) IsRedirect ¶
func (o *ViewPublicDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this view public dashboard internal server error response has a 3xx status code
func (*ViewPublicDashboardInternalServerError) IsServerError ¶
func (o *ViewPublicDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this view public dashboard internal server error response has a 5xx status code
func (*ViewPublicDashboardInternalServerError) IsSuccess ¶
func (o *ViewPublicDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this view public dashboard internal server error response has a 2xx status code
func (*ViewPublicDashboardInternalServerError) String ¶
func (o *ViewPublicDashboardInternalServerError) String() string
type ViewPublicDashboardNotFound ¶
type ViewPublicDashboardNotFound struct {
Payload *models.PublicError
}
ViewPublicDashboardNotFound describes a response with status code 404, with default header values.
NotFoundPublicError is returned when the requested resource was not found.
func NewViewPublicDashboardNotFound ¶
func NewViewPublicDashboardNotFound() *ViewPublicDashboardNotFound
NewViewPublicDashboardNotFound creates a ViewPublicDashboardNotFound with default headers values
func (*ViewPublicDashboardNotFound) Code ¶
func (o *ViewPublicDashboardNotFound) Code() int
Code gets the status code for the view public dashboard not found response
func (*ViewPublicDashboardNotFound) Error ¶
func (o *ViewPublicDashboardNotFound) Error() string
func (*ViewPublicDashboardNotFound) GetPayload ¶
func (o *ViewPublicDashboardNotFound) GetPayload() *models.PublicError
func (*ViewPublicDashboardNotFound) IsClientError ¶
func (o *ViewPublicDashboardNotFound) IsClientError() bool
IsClientError returns true when this view public dashboard not found response has a 4xx status code
func (*ViewPublicDashboardNotFound) IsCode ¶
func (o *ViewPublicDashboardNotFound) IsCode(code int) bool
IsCode returns true when this view public dashboard not found response a status code equal to that given
func (*ViewPublicDashboardNotFound) IsRedirect ¶
func (o *ViewPublicDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this view public dashboard not found response has a 3xx status code
func (*ViewPublicDashboardNotFound) IsServerError ¶
func (o *ViewPublicDashboardNotFound) IsServerError() bool
IsServerError returns true when this view public dashboard not found response has a 5xx status code
func (*ViewPublicDashboardNotFound) IsSuccess ¶
func (o *ViewPublicDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this view public dashboard not found response has a 2xx status code
func (*ViewPublicDashboardNotFound) String ¶
func (o *ViewPublicDashboardNotFound) String() string
type ViewPublicDashboardOK ¶
type ViewPublicDashboardOK struct {
Payload *models.DashboardFullWithMeta
}
ViewPublicDashboardOK describes a response with status code 200, with default header values.
(empty)
func NewViewPublicDashboardOK ¶
func NewViewPublicDashboardOK() *ViewPublicDashboardOK
NewViewPublicDashboardOK creates a ViewPublicDashboardOK with default headers values
func (*ViewPublicDashboardOK) Code ¶
func (o *ViewPublicDashboardOK) Code() int
Code gets the status code for the view public dashboard Ok response
func (*ViewPublicDashboardOK) Error ¶
func (o *ViewPublicDashboardOK) Error() string
func (*ViewPublicDashboardOK) GetPayload ¶
func (o *ViewPublicDashboardOK) GetPayload() *models.DashboardFullWithMeta
func (*ViewPublicDashboardOK) IsClientError ¶
func (o *ViewPublicDashboardOK) IsClientError() bool
IsClientError returns true when this view public dashboard Ok response has a 4xx status code
func (*ViewPublicDashboardOK) IsCode ¶
func (o *ViewPublicDashboardOK) IsCode(code int) bool
IsCode returns true when this view public dashboard Ok response a status code equal to that given
func (*ViewPublicDashboardOK) IsRedirect ¶
func (o *ViewPublicDashboardOK) IsRedirect() bool
IsRedirect returns true when this view public dashboard Ok response has a 3xx status code
func (*ViewPublicDashboardOK) IsServerError ¶
func (o *ViewPublicDashboardOK) IsServerError() bool
IsServerError returns true when this view public dashboard Ok response has a 5xx status code
func (*ViewPublicDashboardOK) IsSuccess ¶
func (o *ViewPublicDashboardOK) IsSuccess() bool
IsSuccess returns true when this view public dashboard Ok response has a 2xx status code
func (*ViewPublicDashboardOK) String ¶
func (o *ViewPublicDashboardOK) String() string
type ViewPublicDashboardParams ¶
type ViewPublicDashboardParams struct { // AccessToken. AccessToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ViewPublicDashboardParams contains all the parameters to send to the API endpoint
for the view public dashboard operation. Typically these are written to a http.Request.
func NewViewPublicDashboardParams ¶
func NewViewPublicDashboardParams() *ViewPublicDashboardParams
NewViewPublicDashboardParams creates a new ViewPublicDashboardParams 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 NewViewPublicDashboardParamsWithContext ¶
func NewViewPublicDashboardParamsWithContext(ctx context.Context) *ViewPublicDashboardParams
NewViewPublicDashboardParamsWithContext creates a new ViewPublicDashboardParams object with the ability to set a context for a request.
func NewViewPublicDashboardParamsWithHTTPClient ¶
func NewViewPublicDashboardParamsWithHTTPClient(client *http.Client) *ViewPublicDashboardParams
NewViewPublicDashboardParamsWithHTTPClient creates a new ViewPublicDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewViewPublicDashboardParamsWithTimeout ¶
func NewViewPublicDashboardParamsWithTimeout(timeout time.Duration) *ViewPublicDashboardParams
NewViewPublicDashboardParamsWithTimeout creates a new ViewPublicDashboardParams object with the ability to set a timeout on a request.
func (*ViewPublicDashboardParams) SetAccessToken ¶
func (o *ViewPublicDashboardParams) SetAccessToken(accessToken string)
SetAccessToken adds the accessToken to the view public dashboard params
func (*ViewPublicDashboardParams) SetContext ¶
func (o *ViewPublicDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the view public dashboard params
func (*ViewPublicDashboardParams) SetDefaults ¶
func (o *ViewPublicDashboardParams) SetDefaults()
SetDefaults hydrates default values in the view public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*ViewPublicDashboardParams) SetHTTPClient ¶
func (o *ViewPublicDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the view public dashboard params
func (*ViewPublicDashboardParams) SetTimeout ¶
func (o *ViewPublicDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the view public dashboard params
func (*ViewPublicDashboardParams) WithAccessToken ¶
func (o *ViewPublicDashboardParams) WithAccessToken(accessToken string) *ViewPublicDashboardParams
WithAccessToken adds the accessToken to the view public dashboard params
func (*ViewPublicDashboardParams) WithContext ¶
func (o *ViewPublicDashboardParams) WithContext(ctx context.Context) *ViewPublicDashboardParams
WithContext adds the context to the view public dashboard params
func (*ViewPublicDashboardParams) WithDefaults ¶
func (o *ViewPublicDashboardParams) WithDefaults() *ViewPublicDashboardParams
WithDefaults hydrates default values in the view public dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*ViewPublicDashboardParams) WithHTTPClient ¶
func (o *ViewPublicDashboardParams) WithHTTPClient(client *http.Client) *ViewPublicDashboardParams
WithHTTPClient adds the HTTPClient to the view public dashboard params
func (*ViewPublicDashboardParams) WithTimeout ¶
func (o *ViewPublicDashboardParams) WithTimeout(timeout time.Duration) *ViewPublicDashboardParams
WithTimeout adds the timeout to the view public dashboard params
func (*ViewPublicDashboardParams) WriteToRequest ¶
func (o *ViewPublicDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ViewPublicDashboardReader ¶
type ViewPublicDashboardReader struct {
// contains filtered or unexported fields
}
ViewPublicDashboardReader is a Reader for the ViewPublicDashboard structure.
func (*ViewPublicDashboardReader) ReadResponse ¶
func (o *ViewPublicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ViewPublicDashboardUnauthorized ¶
type ViewPublicDashboardUnauthorized struct {
}ViewPublicDashboardUnauthorized describes a response with status code 401, with default header values.
UnauthorisedPublicError is returned when the request is not authenticated.
func NewViewPublicDashboardUnauthorized ¶
func NewViewPublicDashboardUnauthorized() *ViewPublicDashboardUnauthorized
NewViewPublicDashboardUnauthorized creates a ViewPublicDashboardUnauthorized with default headers values
func (*ViewPublicDashboardUnauthorized) Code ¶
func (o *ViewPublicDashboardUnauthorized) Code() int
Code gets the status code for the view public dashboard unauthorized response
func (*ViewPublicDashboardUnauthorized) Error ¶
func (o *ViewPublicDashboardUnauthorized) Error() string
func (*ViewPublicDashboardUnauthorized) GetPayload ¶
func (o *ViewPublicDashboardUnauthorized) GetPayload() *models.PublicError
func (*ViewPublicDashboardUnauthorized) IsClientError ¶
func (o *ViewPublicDashboardUnauthorized) IsClientError() bool
IsClientError returns true when this view public dashboard unauthorized response has a 4xx status code
func (*ViewPublicDashboardUnauthorized) IsCode ¶
func (o *ViewPublicDashboardUnauthorized) IsCode(code int) bool
IsCode returns true when this view public dashboard unauthorized response a status code equal to that given
func (*ViewPublicDashboardUnauthorized) IsRedirect ¶
func (o *ViewPublicDashboardUnauthorized) IsRedirect() bool
IsRedirect returns true when this view public dashboard unauthorized response has a 3xx status code
func (*ViewPublicDashboardUnauthorized) IsServerError ¶
func (o *ViewPublicDashboardUnauthorized) IsServerError() bool
IsServerError returns true when this view public dashboard unauthorized response has a 5xx status code
func (*ViewPublicDashboardUnauthorized) IsSuccess ¶
func (o *ViewPublicDashboardUnauthorized) IsSuccess() bool
IsSuccess returns true when this view public dashboard unauthorized response has a 2xx status code
func (*ViewPublicDashboardUnauthorized) String ¶
func (o *ViewPublicDashboardUnauthorized) String() string
Source Files ¶
- create_public_dashboard_parameters.go
- create_public_dashboard_responses.go
- dashboard_public_client.go
- delete_public_dashboard_parameters.go
- delete_public_dashboard_responses.go
- get_public_annotations_parameters.go
- get_public_annotations_responses.go
- get_public_dashboard_parameters.go
- get_public_dashboard_responses.go
- list_public_dashboards_parameters.go
- list_public_dashboards_responses.go
- query_public_dashboard_parameters.go
- query_public_dashboard_responses.go
- update_public_dashboard_parameters.go
- update_public_dashboard_responses.go
- view_public_dashboard_parameters.go
- view_public_dashboard_responses.go