Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRoleUsingPOST(params *CreateRoleUsingPOSTParams) (*CreateRoleUsingPOSTOK, *CreateRoleUsingPOSTCreated, error)
- func (a *Client) DeleteRoleUsingDELETE(params *DeleteRoleUsingDELETEParams) (*DeleteRoleUsingDELETEOK, *DeleteRoleUsingDELETENoContent, error)
- func (a *Client) GetRoleUsingGET(params *GetRoleUsingGETParams) (*GetRoleUsingGETOK, error)
- func (a *Client) GetRolesUsingGET(params *GetRolesUsingGETParams) (*GetRolesUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRoleUsingPUT(params *UpdateRoleUsingPUTParams) (*UpdateRoleUsingPUTOK, *UpdateRoleUsingPUTCreated, error)
- type ClientService
- type CreateRoleUsingPOSTCreated
- type CreateRoleUsingPOSTForbidden
- type CreateRoleUsingPOSTNotFound
- type CreateRoleUsingPOSTOK
- type CreateRoleUsingPOSTParams
- func NewCreateRoleUsingPOSTParams() *CreateRoleUsingPOSTParams
- func NewCreateRoleUsingPOSTParamsWithContext(ctx context.Context) *CreateRoleUsingPOSTParams
- func NewCreateRoleUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateRoleUsingPOSTParams
- func NewCreateRoleUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateRoleUsingPOSTParams
- func (o *CreateRoleUsingPOSTParams) SetContext(ctx context.Context)
- func (o *CreateRoleUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *CreateRoleUsingPOSTParams) SetRoleDto(roleDto *models.RoleDto)
- func (o *CreateRoleUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *CreateRoleUsingPOSTParams) WithContext(ctx context.Context) *CreateRoleUsingPOSTParams
- func (o *CreateRoleUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateRoleUsingPOSTParams
- func (o *CreateRoleUsingPOSTParams) WithRoleDto(roleDto *models.RoleDto) *CreateRoleUsingPOSTParams
- func (o *CreateRoleUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateRoleUsingPOSTParams
- func (o *CreateRoleUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRoleUsingPOSTReader
- type CreateRoleUsingPOSTUnauthorized
- type DeleteRoleUsingDELETEForbidden
- type DeleteRoleUsingDELETENoContent
- type DeleteRoleUsingDELETEOK
- type DeleteRoleUsingDELETEParams
- func NewDeleteRoleUsingDELETEParams() *DeleteRoleUsingDELETEParams
- func NewDeleteRoleUsingDELETEParamsWithContext(ctx context.Context) *DeleteRoleUsingDELETEParams
- func NewDeleteRoleUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteRoleUsingDELETEParams
- func NewDeleteRoleUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteRoleUsingDELETEParams
- func (o *DeleteRoleUsingDELETEParams) SetContext(ctx context.Context)
- func (o *DeleteRoleUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRoleUsingDELETEParams) SetRoleID(roleID int64)
- func (o *DeleteRoleUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRoleUsingDELETEParams) WithContext(ctx context.Context) *DeleteRoleUsingDELETEParams
- func (o *DeleteRoleUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteRoleUsingDELETEParams
- func (o *DeleteRoleUsingDELETEParams) WithRoleID(roleID int64) *DeleteRoleUsingDELETEParams
- func (o *DeleteRoleUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteRoleUsingDELETEParams
- func (o *DeleteRoleUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRoleUsingDELETEReader
- type DeleteRoleUsingDELETEUnauthorized
- type GetRoleUsingGETForbidden
- type GetRoleUsingGETNotFound
- type GetRoleUsingGETOK
- type GetRoleUsingGETParams
- func NewGetRoleUsingGETParams() *GetRoleUsingGETParams
- func NewGetRoleUsingGETParamsWithContext(ctx context.Context) *GetRoleUsingGETParams
- func NewGetRoleUsingGETParamsWithHTTPClient(client *http.Client) *GetRoleUsingGETParams
- func NewGetRoleUsingGETParamsWithTimeout(timeout time.Duration) *GetRoleUsingGETParams
- func (o *GetRoleUsingGETParams) SetContext(ctx context.Context)
- func (o *GetRoleUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetRoleUsingGETParams) SetRoleID(roleID int64)
- func (o *GetRoleUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetRoleUsingGETParams) WithContext(ctx context.Context) *GetRoleUsingGETParams
- func (o *GetRoleUsingGETParams) WithHTTPClient(client *http.Client) *GetRoleUsingGETParams
- func (o *GetRoleUsingGETParams) WithRoleID(roleID int64) *GetRoleUsingGETParams
- func (o *GetRoleUsingGETParams) WithTimeout(timeout time.Duration) *GetRoleUsingGETParams
- func (o *GetRoleUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRoleUsingGETReader
- type GetRoleUsingGETUnauthorized
- type GetRolesUsingGETForbidden
- type GetRolesUsingGETNotFound
- type GetRolesUsingGETOK
- type GetRolesUsingGETParams
- func NewGetRolesUsingGETParams() *GetRolesUsingGETParams
- func NewGetRolesUsingGETParamsWithContext(ctx context.Context) *GetRolesUsingGETParams
- func NewGetRolesUsingGETParamsWithHTTPClient(client *http.Client) *GetRolesUsingGETParams
- func NewGetRolesUsingGETParamsWithTimeout(timeout time.Duration) *GetRolesUsingGETParams
- func (o *GetRolesUsingGETParams) SetContext(ctx context.Context)
- func (o *GetRolesUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetRolesUsingGETParams) SetIsProjectSpecific(isProjectSpecific *bool)
- func (o *GetRolesUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetRolesUsingGETParams) WithContext(ctx context.Context) *GetRolesUsingGETParams
- func (o *GetRolesUsingGETParams) WithHTTPClient(client *http.Client) *GetRolesUsingGETParams
- func (o *GetRolesUsingGETParams) WithIsProjectSpecific(isProjectSpecific *bool) *GetRolesUsingGETParams
- func (o *GetRolesUsingGETParams) WithTimeout(timeout time.Duration) *GetRolesUsingGETParams
- func (o *GetRolesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRolesUsingGETReader
- type GetRolesUsingGETUnauthorized
- type UpdateRoleUsingPUTCreated
- type UpdateRoleUsingPUTForbidden
- type UpdateRoleUsingPUTNotFound
- type UpdateRoleUsingPUTOK
- type UpdateRoleUsingPUTParams
- func NewUpdateRoleUsingPUTParams() *UpdateRoleUsingPUTParams
- func NewUpdateRoleUsingPUTParamsWithContext(ctx context.Context) *UpdateRoleUsingPUTParams
- func NewUpdateRoleUsingPUTParamsWithHTTPClient(client *http.Client) *UpdateRoleUsingPUTParams
- func NewUpdateRoleUsingPUTParamsWithTimeout(timeout time.Duration) *UpdateRoleUsingPUTParams
- func (o *UpdateRoleUsingPUTParams) SetContext(ctx context.Context)
- func (o *UpdateRoleUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRoleUsingPUTParams) SetRoleDto(roleDto *models.RoleDto)
- func (o *UpdateRoleUsingPUTParams) SetRoleID(roleID int64)
- func (o *UpdateRoleUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRoleUsingPUTParams) WithContext(ctx context.Context) *UpdateRoleUsingPUTParams
- func (o *UpdateRoleUsingPUTParams) WithHTTPClient(client *http.Client) *UpdateRoleUsingPUTParams
- func (o *UpdateRoleUsingPUTParams) WithRoleDto(roleDto *models.RoleDto) *UpdateRoleUsingPUTParams
- func (o *UpdateRoleUsingPUTParams) WithRoleID(roleID int64) *UpdateRoleUsingPUTParams
- func (o *UpdateRoleUsingPUTParams) WithTimeout(timeout time.Duration) *UpdateRoleUsingPUTParams
- func (o *UpdateRoleUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRoleUsingPUTReader
- type UpdateRoleUsingPUTUnauthorized
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 roles API
func (*Client) CreateRoleUsingPOST ¶
func (a *Client) CreateRoleUsingPOST(params *CreateRoleUsingPOSTParams) (*CreateRoleUsingPOSTOK, *CreateRoleUsingPOSTCreated, error)
CreateRoleUsingPOST creates a role
func (*Client) DeleteRoleUsingDELETE ¶
func (a *Client) DeleteRoleUsingDELETE(params *DeleteRoleUsingDELETEParams) (*DeleteRoleUsingDELETEOK, *DeleteRoleUsingDELETENoContent, error)
DeleteRoleUsingDELETE deletes a role
func (*Client) GetRoleUsingGET ¶
func (a *Client) GetRoleUsingGET(params *GetRoleUsingGETParams) (*GetRoleUsingGETOK, error)
GetRoleUsingGET gets a role
func (*Client) GetRolesUsingGET ¶
func (a *Client) GetRolesUsingGET(params *GetRolesUsingGETParams) (*GetRolesUsingGETOK, error)
GetRolesUsingGET gets roles
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRoleUsingPUT ¶
func (a *Client) UpdateRoleUsingPUT(params *UpdateRoleUsingPUTParams) (*UpdateRoleUsingPUTOK, *UpdateRoleUsingPUTCreated, error)
UpdateRoleUsingPUT updates a role
type ClientService ¶
type ClientService interface { CreateRoleUsingPOST(params *CreateRoleUsingPOSTParams) (*CreateRoleUsingPOSTOK, *CreateRoleUsingPOSTCreated, error) DeleteRoleUsingDELETE(params *DeleteRoleUsingDELETEParams) (*DeleteRoleUsingDELETEOK, *DeleteRoleUsingDELETENoContent, error) GetRoleUsingGET(params *GetRoleUsingGETParams) (*GetRoleUsingGETOK, error) GetRolesUsingGET(params *GetRolesUsingGETParams) (*GetRolesUsingGETOK, error) UpdateRoleUsingPUT(params *UpdateRoleUsingPUTParams) (*UpdateRoleUsingPUTOK, *UpdateRoleUsingPUTCreated, 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 roles API client.
type CreateRoleUsingPOSTCreated ¶
type CreateRoleUsingPOSTCreated struct { }
CreateRoleUsingPOSTCreated handles this case with default header values.
Created
func NewCreateRoleUsingPOSTCreated ¶
func NewCreateRoleUsingPOSTCreated() *CreateRoleUsingPOSTCreated
NewCreateRoleUsingPOSTCreated creates a CreateRoleUsingPOSTCreated with default headers values
func (*CreateRoleUsingPOSTCreated) Error ¶
func (o *CreateRoleUsingPOSTCreated) Error() string
type CreateRoleUsingPOSTForbidden ¶
type CreateRoleUsingPOSTForbidden struct { }
CreateRoleUsingPOSTForbidden handles this case with default header values.
Forbidden
func NewCreateRoleUsingPOSTForbidden ¶
func NewCreateRoleUsingPOSTForbidden() *CreateRoleUsingPOSTForbidden
NewCreateRoleUsingPOSTForbidden creates a CreateRoleUsingPOSTForbidden with default headers values
func (*CreateRoleUsingPOSTForbidden) Error ¶
func (o *CreateRoleUsingPOSTForbidden) Error() string
type CreateRoleUsingPOSTNotFound ¶
type CreateRoleUsingPOSTNotFound struct { }
CreateRoleUsingPOSTNotFound handles this case with default header values.
Not Found
func NewCreateRoleUsingPOSTNotFound ¶
func NewCreateRoleUsingPOSTNotFound() *CreateRoleUsingPOSTNotFound
NewCreateRoleUsingPOSTNotFound creates a CreateRoleUsingPOSTNotFound with default headers values
func (*CreateRoleUsingPOSTNotFound) Error ¶
func (o *CreateRoleUsingPOSTNotFound) Error() string
type CreateRoleUsingPOSTOK ¶
CreateRoleUsingPOSTOK handles this case with default header values.
OK
func NewCreateRoleUsingPOSTOK ¶
func NewCreateRoleUsingPOSTOK() *CreateRoleUsingPOSTOK
NewCreateRoleUsingPOSTOK creates a CreateRoleUsingPOSTOK with default headers values
func (*CreateRoleUsingPOSTOK) Error ¶
func (o *CreateRoleUsingPOSTOK) Error() string
func (*CreateRoleUsingPOSTOK) GetPayload ¶
func (o *CreateRoleUsingPOSTOK) GetPayload() *models.RoleDto
type CreateRoleUsingPOSTParams ¶
type CreateRoleUsingPOSTParams struct { /*RoleDto roleDto */ RoleDto *models.RoleDto Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRoleUsingPOSTParams contains all the parameters to send to the API endpoint for the create role using p o s t operation typically these are written to a http.Request
func NewCreateRoleUsingPOSTParams ¶
func NewCreateRoleUsingPOSTParams() *CreateRoleUsingPOSTParams
NewCreateRoleUsingPOSTParams creates a new CreateRoleUsingPOSTParams object with the default values initialized.
func NewCreateRoleUsingPOSTParamsWithContext ¶
func NewCreateRoleUsingPOSTParamsWithContext(ctx context.Context) *CreateRoleUsingPOSTParams
NewCreateRoleUsingPOSTParamsWithContext creates a new CreateRoleUsingPOSTParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRoleUsingPOSTParamsWithHTTPClient ¶
func NewCreateRoleUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateRoleUsingPOSTParams
NewCreateRoleUsingPOSTParamsWithHTTPClient creates a new CreateRoleUsingPOSTParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRoleUsingPOSTParamsWithTimeout ¶
func NewCreateRoleUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateRoleUsingPOSTParams
NewCreateRoleUsingPOSTParamsWithTimeout creates a new CreateRoleUsingPOSTParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRoleUsingPOSTParams) SetContext ¶
func (o *CreateRoleUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the create role using p o s t params
func (*CreateRoleUsingPOSTParams) SetHTTPClient ¶
func (o *CreateRoleUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create role using p o s t params
func (*CreateRoleUsingPOSTParams) SetRoleDto ¶
func (o *CreateRoleUsingPOSTParams) SetRoleDto(roleDto *models.RoleDto)
SetRoleDto adds the roleDto to the create role using p o s t params
func (*CreateRoleUsingPOSTParams) SetTimeout ¶
func (o *CreateRoleUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create role using p o s t params
func (*CreateRoleUsingPOSTParams) WithContext ¶
func (o *CreateRoleUsingPOSTParams) WithContext(ctx context.Context) *CreateRoleUsingPOSTParams
WithContext adds the context to the create role using p o s t params
func (*CreateRoleUsingPOSTParams) WithHTTPClient ¶
func (o *CreateRoleUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateRoleUsingPOSTParams
WithHTTPClient adds the HTTPClient to the create role using p o s t params
func (*CreateRoleUsingPOSTParams) WithRoleDto ¶
func (o *CreateRoleUsingPOSTParams) WithRoleDto(roleDto *models.RoleDto) *CreateRoleUsingPOSTParams
WithRoleDto adds the roleDto to the create role using p o s t params
func (*CreateRoleUsingPOSTParams) WithTimeout ¶
func (o *CreateRoleUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateRoleUsingPOSTParams
WithTimeout adds the timeout to the create role using p o s t params
func (*CreateRoleUsingPOSTParams) WriteToRequest ¶
func (o *CreateRoleUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRoleUsingPOSTReader ¶
type CreateRoleUsingPOSTReader struct {
// contains filtered or unexported fields
}
CreateRoleUsingPOSTReader is a Reader for the CreateRoleUsingPOST structure.
func (*CreateRoleUsingPOSTReader) ReadResponse ¶
func (o *CreateRoleUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRoleUsingPOSTUnauthorized ¶
type CreateRoleUsingPOSTUnauthorized struct { }
CreateRoleUsingPOSTUnauthorized handles this case with default header values.
Unauthorized
func NewCreateRoleUsingPOSTUnauthorized ¶
func NewCreateRoleUsingPOSTUnauthorized() *CreateRoleUsingPOSTUnauthorized
NewCreateRoleUsingPOSTUnauthorized creates a CreateRoleUsingPOSTUnauthorized with default headers values
func (*CreateRoleUsingPOSTUnauthorized) Error ¶
func (o *CreateRoleUsingPOSTUnauthorized) Error() string
type DeleteRoleUsingDELETEForbidden ¶
type DeleteRoleUsingDELETEForbidden struct { }
DeleteRoleUsingDELETEForbidden handles this case with default header values.
Forbidden
func NewDeleteRoleUsingDELETEForbidden ¶
func NewDeleteRoleUsingDELETEForbidden() *DeleteRoleUsingDELETEForbidden
NewDeleteRoleUsingDELETEForbidden creates a DeleteRoleUsingDELETEForbidden with default headers values
func (*DeleteRoleUsingDELETEForbidden) Error ¶
func (o *DeleteRoleUsingDELETEForbidden) Error() string
type DeleteRoleUsingDELETENoContent ¶
type DeleteRoleUsingDELETENoContent struct { }
DeleteRoleUsingDELETENoContent handles this case with default header values.
No Content
func NewDeleteRoleUsingDELETENoContent ¶
func NewDeleteRoleUsingDELETENoContent() *DeleteRoleUsingDELETENoContent
NewDeleteRoleUsingDELETENoContent creates a DeleteRoleUsingDELETENoContent with default headers values
func (*DeleteRoleUsingDELETENoContent) Error ¶
func (o *DeleteRoleUsingDELETENoContent) Error() string
type DeleteRoleUsingDELETEOK ¶
type DeleteRoleUsingDELETEOK struct { }
DeleteRoleUsingDELETEOK handles this case with default header values.
OK
func NewDeleteRoleUsingDELETEOK ¶
func NewDeleteRoleUsingDELETEOK() *DeleteRoleUsingDELETEOK
NewDeleteRoleUsingDELETEOK creates a DeleteRoleUsingDELETEOK with default headers values
func (*DeleteRoleUsingDELETEOK) Error ¶
func (o *DeleteRoleUsingDELETEOK) Error() string
type DeleteRoleUsingDELETEParams ¶
type DeleteRoleUsingDELETEParams struct { /*RoleID roleId */ RoleID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRoleUsingDELETEParams contains all the parameters to send to the API endpoint for the delete role using d e l e t e operation typically these are written to a http.Request
func NewDeleteRoleUsingDELETEParams ¶
func NewDeleteRoleUsingDELETEParams() *DeleteRoleUsingDELETEParams
NewDeleteRoleUsingDELETEParams creates a new DeleteRoleUsingDELETEParams object with the default values initialized.
func NewDeleteRoleUsingDELETEParamsWithContext ¶
func NewDeleteRoleUsingDELETEParamsWithContext(ctx context.Context) *DeleteRoleUsingDELETEParams
NewDeleteRoleUsingDELETEParamsWithContext creates a new DeleteRoleUsingDELETEParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRoleUsingDELETEParamsWithHTTPClient ¶
func NewDeleteRoleUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteRoleUsingDELETEParams
NewDeleteRoleUsingDELETEParamsWithHTTPClient creates a new DeleteRoleUsingDELETEParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRoleUsingDELETEParamsWithTimeout ¶
func NewDeleteRoleUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteRoleUsingDELETEParams
NewDeleteRoleUsingDELETEParamsWithTimeout creates a new DeleteRoleUsingDELETEParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRoleUsingDELETEParams) SetContext ¶
func (o *DeleteRoleUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the delete role using d e l e t e params
func (*DeleteRoleUsingDELETEParams) SetHTTPClient ¶
func (o *DeleteRoleUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete role using d e l e t e params
func (*DeleteRoleUsingDELETEParams) SetRoleID ¶
func (o *DeleteRoleUsingDELETEParams) SetRoleID(roleID int64)
SetRoleID adds the roleId to the delete role using d e l e t e params
func (*DeleteRoleUsingDELETEParams) SetTimeout ¶
func (o *DeleteRoleUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete role using d e l e t e params
func (*DeleteRoleUsingDELETEParams) WithContext ¶
func (o *DeleteRoleUsingDELETEParams) WithContext(ctx context.Context) *DeleteRoleUsingDELETEParams
WithContext adds the context to the delete role using d e l e t e params
func (*DeleteRoleUsingDELETEParams) WithHTTPClient ¶
func (o *DeleteRoleUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteRoleUsingDELETEParams
WithHTTPClient adds the HTTPClient to the delete role using d e l e t e params
func (*DeleteRoleUsingDELETEParams) WithRoleID ¶
func (o *DeleteRoleUsingDELETEParams) WithRoleID(roleID int64) *DeleteRoleUsingDELETEParams
WithRoleID adds the roleID to the delete role using d e l e t e params
func (*DeleteRoleUsingDELETEParams) WithTimeout ¶
func (o *DeleteRoleUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteRoleUsingDELETEParams
WithTimeout adds the timeout to the delete role using d e l e t e params
func (*DeleteRoleUsingDELETEParams) WriteToRequest ¶
func (o *DeleteRoleUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRoleUsingDELETEReader ¶
type DeleteRoleUsingDELETEReader struct {
// contains filtered or unexported fields
}
DeleteRoleUsingDELETEReader is a Reader for the DeleteRoleUsingDELETE structure.
func (*DeleteRoleUsingDELETEReader) ReadResponse ¶
func (o *DeleteRoleUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRoleUsingDELETEUnauthorized ¶
type DeleteRoleUsingDELETEUnauthorized struct { }
DeleteRoleUsingDELETEUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteRoleUsingDELETEUnauthorized ¶
func NewDeleteRoleUsingDELETEUnauthorized() *DeleteRoleUsingDELETEUnauthorized
NewDeleteRoleUsingDELETEUnauthorized creates a DeleteRoleUsingDELETEUnauthorized with default headers values
func (*DeleteRoleUsingDELETEUnauthorized) Error ¶
func (o *DeleteRoleUsingDELETEUnauthorized) Error() string
type GetRoleUsingGETForbidden ¶
type GetRoleUsingGETForbidden struct { }
GetRoleUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetRoleUsingGETForbidden ¶
func NewGetRoleUsingGETForbidden() *GetRoleUsingGETForbidden
NewGetRoleUsingGETForbidden creates a GetRoleUsingGETForbidden with default headers values
func (*GetRoleUsingGETForbidden) Error ¶
func (o *GetRoleUsingGETForbidden) Error() string
type GetRoleUsingGETNotFound ¶
type GetRoleUsingGETNotFound struct { }
GetRoleUsingGETNotFound handles this case with default header values.
Not Found
func NewGetRoleUsingGETNotFound ¶
func NewGetRoleUsingGETNotFound() *GetRoleUsingGETNotFound
NewGetRoleUsingGETNotFound creates a GetRoleUsingGETNotFound with default headers values
func (*GetRoleUsingGETNotFound) Error ¶
func (o *GetRoleUsingGETNotFound) Error() string
type GetRoleUsingGETOK ¶
GetRoleUsingGETOK handles this case with default header values.
OK
func NewGetRoleUsingGETOK ¶
func NewGetRoleUsingGETOK() *GetRoleUsingGETOK
NewGetRoleUsingGETOK creates a GetRoleUsingGETOK with default headers values
func (*GetRoleUsingGETOK) Error ¶
func (o *GetRoleUsingGETOK) Error() string
func (*GetRoleUsingGETOK) GetPayload ¶
func (o *GetRoleUsingGETOK) GetPayload() *models.RoleDto
type GetRoleUsingGETParams ¶
type GetRoleUsingGETParams struct { /*RoleID roleId */ RoleID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRoleUsingGETParams contains all the parameters to send to the API endpoint for the get role using g e t operation typically these are written to a http.Request
func NewGetRoleUsingGETParams ¶
func NewGetRoleUsingGETParams() *GetRoleUsingGETParams
NewGetRoleUsingGETParams creates a new GetRoleUsingGETParams object with the default values initialized.
func NewGetRoleUsingGETParamsWithContext ¶
func NewGetRoleUsingGETParamsWithContext(ctx context.Context) *GetRoleUsingGETParams
NewGetRoleUsingGETParamsWithContext creates a new GetRoleUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetRoleUsingGETParamsWithHTTPClient ¶
func NewGetRoleUsingGETParamsWithHTTPClient(client *http.Client) *GetRoleUsingGETParams
NewGetRoleUsingGETParamsWithHTTPClient creates a new GetRoleUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRoleUsingGETParamsWithTimeout ¶
func NewGetRoleUsingGETParamsWithTimeout(timeout time.Duration) *GetRoleUsingGETParams
NewGetRoleUsingGETParamsWithTimeout creates a new GetRoleUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRoleUsingGETParams) SetContext ¶
func (o *GetRoleUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get role using g e t params
func (*GetRoleUsingGETParams) SetHTTPClient ¶
func (o *GetRoleUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get role using g e t params
func (*GetRoleUsingGETParams) SetRoleID ¶
func (o *GetRoleUsingGETParams) SetRoleID(roleID int64)
SetRoleID adds the roleId to the get role using g e t params
func (*GetRoleUsingGETParams) SetTimeout ¶
func (o *GetRoleUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get role using g e t params
func (*GetRoleUsingGETParams) WithContext ¶
func (o *GetRoleUsingGETParams) WithContext(ctx context.Context) *GetRoleUsingGETParams
WithContext adds the context to the get role using g e t params
func (*GetRoleUsingGETParams) WithHTTPClient ¶
func (o *GetRoleUsingGETParams) WithHTTPClient(client *http.Client) *GetRoleUsingGETParams
WithHTTPClient adds the HTTPClient to the get role using g e t params
func (*GetRoleUsingGETParams) WithRoleID ¶
func (o *GetRoleUsingGETParams) WithRoleID(roleID int64) *GetRoleUsingGETParams
WithRoleID adds the roleID to the get role using g e t params
func (*GetRoleUsingGETParams) WithTimeout ¶
func (o *GetRoleUsingGETParams) WithTimeout(timeout time.Duration) *GetRoleUsingGETParams
WithTimeout adds the timeout to the get role using g e t params
func (*GetRoleUsingGETParams) WriteToRequest ¶
func (o *GetRoleUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRoleUsingGETReader ¶
type GetRoleUsingGETReader struct {
// contains filtered or unexported fields
}
GetRoleUsingGETReader is a Reader for the GetRoleUsingGET structure.
func (*GetRoleUsingGETReader) ReadResponse ¶
func (o *GetRoleUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRoleUsingGETUnauthorized ¶
type GetRoleUsingGETUnauthorized struct { }
GetRoleUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetRoleUsingGETUnauthorized ¶
func NewGetRoleUsingGETUnauthorized() *GetRoleUsingGETUnauthorized
NewGetRoleUsingGETUnauthorized creates a GetRoleUsingGETUnauthorized with default headers values
func (*GetRoleUsingGETUnauthorized) Error ¶
func (o *GetRoleUsingGETUnauthorized) Error() string
type GetRolesUsingGETForbidden ¶
type GetRolesUsingGETForbidden struct { }
GetRolesUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetRolesUsingGETForbidden ¶
func NewGetRolesUsingGETForbidden() *GetRolesUsingGETForbidden
NewGetRolesUsingGETForbidden creates a GetRolesUsingGETForbidden with default headers values
func (*GetRolesUsingGETForbidden) Error ¶
func (o *GetRolesUsingGETForbidden) Error() string
type GetRolesUsingGETNotFound ¶
type GetRolesUsingGETNotFound struct { }
GetRolesUsingGETNotFound handles this case with default header values.
Not Found
func NewGetRolesUsingGETNotFound ¶
func NewGetRolesUsingGETNotFound() *GetRolesUsingGETNotFound
NewGetRolesUsingGETNotFound creates a GetRolesUsingGETNotFound with default headers values
func (*GetRolesUsingGETNotFound) Error ¶
func (o *GetRolesUsingGETNotFound) Error() string
type GetRolesUsingGETOK ¶
type GetRolesUsingGETOK struct {
Payload *models.ListHolderDtoRoleDto
}
GetRolesUsingGETOK handles this case with default header values.
OK
func NewGetRolesUsingGETOK ¶
func NewGetRolesUsingGETOK() *GetRolesUsingGETOK
NewGetRolesUsingGETOK creates a GetRolesUsingGETOK with default headers values
func (*GetRolesUsingGETOK) Error ¶
func (o *GetRolesUsingGETOK) Error() string
func (*GetRolesUsingGETOK) GetPayload ¶
func (o *GetRolesUsingGETOK) GetPayload() *models.ListHolderDtoRoleDto
type GetRolesUsingGETParams ¶
type GetRolesUsingGETParams struct { /*IsProjectSpecific isProjectSpecific */ IsProjectSpecific *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRolesUsingGETParams contains all the parameters to send to the API endpoint for the get roles using g e t operation typically these are written to a http.Request
func NewGetRolesUsingGETParams ¶
func NewGetRolesUsingGETParams() *GetRolesUsingGETParams
NewGetRolesUsingGETParams creates a new GetRolesUsingGETParams object with the default values initialized.
func NewGetRolesUsingGETParamsWithContext ¶
func NewGetRolesUsingGETParamsWithContext(ctx context.Context) *GetRolesUsingGETParams
NewGetRolesUsingGETParamsWithContext creates a new GetRolesUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetRolesUsingGETParamsWithHTTPClient ¶
func NewGetRolesUsingGETParamsWithHTTPClient(client *http.Client) *GetRolesUsingGETParams
NewGetRolesUsingGETParamsWithHTTPClient creates a new GetRolesUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRolesUsingGETParamsWithTimeout ¶
func NewGetRolesUsingGETParamsWithTimeout(timeout time.Duration) *GetRolesUsingGETParams
NewGetRolesUsingGETParamsWithTimeout creates a new GetRolesUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRolesUsingGETParams) SetContext ¶
func (o *GetRolesUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get roles using g e t params
func (*GetRolesUsingGETParams) SetHTTPClient ¶
func (o *GetRolesUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get roles using g e t params
func (*GetRolesUsingGETParams) SetIsProjectSpecific ¶
func (o *GetRolesUsingGETParams) SetIsProjectSpecific(isProjectSpecific *bool)
SetIsProjectSpecific adds the isProjectSpecific to the get roles using g e t params
func (*GetRolesUsingGETParams) SetTimeout ¶
func (o *GetRolesUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get roles using g e t params
func (*GetRolesUsingGETParams) WithContext ¶
func (o *GetRolesUsingGETParams) WithContext(ctx context.Context) *GetRolesUsingGETParams
WithContext adds the context to the get roles using g e t params
func (*GetRolesUsingGETParams) WithHTTPClient ¶
func (o *GetRolesUsingGETParams) WithHTTPClient(client *http.Client) *GetRolesUsingGETParams
WithHTTPClient adds the HTTPClient to the get roles using g e t params
func (*GetRolesUsingGETParams) WithIsProjectSpecific ¶
func (o *GetRolesUsingGETParams) WithIsProjectSpecific(isProjectSpecific *bool) *GetRolesUsingGETParams
WithIsProjectSpecific adds the isProjectSpecific to the get roles using g e t params
func (*GetRolesUsingGETParams) WithTimeout ¶
func (o *GetRolesUsingGETParams) WithTimeout(timeout time.Duration) *GetRolesUsingGETParams
WithTimeout adds the timeout to the get roles using g e t params
func (*GetRolesUsingGETParams) WriteToRequest ¶
func (o *GetRolesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRolesUsingGETReader ¶
type GetRolesUsingGETReader struct {
// contains filtered or unexported fields
}
GetRolesUsingGETReader is a Reader for the GetRolesUsingGET structure.
func (*GetRolesUsingGETReader) ReadResponse ¶
func (o *GetRolesUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRolesUsingGETUnauthorized ¶
type GetRolesUsingGETUnauthorized struct { }
GetRolesUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetRolesUsingGETUnauthorized ¶
func NewGetRolesUsingGETUnauthorized() *GetRolesUsingGETUnauthorized
NewGetRolesUsingGETUnauthorized creates a GetRolesUsingGETUnauthorized with default headers values
func (*GetRolesUsingGETUnauthorized) Error ¶
func (o *GetRolesUsingGETUnauthorized) Error() string
type UpdateRoleUsingPUTCreated ¶
type UpdateRoleUsingPUTCreated struct { }
UpdateRoleUsingPUTCreated handles this case with default header values.
Created
func NewUpdateRoleUsingPUTCreated ¶
func NewUpdateRoleUsingPUTCreated() *UpdateRoleUsingPUTCreated
NewUpdateRoleUsingPUTCreated creates a UpdateRoleUsingPUTCreated with default headers values
func (*UpdateRoleUsingPUTCreated) Error ¶
func (o *UpdateRoleUsingPUTCreated) Error() string
type UpdateRoleUsingPUTForbidden ¶
type UpdateRoleUsingPUTForbidden struct { }
UpdateRoleUsingPUTForbidden handles this case with default header values.
Forbidden
func NewUpdateRoleUsingPUTForbidden ¶
func NewUpdateRoleUsingPUTForbidden() *UpdateRoleUsingPUTForbidden
NewUpdateRoleUsingPUTForbidden creates a UpdateRoleUsingPUTForbidden with default headers values
func (*UpdateRoleUsingPUTForbidden) Error ¶
func (o *UpdateRoleUsingPUTForbidden) Error() string
type UpdateRoleUsingPUTNotFound ¶
type UpdateRoleUsingPUTNotFound struct { }
UpdateRoleUsingPUTNotFound handles this case with default header values.
Not Found
func NewUpdateRoleUsingPUTNotFound ¶
func NewUpdateRoleUsingPUTNotFound() *UpdateRoleUsingPUTNotFound
NewUpdateRoleUsingPUTNotFound creates a UpdateRoleUsingPUTNotFound with default headers values
func (*UpdateRoleUsingPUTNotFound) Error ¶
func (o *UpdateRoleUsingPUTNotFound) Error() string
type UpdateRoleUsingPUTOK ¶
UpdateRoleUsingPUTOK handles this case with default header values.
OK
func NewUpdateRoleUsingPUTOK ¶
func NewUpdateRoleUsingPUTOK() *UpdateRoleUsingPUTOK
NewUpdateRoleUsingPUTOK creates a UpdateRoleUsingPUTOK with default headers values
func (*UpdateRoleUsingPUTOK) Error ¶
func (o *UpdateRoleUsingPUTOK) Error() string
func (*UpdateRoleUsingPUTOK) GetPayload ¶
func (o *UpdateRoleUsingPUTOK) GetPayload() *models.RoleDto
type UpdateRoleUsingPUTParams ¶
type UpdateRoleUsingPUTParams struct { /*RoleDto roleDto */ RoleDto *models.RoleDto /*RoleID roleId */ RoleID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRoleUsingPUTParams contains all the parameters to send to the API endpoint for the update role using p u t operation typically these are written to a http.Request
func NewUpdateRoleUsingPUTParams ¶
func NewUpdateRoleUsingPUTParams() *UpdateRoleUsingPUTParams
NewUpdateRoleUsingPUTParams creates a new UpdateRoleUsingPUTParams object with the default values initialized.
func NewUpdateRoleUsingPUTParamsWithContext ¶
func NewUpdateRoleUsingPUTParamsWithContext(ctx context.Context) *UpdateRoleUsingPUTParams
NewUpdateRoleUsingPUTParamsWithContext creates a new UpdateRoleUsingPUTParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateRoleUsingPUTParamsWithHTTPClient ¶
func NewUpdateRoleUsingPUTParamsWithHTTPClient(client *http.Client) *UpdateRoleUsingPUTParams
NewUpdateRoleUsingPUTParamsWithHTTPClient creates a new UpdateRoleUsingPUTParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateRoleUsingPUTParamsWithTimeout ¶
func NewUpdateRoleUsingPUTParamsWithTimeout(timeout time.Duration) *UpdateRoleUsingPUTParams
NewUpdateRoleUsingPUTParamsWithTimeout creates a new UpdateRoleUsingPUTParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateRoleUsingPUTParams) SetContext ¶
func (o *UpdateRoleUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the update role using p u t params
func (*UpdateRoleUsingPUTParams) SetHTTPClient ¶
func (o *UpdateRoleUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update role using p u t params
func (*UpdateRoleUsingPUTParams) SetRoleDto ¶
func (o *UpdateRoleUsingPUTParams) SetRoleDto(roleDto *models.RoleDto)
SetRoleDto adds the roleDto to the update role using p u t params
func (*UpdateRoleUsingPUTParams) SetRoleID ¶
func (o *UpdateRoleUsingPUTParams) SetRoleID(roleID int64)
SetRoleID adds the roleId to the update role using p u t params
func (*UpdateRoleUsingPUTParams) SetTimeout ¶
func (o *UpdateRoleUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update role using p u t params
func (*UpdateRoleUsingPUTParams) WithContext ¶
func (o *UpdateRoleUsingPUTParams) WithContext(ctx context.Context) *UpdateRoleUsingPUTParams
WithContext adds the context to the update role using p u t params
func (*UpdateRoleUsingPUTParams) WithHTTPClient ¶
func (o *UpdateRoleUsingPUTParams) WithHTTPClient(client *http.Client) *UpdateRoleUsingPUTParams
WithHTTPClient adds the HTTPClient to the update role using p u t params
func (*UpdateRoleUsingPUTParams) WithRoleDto ¶
func (o *UpdateRoleUsingPUTParams) WithRoleDto(roleDto *models.RoleDto) *UpdateRoleUsingPUTParams
WithRoleDto adds the roleDto to the update role using p u t params
func (*UpdateRoleUsingPUTParams) WithRoleID ¶
func (o *UpdateRoleUsingPUTParams) WithRoleID(roleID int64) *UpdateRoleUsingPUTParams
WithRoleID adds the roleID to the update role using p u t params
func (*UpdateRoleUsingPUTParams) WithTimeout ¶
func (o *UpdateRoleUsingPUTParams) WithTimeout(timeout time.Duration) *UpdateRoleUsingPUTParams
WithTimeout adds the timeout to the update role using p u t params
func (*UpdateRoleUsingPUTParams) WriteToRequest ¶
func (o *UpdateRoleUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRoleUsingPUTReader ¶
type UpdateRoleUsingPUTReader struct {
// contains filtered or unexported fields
}
UpdateRoleUsingPUTReader is a Reader for the UpdateRoleUsingPUT structure.
func (*UpdateRoleUsingPUTReader) ReadResponse ¶
func (o *UpdateRoleUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRoleUsingPUTUnauthorized ¶
type UpdateRoleUsingPUTUnauthorized struct { }
UpdateRoleUsingPUTUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateRoleUsingPUTUnauthorized ¶
func NewUpdateRoleUsingPUTUnauthorized() *UpdateRoleUsingPUTUnauthorized
NewUpdateRoleUsingPUTUnauthorized creates a UpdateRoleUsingPUTUnauthorized with default headers values
func (*UpdateRoleUsingPUTUnauthorized) Error ¶
func (o *UpdateRoleUsingPUTUnauthorized) Error() string
Source Files ¶
- create_role_using_p_o_s_t_parameters.go
- create_role_using_p_o_s_t_responses.go
- delete_role_using_d_e_l_e_t_e_parameters.go
- delete_role_using_d_e_l_e_t_e_responses.go
- get_role_using_g_e_t_parameters.go
- get_role_using_g_e_t_responses.go
- get_roles_using_g_e_t_parameters.go
- get_roles_using_g_e_t_responses.go
- roles_client.go
- update_role_using_p_u_t_parameters.go
- update_role_using_p_u_t_responses.go