Documentation ¶
Index ¶
- type Client
- func (a *Client) GetDashboardPermissionsListByID(dashboardID int64, opts ...ClientOption) (*GetDashboardPermissionsListByIDOK, error)
- func (a *Client) GetDashboardPermissionsListByIDWithParams(params *GetDashboardPermissionsListByIDParams, opts ...ClientOption) (*GetDashboardPermissionsListByIDOK, error)
- func (a *Client) GetDashboardPermissionsListByUID(uid string, opts ...ClientOption) (*GetDashboardPermissionsListByUIDOK, error)
- func (a *Client) GetDashboardPermissionsListByUIDWithParams(params *GetDashboardPermissionsListByUIDParams, opts ...ClientOption) (*GetDashboardPermissionsListByUIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDashboardPermissionsByID(dashboardID int64, body *models.UpdateDashboardACLCommand, ...) (*UpdateDashboardPermissionsByIDOK, error)
- func (a *Client) UpdateDashboardPermissionsByIDWithParams(params *UpdateDashboardPermissionsByIDParams, opts ...ClientOption) (*UpdateDashboardPermissionsByIDOK, error)
- func (a *Client) UpdateDashboardPermissionsByUID(uid string, body *models.UpdateDashboardACLCommand, opts ...ClientOption) (*UpdateDashboardPermissionsByUIDOK, error)
- func (a *Client) UpdateDashboardPermissionsByUIDWithParams(params *UpdateDashboardPermissionsByUIDParams, opts ...ClientOption) (*UpdateDashboardPermissionsByUIDOK, error)
- type ClientOption
- type ClientService
- type GetDashboardPermissionsListByIDForbidden
- func (o *GetDashboardPermissionsListByIDForbidden) Code() int
- func (o *GetDashboardPermissionsListByIDForbidden) Error() string
- func (o *GetDashboardPermissionsListByIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardPermissionsListByIDForbidden) IsClientError() bool
- func (o *GetDashboardPermissionsListByIDForbidden) IsCode(code int) bool
- func (o *GetDashboardPermissionsListByIDForbidden) IsRedirect() bool
- func (o *GetDashboardPermissionsListByIDForbidden) IsServerError() bool
- func (o *GetDashboardPermissionsListByIDForbidden) IsSuccess() bool
- func (o *GetDashboardPermissionsListByIDForbidden) String() string
- type GetDashboardPermissionsListByIDInternalServerError
- func (o *GetDashboardPermissionsListByIDInternalServerError) Code() int
- func (o *GetDashboardPermissionsListByIDInternalServerError) Error() string
- func (o *GetDashboardPermissionsListByIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardPermissionsListByIDInternalServerError) IsClientError() bool
- func (o *GetDashboardPermissionsListByIDInternalServerError) IsCode(code int) bool
- func (o *GetDashboardPermissionsListByIDInternalServerError) IsRedirect() bool
- func (o *GetDashboardPermissionsListByIDInternalServerError) IsServerError() bool
- func (o *GetDashboardPermissionsListByIDInternalServerError) IsSuccess() bool
- func (o *GetDashboardPermissionsListByIDInternalServerError) String() string
- type GetDashboardPermissionsListByIDNotFound
- func (o *GetDashboardPermissionsListByIDNotFound) Code() int
- func (o *GetDashboardPermissionsListByIDNotFound) Error() string
- func (o *GetDashboardPermissionsListByIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardPermissionsListByIDNotFound) IsClientError() bool
- func (o *GetDashboardPermissionsListByIDNotFound) IsCode(code int) bool
- func (o *GetDashboardPermissionsListByIDNotFound) IsRedirect() bool
- func (o *GetDashboardPermissionsListByIDNotFound) IsServerError() bool
- func (o *GetDashboardPermissionsListByIDNotFound) IsSuccess() bool
- func (o *GetDashboardPermissionsListByIDNotFound) String() string
- type GetDashboardPermissionsListByIDOK
- func (o *GetDashboardPermissionsListByIDOK) Code() int
- func (o *GetDashboardPermissionsListByIDOK) Error() string
- func (o *GetDashboardPermissionsListByIDOK) GetPayload() []*models.DashboardACLInfoDTO
- func (o *GetDashboardPermissionsListByIDOK) IsClientError() bool
- func (o *GetDashboardPermissionsListByIDOK) IsCode(code int) bool
- func (o *GetDashboardPermissionsListByIDOK) IsRedirect() bool
- func (o *GetDashboardPermissionsListByIDOK) IsServerError() bool
- func (o *GetDashboardPermissionsListByIDOK) IsSuccess() bool
- func (o *GetDashboardPermissionsListByIDOK) String() string
- type GetDashboardPermissionsListByIDParams
- func NewGetDashboardPermissionsListByIDParams() *GetDashboardPermissionsListByIDParams
- func NewGetDashboardPermissionsListByIDParamsWithContext(ctx context.Context) *GetDashboardPermissionsListByIDParams
- func NewGetDashboardPermissionsListByIDParamsWithHTTPClient(client *http.Client) *GetDashboardPermissionsListByIDParams
- func NewGetDashboardPermissionsListByIDParamsWithTimeout(timeout time.Duration) *GetDashboardPermissionsListByIDParams
- func (o *GetDashboardPermissionsListByIDParams) SetContext(ctx context.Context)
- func (o *GetDashboardPermissionsListByIDParams) SetDashboardID(dashboardID int64)
- func (o *GetDashboardPermissionsListByIDParams) SetDefaults()
- func (o *GetDashboardPermissionsListByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardPermissionsListByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardPermissionsListByIDParams) WithContext(ctx context.Context) *GetDashboardPermissionsListByIDParams
- func (o *GetDashboardPermissionsListByIDParams) WithDashboardID(dashboardID int64) *GetDashboardPermissionsListByIDParams
- func (o *GetDashboardPermissionsListByIDParams) WithDefaults() *GetDashboardPermissionsListByIDParams
- func (o *GetDashboardPermissionsListByIDParams) WithHTTPClient(client *http.Client) *GetDashboardPermissionsListByIDParams
- func (o *GetDashboardPermissionsListByIDParams) WithTimeout(timeout time.Duration) *GetDashboardPermissionsListByIDParams
- func (o *GetDashboardPermissionsListByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardPermissionsListByIDReader
- type GetDashboardPermissionsListByIDUnauthorized
- func (o *GetDashboardPermissionsListByIDUnauthorized) Code() int
- func (o *GetDashboardPermissionsListByIDUnauthorized) Error() string
- func (o *GetDashboardPermissionsListByIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardPermissionsListByIDUnauthorized) IsClientError() bool
- func (o *GetDashboardPermissionsListByIDUnauthorized) IsCode(code int) bool
- func (o *GetDashboardPermissionsListByIDUnauthorized) IsRedirect() bool
- func (o *GetDashboardPermissionsListByIDUnauthorized) IsServerError() bool
- func (o *GetDashboardPermissionsListByIDUnauthorized) IsSuccess() bool
- func (o *GetDashboardPermissionsListByIDUnauthorized) String() string
- type GetDashboardPermissionsListByUIDForbidden
- func (o *GetDashboardPermissionsListByUIDForbidden) Code() int
- func (o *GetDashboardPermissionsListByUIDForbidden) Error() string
- func (o *GetDashboardPermissionsListByUIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardPermissionsListByUIDForbidden) IsClientError() bool
- func (o *GetDashboardPermissionsListByUIDForbidden) IsCode(code int) bool
- func (o *GetDashboardPermissionsListByUIDForbidden) IsRedirect() bool
- func (o *GetDashboardPermissionsListByUIDForbidden) IsServerError() bool
- func (o *GetDashboardPermissionsListByUIDForbidden) IsSuccess() bool
- func (o *GetDashboardPermissionsListByUIDForbidden) String() string
- type GetDashboardPermissionsListByUIDInternalServerError
- func (o *GetDashboardPermissionsListByUIDInternalServerError) Code() int
- func (o *GetDashboardPermissionsListByUIDInternalServerError) Error() string
- func (o *GetDashboardPermissionsListByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardPermissionsListByUIDInternalServerError) IsClientError() bool
- func (o *GetDashboardPermissionsListByUIDInternalServerError) IsCode(code int) bool
- func (o *GetDashboardPermissionsListByUIDInternalServerError) IsRedirect() bool
- func (o *GetDashboardPermissionsListByUIDInternalServerError) IsServerError() bool
- func (o *GetDashboardPermissionsListByUIDInternalServerError) IsSuccess() bool
- func (o *GetDashboardPermissionsListByUIDInternalServerError) String() string
- type GetDashboardPermissionsListByUIDNotFound
- func (o *GetDashboardPermissionsListByUIDNotFound) Code() int
- func (o *GetDashboardPermissionsListByUIDNotFound) Error() string
- func (o *GetDashboardPermissionsListByUIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardPermissionsListByUIDNotFound) IsClientError() bool
- func (o *GetDashboardPermissionsListByUIDNotFound) IsCode(code int) bool
- func (o *GetDashboardPermissionsListByUIDNotFound) IsRedirect() bool
- func (o *GetDashboardPermissionsListByUIDNotFound) IsServerError() bool
- func (o *GetDashboardPermissionsListByUIDNotFound) IsSuccess() bool
- func (o *GetDashboardPermissionsListByUIDNotFound) String() string
- type GetDashboardPermissionsListByUIDOK
- func (o *GetDashboardPermissionsListByUIDOK) Code() int
- func (o *GetDashboardPermissionsListByUIDOK) Error() string
- func (o *GetDashboardPermissionsListByUIDOK) GetPayload() []*models.DashboardACLInfoDTO
- func (o *GetDashboardPermissionsListByUIDOK) IsClientError() bool
- func (o *GetDashboardPermissionsListByUIDOK) IsCode(code int) bool
- func (o *GetDashboardPermissionsListByUIDOK) IsRedirect() bool
- func (o *GetDashboardPermissionsListByUIDOK) IsServerError() bool
- func (o *GetDashboardPermissionsListByUIDOK) IsSuccess() bool
- func (o *GetDashboardPermissionsListByUIDOK) String() string
- type GetDashboardPermissionsListByUIDParams
- func NewGetDashboardPermissionsListByUIDParams() *GetDashboardPermissionsListByUIDParams
- func NewGetDashboardPermissionsListByUIDParamsWithContext(ctx context.Context) *GetDashboardPermissionsListByUIDParams
- func NewGetDashboardPermissionsListByUIDParamsWithHTTPClient(client *http.Client) *GetDashboardPermissionsListByUIDParams
- func NewGetDashboardPermissionsListByUIDParamsWithTimeout(timeout time.Duration) *GetDashboardPermissionsListByUIDParams
- func (o *GetDashboardPermissionsListByUIDParams) SetContext(ctx context.Context)
- func (o *GetDashboardPermissionsListByUIDParams) SetDefaults()
- func (o *GetDashboardPermissionsListByUIDParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardPermissionsListByUIDParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardPermissionsListByUIDParams) SetUID(uid string)
- func (o *GetDashboardPermissionsListByUIDParams) WithContext(ctx context.Context) *GetDashboardPermissionsListByUIDParams
- func (o *GetDashboardPermissionsListByUIDParams) WithDefaults() *GetDashboardPermissionsListByUIDParams
- func (o *GetDashboardPermissionsListByUIDParams) WithHTTPClient(client *http.Client) *GetDashboardPermissionsListByUIDParams
- func (o *GetDashboardPermissionsListByUIDParams) WithTimeout(timeout time.Duration) *GetDashboardPermissionsListByUIDParams
- func (o *GetDashboardPermissionsListByUIDParams) WithUID(uid string) *GetDashboardPermissionsListByUIDParams
- func (o *GetDashboardPermissionsListByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardPermissionsListByUIDReader
- type GetDashboardPermissionsListByUIDUnauthorized
- func (o *GetDashboardPermissionsListByUIDUnauthorized) Code() int
- func (o *GetDashboardPermissionsListByUIDUnauthorized) Error() string
- func (o *GetDashboardPermissionsListByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetDashboardPermissionsListByUIDUnauthorized) IsClientError() bool
- func (o *GetDashboardPermissionsListByUIDUnauthorized) IsCode(code int) bool
- func (o *GetDashboardPermissionsListByUIDUnauthorized) IsRedirect() bool
- func (o *GetDashboardPermissionsListByUIDUnauthorized) IsServerError() bool
- func (o *GetDashboardPermissionsListByUIDUnauthorized) IsSuccess() bool
- func (o *GetDashboardPermissionsListByUIDUnauthorized) String() string
- type UpdateDashboardPermissionsByIDBadRequest
- func (o *UpdateDashboardPermissionsByIDBadRequest) Code() int
- func (o *UpdateDashboardPermissionsByIDBadRequest) Error() string
- func (o *UpdateDashboardPermissionsByIDBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *UpdateDashboardPermissionsByIDBadRequest) IsClientError() bool
- func (o *UpdateDashboardPermissionsByIDBadRequest) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByIDBadRequest) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByIDBadRequest) IsServerError() bool
- func (o *UpdateDashboardPermissionsByIDBadRequest) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByIDBadRequest) String() string
- type UpdateDashboardPermissionsByIDForbidden
- func (o *UpdateDashboardPermissionsByIDForbidden) Code() int
- func (o *UpdateDashboardPermissionsByIDForbidden) Error() string
- func (o *UpdateDashboardPermissionsByIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *UpdateDashboardPermissionsByIDForbidden) IsClientError() bool
- func (o *UpdateDashboardPermissionsByIDForbidden) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByIDForbidden) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByIDForbidden) IsServerError() bool
- func (o *UpdateDashboardPermissionsByIDForbidden) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByIDForbidden) String() string
- type UpdateDashboardPermissionsByIDInternalServerError
- func (o *UpdateDashboardPermissionsByIDInternalServerError) Code() int
- func (o *UpdateDashboardPermissionsByIDInternalServerError) Error() string
- func (o *UpdateDashboardPermissionsByIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateDashboardPermissionsByIDInternalServerError) IsClientError() bool
- func (o *UpdateDashboardPermissionsByIDInternalServerError) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByIDInternalServerError) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByIDInternalServerError) IsServerError() bool
- func (o *UpdateDashboardPermissionsByIDInternalServerError) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByIDInternalServerError) String() string
- type UpdateDashboardPermissionsByIDNotFound
- func (o *UpdateDashboardPermissionsByIDNotFound) Code() int
- func (o *UpdateDashboardPermissionsByIDNotFound) Error() string
- func (o *UpdateDashboardPermissionsByIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *UpdateDashboardPermissionsByIDNotFound) IsClientError() bool
- func (o *UpdateDashboardPermissionsByIDNotFound) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByIDNotFound) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByIDNotFound) IsServerError() bool
- func (o *UpdateDashboardPermissionsByIDNotFound) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByIDNotFound) String() string
- type UpdateDashboardPermissionsByIDOK
- func (o *UpdateDashboardPermissionsByIDOK) Code() int
- func (o *UpdateDashboardPermissionsByIDOK) Error() string
- func (o *UpdateDashboardPermissionsByIDOK) GetPayload() *models.SuccessResponseBody
- func (o *UpdateDashboardPermissionsByIDOK) IsClientError() bool
- func (o *UpdateDashboardPermissionsByIDOK) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByIDOK) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByIDOK) IsServerError() bool
- func (o *UpdateDashboardPermissionsByIDOK) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByIDOK) String() string
- type UpdateDashboardPermissionsByIDParams
- func NewUpdateDashboardPermissionsByIDParams() *UpdateDashboardPermissionsByIDParams
- func NewUpdateDashboardPermissionsByIDParamsWithContext(ctx context.Context) *UpdateDashboardPermissionsByIDParams
- func NewUpdateDashboardPermissionsByIDParamsWithHTTPClient(client *http.Client) *UpdateDashboardPermissionsByIDParams
- func NewUpdateDashboardPermissionsByIDParamsWithTimeout(timeout time.Duration) *UpdateDashboardPermissionsByIDParams
- func (o *UpdateDashboardPermissionsByIDParams) SetBody(body *models.UpdateDashboardACLCommand)
- func (o *UpdateDashboardPermissionsByIDParams) SetContext(ctx context.Context)
- func (o *UpdateDashboardPermissionsByIDParams) SetDashboardID(dashboardID int64)
- func (o *UpdateDashboardPermissionsByIDParams) SetDefaults()
- func (o *UpdateDashboardPermissionsByIDParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDashboardPermissionsByIDParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDashboardPermissionsByIDParams) WithBody(body *models.UpdateDashboardACLCommand) *UpdateDashboardPermissionsByIDParams
- func (o *UpdateDashboardPermissionsByIDParams) WithContext(ctx context.Context) *UpdateDashboardPermissionsByIDParams
- func (o *UpdateDashboardPermissionsByIDParams) WithDashboardID(dashboardID int64) *UpdateDashboardPermissionsByIDParams
- func (o *UpdateDashboardPermissionsByIDParams) WithDefaults() *UpdateDashboardPermissionsByIDParams
- func (o *UpdateDashboardPermissionsByIDParams) WithHTTPClient(client *http.Client) *UpdateDashboardPermissionsByIDParams
- func (o *UpdateDashboardPermissionsByIDParams) WithTimeout(timeout time.Duration) *UpdateDashboardPermissionsByIDParams
- func (o *UpdateDashboardPermissionsByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDashboardPermissionsByIDReader
- type UpdateDashboardPermissionsByIDUnauthorized
- func (o *UpdateDashboardPermissionsByIDUnauthorized) Code() int
- func (o *UpdateDashboardPermissionsByIDUnauthorized) Error() string
- func (o *UpdateDashboardPermissionsByIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateDashboardPermissionsByIDUnauthorized) IsClientError() bool
- func (o *UpdateDashboardPermissionsByIDUnauthorized) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByIDUnauthorized) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByIDUnauthorized) IsServerError() bool
- func (o *UpdateDashboardPermissionsByIDUnauthorized) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByIDUnauthorized) String() string
- type UpdateDashboardPermissionsByUIDBadRequest
- func (o *UpdateDashboardPermissionsByUIDBadRequest) Code() int
- func (o *UpdateDashboardPermissionsByUIDBadRequest) Error() string
- func (o *UpdateDashboardPermissionsByUIDBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *UpdateDashboardPermissionsByUIDBadRequest) IsClientError() bool
- func (o *UpdateDashboardPermissionsByUIDBadRequest) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByUIDBadRequest) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByUIDBadRequest) IsServerError() bool
- func (o *UpdateDashboardPermissionsByUIDBadRequest) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByUIDBadRequest) String() string
- type UpdateDashboardPermissionsByUIDForbidden
- func (o *UpdateDashboardPermissionsByUIDForbidden) Code() int
- func (o *UpdateDashboardPermissionsByUIDForbidden) Error() string
- func (o *UpdateDashboardPermissionsByUIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *UpdateDashboardPermissionsByUIDForbidden) IsClientError() bool
- func (o *UpdateDashboardPermissionsByUIDForbidden) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByUIDForbidden) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByUIDForbidden) IsServerError() bool
- func (o *UpdateDashboardPermissionsByUIDForbidden) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByUIDForbidden) String() string
- type UpdateDashboardPermissionsByUIDInternalServerError
- func (o *UpdateDashboardPermissionsByUIDInternalServerError) Code() int
- func (o *UpdateDashboardPermissionsByUIDInternalServerError) Error() string
- func (o *UpdateDashboardPermissionsByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateDashboardPermissionsByUIDInternalServerError) IsClientError() bool
- func (o *UpdateDashboardPermissionsByUIDInternalServerError) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByUIDInternalServerError) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByUIDInternalServerError) IsServerError() bool
- func (o *UpdateDashboardPermissionsByUIDInternalServerError) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByUIDInternalServerError) String() string
- type UpdateDashboardPermissionsByUIDNotFound
- func (o *UpdateDashboardPermissionsByUIDNotFound) Code() int
- func (o *UpdateDashboardPermissionsByUIDNotFound) Error() string
- func (o *UpdateDashboardPermissionsByUIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *UpdateDashboardPermissionsByUIDNotFound) IsClientError() bool
- func (o *UpdateDashboardPermissionsByUIDNotFound) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByUIDNotFound) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByUIDNotFound) IsServerError() bool
- func (o *UpdateDashboardPermissionsByUIDNotFound) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByUIDNotFound) String() string
- type UpdateDashboardPermissionsByUIDOK
- func (o *UpdateDashboardPermissionsByUIDOK) Code() int
- func (o *UpdateDashboardPermissionsByUIDOK) Error() string
- func (o *UpdateDashboardPermissionsByUIDOK) GetPayload() *models.SuccessResponseBody
- func (o *UpdateDashboardPermissionsByUIDOK) IsClientError() bool
- func (o *UpdateDashboardPermissionsByUIDOK) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByUIDOK) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByUIDOK) IsServerError() bool
- func (o *UpdateDashboardPermissionsByUIDOK) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByUIDOK) String() string
- type UpdateDashboardPermissionsByUIDParams
- func NewUpdateDashboardPermissionsByUIDParams() *UpdateDashboardPermissionsByUIDParams
- func NewUpdateDashboardPermissionsByUIDParamsWithContext(ctx context.Context) *UpdateDashboardPermissionsByUIDParams
- func NewUpdateDashboardPermissionsByUIDParamsWithHTTPClient(client *http.Client) *UpdateDashboardPermissionsByUIDParams
- func NewUpdateDashboardPermissionsByUIDParamsWithTimeout(timeout time.Duration) *UpdateDashboardPermissionsByUIDParams
- func (o *UpdateDashboardPermissionsByUIDParams) SetBody(body *models.UpdateDashboardACLCommand)
- func (o *UpdateDashboardPermissionsByUIDParams) SetContext(ctx context.Context)
- func (o *UpdateDashboardPermissionsByUIDParams) SetDefaults()
- func (o *UpdateDashboardPermissionsByUIDParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDashboardPermissionsByUIDParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDashboardPermissionsByUIDParams) SetUID(uid string)
- func (o *UpdateDashboardPermissionsByUIDParams) WithBody(body *models.UpdateDashboardACLCommand) *UpdateDashboardPermissionsByUIDParams
- func (o *UpdateDashboardPermissionsByUIDParams) WithContext(ctx context.Context) *UpdateDashboardPermissionsByUIDParams
- func (o *UpdateDashboardPermissionsByUIDParams) WithDefaults() *UpdateDashboardPermissionsByUIDParams
- func (o *UpdateDashboardPermissionsByUIDParams) WithHTTPClient(client *http.Client) *UpdateDashboardPermissionsByUIDParams
- func (o *UpdateDashboardPermissionsByUIDParams) WithTimeout(timeout time.Duration) *UpdateDashboardPermissionsByUIDParams
- func (o *UpdateDashboardPermissionsByUIDParams) WithUID(uid string) *UpdateDashboardPermissionsByUIDParams
- func (o *UpdateDashboardPermissionsByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDashboardPermissionsByUIDReader
- type UpdateDashboardPermissionsByUIDUnauthorized
- func (o *UpdateDashboardPermissionsByUIDUnauthorized) Code() int
- func (o *UpdateDashboardPermissionsByUIDUnauthorized) Error() string
- func (o *UpdateDashboardPermissionsByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateDashboardPermissionsByUIDUnauthorized) IsClientError() bool
- func (o *UpdateDashboardPermissionsByUIDUnauthorized) IsCode(code int) bool
- func (o *UpdateDashboardPermissionsByUIDUnauthorized) IsRedirect() bool
- func (o *UpdateDashboardPermissionsByUIDUnauthorized) IsServerError() bool
- func (o *UpdateDashboardPermissionsByUIDUnauthorized) IsSuccess() bool
- func (o *UpdateDashboardPermissionsByUIDUnauthorized) 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 permissions API
func (*Client) GetDashboardPermissionsListByID ¶
func (a *Client) GetDashboardPermissionsListByID(dashboardID int64, opts ...ClientOption) (*GetDashboardPermissionsListByIDOK, error)
GetDashboardPermissionsListByID gets all existing permissions for the given dashboard
Please refer to [updated API](#/dashboard_permissions/getDashboardPermissionsListByUID) instead
func (*Client) GetDashboardPermissionsListByIDWithParams ¶
func (a *Client) GetDashboardPermissionsListByIDWithParams(params *GetDashboardPermissionsListByIDParams, opts ...ClientOption) (*GetDashboardPermissionsListByIDOK, error)
func (*Client) GetDashboardPermissionsListByUID ¶
func (a *Client) GetDashboardPermissionsListByUID(uid string, opts ...ClientOption) (*GetDashboardPermissionsListByUIDOK, error)
GetDashboardPermissionsListByUID gets all existing permissions for the given dashboard
func (*Client) GetDashboardPermissionsListByUIDWithParams ¶
func (a *Client) GetDashboardPermissionsListByUIDWithParams(params *GetDashboardPermissionsListByUIDParams, opts ...ClientOption) (*GetDashboardPermissionsListByUIDOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDashboardPermissionsByID ¶
func (a *Client) UpdateDashboardPermissionsByID(dashboardID int64, body *models.UpdateDashboardACLCommand, opts ...ClientOption) (*UpdateDashboardPermissionsByIDOK, error)
UpdateDashboardPermissionsByID updates permissions for a dashboard
Please refer to [updated API](#/dashboard_permissions/updateDashboardPermissionsByUID) instead
This operation will remove existing permissions if they’re not included in the request.
func (*Client) UpdateDashboardPermissionsByIDWithParams ¶
func (a *Client) UpdateDashboardPermissionsByIDWithParams(params *UpdateDashboardPermissionsByIDParams, opts ...ClientOption) (*UpdateDashboardPermissionsByIDOK, error)
func (*Client) UpdateDashboardPermissionsByUID ¶
func (a *Client) UpdateDashboardPermissionsByUID(uid string, body *models.UpdateDashboardACLCommand, opts ...ClientOption) (*UpdateDashboardPermissionsByUIDOK, error)
UpdateDashboardPermissionsByUID updates permissions for a dashboard
This operation will remove existing permissions if they’re not included in the request.
func (*Client) UpdateDashboardPermissionsByUIDWithParams ¶
func (a *Client) UpdateDashboardPermissionsByUIDWithParams(params *UpdateDashboardPermissionsByUIDParams, opts ...ClientOption) (*UpdateDashboardPermissionsByUIDOK, 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 { GetDashboardPermissionsListByID(dashboardID int64, opts ...ClientOption) (*GetDashboardPermissionsListByIDOK, error) GetDashboardPermissionsListByIDWithParams(params *GetDashboardPermissionsListByIDParams, opts ...ClientOption) (*GetDashboardPermissionsListByIDOK, error) GetDashboardPermissionsListByUID(uid string, opts ...ClientOption) (*GetDashboardPermissionsListByUIDOK, error) GetDashboardPermissionsListByUIDWithParams(params *GetDashboardPermissionsListByUIDParams, opts ...ClientOption) (*GetDashboardPermissionsListByUIDOK, error) UpdateDashboardPermissionsByID(dashboardID int64, body *models.UpdateDashboardACLCommand, opts ...ClientOption) (*UpdateDashboardPermissionsByIDOK, error) UpdateDashboardPermissionsByIDWithParams(params *UpdateDashboardPermissionsByIDParams, opts ...ClientOption) (*UpdateDashboardPermissionsByIDOK, error) UpdateDashboardPermissionsByUID(uid string, body *models.UpdateDashboardACLCommand, opts ...ClientOption) (*UpdateDashboardPermissionsByUIDOK, error) UpdateDashboardPermissionsByUIDWithParams(params *UpdateDashboardPermissionsByUIDParams, opts ...ClientOption) (*UpdateDashboardPermissionsByUIDOK, 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 permissions API client.
type GetDashboardPermissionsListByIDForbidden ¶
type GetDashboardPermissionsListByIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetDashboardPermissionsListByIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetDashboardPermissionsListByIDForbidden ¶
func NewGetDashboardPermissionsListByIDForbidden() *GetDashboardPermissionsListByIDForbidden
NewGetDashboardPermissionsListByIDForbidden creates a GetDashboardPermissionsListByIDForbidden with default headers values
func (*GetDashboardPermissionsListByIDForbidden) Code ¶
func (o *GetDashboardPermissionsListByIDForbidden) Code() int
Code gets the status code for the get dashboard permissions list by Id forbidden response
func (*GetDashboardPermissionsListByIDForbidden) Error ¶
func (o *GetDashboardPermissionsListByIDForbidden) Error() string
func (*GetDashboardPermissionsListByIDForbidden) GetPayload ¶
func (o *GetDashboardPermissionsListByIDForbidden) GetPayload() *models.ErrorResponseBody
func (*GetDashboardPermissionsListByIDForbidden) IsClientError ¶
func (o *GetDashboardPermissionsListByIDForbidden) IsClientError() bool
IsClientError returns true when this get dashboard permissions list by Id forbidden response has a 4xx status code
func (*GetDashboardPermissionsListByIDForbidden) IsCode ¶
func (o *GetDashboardPermissionsListByIDForbidden) IsCode(code int) bool
IsCode returns true when this get dashboard permissions list by Id forbidden response a status code equal to that given
func (*GetDashboardPermissionsListByIDForbidden) IsRedirect ¶
func (o *GetDashboardPermissionsListByIDForbidden) IsRedirect() bool
IsRedirect returns true when this get dashboard permissions list by Id forbidden response has a 3xx status code
func (*GetDashboardPermissionsListByIDForbidden) IsServerError ¶
func (o *GetDashboardPermissionsListByIDForbidden) IsServerError() bool
IsServerError returns true when this get dashboard permissions list by Id forbidden response has a 5xx status code
func (*GetDashboardPermissionsListByIDForbidden) IsSuccess ¶
func (o *GetDashboardPermissionsListByIDForbidden) IsSuccess() bool
IsSuccess returns true when this get dashboard permissions list by Id forbidden response has a 2xx status code
func (*GetDashboardPermissionsListByIDForbidden) String ¶
func (o *GetDashboardPermissionsListByIDForbidden) String() string
type GetDashboardPermissionsListByIDInternalServerError ¶
type GetDashboardPermissionsListByIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetDashboardPermissionsListByIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetDashboardPermissionsListByIDInternalServerError ¶
func NewGetDashboardPermissionsListByIDInternalServerError() *GetDashboardPermissionsListByIDInternalServerError
NewGetDashboardPermissionsListByIDInternalServerError creates a GetDashboardPermissionsListByIDInternalServerError with default headers values
func (*GetDashboardPermissionsListByIDInternalServerError) Code ¶
func (o *GetDashboardPermissionsListByIDInternalServerError) Code() int
Code gets the status code for the get dashboard permissions list by Id internal server error response
func (*GetDashboardPermissionsListByIDInternalServerError) Error ¶
func (o *GetDashboardPermissionsListByIDInternalServerError) Error() string
func (*GetDashboardPermissionsListByIDInternalServerError) GetPayload ¶
func (o *GetDashboardPermissionsListByIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetDashboardPermissionsListByIDInternalServerError) IsClientError ¶
func (o *GetDashboardPermissionsListByIDInternalServerError) IsClientError() bool
IsClientError returns true when this get dashboard permissions list by Id internal server error response has a 4xx status code
func (*GetDashboardPermissionsListByIDInternalServerError) IsCode ¶
func (o *GetDashboardPermissionsListByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get dashboard permissions list by Id internal server error response a status code equal to that given
func (*GetDashboardPermissionsListByIDInternalServerError) IsRedirect ¶
func (o *GetDashboardPermissionsListByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get dashboard permissions list by Id internal server error response has a 3xx status code
func (*GetDashboardPermissionsListByIDInternalServerError) IsServerError ¶
func (o *GetDashboardPermissionsListByIDInternalServerError) IsServerError() bool
IsServerError returns true when this get dashboard permissions list by Id internal server error response has a 5xx status code
func (*GetDashboardPermissionsListByIDInternalServerError) IsSuccess ¶
func (o *GetDashboardPermissionsListByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get dashboard permissions list by Id internal server error response has a 2xx status code
func (*GetDashboardPermissionsListByIDInternalServerError) String ¶
func (o *GetDashboardPermissionsListByIDInternalServerError) String() string
type GetDashboardPermissionsListByIDNotFound ¶
type GetDashboardPermissionsListByIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetDashboardPermissionsListByIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetDashboardPermissionsListByIDNotFound ¶
func NewGetDashboardPermissionsListByIDNotFound() *GetDashboardPermissionsListByIDNotFound
NewGetDashboardPermissionsListByIDNotFound creates a GetDashboardPermissionsListByIDNotFound with default headers values
func (*GetDashboardPermissionsListByIDNotFound) Code ¶
func (o *GetDashboardPermissionsListByIDNotFound) Code() int
Code gets the status code for the get dashboard permissions list by Id not found response
func (*GetDashboardPermissionsListByIDNotFound) Error ¶
func (o *GetDashboardPermissionsListByIDNotFound) Error() string
func (*GetDashboardPermissionsListByIDNotFound) GetPayload ¶
func (o *GetDashboardPermissionsListByIDNotFound) GetPayload() *models.ErrorResponseBody
func (*GetDashboardPermissionsListByIDNotFound) IsClientError ¶
func (o *GetDashboardPermissionsListByIDNotFound) IsClientError() bool
IsClientError returns true when this get dashboard permissions list by Id not found response has a 4xx status code
func (*GetDashboardPermissionsListByIDNotFound) IsCode ¶
func (o *GetDashboardPermissionsListByIDNotFound) IsCode(code int) bool
IsCode returns true when this get dashboard permissions list by Id not found response a status code equal to that given
func (*GetDashboardPermissionsListByIDNotFound) IsRedirect ¶
func (o *GetDashboardPermissionsListByIDNotFound) IsRedirect() bool
IsRedirect returns true when this get dashboard permissions list by Id not found response has a 3xx status code
func (*GetDashboardPermissionsListByIDNotFound) IsServerError ¶
func (o *GetDashboardPermissionsListByIDNotFound) IsServerError() bool
IsServerError returns true when this get dashboard permissions list by Id not found response has a 5xx status code
func (*GetDashboardPermissionsListByIDNotFound) IsSuccess ¶
func (o *GetDashboardPermissionsListByIDNotFound) IsSuccess() bool
IsSuccess returns true when this get dashboard permissions list by Id not found response has a 2xx status code
func (*GetDashboardPermissionsListByIDNotFound) String ¶
func (o *GetDashboardPermissionsListByIDNotFound) String() string
type GetDashboardPermissionsListByIDOK ¶
type GetDashboardPermissionsListByIDOK struct {
Payload []*models.DashboardACLInfoDTO
}
GetDashboardPermissionsListByIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetDashboardPermissionsListByIDOK ¶
func NewGetDashboardPermissionsListByIDOK() *GetDashboardPermissionsListByIDOK
NewGetDashboardPermissionsListByIDOK creates a GetDashboardPermissionsListByIDOK with default headers values
func (*GetDashboardPermissionsListByIDOK) Code ¶
func (o *GetDashboardPermissionsListByIDOK) Code() int
Code gets the status code for the get dashboard permissions list by Id Ok response
func (*GetDashboardPermissionsListByIDOK) Error ¶
func (o *GetDashboardPermissionsListByIDOK) Error() string
func (*GetDashboardPermissionsListByIDOK) GetPayload ¶
func (o *GetDashboardPermissionsListByIDOK) GetPayload() []*models.DashboardACLInfoDTO
func (*GetDashboardPermissionsListByIDOK) IsClientError ¶
func (o *GetDashboardPermissionsListByIDOK) IsClientError() bool
IsClientError returns true when this get dashboard permissions list by Id Ok response has a 4xx status code
func (*GetDashboardPermissionsListByIDOK) IsCode ¶
func (o *GetDashboardPermissionsListByIDOK) IsCode(code int) bool
IsCode returns true when this get dashboard permissions list by Id Ok response a status code equal to that given
func (*GetDashboardPermissionsListByIDOK) IsRedirect ¶
func (o *GetDashboardPermissionsListByIDOK) IsRedirect() bool
IsRedirect returns true when this get dashboard permissions list by Id Ok response has a 3xx status code
func (*GetDashboardPermissionsListByIDOK) IsServerError ¶
func (o *GetDashboardPermissionsListByIDOK) IsServerError() bool
IsServerError returns true when this get dashboard permissions list by Id Ok response has a 5xx status code
func (*GetDashboardPermissionsListByIDOK) IsSuccess ¶
func (o *GetDashboardPermissionsListByIDOK) IsSuccess() bool
IsSuccess returns true when this get dashboard permissions list by Id Ok response has a 2xx status code
func (*GetDashboardPermissionsListByIDOK) String ¶
func (o *GetDashboardPermissionsListByIDOK) String() string
type GetDashboardPermissionsListByIDParams ¶
type GetDashboardPermissionsListByIDParams struct { // DashboardID. // // Format: int64 DashboardID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardPermissionsListByIDParams contains all the parameters to send to the API endpoint
for the get dashboard permissions list by ID operation. Typically these are written to a http.Request.
func NewGetDashboardPermissionsListByIDParams ¶
func NewGetDashboardPermissionsListByIDParams() *GetDashboardPermissionsListByIDParams
NewGetDashboardPermissionsListByIDParams creates a new GetDashboardPermissionsListByIDParams 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 NewGetDashboardPermissionsListByIDParamsWithContext ¶
func NewGetDashboardPermissionsListByIDParamsWithContext(ctx context.Context) *GetDashboardPermissionsListByIDParams
NewGetDashboardPermissionsListByIDParamsWithContext creates a new GetDashboardPermissionsListByIDParams object with the ability to set a context for a request.
func NewGetDashboardPermissionsListByIDParamsWithHTTPClient ¶
func NewGetDashboardPermissionsListByIDParamsWithHTTPClient(client *http.Client) *GetDashboardPermissionsListByIDParams
NewGetDashboardPermissionsListByIDParamsWithHTTPClient creates a new GetDashboardPermissionsListByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardPermissionsListByIDParamsWithTimeout ¶
func NewGetDashboardPermissionsListByIDParamsWithTimeout(timeout time.Duration) *GetDashboardPermissionsListByIDParams
NewGetDashboardPermissionsListByIDParamsWithTimeout creates a new GetDashboardPermissionsListByIDParams object with the ability to set a timeout on a request.
func (*GetDashboardPermissionsListByIDParams) SetContext ¶
func (o *GetDashboardPermissionsListByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard permissions list by ID params
func (*GetDashboardPermissionsListByIDParams) SetDashboardID ¶
func (o *GetDashboardPermissionsListByIDParams) SetDashboardID(dashboardID int64)
SetDashboardID adds the dashboardId to the get dashboard permissions list by ID params
func (*GetDashboardPermissionsListByIDParams) SetDefaults ¶
func (o *GetDashboardPermissionsListByIDParams) SetDefaults()
SetDefaults hydrates default values in the get dashboard permissions list by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardPermissionsListByIDParams) SetHTTPClient ¶
func (o *GetDashboardPermissionsListByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard permissions list by ID params
func (*GetDashboardPermissionsListByIDParams) SetTimeout ¶
func (o *GetDashboardPermissionsListByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard permissions list by ID params
func (*GetDashboardPermissionsListByIDParams) WithContext ¶
func (o *GetDashboardPermissionsListByIDParams) WithContext(ctx context.Context) *GetDashboardPermissionsListByIDParams
WithContext adds the context to the get dashboard permissions list by ID params
func (*GetDashboardPermissionsListByIDParams) WithDashboardID ¶
func (o *GetDashboardPermissionsListByIDParams) WithDashboardID(dashboardID int64) *GetDashboardPermissionsListByIDParams
WithDashboardID adds the dashboardID to the get dashboard permissions list by ID params
func (*GetDashboardPermissionsListByIDParams) WithDefaults ¶
func (o *GetDashboardPermissionsListByIDParams) WithDefaults() *GetDashboardPermissionsListByIDParams
WithDefaults hydrates default values in the get dashboard permissions list by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardPermissionsListByIDParams) WithHTTPClient ¶
func (o *GetDashboardPermissionsListByIDParams) WithHTTPClient(client *http.Client) *GetDashboardPermissionsListByIDParams
WithHTTPClient adds the HTTPClient to the get dashboard permissions list by ID params
func (*GetDashboardPermissionsListByIDParams) WithTimeout ¶
func (o *GetDashboardPermissionsListByIDParams) WithTimeout(timeout time.Duration) *GetDashboardPermissionsListByIDParams
WithTimeout adds the timeout to the get dashboard permissions list by ID params
func (*GetDashboardPermissionsListByIDParams) WriteToRequest ¶
func (o *GetDashboardPermissionsListByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardPermissionsListByIDReader ¶
type GetDashboardPermissionsListByIDReader struct {
// contains filtered or unexported fields
}
GetDashboardPermissionsListByIDReader is a Reader for the GetDashboardPermissionsListByID structure.
func (*GetDashboardPermissionsListByIDReader) ReadResponse ¶
func (o *GetDashboardPermissionsListByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDashboardPermissionsListByIDUnauthorized ¶
type GetDashboardPermissionsListByIDUnauthorized struct {
}GetDashboardPermissionsListByIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetDashboardPermissionsListByIDUnauthorized ¶
func NewGetDashboardPermissionsListByIDUnauthorized() *GetDashboardPermissionsListByIDUnauthorized
NewGetDashboardPermissionsListByIDUnauthorized creates a GetDashboardPermissionsListByIDUnauthorized with default headers values
func (*GetDashboardPermissionsListByIDUnauthorized) Code ¶
func (o *GetDashboardPermissionsListByIDUnauthorized) Code() int
Code gets the status code for the get dashboard permissions list by Id unauthorized response
func (*GetDashboardPermissionsListByIDUnauthorized) Error ¶
func (o *GetDashboardPermissionsListByIDUnauthorized) Error() string
func (*GetDashboardPermissionsListByIDUnauthorized) GetPayload ¶
func (o *GetDashboardPermissionsListByIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetDashboardPermissionsListByIDUnauthorized) IsClientError ¶
func (o *GetDashboardPermissionsListByIDUnauthorized) IsClientError() bool
IsClientError returns true when this get dashboard permissions list by Id unauthorized response has a 4xx status code
func (*GetDashboardPermissionsListByIDUnauthorized) IsCode ¶
func (o *GetDashboardPermissionsListByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get dashboard permissions list by Id unauthorized response a status code equal to that given
func (*GetDashboardPermissionsListByIDUnauthorized) IsRedirect ¶
func (o *GetDashboardPermissionsListByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get dashboard permissions list by Id unauthorized response has a 3xx status code
func (*GetDashboardPermissionsListByIDUnauthorized) IsServerError ¶
func (o *GetDashboardPermissionsListByIDUnauthorized) IsServerError() bool
IsServerError returns true when this get dashboard permissions list by Id unauthorized response has a 5xx status code
func (*GetDashboardPermissionsListByIDUnauthorized) IsSuccess ¶
func (o *GetDashboardPermissionsListByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get dashboard permissions list by Id unauthorized response has a 2xx status code
func (*GetDashboardPermissionsListByIDUnauthorized) String ¶
func (o *GetDashboardPermissionsListByIDUnauthorized) String() string
type GetDashboardPermissionsListByUIDForbidden ¶
type GetDashboardPermissionsListByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetDashboardPermissionsListByUIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetDashboardPermissionsListByUIDForbidden ¶
func NewGetDashboardPermissionsListByUIDForbidden() *GetDashboardPermissionsListByUIDForbidden
NewGetDashboardPermissionsListByUIDForbidden creates a GetDashboardPermissionsListByUIDForbidden with default headers values
func (*GetDashboardPermissionsListByUIDForbidden) Code ¶
func (o *GetDashboardPermissionsListByUIDForbidden) Code() int
Code gets the status code for the get dashboard permissions list by Uid forbidden response
func (*GetDashboardPermissionsListByUIDForbidden) Error ¶
func (o *GetDashboardPermissionsListByUIDForbidden) Error() string
func (*GetDashboardPermissionsListByUIDForbidden) GetPayload ¶
func (o *GetDashboardPermissionsListByUIDForbidden) GetPayload() *models.ErrorResponseBody
func (*GetDashboardPermissionsListByUIDForbidden) IsClientError ¶
func (o *GetDashboardPermissionsListByUIDForbidden) IsClientError() bool
IsClientError returns true when this get dashboard permissions list by Uid forbidden response has a 4xx status code
func (*GetDashboardPermissionsListByUIDForbidden) IsCode ¶
func (o *GetDashboardPermissionsListByUIDForbidden) IsCode(code int) bool
IsCode returns true when this get dashboard permissions list by Uid forbidden response a status code equal to that given
func (*GetDashboardPermissionsListByUIDForbidden) IsRedirect ¶
func (o *GetDashboardPermissionsListByUIDForbidden) IsRedirect() bool
IsRedirect returns true when this get dashboard permissions list by Uid forbidden response has a 3xx status code
func (*GetDashboardPermissionsListByUIDForbidden) IsServerError ¶
func (o *GetDashboardPermissionsListByUIDForbidden) IsServerError() bool
IsServerError returns true when this get dashboard permissions list by Uid forbidden response has a 5xx status code
func (*GetDashboardPermissionsListByUIDForbidden) IsSuccess ¶
func (o *GetDashboardPermissionsListByUIDForbidden) IsSuccess() bool
IsSuccess returns true when this get dashboard permissions list by Uid forbidden response has a 2xx status code
func (*GetDashboardPermissionsListByUIDForbidden) String ¶
func (o *GetDashboardPermissionsListByUIDForbidden) String() string
type GetDashboardPermissionsListByUIDInternalServerError ¶
type GetDashboardPermissionsListByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetDashboardPermissionsListByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetDashboardPermissionsListByUIDInternalServerError ¶
func NewGetDashboardPermissionsListByUIDInternalServerError() *GetDashboardPermissionsListByUIDInternalServerError
NewGetDashboardPermissionsListByUIDInternalServerError creates a GetDashboardPermissionsListByUIDInternalServerError with default headers values
func (*GetDashboardPermissionsListByUIDInternalServerError) Code ¶
func (o *GetDashboardPermissionsListByUIDInternalServerError) Code() int
Code gets the status code for the get dashboard permissions list by Uid internal server error response
func (*GetDashboardPermissionsListByUIDInternalServerError) Error ¶
func (o *GetDashboardPermissionsListByUIDInternalServerError) Error() string
func (*GetDashboardPermissionsListByUIDInternalServerError) GetPayload ¶
func (o *GetDashboardPermissionsListByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetDashboardPermissionsListByUIDInternalServerError) IsClientError ¶
func (o *GetDashboardPermissionsListByUIDInternalServerError) IsClientError() bool
IsClientError returns true when this get dashboard permissions list by Uid internal server error response has a 4xx status code
func (*GetDashboardPermissionsListByUIDInternalServerError) IsCode ¶
func (o *GetDashboardPermissionsListByUIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get dashboard permissions list by Uid internal server error response a status code equal to that given
func (*GetDashboardPermissionsListByUIDInternalServerError) IsRedirect ¶
func (o *GetDashboardPermissionsListByUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get dashboard permissions list by Uid internal server error response has a 3xx status code
func (*GetDashboardPermissionsListByUIDInternalServerError) IsServerError ¶
func (o *GetDashboardPermissionsListByUIDInternalServerError) IsServerError() bool
IsServerError returns true when this get dashboard permissions list by Uid internal server error response has a 5xx status code
func (*GetDashboardPermissionsListByUIDInternalServerError) IsSuccess ¶
func (o *GetDashboardPermissionsListByUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get dashboard permissions list by Uid internal server error response has a 2xx status code
func (*GetDashboardPermissionsListByUIDInternalServerError) String ¶
func (o *GetDashboardPermissionsListByUIDInternalServerError) String() string
type GetDashboardPermissionsListByUIDNotFound ¶
type GetDashboardPermissionsListByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetDashboardPermissionsListByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetDashboardPermissionsListByUIDNotFound ¶
func NewGetDashboardPermissionsListByUIDNotFound() *GetDashboardPermissionsListByUIDNotFound
NewGetDashboardPermissionsListByUIDNotFound creates a GetDashboardPermissionsListByUIDNotFound with default headers values
func (*GetDashboardPermissionsListByUIDNotFound) Code ¶
func (o *GetDashboardPermissionsListByUIDNotFound) Code() int
Code gets the status code for the get dashboard permissions list by Uid not found response
func (*GetDashboardPermissionsListByUIDNotFound) Error ¶
func (o *GetDashboardPermissionsListByUIDNotFound) Error() string
func (*GetDashboardPermissionsListByUIDNotFound) GetPayload ¶
func (o *GetDashboardPermissionsListByUIDNotFound) GetPayload() *models.ErrorResponseBody
func (*GetDashboardPermissionsListByUIDNotFound) IsClientError ¶
func (o *GetDashboardPermissionsListByUIDNotFound) IsClientError() bool
IsClientError returns true when this get dashboard permissions list by Uid not found response has a 4xx status code
func (*GetDashboardPermissionsListByUIDNotFound) IsCode ¶
func (o *GetDashboardPermissionsListByUIDNotFound) IsCode(code int) bool
IsCode returns true when this get dashboard permissions list by Uid not found response a status code equal to that given
func (*GetDashboardPermissionsListByUIDNotFound) IsRedirect ¶
func (o *GetDashboardPermissionsListByUIDNotFound) IsRedirect() bool
IsRedirect returns true when this get dashboard permissions list by Uid not found response has a 3xx status code
func (*GetDashboardPermissionsListByUIDNotFound) IsServerError ¶
func (o *GetDashboardPermissionsListByUIDNotFound) IsServerError() bool
IsServerError returns true when this get dashboard permissions list by Uid not found response has a 5xx status code
func (*GetDashboardPermissionsListByUIDNotFound) IsSuccess ¶
func (o *GetDashboardPermissionsListByUIDNotFound) IsSuccess() bool
IsSuccess returns true when this get dashboard permissions list by Uid not found response has a 2xx status code
func (*GetDashboardPermissionsListByUIDNotFound) String ¶
func (o *GetDashboardPermissionsListByUIDNotFound) String() string
type GetDashboardPermissionsListByUIDOK ¶
type GetDashboardPermissionsListByUIDOK struct {
Payload []*models.DashboardACLInfoDTO
}
GetDashboardPermissionsListByUIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetDashboardPermissionsListByUIDOK ¶
func NewGetDashboardPermissionsListByUIDOK() *GetDashboardPermissionsListByUIDOK
NewGetDashboardPermissionsListByUIDOK creates a GetDashboardPermissionsListByUIDOK with default headers values
func (*GetDashboardPermissionsListByUIDOK) Code ¶
func (o *GetDashboardPermissionsListByUIDOK) Code() int
Code gets the status code for the get dashboard permissions list by Uid Ok response
func (*GetDashboardPermissionsListByUIDOK) Error ¶
func (o *GetDashboardPermissionsListByUIDOK) Error() string
func (*GetDashboardPermissionsListByUIDOK) GetPayload ¶
func (o *GetDashboardPermissionsListByUIDOK) GetPayload() []*models.DashboardACLInfoDTO
func (*GetDashboardPermissionsListByUIDOK) IsClientError ¶
func (o *GetDashboardPermissionsListByUIDOK) IsClientError() bool
IsClientError returns true when this get dashboard permissions list by Uid Ok response has a 4xx status code
func (*GetDashboardPermissionsListByUIDOK) IsCode ¶
func (o *GetDashboardPermissionsListByUIDOK) IsCode(code int) bool
IsCode returns true when this get dashboard permissions list by Uid Ok response a status code equal to that given
func (*GetDashboardPermissionsListByUIDOK) IsRedirect ¶
func (o *GetDashboardPermissionsListByUIDOK) IsRedirect() bool
IsRedirect returns true when this get dashboard permissions list by Uid Ok response has a 3xx status code
func (*GetDashboardPermissionsListByUIDOK) IsServerError ¶
func (o *GetDashboardPermissionsListByUIDOK) IsServerError() bool
IsServerError returns true when this get dashboard permissions list by Uid Ok response has a 5xx status code
func (*GetDashboardPermissionsListByUIDOK) IsSuccess ¶
func (o *GetDashboardPermissionsListByUIDOK) IsSuccess() bool
IsSuccess returns true when this get dashboard permissions list by Uid Ok response has a 2xx status code
func (*GetDashboardPermissionsListByUIDOK) String ¶
func (o *GetDashboardPermissionsListByUIDOK) String() string
type GetDashboardPermissionsListByUIDParams ¶
type GetDashboardPermissionsListByUIDParams struct { // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardPermissionsListByUIDParams contains all the parameters to send to the API endpoint
for the get dashboard permissions list by UID operation. Typically these are written to a http.Request.
func NewGetDashboardPermissionsListByUIDParams ¶
func NewGetDashboardPermissionsListByUIDParams() *GetDashboardPermissionsListByUIDParams
NewGetDashboardPermissionsListByUIDParams creates a new GetDashboardPermissionsListByUIDParams 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 NewGetDashboardPermissionsListByUIDParamsWithContext ¶
func NewGetDashboardPermissionsListByUIDParamsWithContext(ctx context.Context) *GetDashboardPermissionsListByUIDParams
NewGetDashboardPermissionsListByUIDParamsWithContext creates a new GetDashboardPermissionsListByUIDParams object with the ability to set a context for a request.
func NewGetDashboardPermissionsListByUIDParamsWithHTTPClient ¶
func NewGetDashboardPermissionsListByUIDParamsWithHTTPClient(client *http.Client) *GetDashboardPermissionsListByUIDParams
NewGetDashboardPermissionsListByUIDParamsWithHTTPClient creates a new GetDashboardPermissionsListByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardPermissionsListByUIDParamsWithTimeout ¶
func NewGetDashboardPermissionsListByUIDParamsWithTimeout(timeout time.Duration) *GetDashboardPermissionsListByUIDParams
NewGetDashboardPermissionsListByUIDParamsWithTimeout creates a new GetDashboardPermissionsListByUIDParams object with the ability to set a timeout on a request.
func (*GetDashboardPermissionsListByUIDParams) SetContext ¶
func (o *GetDashboardPermissionsListByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard permissions list by UID params
func (*GetDashboardPermissionsListByUIDParams) SetDefaults ¶
func (o *GetDashboardPermissionsListByUIDParams) SetDefaults()
SetDefaults hydrates default values in the get dashboard permissions list by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardPermissionsListByUIDParams) SetHTTPClient ¶
func (o *GetDashboardPermissionsListByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard permissions list by UID params
func (*GetDashboardPermissionsListByUIDParams) SetTimeout ¶
func (o *GetDashboardPermissionsListByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard permissions list by UID params
func (*GetDashboardPermissionsListByUIDParams) SetUID ¶
func (o *GetDashboardPermissionsListByUIDParams) SetUID(uid string)
SetUID adds the uid to the get dashboard permissions list by UID params
func (*GetDashboardPermissionsListByUIDParams) WithContext ¶
func (o *GetDashboardPermissionsListByUIDParams) WithContext(ctx context.Context) *GetDashboardPermissionsListByUIDParams
WithContext adds the context to the get dashboard permissions list by UID params
func (*GetDashboardPermissionsListByUIDParams) WithDefaults ¶
func (o *GetDashboardPermissionsListByUIDParams) WithDefaults() *GetDashboardPermissionsListByUIDParams
WithDefaults hydrates default values in the get dashboard permissions list by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardPermissionsListByUIDParams) WithHTTPClient ¶
func (o *GetDashboardPermissionsListByUIDParams) WithHTTPClient(client *http.Client) *GetDashboardPermissionsListByUIDParams
WithHTTPClient adds the HTTPClient to the get dashboard permissions list by UID params
func (*GetDashboardPermissionsListByUIDParams) WithTimeout ¶
func (o *GetDashboardPermissionsListByUIDParams) WithTimeout(timeout time.Duration) *GetDashboardPermissionsListByUIDParams
WithTimeout adds the timeout to the get dashboard permissions list by UID params
func (*GetDashboardPermissionsListByUIDParams) WithUID ¶
func (o *GetDashboardPermissionsListByUIDParams) WithUID(uid string) *GetDashboardPermissionsListByUIDParams
WithUID adds the uid to the get dashboard permissions list by UID params
func (*GetDashboardPermissionsListByUIDParams) WriteToRequest ¶
func (o *GetDashboardPermissionsListByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardPermissionsListByUIDReader ¶
type GetDashboardPermissionsListByUIDReader struct {
// contains filtered or unexported fields
}
GetDashboardPermissionsListByUIDReader is a Reader for the GetDashboardPermissionsListByUID structure.
func (*GetDashboardPermissionsListByUIDReader) ReadResponse ¶
func (o *GetDashboardPermissionsListByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDashboardPermissionsListByUIDUnauthorized ¶
type GetDashboardPermissionsListByUIDUnauthorized struct {
}GetDashboardPermissionsListByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetDashboardPermissionsListByUIDUnauthorized ¶
func NewGetDashboardPermissionsListByUIDUnauthorized() *GetDashboardPermissionsListByUIDUnauthorized
NewGetDashboardPermissionsListByUIDUnauthorized creates a GetDashboardPermissionsListByUIDUnauthorized with default headers values
func (*GetDashboardPermissionsListByUIDUnauthorized) Code ¶
func (o *GetDashboardPermissionsListByUIDUnauthorized) Code() int
Code gets the status code for the get dashboard permissions list by Uid unauthorized response
func (*GetDashboardPermissionsListByUIDUnauthorized) Error ¶
func (o *GetDashboardPermissionsListByUIDUnauthorized) Error() string
func (*GetDashboardPermissionsListByUIDUnauthorized) GetPayload ¶
func (o *GetDashboardPermissionsListByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetDashboardPermissionsListByUIDUnauthorized) IsClientError ¶
func (o *GetDashboardPermissionsListByUIDUnauthorized) IsClientError() bool
IsClientError returns true when this get dashboard permissions list by Uid unauthorized response has a 4xx status code
func (*GetDashboardPermissionsListByUIDUnauthorized) IsCode ¶
func (o *GetDashboardPermissionsListByUIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get dashboard permissions list by Uid unauthorized response a status code equal to that given
func (*GetDashboardPermissionsListByUIDUnauthorized) IsRedirect ¶
func (o *GetDashboardPermissionsListByUIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get dashboard permissions list by Uid unauthorized response has a 3xx status code
func (*GetDashboardPermissionsListByUIDUnauthorized) IsServerError ¶
func (o *GetDashboardPermissionsListByUIDUnauthorized) IsServerError() bool
IsServerError returns true when this get dashboard permissions list by Uid unauthorized response has a 5xx status code
func (*GetDashboardPermissionsListByUIDUnauthorized) IsSuccess ¶
func (o *GetDashboardPermissionsListByUIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get dashboard permissions list by Uid unauthorized response has a 2xx status code
func (*GetDashboardPermissionsListByUIDUnauthorized) String ¶
func (o *GetDashboardPermissionsListByUIDUnauthorized) String() string
type UpdateDashboardPermissionsByIDBadRequest ¶
type UpdateDashboardPermissionsByIDBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateDashboardPermissionsByIDBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewUpdateDashboardPermissionsByIDBadRequest ¶
func NewUpdateDashboardPermissionsByIDBadRequest() *UpdateDashboardPermissionsByIDBadRequest
NewUpdateDashboardPermissionsByIDBadRequest creates a UpdateDashboardPermissionsByIDBadRequest with default headers values
func (*UpdateDashboardPermissionsByIDBadRequest) Code ¶
func (o *UpdateDashboardPermissionsByIDBadRequest) Code() int
Code gets the status code for the update dashboard permissions by Id bad request response
func (*UpdateDashboardPermissionsByIDBadRequest) Error ¶
func (o *UpdateDashboardPermissionsByIDBadRequest) Error() string
func (*UpdateDashboardPermissionsByIDBadRequest) GetPayload ¶
func (o *UpdateDashboardPermissionsByIDBadRequest) GetPayload() *models.ErrorResponseBody
func (*UpdateDashboardPermissionsByIDBadRequest) IsClientError ¶
func (o *UpdateDashboardPermissionsByIDBadRequest) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Id bad request response has a 4xx status code
func (*UpdateDashboardPermissionsByIDBadRequest) IsCode ¶
func (o *UpdateDashboardPermissionsByIDBadRequest) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Id bad request response a status code equal to that given
func (*UpdateDashboardPermissionsByIDBadRequest) IsRedirect ¶
func (o *UpdateDashboardPermissionsByIDBadRequest) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Id bad request response has a 3xx status code
func (*UpdateDashboardPermissionsByIDBadRequest) IsServerError ¶
func (o *UpdateDashboardPermissionsByIDBadRequest) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Id bad request response has a 5xx status code
func (*UpdateDashboardPermissionsByIDBadRequest) IsSuccess ¶
func (o *UpdateDashboardPermissionsByIDBadRequest) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Id bad request response has a 2xx status code
func (*UpdateDashboardPermissionsByIDBadRequest) String ¶
func (o *UpdateDashboardPermissionsByIDBadRequest) String() string
type UpdateDashboardPermissionsByIDForbidden ¶
type UpdateDashboardPermissionsByIDForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateDashboardPermissionsByIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateDashboardPermissionsByIDForbidden ¶
func NewUpdateDashboardPermissionsByIDForbidden() *UpdateDashboardPermissionsByIDForbidden
NewUpdateDashboardPermissionsByIDForbidden creates a UpdateDashboardPermissionsByIDForbidden with default headers values
func (*UpdateDashboardPermissionsByIDForbidden) Code ¶
func (o *UpdateDashboardPermissionsByIDForbidden) Code() int
Code gets the status code for the update dashboard permissions by Id forbidden response
func (*UpdateDashboardPermissionsByIDForbidden) Error ¶
func (o *UpdateDashboardPermissionsByIDForbidden) Error() string
func (*UpdateDashboardPermissionsByIDForbidden) GetPayload ¶
func (o *UpdateDashboardPermissionsByIDForbidden) GetPayload() *models.ErrorResponseBody
func (*UpdateDashboardPermissionsByIDForbidden) IsClientError ¶
func (o *UpdateDashboardPermissionsByIDForbidden) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Id forbidden response has a 4xx status code
func (*UpdateDashboardPermissionsByIDForbidden) IsCode ¶
func (o *UpdateDashboardPermissionsByIDForbidden) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Id forbidden response a status code equal to that given
func (*UpdateDashboardPermissionsByIDForbidden) IsRedirect ¶
func (o *UpdateDashboardPermissionsByIDForbidden) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Id forbidden response has a 3xx status code
func (*UpdateDashboardPermissionsByIDForbidden) IsServerError ¶
func (o *UpdateDashboardPermissionsByIDForbidden) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Id forbidden response has a 5xx status code
func (*UpdateDashboardPermissionsByIDForbidden) IsSuccess ¶
func (o *UpdateDashboardPermissionsByIDForbidden) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Id forbidden response has a 2xx status code
func (*UpdateDashboardPermissionsByIDForbidden) String ¶
func (o *UpdateDashboardPermissionsByIDForbidden) String() string
type UpdateDashboardPermissionsByIDInternalServerError ¶
type UpdateDashboardPermissionsByIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateDashboardPermissionsByIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateDashboardPermissionsByIDInternalServerError ¶
func NewUpdateDashboardPermissionsByIDInternalServerError() *UpdateDashboardPermissionsByIDInternalServerError
NewUpdateDashboardPermissionsByIDInternalServerError creates a UpdateDashboardPermissionsByIDInternalServerError with default headers values
func (*UpdateDashboardPermissionsByIDInternalServerError) Code ¶
func (o *UpdateDashboardPermissionsByIDInternalServerError) Code() int
Code gets the status code for the update dashboard permissions by Id internal server error response
func (*UpdateDashboardPermissionsByIDInternalServerError) Error ¶
func (o *UpdateDashboardPermissionsByIDInternalServerError) Error() string
func (*UpdateDashboardPermissionsByIDInternalServerError) GetPayload ¶
func (o *UpdateDashboardPermissionsByIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*UpdateDashboardPermissionsByIDInternalServerError) IsClientError ¶
func (o *UpdateDashboardPermissionsByIDInternalServerError) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Id internal server error response has a 4xx status code
func (*UpdateDashboardPermissionsByIDInternalServerError) IsCode ¶
func (o *UpdateDashboardPermissionsByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Id internal server error response a status code equal to that given
func (*UpdateDashboardPermissionsByIDInternalServerError) IsRedirect ¶
func (o *UpdateDashboardPermissionsByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Id internal server error response has a 3xx status code
func (*UpdateDashboardPermissionsByIDInternalServerError) IsServerError ¶
func (o *UpdateDashboardPermissionsByIDInternalServerError) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Id internal server error response has a 5xx status code
func (*UpdateDashboardPermissionsByIDInternalServerError) IsSuccess ¶
func (o *UpdateDashboardPermissionsByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Id internal server error response has a 2xx status code
func (*UpdateDashboardPermissionsByIDInternalServerError) String ¶
func (o *UpdateDashboardPermissionsByIDInternalServerError) String() string
type UpdateDashboardPermissionsByIDNotFound ¶
type UpdateDashboardPermissionsByIDNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateDashboardPermissionsByIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateDashboardPermissionsByIDNotFound ¶
func NewUpdateDashboardPermissionsByIDNotFound() *UpdateDashboardPermissionsByIDNotFound
NewUpdateDashboardPermissionsByIDNotFound creates a UpdateDashboardPermissionsByIDNotFound with default headers values
func (*UpdateDashboardPermissionsByIDNotFound) Code ¶
func (o *UpdateDashboardPermissionsByIDNotFound) Code() int
Code gets the status code for the update dashboard permissions by Id not found response
func (*UpdateDashboardPermissionsByIDNotFound) Error ¶
func (o *UpdateDashboardPermissionsByIDNotFound) Error() string
func (*UpdateDashboardPermissionsByIDNotFound) GetPayload ¶
func (o *UpdateDashboardPermissionsByIDNotFound) GetPayload() *models.ErrorResponseBody
func (*UpdateDashboardPermissionsByIDNotFound) IsClientError ¶
func (o *UpdateDashboardPermissionsByIDNotFound) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Id not found response has a 4xx status code
func (*UpdateDashboardPermissionsByIDNotFound) IsCode ¶
func (o *UpdateDashboardPermissionsByIDNotFound) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Id not found response a status code equal to that given
func (*UpdateDashboardPermissionsByIDNotFound) IsRedirect ¶
func (o *UpdateDashboardPermissionsByIDNotFound) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Id not found response has a 3xx status code
func (*UpdateDashboardPermissionsByIDNotFound) IsServerError ¶
func (o *UpdateDashboardPermissionsByIDNotFound) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Id not found response has a 5xx status code
func (*UpdateDashboardPermissionsByIDNotFound) IsSuccess ¶
func (o *UpdateDashboardPermissionsByIDNotFound) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Id not found response has a 2xx status code
func (*UpdateDashboardPermissionsByIDNotFound) String ¶
func (o *UpdateDashboardPermissionsByIDNotFound) String() string
type UpdateDashboardPermissionsByIDOK ¶
type UpdateDashboardPermissionsByIDOK struct {
Payload *models.SuccessResponseBody
}
UpdateDashboardPermissionsByIDOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateDashboardPermissionsByIDOK ¶
func NewUpdateDashboardPermissionsByIDOK() *UpdateDashboardPermissionsByIDOK
NewUpdateDashboardPermissionsByIDOK creates a UpdateDashboardPermissionsByIDOK with default headers values
func (*UpdateDashboardPermissionsByIDOK) Code ¶
func (o *UpdateDashboardPermissionsByIDOK) Code() int
Code gets the status code for the update dashboard permissions by Id Ok response
func (*UpdateDashboardPermissionsByIDOK) Error ¶
func (o *UpdateDashboardPermissionsByIDOK) Error() string
func (*UpdateDashboardPermissionsByIDOK) GetPayload ¶
func (o *UpdateDashboardPermissionsByIDOK) GetPayload() *models.SuccessResponseBody
func (*UpdateDashboardPermissionsByIDOK) IsClientError ¶
func (o *UpdateDashboardPermissionsByIDOK) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Id Ok response has a 4xx status code
func (*UpdateDashboardPermissionsByIDOK) IsCode ¶
func (o *UpdateDashboardPermissionsByIDOK) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Id Ok response a status code equal to that given
func (*UpdateDashboardPermissionsByIDOK) IsRedirect ¶
func (o *UpdateDashboardPermissionsByIDOK) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Id Ok response has a 3xx status code
func (*UpdateDashboardPermissionsByIDOK) IsServerError ¶
func (o *UpdateDashboardPermissionsByIDOK) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Id Ok response has a 5xx status code
func (*UpdateDashboardPermissionsByIDOK) IsSuccess ¶
func (o *UpdateDashboardPermissionsByIDOK) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Id Ok response has a 2xx status code
func (*UpdateDashboardPermissionsByIDOK) String ¶
func (o *UpdateDashboardPermissionsByIDOK) String() string
type UpdateDashboardPermissionsByIDParams ¶
type UpdateDashboardPermissionsByIDParams struct { // Body. Body *models.UpdateDashboardACLCommand // DashboardID. // // Format: int64 DashboardID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDashboardPermissionsByIDParams contains all the parameters to send to the API endpoint
for the update dashboard permissions by ID operation. Typically these are written to a http.Request.
func NewUpdateDashboardPermissionsByIDParams ¶
func NewUpdateDashboardPermissionsByIDParams() *UpdateDashboardPermissionsByIDParams
NewUpdateDashboardPermissionsByIDParams creates a new UpdateDashboardPermissionsByIDParams 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 NewUpdateDashboardPermissionsByIDParamsWithContext ¶
func NewUpdateDashboardPermissionsByIDParamsWithContext(ctx context.Context) *UpdateDashboardPermissionsByIDParams
NewUpdateDashboardPermissionsByIDParamsWithContext creates a new UpdateDashboardPermissionsByIDParams object with the ability to set a context for a request.
func NewUpdateDashboardPermissionsByIDParamsWithHTTPClient ¶
func NewUpdateDashboardPermissionsByIDParamsWithHTTPClient(client *http.Client) *UpdateDashboardPermissionsByIDParams
NewUpdateDashboardPermissionsByIDParamsWithHTTPClient creates a new UpdateDashboardPermissionsByIDParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDashboardPermissionsByIDParamsWithTimeout ¶
func NewUpdateDashboardPermissionsByIDParamsWithTimeout(timeout time.Duration) *UpdateDashboardPermissionsByIDParams
NewUpdateDashboardPermissionsByIDParamsWithTimeout creates a new UpdateDashboardPermissionsByIDParams object with the ability to set a timeout on a request.
func (*UpdateDashboardPermissionsByIDParams) SetBody ¶
func (o *UpdateDashboardPermissionsByIDParams) SetBody(body *models.UpdateDashboardACLCommand)
SetBody adds the body to the update dashboard permissions by ID params
func (*UpdateDashboardPermissionsByIDParams) SetContext ¶
func (o *UpdateDashboardPermissionsByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the update dashboard permissions by ID params
func (*UpdateDashboardPermissionsByIDParams) SetDashboardID ¶
func (o *UpdateDashboardPermissionsByIDParams) SetDashboardID(dashboardID int64)
SetDashboardID adds the dashboardId to the update dashboard permissions by ID params
func (*UpdateDashboardPermissionsByIDParams) SetDefaults ¶
func (o *UpdateDashboardPermissionsByIDParams) SetDefaults()
SetDefaults hydrates default values in the update dashboard permissions by ID params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDashboardPermissionsByIDParams) SetHTTPClient ¶
func (o *UpdateDashboardPermissionsByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update dashboard permissions by ID params
func (*UpdateDashboardPermissionsByIDParams) SetTimeout ¶
func (o *UpdateDashboardPermissionsByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update dashboard permissions by ID params
func (*UpdateDashboardPermissionsByIDParams) WithBody ¶
func (o *UpdateDashboardPermissionsByIDParams) WithBody(body *models.UpdateDashboardACLCommand) *UpdateDashboardPermissionsByIDParams
WithBody adds the body to the update dashboard permissions by ID params
func (*UpdateDashboardPermissionsByIDParams) WithContext ¶
func (o *UpdateDashboardPermissionsByIDParams) WithContext(ctx context.Context) *UpdateDashboardPermissionsByIDParams
WithContext adds the context to the update dashboard permissions by ID params
func (*UpdateDashboardPermissionsByIDParams) WithDashboardID ¶
func (o *UpdateDashboardPermissionsByIDParams) WithDashboardID(dashboardID int64) *UpdateDashboardPermissionsByIDParams
WithDashboardID adds the dashboardID to the update dashboard permissions by ID params
func (*UpdateDashboardPermissionsByIDParams) WithDefaults ¶
func (o *UpdateDashboardPermissionsByIDParams) WithDefaults() *UpdateDashboardPermissionsByIDParams
WithDefaults hydrates default values in the update dashboard permissions by ID params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDashboardPermissionsByIDParams) WithHTTPClient ¶
func (o *UpdateDashboardPermissionsByIDParams) WithHTTPClient(client *http.Client) *UpdateDashboardPermissionsByIDParams
WithHTTPClient adds the HTTPClient to the update dashboard permissions by ID params
func (*UpdateDashboardPermissionsByIDParams) WithTimeout ¶
func (o *UpdateDashboardPermissionsByIDParams) WithTimeout(timeout time.Duration) *UpdateDashboardPermissionsByIDParams
WithTimeout adds the timeout to the update dashboard permissions by ID params
func (*UpdateDashboardPermissionsByIDParams) WriteToRequest ¶
func (o *UpdateDashboardPermissionsByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDashboardPermissionsByIDReader ¶
type UpdateDashboardPermissionsByIDReader struct {
// contains filtered or unexported fields
}
UpdateDashboardPermissionsByIDReader is a Reader for the UpdateDashboardPermissionsByID structure.
func (*UpdateDashboardPermissionsByIDReader) ReadResponse ¶
func (o *UpdateDashboardPermissionsByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDashboardPermissionsByIDUnauthorized ¶
type UpdateDashboardPermissionsByIDUnauthorized struct {
}UpdateDashboardPermissionsByIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateDashboardPermissionsByIDUnauthorized ¶
func NewUpdateDashboardPermissionsByIDUnauthorized() *UpdateDashboardPermissionsByIDUnauthorized
NewUpdateDashboardPermissionsByIDUnauthorized creates a UpdateDashboardPermissionsByIDUnauthorized with default headers values
func (*UpdateDashboardPermissionsByIDUnauthorized) Code ¶
func (o *UpdateDashboardPermissionsByIDUnauthorized) Code() int
Code gets the status code for the update dashboard permissions by Id unauthorized response
func (*UpdateDashboardPermissionsByIDUnauthorized) Error ¶
func (o *UpdateDashboardPermissionsByIDUnauthorized) Error() string
func (*UpdateDashboardPermissionsByIDUnauthorized) GetPayload ¶
func (o *UpdateDashboardPermissionsByIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*UpdateDashboardPermissionsByIDUnauthorized) IsClientError ¶
func (o *UpdateDashboardPermissionsByIDUnauthorized) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Id unauthorized response has a 4xx status code
func (*UpdateDashboardPermissionsByIDUnauthorized) IsCode ¶
func (o *UpdateDashboardPermissionsByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Id unauthorized response a status code equal to that given
func (*UpdateDashboardPermissionsByIDUnauthorized) IsRedirect ¶
func (o *UpdateDashboardPermissionsByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Id unauthorized response has a 3xx status code
func (*UpdateDashboardPermissionsByIDUnauthorized) IsServerError ¶
func (o *UpdateDashboardPermissionsByIDUnauthorized) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Id unauthorized response has a 5xx status code
func (*UpdateDashboardPermissionsByIDUnauthorized) IsSuccess ¶
func (o *UpdateDashboardPermissionsByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Id unauthorized response has a 2xx status code
func (*UpdateDashboardPermissionsByIDUnauthorized) String ¶
func (o *UpdateDashboardPermissionsByIDUnauthorized) String() string
type UpdateDashboardPermissionsByUIDBadRequest ¶
type UpdateDashboardPermissionsByUIDBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateDashboardPermissionsByUIDBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewUpdateDashboardPermissionsByUIDBadRequest ¶
func NewUpdateDashboardPermissionsByUIDBadRequest() *UpdateDashboardPermissionsByUIDBadRequest
NewUpdateDashboardPermissionsByUIDBadRequest creates a UpdateDashboardPermissionsByUIDBadRequest with default headers values
func (*UpdateDashboardPermissionsByUIDBadRequest) Code ¶
func (o *UpdateDashboardPermissionsByUIDBadRequest) Code() int
Code gets the status code for the update dashboard permissions by Uid bad request response
func (*UpdateDashboardPermissionsByUIDBadRequest) Error ¶
func (o *UpdateDashboardPermissionsByUIDBadRequest) Error() string
func (*UpdateDashboardPermissionsByUIDBadRequest) GetPayload ¶
func (o *UpdateDashboardPermissionsByUIDBadRequest) GetPayload() *models.ErrorResponseBody
func (*UpdateDashboardPermissionsByUIDBadRequest) IsClientError ¶
func (o *UpdateDashboardPermissionsByUIDBadRequest) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Uid bad request response has a 4xx status code
func (*UpdateDashboardPermissionsByUIDBadRequest) IsCode ¶
func (o *UpdateDashboardPermissionsByUIDBadRequest) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Uid bad request response a status code equal to that given
func (*UpdateDashboardPermissionsByUIDBadRequest) IsRedirect ¶
func (o *UpdateDashboardPermissionsByUIDBadRequest) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Uid bad request response has a 3xx status code
func (*UpdateDashboardPermissionsByUIDBadRequest) IsServerError ¶
func (o *UpdateDashboardPermissionsByUIDBadRequest) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Uid bad request response has a 5xx status code
func (*UpdateDashboardPermissionsByUIDBadRequest) IsSuccess ¶
func (o *UpdateDashboardPermissionsByUIDBadRequest) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Uid bad request response has a 2xx status code
func (*UpdateDashboardPermissionsByUIDBadRequest) String ¶
func (o *UpdateDashboardPermissionsByUIDBadRequest) String() string
type UpdateDashboardPermissionsByUIDForbidden ¶
type UpdateDashboardPermissionsByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateDashboardPermissionsByUIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateDashboardPermissionsByUIDForbidden ¶
func NewUpdateDashboardPermissionsByUIDForbidden() *UpdateDashboardPermissionsByUIDForbidden
NewUpdateDashboardPermissionsByUIDForbidden creates a UpdateDashboardPermissionsByUIDForbidden with default headers values
func (*UpdateDashboardPermissionsByUIDForbidden) Code ¶
func (o *UpdateDashboardPermissionsByUIDForbidden) Code() int
Code gets the status code for the update dashboard permissions by Uid forbidden response
func (*UpdateDashboardPermissionsByUIDForbidden) Error ¶
func (o *UpdateDashboardPermissionsByUIDForbidden) Error() string
func (*UpdateDashboardPermissionsByUIDForbidden) GetPayload ¶
func (o *UpdateDashboardPermissionsByUIDForbidden) GetPayload() *models.ErrorResponseBody
func (*UpdateDashboardPermissionsByUIDForbidden) IsClientError ¶
func (o *UpdateDashboardPermissionsByUIDForbidden) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Uid forbidden response has a 4xx status code
func (*UpdateDashboardPermissionsByUIDForbidden) IsCode ¶
func (o *UpdateDashboardPermissionsByUIDForbidden) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Uid forbidden response a status code equal to that given
func (*UpdateDashboardPermissionsByUIDForbidden) IsRedirect ¶
func (o *UpdateDashboardPermissionsByUIDForbidden) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Uid forbidden response has a 3xx status code
func (*UpdateDashboardPermissionsByUIDForbidden) IsServerError ¶
func (o *UpdateDashboardPermissionsByUIDForbidden) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Uid forbidden response has a 5xx status code
func (*UpdateDashboardPermissionsByUIDForbidden) IsSuccess ¶
func (o *UpdateDashboardPermissionsByUIDForbidden) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Uid forbidden response has a 2xx status code
func (*UpdateDashboardPermissionsByUIDForbidden) String ¶
func (o *UpdateDashboardPermissionsByUIDForbidden) String() string
type UpdateDashboardPermissionsByUIDInternalServerError ¶
type UpdateDashboardPermissionsByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateDashboardPermissionsByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateDashboardPermissionsByUIDInternalServerError ¶
func NewUpdateDashboardPermissionsByUIDInternalServerError() *UpdateDashboardPermissionsByUIDInternalServerError
NewUpdateDashboardPermissionsByUIDInternalServerError creates a UpdateDashboardPermissionsByUIDInternalServerError with default headers values
func (*UpdateDashboardPermissionsByUIDInternalServerError) Code ¶
func (o *UpdateDashboardPermissionsByUIDInternalServerError) Code() int
Code gets the status code for the update dashboard permissions by Uid internal server error response
func (*UpdateDashboardPermissionsByUIDInternalServerError) Error ¶
func (o *UpdateDashboardPermissionsByUIDInternalServerError) Error() string
func (*UpdateDashboardPermissionsByUIDInternalServerError) GetPayload ¶
func (o *UpdateDashboardPermissionsByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*UpdateDashboardPermissionsByUIDInternalServerError) IsClientError ¶
func (o *UpdateDashboardPermissionsByUIDInternalServerError) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Uid internal server error response has a 4xx status code
func (*UpdateDashboardPermissionsByUIDInternalServerError) IsCode ¶
func (o *UpdateDashboardPermissionsByUIDInternalServerError) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Uid internal server error response a status code equal to that given
func (*UpdateDashboardPermissionsByUIDInternalServerError) IsRedirect ¶
func (o *UpdateDashboardPermissionsByUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Uid internal server error response has a 3xx status code
func (*UpdateDashboardPermissionsByUIDInternalServerError) IsServerError ¶
func (o *UpdateDashboardPermissionsByUIDInternalServerError) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Uid internal server error response has a 5xx status code
func (*UpdateDashboardPermissionsByUIDInternalServerError) IsSuccess ¶
func (o *UpdateDashboardPermissionsByUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Uid internal server error response has a 2xx status code
func (*UpdateDashboardPermissionsByUIDInternalServerError) String ¶
func (o *UpdateDashboardPermissionsByUIDInternalServerError) String() string
type UpdateDashboardPermissionsByUIDNotFound ¶
type UpdateDashboardPermissionsByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateDashboardPermissionsByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateDashboardPermissionsByUIDNotFound ¶
func NewUpdateDashboardPermissionsByUIDNotFound() *UpdateDashboardPermissionsByUIDNotFound
NewUpdateDashboardPermissionsByUIDNotFound creates a UpdateDashboardPermissionsByUIDNotFound with default headers values
func (*UpdateDashboardPermissionsByUIDNotFound) Code ¶
func (o *UpdateDashboardPermissionsByUIDNotFound) Code() int
Code gets the status code for the update dashboard permissions by Uid not found response
func (*UpdateDashboardPermissionsByUIDNotFound) Error ¶
func (o *UpdateDashboardPermissionsByUIDNotFound) Error() string
func (*UpdateDashboardPermissionsByUIDNotFound) GetPayload ¶
func (o *UpdateDashboardPermissionsByUIDNotFound) GetPayload() *models.ErrorResponseBody
func (*UpdateDashboardPermissionsByUIDNotFound) IsClientError ¶
func (o *UpdateDashboardPermissionsByUIDNotFound) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Uid not found response has a 4xx status code
func (*UpdateDashboardPermissionsByUIDNotFound) IsCode ¶
func (o *UpdateDashboardPermissionsByUIDNotFound) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Uid not found response a status code equal to that given
func (*UpdateDashboardPermissionsByUIDNotFound) IsRedirect ¶
func (o *UpdateDashboardPermissionsByUIDNotFound) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Uid not found response has a 3xx status code
func (*UpdateDashboardPermissionsByUIDNotFound) IsServerError ¶
func (o *UpdateDashboardPermissionsByUIDNotFound) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Uid not found response has a 5xx status code
func (*UpdateDashboardPermissionsByUIDNotFound) IsSuccess ¶
func (o *UpdateDashboardPermissionsByUIDNotFound) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Uid not found response has a 2xx status code
func (*UpdateDashboardPermissionsByUIDNotFound) String ¶
func (o *UpdateDashboardPermissionsByUIDNotFound) String() string
type UpdateDashboardPermissionsByUIDOK ¶
type UpdateDashboardPermissionsByUIDOK struct {
Payload *models.SuccessResponseBody
}
UpdateDashboardPermissionsByUIDOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateDashboardPermissionsByUIDOK ¶
func NewUpdateDashboardPermissionsByUIDOK() *UpdateDashboardPermissionsByUIDOK
NewUpdateDashboardPermissionsByUIDOK creates a UpdateDashboardPermissionsByUIDOK with default headers values
func (*UpdateDashboardPermissionsByUIDOK) Code ¶
func (o *UpdateDashboardPermissionsByUIDOK) Code() int
Code gets the status code for the update dashboard permissions by Uid Ok response
func (*UpdateDashboardPermissionsByUIDOK) Error ¶
func (o *UpdateDashboardPermissionsByUIDOK) Error() string
func (*UpdateDashboardPermissionsByUIDOK) GetPayload ¶
func (o *UpdateDashboardPermissionsByUIDOK) GetPayload() *models.SuccessResponseBody
func (*UpdateDashboardPermissionsByUIDOK) IsClientError ¶
func (o *UpdateDashboardPermissionsByUIDOK) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Uid Ok response has a 4xx status code
func (*UpdateDashboardPermissionsByUIDOK) IsCode ¶
func (o *UpdateDashboardPermissionsByUIDOK) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Uid Ok response a status code equal to that given
func (*UpdateDashboardPermissionsByUIDOK) IsRedirect ¶
func (o *UpdateDashboardPermissionsByUIDOK) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Uid Ok response has a 3xx status code
func (*UpdateDashboardPermissionsByUIDOK) IsServerError ¶
func (o *UpdateDashboardPermissionsByUIDOK) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Uid Ok response has a 5xx status code
func (*UpdateDashboardPermissionsByUIDOK) IsSuccess ¶
func (o *UpdateDashboardPermissionsByUIDOK) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Uid Ok response has a 2xx status code
func (*UpdateDashboardPermissionsByUIDOK) String ¶
func (o *UpdateDashboardPermissionsByUIDOK) String() string
type UpdateDashboardPermissionsByUIDParams ¶
type UpdateDashboardPermissionsByUIDParams struct { // Body. Body *models.UpdateDashboardACLCommand // UID. UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDashboardPermissionsByUIDParams contains all the parameters to send to the API endpoint
for the update dashboard permissions by UID operation. Typically these are written to a http.Request.
func NewUpdateDashboardPermissionsByUIDParams ¶
func NewUpdateDashboardPermissionsByUIDParams() *UpdateDashboardPermissionsByUIDParams
NewUpdateDashboardPermissionsByUIDParams creates a new UpdateDashboardPermissionsByUIDParams 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 NewUpdateDashboardPermissionsByUIDParamsWithContext ¶
func NewUpdateDashboardPermissionsByUIDParamsWithContext(ctx context.Context) *UpdateDashboardPermissionsByUIDParams
NewUpdateDashboardPermissionsByUIDParamsWithContext creates a new UpdateDashboardPermissionsByUIDParams object with the ability to set a context for a request.
func NewUpdateDashboardPermissionsByUIDParamsWithHTTPClient ¶
func NewUpdateDashboardPermissionsByUIDParamsWithHTTPClient(client *http.Client) *UpdateDashboardPermissionsByUIDParams
NewUpdateDashboardPermissionsByUIDParamsWithHTTPClient creates a new UpdateDashboardPermissionsByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDashboardPermissionsByUIDParamsWithTimeout ¶
func NewUpdateDashboardPermissionsByUIDParamsWithTimeout(timeout time.Duration) *UpdateDashboardPermissionsByUIDParams
NewUpdateDashboardPermissionsByUIDParamsWithTimeout creates a new UpdateDashboardPermissionsByUIDParams object with the ability to set a timeout on a request.
func (*UpdateDashboardPermissionsByUIDParams) SetBody ¶
func (o *UpdateDashboardPermissionsByUIDParams) SetBody(body *models.UpdateDashboardACLCommand)
SetBody adds the body to the update dashboard permissions by UID params
func (*UpdateDashboardPermissionsByUIDParams) SetContext ¶
func (o *UpdateDashboardPermissionsByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the update dashboard permissions by UID params
func (*UpdateDashboardPermissionsByUIDParams) SetDefaults ¶
func (o *UpdateDashboardPermissionsByUIDParams) SetDefaults()
SetDefaults hydrates default values in the update dashboard permissions by UID params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDashboardPermissionsByUIDParams) SetHTTPClient ¶
func (o *UpdateDashboardPermissionsByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update dashboard permissions by UID params
func (*UpdateDashboardPermissionsByUIDParams) SetTimeout ¶
func (o *UpdateDashboardPermissionsByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update dashboard permissions by UID params
func (*UpdateDashboardPermissionsByUIDParams) SetUID ¶
func (o *UpdateDashboardPermissionsByUIDParams) SetUID(uid string)
SetUID adds the uid to the update dashboard permissions by UID params
func (*UpdateDashboardPermissionsByUIDParams) WithBody ¶
func (o *UpdateDashboardPermissionsByUIDParams) WithBody(body *models.UpdateDashboardACLCommand) *UpdateDashboardPermissionsByUIDParams
WithBody adds the body to the update dashboard permissions by UID params
func (*UpdateDashboardPermissionsByUIDParams) WithContext ¶
func (o *UpdateDashboardPermissionsByUIDParams) WithContext(ctx context.Context) *UpdateDashboardPermissionsByUIDParams
WithContext adds the context to the update dashboard permissions by UID params
func (*UpdateDashboardPermissionsByUIDParams) WithDefaults ¶
func (o *UpdateDashboardPermissionsByUIDParams) WithDefaults() *UpdateDashboardPermissionsByUIDParams
WithDefaults hydrates default values in the update dashboard permissions by UID params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDashboardPermissionsByUIDParams) WithHTTPClient ¶
func (o *UpdateDashboardPermissionsByUIDParams) WithHTTPClient(client *http.Client) *UpdateDashboardPermissionsByUIDParams
WithHTTPClient adds the HTTPClient to the update dashboard permissions by UID params
func (*UpdateDashboardPermissionsByUIDParams) WithTimeout ¶
func (o *UpdateDashboardPermissionsByUIDParams) WithTimeout(timeout time.Duration) *UpdateDashboardPermissionsByUIDParams
WithTimeout adds the timeout to the update dashboard permissions by UID params
func (*UpdateDashboardPermissionsByUIDParams) WithUID ¶
func (o *UpdateDashboardPermissionsByUIDParams) WithUID(uid string) *UpdateDashboardPermissionsByUIDParams
WithUID adds the uid to the update dashboard permissions by UID params
func (*UpdateDashboardPermissionsByUIDParams) WriteToRequest ¶
func (o *UpdateDashboardPermissionsByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDashboardPermissionsByUIDReader ¶
type UpdateDashboardPermissionsByUIDReader struct {
// contains filtered or unexported fields
}
UpdateDashboardPermissionsByUIDReader is a Reader for the UpdateDashboardPermissionsByUID structure.
func (*UpdateDashboardPermissionsByUIDReader) ReadResponse ¶
func (o *UpdateDashboardPermissionsByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDashboardPermissionsByUIDUnauthorized ¶
type UpdateDashboardPermissionsByUIDUnauthorized struct {
}UpdateDashboardPermissionsByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateDashboardPermissionsByUIDUnauthorized ¶
func NewUpdateDashboardPermissionsByUIDUnauthorized() *UpdateDashboardPermissionsByUIDUnauthorized
NewUpdateDashboardPermissionsByUIDUnauthorized creates a UpdateDashboardPermissionsByUIDUnauthorized with default headers values
func (*UpdateDashboardPermissionsByUIDUnauthorized) Code ¶
func (o *UpdateDashboardPermissionsByUIDUnauthorized) Code() int
Code gets the status code for the update dashboard permissions by Uid unauthorized response
func (*UpdateDashboardPermissionsByUIDUnauthorized) Error ¶
func (o *UpdateDashboardPermissionsByUIDUnauthorized) Error() string
func (*UpdateDashboardPermissionsByUIDUnauthorized) GetPayload ¶
func (o *UpdateDashboardPermissionsByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*UpdateDashboardPermissionsByUIDUnauthorized) IsClientError ¶
func (o *UpdateDashboardPermissionsByUIDUnauthorized) IsClientError() bool
IsClientError returns true when this update dashboard permissions by Uid unauthorized response has a 4xx status code
func (*UpdateDashboardPermissionsByUIDUnauthorized) IsCode ¶
func (o *UpdateDashboardPermissionsByUIDUnauthorized) IsCode(code int) bool
IsCode returns true when this update dashboard permissions by Uid unauthorized response a status code equal to that given
func (*UpdateDashboardPermissionsByUIDUnauthorized) IsRedirect ¶
func (o *UpdateDashboardPermissionsByUIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this update dashboard permissions by Uid unauthorized response has a 3xx status code
func (*UpdateDashboardPermissionsByUIDUnauthorized) IsServerError ¶
func (o *UpdateDashboardPermissionsByUIDUnauthorized) IsServerError() bool
IsServerError returns true when this update dashboard permissions by Uid unauthorized response has a 5xx status code
func (*UpdateDashboardPermissionsByUIDUnauthorized) IsSuccess ¶
func (o *UpdateDashboardPermissionsByUIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this update dashboard permissions by Uid unauthorized response has a 2xx status code
func (*UpdateDashboardPermissionsByUIDUnauthorized) String ¶
func (o *UpdateDashboardPermissionsByUIDUnauthorized) String() string
Source Files ¶
- dashboard_permissions_client.go
- get_dashboard_permissions_list_by_id_parameters.go
- get_dashboard_permissions_list_by_id_responses.go
- get_dashboard_permissions_list_by_uid_parameters.go
- get_dashboard_permissions_list_by_uid_responses.go
- update_dashboard_permissions_by_id_parameters.go
- update_dashboard_permissions_by_id_responses.go
- update_dashboard_permissions_by_uid_parameters.go
- update_dashboard_permissions_by_uid_responses.go