dashboard_permissions

package
v0.0.0-...-59d2d35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

Code gets the status code for the get dashboard permissions list by Id forbidden response

func (*GetDashboardPermissionsListByIDForbidden) Error

func (*GetDashboardPermissionsListByIDForbidden) GetPayload

func (*GetDashboardPermissionsListByIDForbidden) IsClientError

IsClientError returns true when this get dashboard permissions list by Id forbidden response has a 4xx status code

func (*GetDashboardPermissionsListByIDForbidden) IsCode

IsCode returns true when this get dashboard permissions list by Id forbidden response a status code equal to that given

func (*GetDashboardPermissionsListByIDForbidden) IsRedirect

IsRedirect returns true when this get dashboard permissions list by Id forbidden response has a 3xx status code

func (*GetDashboardPermissionsListByIDForbidden) IsServerError

IsServerError returns true when this get dashboard permissions list by Id forbidden response has a 5xx status code

func (*GetDashboardPermissionsListByIDForbidden) IsSuccess

IsSuccess returns true when this get dashboard permissions list by Id forbidden response has a 2xx status code

func (*GetDashboardPermissionsListByIDForbidden) 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

Code gets the status code for the get dashboard permissions list by Id internal server error response

func (*GetDashboardPermissionsListByIDInternalServerError) Error

func (*GetDashboardPermissionsListByIDInternalServerError) GetPayload

func (*GetDashboardPermissionsListByIDInternalServerError) IsClientError

IsClientError returns true when this get dashboard permissions list by Id internal server error response has a 4xx status code

func (*GetDashboardPermissionsListByIDInternalServerError) IsCode

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

IsRedirect returns true when this get dashboard permissions list by Id internal server error response has a 3xx status code

func (*GetDashboardPermissionsListByIDInternalServerError) IsServerError

IsServerError returns true when this get dashboard permissions list by Id internal server error response has a 5xx status code

func (*GetDashboardPermissionsListByIDInternalServerError) IsSuccess

IsSuccess returns true when this get dashboard permissions list by Id internal server error response has a 2xx status code

func (*GetDashboardPermissionsListByIDInternalServerError) 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

Code gets the status code for the get dashboard permissions list by Id not found response

func (*GetDashboardPermissionsListByIDNotFound) Error

func (*GetDashboardPermissionsListByIDNotFound) GetPayload

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

IsCode returns true when this get dashboard permissions list by Id not found response a status code equal to that given

func (*GetDashboardPermissionsListByIDNotFound) IsRedirect

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

IsSuccess returns true when this get dashboard permissions list by Id not found response has a 2xx status code

func (*GetDashboardPermissionsListByIDNotFound) 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

Code gets the status code for the get dashboard permissions list by Id Ok response

func (*GetDashboardPermissionsListByIDOK) Error

func (*GetDashboardPermissionsListByIDOK) GetPayload

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

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

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

WithContext adds the context to the get dashboard permissions list by ID params

func (*GetDashboardPermissionsListByIDParams) WithDashboardID

WithDashboardID adds the dashboardID to the get dashboard permissions list by ID params

func (*GetDashboardPermissionsListByIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get dashboard permissions list by ID params

func (*GetDashboardPermissionsListByIDParams) WithTimeout

WithTimeout adds the timeout to the get dashboard permissions list by ID params

func (*GetDashboardPermissionsListByIDParams) WriteToRequest

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the get dashboard permissions list by Id unauthorized response

func (*GetDashboardPermissionsListByIDUnauthorized) Error

func (*GetDashboardPermissionsListByIDUnauthorized) GetPayload

func (*GetDashboardPermissionsListByIDUnauthorized) IsClientError

IsClientError returns true when this get dashboard permissions list by Id unauthorized response has a 4xx status code

func (*GetDashboardPermissionsListByIDUnauthorized) IsCode

IsCode returns true when this get dashboard permissions list by Id unauthorized response a status code equal to that given

func (*GetDashboardPermissionsListByIDUnauthorized) IsRedirect

IsRedirect returns true when this get dashboard permissions list by Id unauthorized response has a 3xx status code

func (*GetDashboardPermissionsListByIDUnauthorized) IsServerError

IsServerError returns true when this get dashboard permissions list by Id unauthorized response has a 5xx status code

func (*GetDashboardPermissionsListByIDUnauthorized) IsSuccess

IsSuccess returns true when this get dashboard permissions list by Id unauthorized response has a 2xx status code

func (*GetDashboardPermissionsListByIDUnauthorized) 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

Code gets the status code for the get dashboard permissions list by Uid forbidden response

func (*GetDashboardPermissionsListByUIDForbidden) Error

func (*GetDashboardPermissionsListByUIDForbidden) GetPayload

func (*GetDashboardPermissionsListByUIDForbidden) IsClientError

IsClientError returns true when this get dashboard permissions list by Uid forbidden response has a 4xx status code

func (*GetDashboardPermissionsListByUIDForbidden) IsCode

IsCode returns true when this get dashboard permissions list by Uid forbidden response a status code equal to that given

func (*GetDashboardPermissionsListByUIDForbidden) IsRedirect

IsRedirect returns true when this get dashboard permissions list by Uid forbidden response has a 3xx status code

func (*GetDashboardPermissionsListByUIDForbidden) IsServerError

IsServerError returns true when this get dashboard permissions list by Uid forbidden response has a 5xx status code

func (*GetDashboardPermissionsListByUIDForbidden) IsSuccess

IsSuccess returns true when this get dashboard permissions list by Uid forbidden response has a 2xx status code

func (*GetDashboardPermissionsListByUIDForbidden) 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

Code gets the status code for the get dashboard permissions list by Uid internal server error response

func (*GetDashboardPermissionsListByUIDInternalServerError) Error

func (*GetDashboardPermissionsListByUIDInternalServerError) GetPayload

func (*GetDashboardPermissionsListByUIDInternalServerError) IsClientError

IsClientError returns true when this get dashboard permissions list by Uid internal server error response has a 4xx status code

func (*GetDashboardPermissionsListByUIDInternalServerError) IsCode

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

IsRedirect returns true when this get dashboard permissions list by Uid internal server error response has a 3xx status code

func (*GetDashboardPermissionsListByUIDInternalServerError) IsServerError

IsServerError returns true when this get dashboard permissions list by Uid internal server error response has a 5xx status code

func (*GetDashboardPermissionsListByUIDInternalServerError) IsSuccess

IsSuccess returns true when this get dashboard permissions list by Uid internal server error response has a 2xx status code

func (*GetDashboardPermissionsListByUIDInternalServerError) 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

Code gets the status code for the get dashboard permissions list by Uid not found response

func (*GetDashboardPermissionsListByUIDNotFound) Error

func (*GetDashboardPermissionsListByUIDNotFound) GetPayload

func (*GetDashboardPermissionsListByUIDNotFound) IsClientError

IsClientError returns true when this get dashboard permissions list by Uid not found response has a 4xx status code

func (*GetDashboardPermissionsListByUIDNotFound) IsCode

IsCode returns true when this get dashboard permissions list by Uid not found response a status code equal to that given

func (*GetDashboardPermissionsListByUIDNotFound) IsRedirect

IsRedirect returns true when this get dashboard permissions list by Uid not found response has a 3xx status code

func (*GetDashboardPermissionsListByUIDNotFound) IsServerError

IsServerError returns true when this get dashboard permissions list by Uid not found response has a 5xx status code

func (*GetDashboardPermissionsListByUIDNotFound) IsSuccess

IsSuccess returns true when this get dashboard permissions list by Uid not found response has a 2xx status code

func (*GetDashboardPermissionsListByUIDNotFound) 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

Code gets the status code for the get dashboard permissions list by Uid Ok response

func (*GetDashboardPermissionsListByUIDOK) Error

func (*GetDashboardPermissionsListByUIDOK) GetPayload

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

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

IsSuccess returns true when this get dashboard permissions list by Uid Ok response has a 2xx status code

func (*GetDashboardPermissionsListByUIDOK) 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

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

SetUID adds the uid to the get dashboard permissions list by UID params

func (*GetDashboardPermissionsListByUIDParams) WithContext

WithContext adds the context to the get dashboard permissions list by UID params

func (*GetDashboardPermissionsListByUIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get dashboard permissions list by UID params

func (*GetDashboardPermissionsListByUIDParams) WithTimeout

WithTimeout adds the timeout to the get dashboard permissions list by UID params

func (*GetDashboardPermissionsListByUIDParams) WithUID

WithUID adds the uid to the get dashboard permissions list by UID params

func (*GetDashboardPermissionsListByUIDParams) WriteToRequest

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the get dashboard permissions list by Uid unauthorized response

func (*GetDashboardPermissionsListByUIDUnauthorized) Error

func (*GetDashboardPermissionsListByUIDUnauthorized) GetPayload

func (*GetDashboardPermissionsListByUIDUnauthorized) IsClientError

IsClientError returns true when this get dashboard permissions list by Uid unauthorized response has a 4xx status code

func (*GetDashboardPermissionsListByUIDUnauthorized) IsCode

IsCode returns true when this get dashboard permissions list by Uid unauthorized response a status code equal to that given

func (*GetDashboardPermissionsListByUIDUnauthorized) IsRedirect

IsRedirect returns true when this get dashboard permissions list by Uid unauthorized response has a 3xx status code

func (*GetDashboardPermissionsListByUIDUnauthorized) IsServerError

IsServerError returns true when this get dashboard permissions list by Uid unauthorized response has a 5xx status code

func (*GetDashboardPermissionsListByUIDUnauthorized) IsSuccess

IsSuccess returns true when this get dashboard permissions list by Uid unauthorized response has a 2xx status code

func (*GetDashboardPermissionsListByUIDUnauthorized) 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

Code gets the status code for the update dashboard permissions by Id bad request response

func (*UpdateDashboardPermissionsByIDBadRequest) Error

func (*UpdateDashboardPermissionsByIDBadRequest) GetPayload

func (*UpdateDashboardPermissionsByIDBadRequest) IsClientError

IsClientError returns true when this update dashboard permissions by Id bad request response has a 4xx status code

func (*UpdateDashboardPermissionsByIDBadRequest) IsCode

IsCode returns true when this update dashboard permissions by Id bad request response a status code equal to that given

func (*UpdateDashboardPermissionsByIDBadRequest) IsRedirect

IsRedirect returns true when this update dashboard permissions by Id bad request response has a 3xx status code

func (*UpdateDashboardPermissionsByIDBadRequest) IsServerError

IsServerError returns true when this update dashboard permissions by Id bad request response has a 5xx status code

func (*UpdateDashboardPermissionsByIDBadRequest) IsSuccess

IsSuccess returns true when this update dashboard permissions by Id bad request response has a 2xx status code

func (*UpdateDashboardPermissionsByIDBadRequest) 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

Code gets the status code for the update dashboard permissions by Id forbidden response

func (*UpdateDashboardPermissionsByIDForbidden) Error

func (*UpdateDashboardPermissionsByIDForbidden) GetPayload

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

IsCode returns true when this update dashboard permissions by Id forbidden response a status code equal to that given

func (*UpdateDashboardPermissionsByIDForbidden) IsRedirect

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

IsSuccess returns true when this update dashboard permissions by Id forbidden response has a 2xx status code

func (*UpdateDashboardPermissionsByIDForbidden) 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

Code gets the status code for the update dashboard permissions by Id internal server error response

func (*UpdateDashboardPermissionsByIDInternalServerError) Error

func (*UpdateDashboardPermissionsByIDInternalServerError) GetPayload

func (*UpdateDashboardPermissionsByIDInternalServerError) IsClientError

IsClientError returns true when this update dashboard permissions by Id internal server error response has a 4xx status code

func (*UpdateDashboardPermissionsByIDInternalServerError) IsCode

IsCode returns true when this update dashboard permissions by Id internal server error response a status code equal to that given

func (*UpdateDashboardPermissionsByIDInternalServerError) IsRedirect

IsRedirect returns true when this update dashboard permissions by Id internal server error response has a 3xx status code

func (*UpdateDashboardPermissionsByIDInternalServerError) IsServerError

IsServerError returns true when this update dashboard permissions by Id internal server error response has a 5xx status code

func (*UpdateDashboardPermissionsByIDInternalServerError) IsSuccess

IsSuccess returns true when this update dashboard permissions by Id internal server error response has a 2xx status code

func (*UpdateDashboardPermissionsByIDInternalServerError) 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

Code gets the status code for the update dashboard permissions by Id not found response

func (*UpdateDashboardPermissionsByIDNotFound) Error

func (*UpdateDashboardPermissionsByIDNotFound) GetPayload

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

IsCode returns true when this update dashboard permissions by Id not found response a status code equal to that given

func (*UpdateDashboardPermissionsByIDNotFound) IsRedirect

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

IsSuccess returns true when this update dashboard permissions by Id not found response has a 2xx status code

func (*UpdateDashboardPermissionsByIDNotFound) 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

Code gets the status code for the update dashboard permissions by Id Ok response

func (*UpdateDashboardPermissionsByIDOK) Error

func (*UpdateDashboardPermissionsByIDOK) GetPayload

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

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

SetBody adds the body to the update dashboard permissions by ID params

func (*UpdateDashboardPermissionsByIDParams) SetContext

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

WithBody adds the body to the update dashboard permissions by ID params

func (*UpdateDashboardPermissionsByIDParams) WithContext

WithContext adds the context to the update dashboard permissions by ID params

func (*UpdateDashboardPermissionsByIDParams) WithDashboardID

WithDashboardID adds the dashboardID to the update dashboard permissions by ID params

func (*UpdateDashboardPermissionsByIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update dashboard permissions by ID params

func (*UpdateDashboardPermissionsByIDParams) WithTimeout

WithTimeout adds the timeout to the update dashboard permissions by ID params

func (*UpdateDashboardPermissionsByIDParams) WriteToRequest

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the update dashboard permissions by Id unauthorized response

func (*UpdateDashboardPermissionsByIDUnauthorized) Error

func (*UpdateDashboardPermissionsByIDUnauthorized) GetPayload

func (*UpdateDashboardPermissionsByIDUnauthorized) IsClientError

IsClientError returns true when this update dashboard permissions by Id unauthorized response has a 4xx status code

func (*UpdateDashboardPermissionsByIDUnauthorized) IsCode

IsCode returns true when this update dashboard permissions by Id unauthorized response a status code equal to that given

func (*UpdateDashboardPermissionsByIDUnauthorized) IsRedirect

IsRedirect returns true when this update dashboard permissions by Id unauthorized response has a 3xx status code

func (*UpdateDashboardPermissionsByIDUnauthorized) IsServerError

IsServerError returns true when this update dashboard permissions by Id unauthorized response has a 5xx status code

func (*UpdateDashboardPermissionsByIDUnauthorized) IsSuccess

IsSuccess returns true when this update dashboard permissions by Id unauthorized response has a 2xx status code

func (*UpdateDashboardPermissionsByIDUnauthorized) 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

Code gets the status code for the update dashboard permissions by Uid bad request response

func (*UpdateDashboardPermissionsByUIDBadRequest) Error

func (*UpdateDashboardPermissionsByUIDBadRequest) GetPayload

func (*UpdateDashboardPermissionsByUIDBadRequest) IsClientError

IsClientError returns true when this update dashboard permissions by Uid bad request response has a 4xx status code

func (*UpdateDashboardPermissionsByUIDBadRequest) IsCode

IsCode returns true when this update dashboard permissions by Uid bad request response a status code equal to that given

func (*UpdateDashboardPermissionsByUIDBadRequest) IsRedirect

IsRedirect returns true when this update dashboard permissions by Uid bad request response has a 3xx status code

func (*UpdateDashboardPermissionsByUIDBadRequest) IsServerError

IsServerError returns true when this update dashboard permissions by Uid bad request response has a 5xx status code

func (*UpdateDashboardPermissionsByUIDBadRequest) IsSuccess

IsSuccess returns true when this update dashboard permissions by Uid bad request response has a 2xx status code

func (*UpdateDashboardPermissionsByUIDBadRequest) 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

Code gets the status code for the update dashboard permissions by Uid forbidden response

func (*UpdateDashboardPermissionsByUIDForbidden) Error

func (*UpdateDashboardPermissionsByUIDForbidden) GetPayload

func (*UpdateDashboardPermissionsByUIDForbidden) IsClientError

IsClientError returns true when this update dashboard permissions by Uid forbidden response has a 4xx status code

func (*UpdateDashboardPermissionsByUIDForbidden) IsCode

IsCode returns true when this update dashboard permissions by Uid forbidden response a status code equal to that given

func (*UpdateDashboardPermissionsByUIDForbidden) IsRedirect

IsRedirect returns true when this update dashboard permissions by Uid forbidden response has a 3xx status code

func (*UpdateDashboardPermissionsByUIDForbidden) IsServerError

IsServerError returns true when this update dashboard permissions by Uid forbidden response has a 5xx status code

func (*UpdateDashboardPermissionsByUIDForbidden) IsSuccess

IsSuccess returns true when this update dashboard permissions by Uid forbidden response has a 2xx status code

func (*UpdateDashboardPermissionsByUIDForbidden) 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

Code gets the status code for the update dashboard permissions by Uid internal server error response

func (*UpdateDashboardPermissionsByUIDInternalServerError) Error

func (*UpdateDashboardPermissionsByUIDInternalServerError) GetPayload

func (*UpdateDashboardPermissionsByUIDInternalServerError) IsClientError

IsClientError returns true when this update dashboard permissions by Uid internal server error response has a 4xx status code

func (*UpdateDashboardPermissionsByUIDInternalServerError) IsCode

IsCode returns true when this update dashboard permissions by Uid internal server error response a status code equal to that given

func (*UpdateDashboardPermissionsByUIDInternalServerError) IsRedirect

IsRedirect returns true when this update dashboard permissions by Uid internal server error response has a 3xx status code

func (*UpdateDashboardPermissionsByUIDInternalServerError) IsServerError

IsServerError returns true when this update dashboard permissions by Uid internal server error response has a 5xx status code

func (*UpdateDashboardPermissionsByUIDInternalServerError) IsSuccess

IsSuccess returns true when this update dashboard permissions by Uid internal server error response has a 2xx status code

func (*UpdateDashboardPermissionsByUIDInternalServerError) 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

Code gets the status code for the update dashboard permissions by Uid not found response

func (*UpdateDashboardPermissionsByUIDNotFound) Error

func (*UpdateDashboardPermissionsByUIDNotFound) GetPayload

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

IsCode returns true when this update dashboard permissions by Uid not found response a status code equal to that given

func (*UpdateDashboardPermissionsByUIDNotFound) IsRedirect

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

IsSuccess returns true when this update dashboard permissions by Uid not found response has a 2xx status code

func (*UpdateDashboardPermissionsByUIDNotFound) 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

Code gets the status code for the update dashboard permissions by Uid Ok response

func (*UpdateDashboardPermissionsByUIDOK) Error

func (*UpdateDashboardPermissionsByUIDOK) GetPayload

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

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

SetBody adds the body to the update dashboard permissions by UID params

func (*UpdateDashboardPermissionsByUIDParams) SetContext

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

SetUID adds the uid to the update dashboard permissions by UID params

func (*UpdateDashboardPermissionsByUIDParams) WithBody

WithBody adds the body to the update dashboard permissions by UID params

func (*UpdateDashboardPermissionsByUIDParams) WithContext

WithContext adds the context to the update dashboard permissions by UID params

func (*UpdateDashboardPermissionsByUIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update dashboard permissions by UID params

func (*UpdateDashboardPermissionsByUIDParams) WithTimeout

WithTimeout adds the timeout to the update dashboard permissions by UID params

func (*UpdateDashboardPermissionsByUIDParams) WithUID

WithUID adds the uid to the update dashboard permissions by UID params

func (*UpdateDashboardPermissionsByUIDParams) WriteToRequest

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the update dashboard permissions by Uid unauthorized response

func (*UpdateDashboardPermissionsByUIDUnauthorized) Error

func (*UpdateDashboardPermissionsByUIDUnauthorized) GetPayload

func (*UpdateDashboardPermissionsByUIDUnauthorized) IsClientError

IsClientError returns true when this update dashboard permissions by Uid unauthorized response has a 4xx status code

func (*UpdateDashboardPermissionsByUIDUnauthorized) IsCode

IsCode returns true when this update dashboard permissions by Uid unauthorized response a status code equal to that given

func (*UpdateDashboardPermissionsByUIDUnauthorized) IsRedirect

IsRedirect returns true when this update dashboard permissions by Uid unauthorized response has a 3xx status code

func (*UpdateDashboardPermissionsByUIDUnauthorized) IsServerError

IsServerError returns true when this update dashboard permissions by Uid unauthorized response has a 5xx status code

func (*UpdateDashboardPermissionsByUIDUnauthorized) IsSuccess

IsSuccess returns true when this update dashboard permissions by Uid unauthorized response has a 2xx status code

func (*UpdateDashboardPermissionsByUIDUnauthorized) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL