Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, error)
- func (a *Client) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleOK, error)
- func (a *Client) ListRole(params *ListRoleParams, authInfo runtime.ClientAuthInfoWriter) (*ListRoleOK, error)
- func (a *Client) MultiDeleteRole(params *MultiDeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteRoleOK, error)
- func (a *Client) ReadRole(params *ReadRoleParams, authInfo runtime.ClientAuthInfoWriter) (*ReadRoleOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRole(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, error)
- type ClientService
- type CreateRoleBadRequest
- type CreateRoleConflict
- type CreateRoleCreated
- type CreateRoleForbidden
- type CreateRoleInternalServerError
- type CreateRoleNotFound
- type CreateRoleParams
- func (o *CreateRoleParams) SetContext(ctx context.Context)
- func (o *CreateRoleParams) SetHTTPClient(client *http.Client)
- func (o *CreateRoleParams) SetResource(resource *models.Role)
- func (o *CreateRoleParams) SetTimeout(timeout time.Duration)
- func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams
- func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams
- func (o *CreateRoleParams) WithResource(resource *models.Role) *CreateRoleParams
- func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams
- func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRoleReader
- type CreateRoleUnauthorized
- type DeleteRoleBadRequest
- type DeleteRoleConflict
- type DeleteRoleForbidden
- type DeleteRoleInternalServerError
- type DeleteRoleNotFound
- type DeleteRoleOK
- type DeleteRoleParams
- func (o *DeleteRoleParams) SetContext(ctx context.Context)
- func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRoleParams) SetID(id string)
- func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
- func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
- func (o *DeleteRoleParams) WithID(id string) *DeleteRoleParams
- func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
- func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRoleReader
- type DeleteRoleUnauthorized
- type ListRoleBadRequest
- type ListRoleConflict
- type ListRoleForbidden
- type ListRoleInternalServerError
- type ListRoleNotFound
- type ListRoleOK
- type ListRoleParams
- func (o *ListRoleParams) SetContext(ctx context.Context)
- func (o *ListRoleParams) SetExcludeuseronly(excludeuseronly *bool)
- func (o *ListRoleParams) SetFields(fields *string)
- func (o *ListRoleParams) SetHTTPClient(client *http.Client)
- func (o *ListRoleParams) SetLimit(limit *int32)
- func (o *ListRoleParams) SetOrderby(orderby *string)
- func (o *ListRoleParams) SetQ(q *string)
- func (o *ListRoleParams) SetStart(start *int32)
- func (o *ListRoleParams) SetTimeout(timeout time.Duration)
- func (o *ListRoleParams) WithContext(ctx context.Context) *ListRoleParams
- func (o *ListRoleParams) WithExcludeuseronly(excludeuseronly *bool) *ListRoleParams
- func (o *ListRoleParams) WithFields(fields *string) *ListRoleParams
- func (o *ListRoleParams) WithHTTPClient(client *http.Client) *ListRoleParams
- func (o *ListRoleParams) WithLimit(limit *int32) *ListRoleParams
- func (o *ListRoleParams) WithOrderby(orderby *string) *ListRoleParams
- func (o *ListRoleParams) WithQ(q *string) *ListRoleParams
- func (o *ListRoleParams) WithStart(start *int32) *ListRoleParams
- func (o *ListRoleParams) WithTimeout(timeout time.Duration) *ListRoleParams
- func (o *ListRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRoleReader
- type ListRoleUnauthorized
- type MultiDeleteRoleBadRequest
- type MultiDeleteRoleConflict
- type MultiDeleteRoleForbidden
- type MultiDeleteRoleInternalServerError
- type MultiDeleteRoleNotFound
- type MultiDeleteRoleOK
- type MultiDeleteRoleParams
- func NewMultiDeleteRoleParams() *MultiDeleteRoleParams
- func NewMultiDeleteRoleParamsWithContext(ctx context.Context) *MultiDeleteRoleParams
- func NewMultiDeleteRoleParamsWithHTTPClient(client *http.Client) *MultiDeleteRoleParams
- func NewMultiDeleteRoleParamsWithTimeout(timeout time.Duration) *MultiDeleteRoleParams
- func (o *MultiDeleteRoleParams) SetContext(ctx context.Context)
- func (o *MultiDeleteRoleParams) SetHTTPClient(client *http.Client)
- func (o *MultiDeleteRoleParams) SetIds(ids string)
- func (o *MultiDeleteRoleParams) SetTimeout(timeout time.Duration)
- func (o *MultiDeleteRoleParams) WithContext(ctx context.Context) *MultiDeleteRoleParams
- func (o *MultiDeleteRoleParams) WithHTTPClient(client *http.Client) *MultiDeleteRoleParams
- func (o *MultiDeleteRoleParams) WithIds(ids string) *MultiDeleteRoleParams
- func (o *MultiDeleteRoleParams) WithTimeout(timeout time.Duration) *MultiDeleteRoleParams
- func (o *MultiDeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MultiDeleteRoleReader
- type MultiDeleteRoleUnauthorized
- type ReadRoleBadRequest
- type ReadRoleConflict
- type ReadRoleForbidden
- type ReadRoleInternalServerError
- type ReadRoleNotFound
- type ReadRoleOK
- type ReadRoleParams
- func (o *ReadRoleParams) SetContext(ctx context.Context)
- func (o *ReadRoleParams) SetFields(fields *string)
- func (o *ReadRoleParams) SetHTTPClient(client *http.Client)
- func (o *ReadRoleParams) SetID(id string)
- func (o *ReadRoleParams) SetTimeout(timeout time.Duration)
- func (o *ReadRoleParams) WithContext(ctx context.Context) *ReadRoleParams
- func (o *ReadRoleParams) WithFields(fields *string) *ReadRoleParams
- func (o *ReadRoleParams) WithHTTPClient(client *http.Client) *ReadRoleParams
- func (o *ReadRoleParams) WithID(id string) *ReadRoleParams
- func (o *ReadRoleParams) WithTimeout(timeout time.Duration) *ReadRoleParams
- func (o *ReadRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadRoleReader
- type ReadRoleUnauthorized
- type UpdateRoleBadRequest
- type UpdateRoleConflict
- type UpdateRoleForbidden
- type UpdateRoleInternalServerError
- type UpdateRoleNotFound
- type UpdateRoleOK
- type UpdateRoleParams
- func (o *UpdateRoleParams) SetContext(ctx context.Context)
- func (o *UpdateRoleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRoleParams) SetID(id string)
- func (o *UpdateRoleParams) SetResource(resource *models.Role)
- func (o *UpdateRoleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRoleParams) WithContext(ctx context.Context) *UpdateRoleParams
- func (o *UpdateRoleParams) WithHTTPClient(client *http.Client) *UpdateRoleParams
- func (o *UpdateRoleParams) WithID(id string) *UpdateRoleParams
- func (o *UpdateRoleParams) WithResource(resource *models.Role) *UpdateRoleParams
- func (o *UpdateRoleParams) WithTimeout(timeout time.Duration) *UpdateRoleParams
- func (o *UpdateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRoleReader
- type UpdateRoleUnauthorized
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 role controller API
func (*Client) CreateRole ¶
func (a *Client) CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, error)
CreateRole creates
func (*Client) DeleteRole ¶
func (a *Client) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleOK, error)
DeleteRole deletes
func (*Client) ListRole ¶
func (a *Client) ListRole(params *ListRoleParams, authInfo runtime.ClientAuthInfoWriter) (*ListRoleOK, error)
ListRole lists
func (*Client) MultiDeleteRole ¶
func (a *Client) MultiDeleteRole(params *MultiDeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteRoleOK, error)
MultiDeleteRole multis delete
func (*Client) ReadRole ¶
func (a *Client) ReadRole(params *ReadRoleParams, authInfo runtime.ClientAuthInfoWriter) (*ReadRoleOK, error)
ReadRole reads
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRole ¶
func (a *Client) UpdateRole(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, error)
UpdateRole updates
type ClientService ¶
type ClientService interface { CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, error) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleOK, error) ListRole(params *ListRoleParams, authInfo runtime.ClientAuthInfoWriter) (*ListRoleOK, error) MultiDeleteRole(params *MultiDeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteRoleOK, error) ReadRole(params *ReadRoleParams, authInfo runtime.ClientAuthInfoWriter) (*ReadRoleOK, error) UpdateRole(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, 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 role controller API client.
type CreateRoleBadRequest ¶
CreateRoleBadRequest handles this case with default header values.
Bad Request
func NewCreateRoleBadRequest ¶
func NewCreateRoleBadRequest() *CreateRoleBadRequest
NewCreateRoleBadRequest creates a CreateRoleBadRequest with default headers values
func (*CreateRoleBadRequest) Error ¶
func (o *CreateRoleBadRequest) Error() string
func (*CreateRoleBadRequest) GetPayload ¶
func (o *CreateRoleBadRequest) GetPayload() *models.APIResult
type CreateRoleConflict ¶
CreateRoleConflict handles this case with default header values.
Conflict
func NewCreateRoleConflict ¶
func NewCreateRoleConflict() *CreateRoleConflict
NewCreateRoleConflict creates a CreateRoleConflict with default headers values
func (*CreateRoleConflict) Error ¶
func (o *CreateRoleConflict) Error() string
func (*CreateRoleConflict) GetPayload ¶
func (o *CreateRoleConflict) GetPayload() *models.APIResult
type CreateRoleCreated ¶
type CreateRoleCreated struct {
Payload *models.APIResultRole
}
CreateRoleCreated handles this case with default header values.
Created
func NewCreateRoleCreated ¶
func NewCreateRoleCreated() *CreateRoleCreated
NewCreateRoleCreated creates a CreateRoleCreated with default headers values
func (*CreateRoleCreated) Error ¶
func (o *CreateRoleCreated) Error() string
func (*CreateRoleCreated) GetPayload ¶
func (o *CreateRoleCreated) GetPayload() *models.APIResultRole
type CreateRoleForbidden ¶
CreateRoleForbidden handles this case with default header values.
Forbidden
func NewCreateRoleForbidden ¶
func NewCreateRoleForbidden() *CreateRoleForbidden
NewCreateRoleForbidden creates a CreateRoleForbidden with default headers values
func (*CreateRoleForbidden) Error ¶
func (o *CreateRoleForbidden) Error() string
func (*CreateRoleForbidden) GetPayload ¶
func (o *CreateRoleForbidden) GetPayload() *models.APIResult
type CreateRoleInternalServerError ¶
CreateRoleInternalServerError handles this case with default header values.
Internal Server Error
func NewCreateRoleInternalServerError ¶
func NewCreateRoleInternalServerError() *CreateRoleInternalServerError
NewCreateRoleInternalServerError creates a CreateRoleInternalServerError with default headers values
func (*CreateRoleInternalServerError) Error ¶
func (o *CreateRoleInternalServerError) Error() string
func (*CreateRoleInternalServerError) GetPayload ¶
func (o *CreateRoleInternalServerError) GetPayload() *models.APIResult
type CreateRoleNotFound ¶
CreateRoleNotFound handles this case with default header values.
Not Found
func NewCreateRoleNotFound ¶
func NewCreateRoleNotFound() *CreateRoleNotFound
NewCreateRoleNotFound creates a CreateRoleNotFound with default headers values
func (*CreateRoleNotFound) Error ¶
func (o *CreateRoleNotFound) Error() string
func (*CreateRoleNotFound) GetPayload ¶
func (o *CreateRoleNotFound) GetPayload() *models.APIResult
type CreateRoleParams ¶
type CreateRoleParams struct { /*Resource resource */ Resource *models.Role Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRoleParams contains all the parameters to send to the API endpoint for the create role operation typically these are written to a http.Request
func NewCreateRoleParams ¶
func NewCreateRoleParams() *CreateRoleParams
NewCreateRoleParams creates a new CreateRoleParams object with the default values initialized.
func NewCreateRoleParamsWithContext ¶
func NewCreateRoleParamsWithContext(ctx context.Context) *CreateRoleParams
NewCreateRoleParamsWithContext creates a new CreateRoleParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRoleParamsWithHTTPClient ¶
func NewCreateRoleParamsWithHTTPClient(client *http.Client) *CreateRoleParams
NewCreateRoleParamsWithHTTPClient creates a new CreateRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRoleParamsWithTimeout ¶
func NewCreateRoleParamsWithTimeout(timeout time.Duration) *CreateRoleParams
NewCreateRoleParamsWithTimeout creates a new CreateRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRoleParams) SetContext ¶
func (o *CreateRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the create role params
func (*CreateRoleParams) SetHTTPClient ¶
func (o *CreateRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create role params
func (*CreateRoleParams) SetResource ¶
func (o *CreateRoleParams) SetResource(resource *models.Role)
SetResource adds the resource to the create role params
func (*CreateRoleParams) SetTimeout ¶
func (o *CreateRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create role params
func (*CreateRoleParams) WithContext ¶
func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams
WithContext adds the context to the create role params
func (*CreateRoleParams) WithHTTPClient ¶
func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams
WithHTTPClient adds the HTTPClient to the create role params
func (*CreateRoleParams) WithResource ¶
func (o *CreateRoleParams) WithResource(resource *models.Role) *CreateRoleParams
WithResource adds the resource to the create role params
func (*CreateRoleParams) WithTimeout ¶
func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams
WithTimeout adds the timeout to the create role params
func (*CreateRoleParams) WriteToRequest ¶
func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRoleReader ¶
type CreateRoleReader struct {
// contains filtered or unexported fields
}
CreateRoleReader is a Reader for the CreateRole structure.
func (*CreateRoleReader) ReadResponse ¶
func (o *CreateRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRoleUnauthorized ¶
type CreateRoleUnauthorized struct {
}CreateRoleUnauthorized handles this case with default header values.
Unauthorized
func NewCreateRoleUnauthorized ¶
func NewCreateRoleUnauthorized() *CreateRoleUnauthorized
NewCreateRoleUnauthorized creates a CreateRoleUnauthorized with default headers values
func (*CreateRoleUnauthorized) Error ¶
func (o *CreateRoleUnauthorized) Error() string
func (*CreateRoleUnauthorized) GetPayload ¶
func (o *CreateRoleUnauthorized) GetPayload() *models.APIResult
type DeleteRoleBadRequest ¶
DeleteRoleBadRequest handles this case with default header values.
Bad Request
func NewDeleteRoleBadRequest ¶
func NewDeleteRoleBadRequest() *DeleteRoleBadRequest
NewDeleteRoleBadRequest creates a DeleteRoleBadRequest with default headers values
func (*DeleteRoleBadRequest) Error ¶
func (o *DeleteRoleBadRequest) Error() string
func (*DeleteRoleBadRequest) GetPayload ¶
func (o *DeleteRoleBadRequest) GetPayload() *models.APIResult
type DeleteRoleConflict ¶
DeleteRoleConflict handles this case with default header values.
Conflict
func NewDeleteRoleConflict ¶
func NewDeleteRoleConflict() *DeleteRoleConflict
NewDeleteRoleConflict creates a DeleteRoleConflict with default headers values
func (*DeleteRoleConflict) Error ¶
func (o *DeleteRoleConflict) Error() string
func (*DeleteRoleConflict) GetPayload ¶
func (o *DeleteRoleConflict) GetPayload() *models.APIResult
type DeleteRoleForbidden ¶
DeleteRoleForbidden handles this case with default header values.
Forbidden
func NewDeleteRoleForbidden ¶
func NewDeleteRoleForbidden() *DeleteRoleForbidden
NewDeleteRoleForbidden creates a DeleteRoleForbidden with default headers values
func (*DeleteRoleForbidden) Error ¶
func (o *DeleteRoleForbidden) Error() string
func (*DeleteRoleForbidden) GetPayload ¶
func (o *DeleteRoleForbidden) GetPayload() *models.APIResult
type DeleteRoleInternalServerError ¶
DeleteRoleInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteRoleInternalServerError ¶
func NewDeleteRoleInternalServerError() *DeleteRoleInternalServerError
NewDeleteRoleInternalServerError creates a DeleteRoleInternalServerError with default headers values
func (*DeleteRoleInternalServerError) Error ¶
func (o *DeleteRoleInternalServerError) Error() string
func (*DeleteRoleInternalServerError) GetPayload ¶
func (o *DeleteRoleInternalServerError) GetPayload() *models.APIResult
type DeleteRoleNotFound ¶
DeleteRoleNotFound handles this case with default header values.
Not Found
func NewDeleteRoleNotFound ¶
func NewDeleteRoleNotFound() *DeleteRoleNotFound
NewDeleteRoleNotFound creates a DeleteRoleNotFound with default headers values
func (*DeleteRoleNotFound) Error ¶
func (o *DeleteRoleNotFound) Error() string
func (*DeleteRoleNotFound) GetPayload ¶
func (o *DeleteRoleNotFound) GetPayload() *models.APIResult
type DeleteRoleOK ¶
type DeleteRoleOK struct {
Payload *models.APIResultVoid
}
DeleteRoleOK handles this case with default header values.
OK
func NewDeleteRoleOK ¶
func NewDeleteRoleOK() *DeleteRoleOK
NewDeleteRoleOK creates a DeleteRoleOK with default headers values
func (*DeleteRoleOK) Error ¶
func (o *DeleteRoleOK) Error() string
func (*DeleteRoleOK) GetPayload ¶
func (o *DeleteRoleOK) GetPayload() *models.APIResultVoid
type DeleteRoleParams ¶
type DeleteRoleParams struct { /*ID id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRoleParams contains all the parameters to send to the API endpoint for the delete role operation typically these are written to a http.Request
func NewDeleteRoleParams ¶
func NewDeleteRoleParams() *DeleteRoleParams
NewDeleteRoleParams creates a new DeleteRoleParams object with the default values initialized.
func NewDeleteRoleParamsWithContext ¶
func NewDeleteRoleParamsWithContext(ctx context.Context) *DeleteRoleParams
NewDeleteRoleParamsWithContext creates a new DeleteRoleParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRoleParamsWithHTTPClient ¶
func NewDeleteRoleParamsWithHTTPClient(client *http.Client) *DeleteRoleParams
NewDeleteRoleParamsWithHTTPClient creates a new DeleteRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRoleParamsWithTimeout ¶
func NewDeleteRoleParamsWithTimeout(timeout time.Duration) *DeleteRoleParams
NewDeleteRoleParamsWithTimeout creates a new DeleteRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRoleParams) SetContext ¶
func (o *DeleteRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete role params
func (*DeleteRoleParams) SetHTTPClient ¶
func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete role params
func (*DeleteRoleParams) SetID ¶
func (o *DeleteRoleParams) SetID(id string)
SetID adds the id to the delete role params
func (*DeleteRoleParams) SetTimeout ¶
func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete role params
func (*DeleteRoleParams) WithContext ¶
func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
WithContext adds the context to the delete role params
func (*DeleteRoleParams) WithHTTPClient ¶
func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
WithHTTPClient adds the HTTPClient to the delete role params
func (*DeleteRoleParams) WithID ¶
func (o *DeleteRoleParams) WithID(id string) *DeleteRoleParams
WithID adds the id to the delete role params
func (*DeleteRoleParams) WithTimeout ¶
func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
WithTimeout adds the timeout to the delete role params
func (*DeleteRoleParams) WriteToRequest ¶
func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRoleReader ¶
type DeleteRoleReader struct {
// contains filtered or unexported fields
}
DeleteRoleReader is a Reader for the DeleteRole structure.
func (*DeleteRoleReader) ReadResponse ¶
func (o *DeleteRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRoleUnauthorized ¶
type DeleteRoleUnauthorized struct {
}DeleteRoleUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteRoleUnauthorized ¶
func NewDeleteRoleUnauthorized() *DeleteRoleUnauthorized
NewDeleteRoleUnauthorized creates a DeleteRoleUnauthorized with default headers values
func (*DeleteRoleUnauthorized) Error ¶
func (o *DeleteRoleUnauthorized) Error() string
func (*DeleteRoleUnauthorized) GetPayload ¶
func (o *DeleteRoleUnauthorized) GetPayload() *models.APIResult
type ListRoleBadRequest ¶
ListRoleBadRequest handles this case with default header values.
Bad Request
func NewListRoleBadRequest ¶
func NewListRoleBadRequest() *ListRoleBadRequest
NewListRoleBadRequest creates a ListRoleBadRequest with default headers values
func (*ListRoleBadRequest) Error ¶
func (o *ListRoleBadRequest) Error() string
func (*ListRoleBadRequest) GetPayload ¶
func (o *ListRoleBadRequest) GetPayload() *models.APIResult
type ListRoleConflict ¶
ListRoleConflict handles this case with default header values.
Conflict
func NewListRoleConflict ¶
func NewListRoleConflict() *ListRoleConflict
NewListRoleConflict creates a ListRoleConflict with default headers values
func (*ListRoleConflict) Error ¶
func (o *ListRoleConflict) Error() string
func (*ListRoleConflict) GetPayload ¶
func (o *ListRoleConflict) GetPayload() *models.APIResult
type ListRoleForbidden ¶
ListRoleForbidden handles this case with default header values.
Forbidden
func NewListRoleForbidden ¶
func NewListRoleForbidden() *ListRoleForbidden
NewListRoleForbidden creates a ListRoleForbidden with default headers values
func (*ListRoleForbidden) Error ¶
func (o *ListRoleForbidden) Error() string
func (*ListRoleForbidden) GetPayload ¶
func (o *ListRoleForbidden) GetPayload() *models.APIResult
type ListRoleInternalServerError ¶
ListRoleInternalServerError handles this case with default header values.
Internal Server Error
func NewListRoleInternalServerError ¶
func NewListRoleInternalServerError() *ListRoleInternalServerError
NewListRoleInternalServerError creates a ListRoleInternalServerError with default headers values
func (*ListRoleInternalServerError) Error ¶
func (o *ListRoleInternalServerError) Error() string
func (*ListRoleInternalServerError) GetPayload ¶
func (o *ListRoleInternalServerError) GetPayload() *models.APIResult
type ListRoleNotFound ¶
ListRoleNotFound handles this case with default header values.
Not Found
func NewListRoleNotFound ¶
func NewListRoleNotFound() *ListRoleNotFound
NewListRoleNotFound creates a ListRoleNotFound with default headers values
func (*ListRoleNotFound) Error ¶
func (o *ListRoleNotFound) Error() string
func (*ListRoleNotFound) GetPayload ¶
func (o *ListRoleNotFound) GetPayload() *models.APIResult
type ListRoleOK ¶
type ListRoleOK struct {
Payload *models.APIResultListRole
}
ListRoleOK handles this case with default header values.
OK
func NewListRoleOK ¶
func NewListRoleOK() *ListRoleOK
NewListRoleOK creates a ListRoleOK with default headers values
func (*ListRoleOK) Error ¶
func (o *ListRoleOK) Error() string
func (*ListRoleOK) GetPayload ¶
func (o *ListRoleOK) GetPayload() *models.APIResultListRole
type ListRoleParams ¶
type ListRoleParams struct { /*Excludeuseronly excludeuseronly */ Excludeuseronly *bool /*Fields Output fields */ Fields *string /*Limit A maximum number of returned objects in listing, if '-1' or '0' no limit is applied */ Limit *int32 /*Orderby Fields to order by */ Orderby *string /*Q A search query */ Q *string /*Start A start offset in object listing */ Start *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRoleParams contains all the parameters to send to the API endpoint for the list role operation typically these are written to a http.Request
func NewListRoleParams ¶
func NewListRoleParams() *ListRoleParams
NewListRoleParams creates a new ListRoleParams object with the default values initialized.
func NewListRoleParamsWithContext ¶
func NewListRoleParamsWithContext(ctx context.Context) *ListRoleParams
NewListRoleParamsWithContext creates a new ListRoleParams object with the default values initialized, and the ability to set a context for a request
func NewListRoleParamsWithHTTPClient ¶
func NewListRoleParamsWithHTTPClient(client *http.Client) *ListRoleParams
NewListRoleParamsWithHTTPClient creates a new ListRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListRoleParamsWithTimeout ¶
func NewListRoleParamsWithTimeout(timeout time.Duration) *ListRoleParams
NewListRoleParamsWithTimeout creates a new ListRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListRoleParams) SetContext ¶
func (o *ListRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the list role params
func (*ListRoleParams) SetExcludeuseronly ¶
func (o *ListRoleParams) SetExcludeuseronly(excludeuseronly *bool)
SetExcludeuseronly adds the excludeuseronly to the list role params
func (*ListRoleParams) SetFields ¶
func (o *ListRoleParams) SetFields(fields *string)
SetFields adds the fields to the list role params
func (*ListRoleParams) SetHTTPClient ¶
func (o *ListRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list role params
func (*ListRoleParams) SetLimit ¶
func (o *ListRoleParams) SetLimit(limit *int32)
SetLimit adds the limit to the list role params
func (*ListRoleParams) SetOrderby ¶
func (o *ListRoleParams) SetOrderby(orderby *string)
SetOrderby adds the orderby to the list role params
func (*ListRoleParams) SetQ ¶
func (o *ListRoleParams) SetQ(q *string)
SetQ adds the q to the list role params
func (*ListRoleParams) SetStart ¶
func (o *ListRoleParams) SetStart(start *int32)
SetStart adds the start to the list role params
func (*ListRoleParams) SetTimeout ¶
func (o *ListRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list role params
func (*ListRoleParams) WithContext ¶
func (o *ListRoleParams) WithContext(ctx context.Context) *ListRoleParams
WithContext adds the context to the list role params
func (*ListRoleParams) WithExcludeuseronly ¶
func (o *ListRoleParams) WithExcludeuseronly(excludeuseronly *bool) *ListRoleParams
WithExcludeuseronly adds the excludeuseronly to the list role params
func (*ListRoleParams) WithFields ¶
func (o *ListRoleParams) WithFields(fields *string) *ListRoleParams
WithFields adds the fields to the list role params
func (*ListRoleParams) WithHTTPClient ¶
func (o *ListRoleParams) WithHTTPClient(client *http.Client) *ListRoleParams
WithHTTPClient adds the HTTPClient to the list role params
func (*ListRoleParams) WithLimit ¶
func (o *ListRoleParams) WithLimit(limit *int32) *ListRoleParams
WithLimit adds the limit to the list role params
func (*ListRoleParams) WithOrderby ¶
func (o *ListRoleParams) WithOrderby(orderby *string) *ListRoleParams
WithOrderby adds the orderby to the list role params
func (*ListRoleParams) WithQ ¶
func (o *ListRoleParams) WithQ(q *string) *ListRoleParams
WithQ adds the q to the list role params
func (*ListRoleParams) WithStart ¶
func (o *ListRoleParams) WithStart(start *int32) *ListRoleParams
WithStart adds the start to the list role params
func (*ListRoleParams) WithTimeout ¶
func (o *ListRoleParams) WithTimeout(timeout time.Duration) *ListRoleParams
WithTimeout adds the timeout to the list role params
func (*ListRoleParams) WriteToRequest ¶
func (o *ListRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRoleReader ¶
type ListRoleReader struct {
// contains filtered or unexported fields
}
ListRoleReader is a Reader for the ListRole structure.
func (*ListRoleReader) ReadResponse ¶
func (o *ListRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRoleUnauthorized ¶
type ListRoleUnauthorized struct {
}ListRoleUnauthorized handles this case with default header values.
Unauthorized
func NewListRoleUnauthorized ¶
func NewListRoleUnauthorized() *ListRoleUnauthorized
NewListRoleUnauthorized creates a ListRoleUnauthorized with default headers values
func (*ListRoleUnauthorized) Error ¶
func (o *ListRoleUnauthorized) Error() string
func (*ListRoleUnauthorized) GetPayload ¶
func (o *ListRoleUnauthorized) GetPayload() *models.APIResult
type MultiDeleteRoleBadRequest ¶
MultiDeleteRoleBadRequest handles this case with default header values.
Bad Request
func NewMultiDeleteRoleBadRequest ¶
func NewMultiDeleteRoleBadRequest() *MultiDeleteRoleBadRequest
NewMultiDeleteRoleBadRequest creates a MultiDeleteRoleBadRequest with default headers values
func (*MultiDeleteRoleBadRequest) Error ¶
func (o *MultiDeleteRoleBadRequest) Error() string
func (*MultiDeleteRoleBadRequest) GetPayload ¶
func (o *MultiDeleteRoleBadRequest) GetPayload() *models.APIResult
type MultiDeleteRoleConflict ¶
MultiDeleteRoleConflict handles this case with default header values.
Conflict
func NewMultiDeleteRoleConflict ¶
func NewMultiDeleteRoleConflict() *MultiDeleteRoleConflict
NewMultiDeleteRoleConflict creates a MultiDeleteRoleConflict with default headers values
func (*MultiDeleteRoleConflict) Error ¶
func (o *MultiDeleteRoleConflict) Error() string
func (*MultiDeleteRoleConflict) GetPayload ¶
func (o *MultiDeleteRoleConflict) GetPayload() *models.APIResult
type MultiDeleteRoleForbidden ¶
MultiDeleteRoleForbidden handles this case with default header values.
Forbidden
func NewMultiDeleteRoleForbidden ¶
func NewMultiDeleteRoleForbidden() *MultiDeleteRoleForbidden
NewMultiDeleteRoleForbidden creates a MultiDeleteRoleForbidden with default headers values
func (*MultiDeleteRoleForbidden) Error ¶
func (o *MultiDeleteRoleForbidden) Error() string
func (*MultiDeleteRoleForbidden) GetPayload ¶
func (o *MultiDeleteRoleForbidden) GetPayload() *models.APIResult
type MultiDeleteRoleInternalServerError ¶
MultiDeleteRoleInternalServerError handles this case with default header values.
Internal Server Error
func NewMultiDeleteRoleInternalServerError ¶
func NewMultiDeleteRoleInternalServerError() *MultiDeleteRoleInternalServerError
NewMultiDeleteRoleInternalServerError creates a MultiDeleteRoleInternalServerError with default headers values
func (*MultiDeleteRoleInternalServerError) Error ¶
func (o *MultiDeleteRoleInternalServerError) Error() string
func (*MultiDeleteRoleInternalServerError) GetPayload ¶
func (o *MultiDeleteRoleInternalServerError) GetPayload() *models.APIResult
type MultiDeleteRoleNotFound ¶
MultiDeleteRoleNotFound handles this case with default header values.
Not Found
func NewMultiDeleteRoleNotFound ¶
func NewMultiDeleteRoleNotFound() *MultiDeleteRoleNotFound
NewMultiDeleteRoleNotFound creates a MultiDeleteRoleNotFound with default headers values
func (*MultiDeleteRoleNotFound) Error ¶
func (o *MultiDeleteRoleNotFound) Error() string
func (*MultiDeleteRoleNotFound) GetPayload ¶
func (o *MultiDeleteRoleNotFound) GetPayload() *models.APIResult
type MultiDeleteRoleOK ¶
type MultiDeleteRoleOK struct {
Payload *models.APIResultVoid
}
MultiDeleteRoleOK handles this case with default header values.
OK
func NewMultiDeleteRoleOK ¶
func NewMultiDeleteRoleOK() *MultiDeleteRoleOK
NewMultiDeleteRoleOK creates a MultiDeleteRoleOK with default headers values
func (*MultiDeleteRoleOK) Error ¶
func (o *MultiDeleteRoleOK) Error() string
func (*MultiDeleteRoleOK) GetPayload ¶
func (o *MultiDeleteRoleOK) GetPayload() *models.APIResultVoid
type MultiDeleteRoleParams ¶
type MultiDeleteRoleParams struct { /*Ids A comma-separated list of resource identifiers */ Ids string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MultiDeleteRoleParams contains all the parameters to send to the API endpoint for the multi delete role operation typically these are written to a http.Request
func NewMultiDeleteRoleParams ¶
func NewMultiDeleteRoleParams() *MultiDeleteRoleParams
NewMultiDeleteRoleParams creates a new MultiDeleteRoleParams object with the default values initialized.
func NewMultiDeleteRoleParamsWithContext ¶
func NewMultiDeleteRoleParamsWithContext(ctx context.Context) *MultiDeleteRoleParams
NewMultiDeleteRoleParamsWithContext creates a new MultiDeleteRoleParams object with the default values initialized, and the ability to set a context for a request
func NewMultiDeleteRoleParamsWithHTTPClient ¶
func NewMultiDeleteRoleParamsWithHTTPClient(client *http.Client) *MultiDeleteRoleParams
NewMultiDeleteRoleParamsWithHTTPClient creates a new MultiDeleteRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMultiDeleteRoleParamsWithTimeout ¶
func NewMultiDeleteRoleParamsWithTimeout(timeout time.Duration) *MultiDeleteRoleParams
NewMultiDeleteRoleParamsWithTimeout creates a new MultiDeleteRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*MultiDeleteRoleParams) SetContext ¶
func (o *MultiDeleteRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the multi delete role params
func (*MultiDeleteRoleParams) SetHTTPClient ¶
func (o *MultiDeleteRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the multi delete role params
func (*MultiDeleteRoleParams) SetIds ¶
func (o *MultiDeleteRoleParams) SetIds(ids string)
SetIds adds the ids to the multi delete role params
func (*MultiDeleteRoleParams) SetTimeout ¶
func (o *MultiDeleteRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the multi delete role params
func (*MultiDeleteRoleParams) WithContext ¶
func (o *MultiDeleteRoleParams) WithContext(ctx context.Context) *MultiDeleteRoleParams
WithContext adds the context to the multi delete role params
func (*MultiDeleteRoleParams) WithHTTPClient ¶
func (o *MultiDeleteRoleParams) WithHTTPClient(client *http.Client) *MultiDeleteRoleParams
WithHTTPClient adds the HTTPClient to the multi delete role params
func (*MultiDeleteRoleParams) WithIds ¶
func (o *MultiDeleteRoleParams) WithIds(ids string) *MultiDeleteRoleParams
WithIds adds the ids to the multi delete role params
func (*MultiDeleteRoleParams) WithTimeout ¶
func (o *MultiDeleteRoleParams) WithTimeout(timeout time.Duration) *MultiDeleteRoleParams
WithTimeout adds the timeout to the multi delete role params
func (*MultiDeleteRoleParams) WriteToRequest ¶
func (o *MultiDeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MultiDeleteRoleReader ¶
type MultiDeleteRoleReader struct {
// contains filtered or unexported fields
}
MultiDeleteRoleReader is a Reader for the MultiDeleteRole structure.
func (*MultiDeleteRoleReader) ReadResponse ¶
func (o *MultiDeleteRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MultiDeleteRoleUnauthorized ¶
type MultiDeleteRoleUnauthorized struct {
}MultiDeleteRoleUnauthorized handles this case with default header values.
Unauthorized
func NewMultiDeleteRoleUnauthorized ¶
func NewMultiDeleteRoleUnauthorized() *MultiDeleteRoleUnauthorized
NewMultiDeleteRoleUnauthorized creates a MultiDeleteRoleUnauthorized with default headers values
func (*MultiDeleteRoleUnauthorized) Error ¶
func (o *MultiDeleteRoleUnauthorized) Error() string
func (*MultiDeleteRoleUnauthorized) GetPayload ¶
func (o *MultiDeleteRoleUnauthorized) GetPayload() *models.APIResult
type ReadRoleBadRequest ¶
ReadRoleBadRequest handles this case with default header values.
Bad Request
func NewReadRoleBadRequest ¶
func NewReadRoleBadRequest() *ReadRoleBadRequest
NewReadRoleBadRequest creates a ReadRoleBadRequest with default headers values
func (*ReadRoleBadRequest) Error ¶
func (o *ReadRoleBadRequest) Error() string
func (*ReadRoleBadRequest) GetPayload ¶
func (o *ReadRoleBadRequest) GetPayload() *models.APIResult
type ReadRoleConflict ¶
ReadRoleConflict handles this case with default header values.
Conflict
func NewReadRoleConflict ¶
func NewReadRoleConflict() *ReadRoleConflict
NewReadRoleConflict creates a ReadRoleConflict with default headers values
func (*ReadRoleConflict) Error ¶
func (o *ReadRoleConflict) Error() string
func (*ReadRoleConflict) GetPayload ¶
func (o *ReadRoleConflict) GetPayload() *models.APIResult
type ReadRoleForbidden ¶
ReadRoleForbidden handles this case with default header values.
Forbidden
func NewReadRoleForbidden ¶
func NewReadRoleForbidden() *ReadRoleForbidden
NewReadRoleForbidden creates a ReadRoleForbidden with default headers values
func (*ReadRoleForbidden) Error ¶
func (o *ReadRoleForbidden) Error() string
func (*ReadRoleForbidden) GetPayload ¶
func (o *ReadRoleForbidden) GetPayload() *models.APIResult
type ReadRoleInternalServerError ¶
ReadRoleInternalServerError handles this case with default header values.
Internal Server Error
func NewReadRoleInternalServerError ¶
func NewReadRoleInternalServerError() *ReadRoleInternalServerError
NewReadRoleInternalServerError creates a ReadRoleInternalServerError with default headers values
func (*ReadRoleInternalServerError) Error ¶
func (o *ReadRoleInternalServerError) Error() string
func (*ReadRoleInternalServerError) GetPayload ¶
func (o *ReadRoleInternalServerError) GetPayload() *models.APIResult
type ReadRoleNotFound ¶
ReadRoleNotFound handles this case with default header values.
Not Found
func NewReadRoleNotFound ¶
func NewReadRoleNotFound() *ReadRoleNotFound
NewReadRoleNotFound creates a ReadRoleNotFound with default headers values
func (*ReadRoleNotFound) Error ¶
func (o *ReadRoleNotFound) Error() string
func (*ReadRoleNotFound) GetPayload ¶
func (o *ReadRoleNotFound) GetPayload() *models.APIResult
type ReadRoleOK ¶
type ReadRoleOK struct {
Payload *models.APIResultRole
}
ReadRoleOK handles this case with default header values.
OK
func NewReadRoleOK ¶
func NewReadRoleOK() *ReadRoleOK
NewReadRoleOK creates a ReadRoleOK with default headers values
func (*ReadRoleOK) Error ¶
func (o *ReadRoleOK) Error() string
func (*ReadRoleOK) GetPayload ¶
func (o *ReadRoleOK) GetPayload() *models.APIResultRole
type ReadRoleParams ¶
type ReadRoleParams struct { /*Fields Output fields */ Fields *string /*ID id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadRoleParams contains all the parameters to send to the API endpoint for the read role operation typically these are written to a http.Request
func NewReadRoleParams ¶
func NewReadRoleParams() *ReadRoleParams
NewReadRoleParams creates a new ReadRoleParams object with the default values initialized.
func NewReadRoleParamsWithContext ¶
func NewReadRoleParamsWithContext(ctx context.Context) *ReadRoleParams
NewReadRoleParamsWithContext creates a new ReadRoleParams object with the default values initialized, and the ability to set a context for a request
func NewReadRoleParamsWithHTTPClient ¶
func NewReadRoleParamsWithHTTPClient(client *http.Client) *ReadRoleParams
NewReadRoleParamsWithHTTPClient creates a new ReadRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReadRoleParamsWithTimeout ¶
func NewReadRoleParamsWithTimeout(timeout time.Duration) *ReadRoleParams
NewReadRoleParamsWithTimeout creates a new ReadRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReadRoleParams) SetContext ¶
func (o *ReadRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the read role params
func (*ReadRoleParams) SetFields ¶
func (o *ReadRoleParams) SetFields(fields *string)
SetFields adds the fields to the read role params
func (*ReadRoleParams) SetHTTPClient ¶
func (o *ReadRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read role params
func (*ReadRoleParams) SetID ¶
func (o *ReadRoleParams) SetID(id string)
SetID adds the id to the read role params
func (*ReadRoleParams) SetTimeout ¶
func (o *ReadRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read role params
func (*ReadRoleParams) WithContext ¶
func (o *ReadRoleParams) WithContext(ctx context.Context) *ReadRoleParams
WithContext adds the context to the read role params
func (*ReadRoleParams) WithFields ¶
func (o *ReadRoleParams) WithFields(fields *string) *ReadRoleParams
WithFields adds the fields to the read role params
func (*ReadRoleParams) WithHTTPClient ¶
func (o *ReadRoleParams) WithHTTPClient(client *http.Client) *ReadRoleParams
WithHTTPClient adds the HTTPClient to the read role params
func (*ReadRoleParams) WithID ¶
func (o *ReadRoleParams) WithID(id string) *ReadRoleParams
WithID adds the id to the read role params
func (*ReadRoleParams) WithTimeout ¶
func (o *ReadRoleParams) WithTimeout(timeout time.Duration) *ReadRoleParams
WithTimeout adds the timeout to the read role params
func (*ReadRoleParams) WriteToRequest ¶
func (o *ReadRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadRoleReader ¶
type ReadRoleReader struct {
// contains filtered or unexported fields
}
ReadRoleReader is a Reader for the ReadRole structure.
func (*ReadRoleReader) ReadResponse ¶
func (o *ReadRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadRoleUnauthorized ¶
type ReadRoleUnauthorized struct {
}ReadRoleUnauthorized handles this case with default header values.
Unauthorized
func NewReadRoleUnauthorized ¶
func NewReadRoleUnauthorized() *ReadRoleUnauthorized
NewReadRoleUnauthorized creates a ReadRoleUnauthorized with default headers values
func (*ReadRoleUnauthorized) Error ¶
func (o *ReadRoleUnauthorized) Error() string
func (*ReadRoleUnauthorized) GetPayload ¶
func (o *ReadRoleUnauthorized) GetPayload() *models.APIResult
type UpdateRoleBadRequest ¶
UpdateRoleBadRequest handles this case with default header values.
Bad Request
func NewUpdateRoleBadRequest ¶
func NewUpdateRoleBadRequest() *UpdateRoleBadRequest
NewUpdateRoleBadRequest creates a UpdateRoleBadRequest with default headers values
func (*UpdateRoleBadRequest) Error ¶
func (o *UpdateRoleBadRequest) Error() string
func (*UpdateRoleBadRequest) GetPayload ¶
func (o *UpdateRoleBadRequest) GetPayload() *models.APIResult
type UpdateRoleConflict ¶
UpdateRoleConflict handles this case with default header values.
Conflict
func NewUpdateRoleConflict ¶
func NewUpdateRoleConflict() *UpdateRoleConflict
NewUpdateRoleConflict creates a UpdateRoleConflict with default headers values
func (*UpdateRoleConflict) Error ¶
func (o *UpdateRoleConflict) Error() string
func (*UpdateRoleConflict) GetPayload ¶
func (o *UpdateRoleConflict) GetPayload() *models.APIResult
type UpdateRoleForbidden ¶
UpdateRoleForbidden handles this case with default header values.
Forbidden
func NewUpdateRoleForbidden ¶
func NewUpdateRoleForbidden() *UpdateRoleForbidden
NewUpdateRoleForbidden creates a UpdateRoleForbidden with default headers values
func (*UpdateRoleForbidden) Error ¶
func (o *UpdateRoleForbidden) Error() string
func (*UpdateRoleForbidden) GetPayload ¶
func (o *UpdateRoleForbidden) GetPayload() *models.APIResult
type UpdateRoleInternalServerError ¶
UpdateRoleInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateRoleInternalServerError ¶
func NewUpdateRoleInternalServerError() *UpdateRoleInternalServerError
NewUpdateRoleInternalServerError creates a UpdateRoleInternalServerError with default headers values
func (*UpdateRoleInternalServerError) Error ¶
func (o *UpdateRoleInternalServerError) Error() string
func (*UpdateRoleInternalServerError) GetPayload ¶
func (o *UpdateRoleInternalServerError) GetPayload() *models.APIResult
type UpdateRoleNotFound ¶
UpdateRoleNotFound handles this case with default header values.
Not Found
func NewUpdateRoleNotFound ¶
func NewUpdateRoleNotFound() *UpdateRoleNotFound
NewUpdateRoleNotFound creates a UpdateRoleNotFound with default headers values
func (*UpdateRoleNotFound) Error ¶
func (o *UpdateRoleNotFound) Error() string
func (*UpdateRoleNotFound) GetPayload ¶
func (o *UpdateRoleNotFound) GetPayload() *models.APIResult
type UpdateRoleOK ¶
type UpdateRoleOK struct {
Payload *models.APIResultRole
}
UpdateRoleOK handles this case with default header values.
OK
func NewUpdateRoleOK ¶
func NewUpdateRoleOK() *UpdateRoleOK
NewUpdateRoleOK creates a UpdateRoleOK with default headers values
func (*UpdateRoleOK) Error ¶
func (o *UpdateRoleOK) Error() string
func (*UpdateRoleOK) GetPayload ¶
func (o *UpdateRoleOK) GetPayload() *models.APIResultRole
type UpdateRoleParams ¶
type UpdateRoleParams struct { /*ID id */ ID string /*Resource resource */ Resource *models.Role Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRoleParams contains all the parameters to send to the API endpoint for the update role operation typically these are written to a http.Request
func NewUpdateRoleParams ¶
func NewUpdateRoleParams() *UpdateRoleParams
NewUpdateRoleParams creates a new UpdateRoleParams object with the default values initialized.
func NewUpdateRoleParamsWithContext ¶
func NewUpdateRoleParamsWithContext(ctx context.Context) *UpdateRoleParams
NewUpdateRoleParamsWithContext creates a new UpdateRoleParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateRoleParamsWithHTTPClient ¶
func NewUpdateRoleParamsWithHTTPClient(client *http.Client) *UpdateRoleParams
NewUpdateRoleParamsWithHTTPClient creates a new UpdateRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateRoleParamsWithTimeout ¶
func NewUpdateRoleParamsWithTimeout(timeout time.Duration) *UpdateRoleParams
NewUpdateRoleParamsWithTimeout creates a new UpdateRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateRoleParams) SetContext ¶
func (o *UpdateRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the update role params
func (*UpdateRoleParams) SetHTTPClient ¶
func (o *UpdateRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update role params
func (*UpdateRoleParams) SetID ¶
func (o *UpdateRoleParams) SetID(id string)
SetID adds the id to the update role params
func (*UpdateRoleParams) SetResource ¶
func (o *UpdateRoleParams) SetResource(resource *models.Role)
SetResource adds the resource to the update role params
func (*UpdateRoleParams) SetTimeout ¶
func (o *UpdateRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update role params
func (*UpdateRoleParams) WithContext ¶
func (o *UpdateRoleParams) WithContext(ctx context.Context) *UpdateRoleParams
WithContext adds the context to the update role params
func (*UpdateRoleParams) WithHTTPClient ¶
func (o *UpdateRoleParams) WithHTTPClient(client *http.Client) *UpdateRoleParams
WithHTTPClient adds the HTTPClient to the update role params
func (*UpdateRoleParams) WithID ¶
func (o *UpdateRoleParams) WithID(id string) *UpdateRoleParams
WithID adds the id to the update role params
func (*UpdateRoleParams) WithResource ¶
func (o *UpdateRoleParams) WithResource(resource *models.Role) *UpdateRoleParams
WithResource adds the resource to the update role params
func (*UpdateRoleParams) WithTimeout ¶
func (o *UpdateRoleParams) WithTimeout(timeout time.Duration) *UpdateRoleParams
WithTimeout adds the timeout to the update role params
func (*UpdateRoleParams) WriteToRequest ¶
func (o *UpdateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRoleReader ¶
type UpdateRoleReader struct {
// contains filtered or unexported fields
}
UpdateRoleReader is a Reader for the UpdateRole structure.
func (*UpdateRoleReader) ReadResponse ¶
func (o *UpdateRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRoleUnauthorized ¶
type UpdateRoleUnauthorized struct {
}UpdateRoleUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateRoleUnauthorized ¶
func NewUpdateRoleUnauthorized() *UpdateRoleUnauthorized
NewUpdateRoleUnauthorized creates a UpdateRoleUnauthorized with default headers values
func (*UpdateRoleUnauthorized) Error ¶
func (o *UpdateRoleUnauthorized) Error() string
func (*UpdateRoleUnauthorized) GetPayload ¶
func (o *UpdateRoleUnauthorized) GetPayload() *models.APIResult
Source Files ¶
- create_role_parameters.go
- create_role_responses.go
- delete_role_parameters.go
- delete_role_responses.go
- list_role_parameters.go
- list_role_responses.go
- multi_delete_role_parameters.go
- multi_delete_role_responses.go
- read_role_parameters.go
- read_role_responses.go
- role_controller_client.go
- update_role_parameters.go
- update_role_responses.go