Documentation ¶
Index ¶
- type AddRoleDefinitionCreated
- type AddRoleDefinitionParams
- func NewAddRoleDefinitionParams() *AddRoleDefinitionParams
- func NewAddRoleDefinitionParamsWithContext(ctx context.Context) *AddRoleDefinitionParams
- func NewAddRoleDefinitionParamsWithHTTPClient(client *http.Client) *AddRoleDefinitionParams
- func NewAddRoleDefinitionParamsWithTimeout(timeout time.Duration) *AddRoleDefinitionParams
- func (o *AddRoleDefinitionParams) SetBody(body *kbmodel.RoleDefinition)
- func (o *AddRoleDefinitionParams) SetContext(ctx context.Context)
- func (o *AddRoleDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *AddRoleDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *AddRoleDefinitionParams) SetXKillbillComment(xKillbillComment *string)
- func (o *AddRoleDefinitionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *AddRoleDefinitionParams) SetXKillbillReason(xKillbillReason *string)
- func (o *AddRoleDefinitionParams) WithBody(body *kbmodel.RoleDefinition) *AddRoleDefinitionParams
- func (o *AddRoleDefinitionParams) WithContext(ctx context.Context) *AddRoleDefinitionParams
- func (o *AddRoleDefinitionParams) WithHTTPClient(client *http.Client) *AddRoleDefinitionParams
- func (o *AddRoleDefinitionParams) WithTimeout(timeout time.Duration) *AddRoleDefinitionParams
- func (o *AddRoleDefinitionParams) WithXKillbillComment(xKillbillComment *string) *AddRoleDefinitionParams
- func (o *AddRoleDefinitionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddRoleDefinitionParams
- func (o *AddRoleDefinitionParams) WithXKillbillReason(xKillbillReason *string) *AddRoleDefinitionParams
- func (o *AddRoleDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddRoleDefinitionReader
- type AddUserRolesCreated
- type AddUserRolesParams
- func (o *AddUserRolesParams) SetBody(body *kbmodel.UserRoles)
- func (o *AddUserRolesParams) SetContext(ctx context.Context)
- func (o *AddUserRolesParams) SetHTTPClient(client *http.Client)
- func (o *AddUserRolesParams) SetTimeout(timeout time.Duration)
- func (o *AddUserRolesParams) SetXKillbillComment(xKillbillComment *string)
- func (o *AddUserRolesParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *AddUserRolesParams) SetXKillbillReason(xKillbillReason *string)
- func (o *AddUserRolesParams) WithBody(body *kbmodel.UserRoles) *AddUserRolesParams
- func (o *AddUserRolesParams) WithContext(ctx context.Context) *AddUserRolesParams
- func (o *AddUserRolesParams) WithHTTPClient(client *http.Client) *AddUserRolesParams
- func (o *AddUserRolesParams) WithTimeout(timeout time.Duration) *AddUserRolesParams
- func (o *AddUserRolesParams) WithXKillbillComment(xKillbillComment *string) *AddUserRolesParams
- func (o *AddUserRolesParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddUserRolesParams
- func (o *AddUserRolesParams) WithXKillbillReason(xKillbillReason *string) *AddUserRolesParams
- func (o *AddUserRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddUserRolesReader
- type Client
- func (a *Client) AddRoleDefinition(ctx context.Context, params *AddRoleDefinitionParams) (*AddRoleDefinitionCreated, error)
- func (a *Client) AddUserRoles(ctx context.Context, params *AddUserRolesParams) (*AddUserRolesCreated, error)
- func (a *Client) GetCurrentUserPermissions(ctx context.Context, params *GetCurrentUserPermissionsParams) (*GetCurrentUserPermissionsOK, error)
- func (a *Client) GetCurrentUserSubject(ctx context.Context, params *GetCurrentUserSubjectParams) (*GetCurrentUserSubjectOK, error)
- func (a *Client) GetRoleDefinition(ctx context.Context, params *GetRoleDefinitionParams) (*GetRoleDefinitionOK, error)
- func (a *Client) GetUserRoles(ctx context.Context, params *GetUserRolesParams) (*GetUserRolesOK, error)
- func (a *Client) InvalidateUser(ctx context.Context, params *InvalidateUserParams) (*InvalidateUserNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRoleDefinition(ctx context.Context, params *UpdateRoleDefinitionParams) (*UpdateRoleDefinitionNoContent, error)
- func (a *Client) UpdateUserPassword(ctx context.Context, params *UpdateUserPasswordParams) (*UpdateUserPasswordNoContent, error)
- func (a *Client) UpdateUserRoles(ctx context.Context, params *UpdateUserRolesParams) (*UpdateUserRolesNoContent, error)
- type GetCurrentUserPermissionsOK
- type GetCurrentUserPermissionsParams
- func NewGetCurrentUserPermissionsParams() *GetCurrentUserPermissionsParams
- func NewGetCurrentUserPermissionsParamsWithContext(ctx context.Context) *GetCurrentUserPermissionsParams
- func NewGetCurrentUserPermissionsParamsWithHTTPClient(client *http.Client) *GetCurrentUserPermissionsParams
- func NewGetCurrentUserPermissionsParamsWithTimeout(timeout time.Duration) *GetCurrentUserPermissionsParams
- func (o *GetCurrentUserPermissionsParams) SetContext(ctx context.Context)
- func (o *GetCurrentUserPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentUserPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentUserPermissionsParams) WithContext(ctx context.Context) *GetCurrentUserPermissionsParams
- func (o *GetCurrentUserPermissionsParams) WithHTTPClient(client *http.Client) *GetCurrentUserPermissionsParams
- func (o *GetCurrentUserPermissionsParams) WithTimeout(timeout time.Duration) *GetCurrentUserPermissionsParams
- func (o *GetCurrentUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentUserPermissionsReader
- type GetCurrentUserSubjectOK
- type GetCurrentUserSubjectParams
- func NewGetCurrentUserSubjectParams() *GetCurrentUserSubjectParams
- func NewGetCurrentUserSubjectParamsWithContext(ctx context.Context) *GetCurrentUserSubjectParams
- func NewGetCurrentUserSubjectParamsWithHTTPClient(client *http.Client) *GetCurrentUserSubjectParams
- func NewGetCurrentUserSubjectParamsWithTimeout(timeout time.Duration) *GetCurrentUserSubjectParams
- func (o *GetCurrentUserSubjectParams) SetContext(ctx context.Context)
- func (o *GetCurrentUserSubjectParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentUserSubjectParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentUserSubjectParams) WithContext(ctx context.Context) *GetCurrentUserSubjectParams
- func (o *GetCurrentUserSubjectParams) WithHTTPClient(client *http.Client) *GetCurrentUserSubjectParams
- func (o *GetCurrentUserSubjectParams) WithTimeout(timeout time.Duration) *GetCurrentUserSubjectParams
- func (o *GetCurrentUserSubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentUserSubjectReader
- type GetRoleDefinitionOK
- type GetRoleDefinitionParams
- func NewGetRoleDefinitionParams() *GetRoleDefinitionParams
- func NewGetRoleDefinitionParamsWithContext(ctx context.Context) *GetRoleDefinitionParams
- func NewGetRoleDefinitionParamsWithHTTPClient(client *http.Client) *GetRoleDefinitionParams
- func NewGetRoleDefinitionParamsWithTimeout(timeout time.Duration) *GetRoleDefinitionParams
- func (o *GetRoleDefinitionParams) SetContext(ctx context.Context)
- func (o *GetRoleDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *GetRoleDefinitionParams) SetRole(role string)
- func (o *GetRoleDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *GetRoleDefinitionParams) WithContext(ctx context.Context) *GetRoleDefinitionParams
- func (o *GetRoleDefinitionParams) WithHTTPClient(client *http.Client) *GetRoleDefinitionParams
- func (o *GetRoleDefinitionParams) WithRole(role string) *GetRoleDefinitionParams
- func (o *GetRoleDefinitionParams) WithTimeout(timeout time.Duration) *GetRoleDefinitionParams
- func (o *GetRoleDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRoleDefinitionReader
- type GetUserRolesNotFound
- type GetUserRolesOK
- type GetUserRolesParams
- func (o *GetUserRolesParams) SetContext(ctx context.Context)
- func (o *GetUserRolesParams) SetHTTPClient(client *http.Client)
- func (o *GetUserRolesParams) SetTimeout(timeout time.Duration)
- func (o *GetUserRolesParams) SetUsername(username string)
- func (o *GetUserRolesParams) WithContext(ctx context.Context) *GetUserRolesParams
- func (o *GetUserRolesParams) WithHTTPClient(client *http.Client) *GetUserRolesParams
- func (o *GetUserRolesParams) WithTimeout(timeout time.Duration) *GetUserRolesParams
- func (o *GetUserRolesParams) WithUsername(username string) *GetUserRolesParams
- func (o *GetUserRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserRolesReader
- type ISecurity
- type InvalidateUserNoContent
- type InvalidateUserParams
- func NewInvalidateUserParams() *InvalidateUserParams
- func NewInvalidateUserParamsWithContext(ctx context.Context) *InvalidateUserParams
- func NewInvalidateUserParamsWithHTTPClient(client *http.Client) *InvalidateUserParams
- func NewInvalidateUserParamsWithTimeout(timeout time.Duration) *InvalidateUserParams
- func (o *InvalidateUserParams) SetContext(ctx context.Context)
- func (o *InvalidateUserParams) SetHTTPClient(client *http.Client)
- func (o *InvalidateUserParams) SetTimeout(timeout time.Duration)
- func (o *InvalidateUserParams) SetUsername(username string)
- func (o *InvalidateUserParams) SetXKillbillComment(xKillbillComment *string)
- func (o *InvalidateUserParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *InvalidateUserParams) SetXKillbillReason(xKillbillReason *string)
- func (o *InvalidateUserParams) WithContext(ctx context.Context) *InvalidateUserParams
- func (o *InvalidateUserParams) WithHTTPClient(client *http.Client) *InvalidateUserParams
- func (o *InvalidateUserParams) WithTimeout(timeout time.Duration) *InvalidateUserParams
- func (o *InvalidateUserParams) WithUsername(username string) *InvalidateUserParams
- func (o *InvalidateUserParams) WithXKillbillComment(xKillbillComment *string) *InvalidateUserParams
- func (o *InvalidateUserParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *InvalidateUserParams
- func (o *InvalidateUserParams) WithXKillbillReason(xKillbillReason *string) *InvalidateUserParams
- func (o *InvalidateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InvalidateUserReader
- type KillbillDefaults
- type UpdateRoleDefinitionNoContent
- type UpdateRoleDefinitionParams
- func NewUpdateRoleDefinitionParams() *UpdateRoleDefinitionParams
- func NewUpdateRoleDefinitionParamsWithContext(ctx context.Context) *UpdateRoleDefinitionParams
- func NewUpdateRoleDefinitionParamsWithHTTPClient(client *http.Client) *UpdateRoleDefinitionParams
- func NewUpdateRoleDefinitionParamsWithTimeout(timeout time.Duration) *UpdateRoleDefinitionParams
- func (o *UpdateRoleDefinitionParams) SetBody(body *kbmodel.RoleDefinition)
- func (o *UpdateRoleDefinitionParams) SetContext(ctx context.Context)
- func (o *UpdateRoleDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRoleDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRoleDefinitionParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UpdateRoleDefinitionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UpdateRoleDefinitionParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UpdateRoleDefinitionParams) WithBody(body *kbmodel.RoleDefinition) *UpdateRoleDefinitionParams
- func (o *UpdateRoleDefinitionParams) WithContext(ctx context.Context) *UpdateRoleDefinitionParams
- func (o *UpdateRoleDefinitionParams) WithHTTPClient(client *http.Client) *UpdateRoleDefinitionParams
- func (o *UpdateRoleDefinitionParams) WithTimeout(timeout time.Duration) *UpdateRoleDefinitionParams
- func (o *UpdateRoleDefinitionParams) WithXKillbillComment(xKillbillComment *string) *UpdateRoleDefinitionParams
- func (o *UpdateRoleDefinitionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateRoleDefinitionParams
- func (o *UpdateRoleDefinitionParams) WithXKillbillReason(xKillbillReason *string) *UpdateRoleDefinitionParams
- func (o *UpdateRoleDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRoleDefinitionReader
- type UpdateUserPasswordNoContent
- type UpdateUserPasswordParams
- func NewUpdateUserPasswordParams() *UpdateUserPasswordParams
- func NewUpdateUserPasswordParamsWithContext(ctx context.Context) *UpdateUserPasswordParams
- func NewUpdateUserPasswordParamsWithHTTPClient(client *http.Client) *UpdateUserPasswordParams
- func NewUpdateUserPasswordParamsWithTimeout(timeout time.Duration) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) SetBody(body *kbmodel.UserRoles)
- func (o *UpdateUserPasswordParams) SetContext(ctx context.Context)
- func (o *UpdateUserPasswordParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserPasswordParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserPasswordParams) SetUsername(username string)
- func (o *UpdateUserPasswordParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UpdateUserPasswordParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UpdateUserPasswordParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UpdateUserPasswordParams) WithBody(body *kbmodel.UserRoles) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithContext(ctx context.Context) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithHTTPClient(client *http.Client) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithTimeout(timeout time.Duration) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithUsername(username string) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithXKillbillComment(xKillbillComment *string) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WithXKillbillReason(xKillbillReason *string) *UpdateUserPasswordParams
- func (o *UpdateUserPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserPasswordReader
- type UpdateUserRolesNoContent
- type UpdateUserRolesParams
- func NewUpdateUserRolesParams() *UpdateUserRolesParams
- func NewUpdateUserRolesParamsWithContext(ctx context.Context) *UpdateUserRolesParams
- func NewUpdateUserRolesParamsWithHTTPClient(client *http.Client) *UpdateUserRolesParams
- func NewUpdateUserRolesParamsWithTimeout(timeout time.Duration) *UpdateUserRolesParams
- func (o *UpdateUserRolesParams) SetBody(body *kbmodel.UserRoles)
- func (o *UpdateUserRolesParams) SetContext(ctx context.Context)
- func (o *UpdateUserRolesParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserRolesParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserRolesParams) SetUsername(username string)
- func (o *UpdateUserRolesParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UpdateUserRolesParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UpdateUserRolesParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UpdateUserRolesParams) WithBody(body *kbmodel.UserRoles) *UpdateUserRolesParams
- func (o *UpdateUserRolesParams) WithContext(ctx context.Context) *UpdateUserRolesParams
- func (o *UpdateUserRolesParams) WithHTTPClient(client *http.Client) *UpdateUserRolesParams
- func (o *UpdateUserRolesParams) WithTimeout(timeout time.Duration) *UpdateUserRolesParams
- func (o *UpdateUserRolesParams) WithUsername(username string) *UpdateUserRolesParams
- func (o *UpdateUserRolesParams) WithXKillbillComment(xKillbillComment *string) *UpdateUserRolesParams
- func (o *UpdateUserRolesParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateUserRolesParams
- func (o *UpdateUserRolesParams) WithXKillbillReason(xKillbillReason *string) *UpdateUserRolesParams
- func (o *UpdateUserRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserRolesReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddRoleDefinitionCreated ¶
type AddRoleDefinitionCreated struct { Payload *kbmodel.RoleDefinition HttpResponse runtime.ClientResponse }
AddRoleDefinitionCreated handles this case with default header values.
Role definition created successfully
func NewAddRoleDefinitionCreated ¶
func NewAddRoleDefinitionCreated() *AddRoleDefinitionCreated
NewAddRoleDefinitionCreated creates a AddRoleDefinitionCreated with default headers values
func (*AddRoleDefinitionCreated) Error ¶
func (o *AddRoleDefinitionCreated) Error() string
type AddRoleDefinitionParams ¶
type AddRoleDefinitionParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body *kbmodel.RoleDefinition WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
AddRoleDefinitionParams contains all the parameters to send to the API endpoint for the add role definition operation typically these are written to a http.Request
func NewAddRoleDefinitionParams ¶
func NewAddRoleDefinitionParams() *AddRoleDefinitionParams
NewAddRoleDefinitionParams creates a new AddRoleDefinitionParams object with the default values initialized.
func NewAddRoleDefinitionParamsWithContext ¶
func NewAddRoleDefinitionParamsWithContext(ctx context.Context) *AddRoleDefinitionParams
NewAddRoleDefinitionParamsWithContext creates a new AddRoleDefinitionParams object with the default values initialized, and the ability to set a context for a request
func NewAddRoleDefinitionParamsWithHTTPClient ¶
func NewAddRoleDefinitionParamsWithHTTPClient(client *http.Client) *AddRoleDefinitionParams
NewAddRoleDefinitionParamsWithHTTPClient creates a new AddRoleDefinitionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddRoleDefinitionParamsWithTimeout ¶
func NewAddRoleDefinitionParamsWithTimeout(timeout time.Duration) *AddRoleDefinitionParams
NewAddRoleDefinitionParamsWithTimeout creates a new AddRoleDefinitionParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddRoleDefinitionParams) SetBody ¶
func (o *AddRoleDefinitionParams) SetBody(body *kbmodel.RoleDefinition)
SetBody adds the body to the add role definition params
func (*AddRoleDefinitionParams) SetContext ¶
func (o *AddRoleDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the add role definition params
func (*AddRoleDefinitionParams) SetHTTPClient ¶
func (o *AddRoleDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add role definition params
func (*AddRoleDefinitionParams) SetTimeout ¶
func (o *AddRoleDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add role definition params
func (*AddRoleDefinitionParams) SetXKillbillComment ¶
func (o *AddRoleDefinitionParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the add role definition params
func (*AddRoleDefinitionParams) SetXKillbillCreatedBy ¶
func (o *AddRoleDefinitionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add role definition params
func (*AddRoleDefinitionParams) SetXKillbillReason ¶
func (o *AddRoleDefinitionParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the add role definition params
func (*AddRoleDefinitionParams) WithBody ¶
func (o *AddRoleDefinitionParams) WithBody(body *kbmodel.RoleDefinition) *AddRoleDefinitionParams
WithBody adds the body to the add role definition params
func (*AddRoleDefinitionParams) WithContext ¶
func (o *AddRoleDefinitionParams) WithContext(ctx context.Context) *AddRoleDefinitionParams
WithContext adds the context to the add role definition params
func (*AddRoleDefinitionParams) WithHTTPClient ¶
func (o *AddRoleDefinitionParams) WithHTTPClient(client *http.Client) *AddRoleDefinitionParams
WithHTTPClient adds the HTTPClient to the add role definition params
func (*AddRoleDefinitionParams) WithTimeout ¶
func (o *AddRoleDefinitionParams) WithTimeout(timeout time.Duration) *AddRoleDefinitionParams
WithTimeout adds the timeout to the add role definition params
func (*AddRoleDefinitionParams) WithXKillbillComment ¶
func (o *AddRoleDefinitionParams) WithXKillbillComment(xKillbillComment *string) *AddRoleDefinitionParams
WithXKillbillComment adds the xKillbillComment to the add role definition params
func (*AddRoleDefinitionParams) WithXKillbillCreatedBy ¶
func (o *AddRoleDefinitionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddRoleDefinitionParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add role definition params
func (*AddRoleDefinitionParams) WithXKillbillReason ¶
func (o *AddRoleDefinitionParams) WithXKillbillReason(xKillbillReason *string) *AddRoleDefinitionParams
WithXKillbillReason adds the xKillbillReason to the add role definition params
func (*AddRoleDefinitionParams) WriteToRequest ¶
func (o *AddRoleDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddRoleDefinitionReader ¶
type AddRoleDefinitionReader struct {
// contains filtered or unexported fields
}
AddRoleDefinitionReader is a Reader for the AddRoleDefinition structure.
func (*AddRoleDefinitionReader) ReadResponse ¶
func (o *AddRoleDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddUserRolesCreated ¶
type AddUserRolesCreated struct { Payload *kbmodel.UserRoles HttpResponse runtime.ClientResponse }
AddUserRolesCreated handles this case with default header values.
User role created successfully
func NewAddUserRolesCreated ¶
func NewAddUserRolesCreated() *AddUserRolesCreated
NewAddUserRolesCreated creates a AddUserRolesCreated with default headers values
func (*AddUserRolesCreated) Error ¶
func (o *AddUserRolesCreated) Error() string
type AddUserRolesParams ¶
type AddUserRolesParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body *kbmodel.UserRoles WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
AddUserRolesParams contains all the parameters to send to the API endpoint for the add user roles operation typically these are written to a http.Request
func NewAddUserRolesParams ¶
func NewAddUserRolesParams() *AddUserRolesParams
NewAddUserRolesParams creates a new AddUserRolesParams object with the default values initialized.
func NewAddUserRolesParamsWithContext ¶
func NewAddUserRolesParamsWithContext(ctx context.Context) *AddUserRolesParams
NewAddUserRolesParamsWithContext creates a new AddUserRolesParams object with the default values initialized, and the ability to set a context for a request
func NewAddUserRolesParamsWithHTTPClient ¶
func NewAddUserRolesParamsWithHTTPClient(client *http.Client) *AddUserRolesParams
NewAddUserRolesParamsWithHTTPClient creates a new AddUserRolesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddUserRolesParamsWithTimeout ¶
func NewAddUserRolesParamsWithTimeout(timeout time.Duration) *AddUserRolesParams
NewAddUserRolesParamsWithTimeout creates a new AddUserRolesParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddUserRolesParams) SetBody ¶
func (o *AddUserRolesParams) SetBody(body *kbmodel.UserRoles)
SetBody adds the body to the add user roles params
func (*AddUserRolesParams) SetContext ¶
func (o *AddUserRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the add user roles params
func (*AddUserRolesParams) SetHTTPClient ¶
func (o *AddUserRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add user roles params
func (*AddUserRolesParams) SetTimeout ¶
func (o *AddUserRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add user roles params
func (*AddUserRolesParams) SetXKillbillComment ¶
func (o *AddUserRolesParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the add user roles params
func (*AddUserRolesParams) SetXKillbillCreatedBy ¶
func (o *AddUserRolesParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add user roles params
func (*AddUserRolesParams) SetXKillbillReason ¶
func (o *AddUserRolesParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the add user roles params
func (*AddUserRolesParams) WithBody ¶
func (o *AddUserRolesParams) WithBody(body *kbmodel.UserRoles) *AddUserRolesParams
WithBody adds the body to the add user roles params
func (*AddUserRolesParams) WithContext ¶
func (o *AddUserRolesParams) WithContext(ctx context.Context) *AddUserRolesParams
WithContext adds the context to the add user roles params
func (*AddUserRolesParams) WithHTTPClient ¶
func (o *AddUserRolesParams) WithHTTPClient(client *http.Client) *AddUserRolesParams
WithHTTPClient adds the HTTPClient to the add user roles params
func (*AddUserRolesParams) WithTimeout ¶
func (o *AddUserRolesParams) WithTimeout(timeout time.Duration) *AddUserRolesParams
WithTimeout adds the timeout to the add user roles params
func (*AddUserRolesParams) WithXKillbillComment ¶
func (o *AddUserRolesParams) WithXKillbillComment(xKillbillComment *string) *AddUserRolesParams
WithXKillbillComment adds the xKillbillComment to the add user roles params
func (*AddUserRolesParams) WithXKillbillCreatedBy ¶
func (o *AddUserRolesParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddUserRolesParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add user roles params
func (*AddUserRolesParams) WithXKillbillReason ¶
func (o *AddUserRolesParams) WithXKillbillReason(xKillbillReason *string) *AddUserRolesParams
WithXKillbillReason adds the xKillbillReason to the add user roles params
func (*AddUserRolesParams) WriteToRequest ¶
func (o *AddUserRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddUserRolesReader ¶
type AddUserRolesReader struct {
// contains filtered or unexported fields
}
AddUserRolesReader is a Reader for the AddUserRoles structure.
func (*AddUserRolesReader) ReadResponse ¶
func (o *AddUserRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for security API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter, defaults KillbillDefaults) *Client
New creates a new security API client.
func (*Client) AddRoleDefinition ¶
func (a *Client) AddRoleDefinition(ctx context.Context, params *AddRoleDefinitionParams) (*AddRoleDefinitionCreated, error)
AddRoleDefinition adds a new role definition
func (*Client) AddUserRoles ¶
func (a *Client) AddUserRoles(ctx context.Context, params *AddUserRolesParams) (*AddUserRolesCreated, error)
AddUserRoles adds a new user with roles to make api requests
func (*Client) GetCurrentUserPermissions ¶
func (a *Client) GetCurrentUserPermissions(ctx context.Context, params *GetCurrentUserPermissionsParams) (*GetCurrentUserPermissionsOK, error)
GetCurrentUserPermissions lists user permissions
func (*Client) GetCurrentUserSubject ¶
func (a *Client) GetCurrentUserSubject(ctx context.Context, params *GetCurrentUserSubjectParams) (*GetCurrentUserSubjectOK, error)
GetCurrentUserSubject gets user information
func (*Client) GetRoleDefinition ¶
func (a *Client) GetRoleDefinition(ctx context.Context, params *GetRoleDefinitionParams) (*GetRoleDefinitionOK, error)
GetRoleDefinition gets role definition
func (*Client) GetUserRoles ¶
func (a *Client) GetUserRoles(ctx context.Context, params *GetUserRolesParams) (*GetUserRolesOK, error)
GetUserRoles gets roles associated to a user
func (*Client) InvalidateUser ¶
func (a *Client) InvalidateUser(ctx context.Context, params *InvalidateUserParams) (*InvalidateUserNoContent, error)
InvalidateUser invalidates an existing user
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRoleDefinition ¶
func (a *Client) UpdateRoleDefinition(ctx context.Context, params *UpdateRoleDefinitionParams) (*UpdateRoleDefinitionNoContent, error)
UpdateRoleDefinition updates a new role definition
func (*Client) UpdateUserPassword ¶
func (a *Client) UpdateUserPassword(ctx context.Context, params *UpdateUserPasswordParams) (*UpdateUserPasswordNoContent, error)
UpdateUserPassword updates a user password
func (*Client) UpdateUserRoles ¶
func (a *Client) UpdateUserRoles(ctx context.Context, params *UpdateUserRolesParams) (*UpdateUserRolesNoContent, error)
UpdateUserRoles updates roles associated to a user
type GetCurrentUserPermissionsOK ¶
type GetCurrentUserPermissionsOK struct { Payload []string HttpResponse runtime.ClientResponse }
GetCurrentUserPermissionsOK handles this case with default header values.
successful operation
func NewGetCurrentUserPermissionsOK ¶
func NewGetCurrentUserPermissionsOK() *GetCurrentUserPermissionsOK
NewGetCurrentUserPermissionsOK creates a GetCurrentUserPermissionsOK with default headers values
func (*GetCurrentUserPermissionsOK) Error ¶
func (o *GetCurrentUserPermissionsOK) Error() string
type GetCurrentUserPermissionsParams ¶
type GetCurrentUserPermissionsParams struct { WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetCurrentUserPermissionsParams contains all the parameters to send to the API endpoint for the get current user permissions operation typically these are written to a http.Request
func NewGetCurrentUserPermissionsParams ¶
func NewGetCurrentUserPermissionsParams() *GetCurrentUserPermissionsParams
NewGetCurrentUserPermissionsParams creates a new GetCurrentUserPermissionsParams object with the default values initialized.
func NewGetCurrentUserPermissionsParamsWithContext ¶
func NewGetCurrentUserPermissionsParamsWithContext(ctx context.Context) *GetCurrentUserPermissionsParams
NewGetCurrentUserPermissionsParamsWithContext creates a new GetCurrentUserPermissionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetCurrentUserPermissionsParamsWithHTTPClient ¶
func NewGetCurrentUserPermissionsParamsWithHTTPClient(client *http.Client) *GetCurrentUserPermissionsParams
NewGetCurrentUserPermissionsParamsWithHTTPClient creates a new GetCurrentUserPermissionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCurrentUserPermissionsParamsWithTimeout ¶
func NewGetCurrentUserPermissionsParamsWithTimeout(timeout time.Duration) *GetCurrentUserPermissionsParams
NewGetCurrentUserPermissionsParamsWithTimeout creates a new GetCurrentUserPermissionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCurrentUserPermissionsParams) SetContext ¶
func (o *GetCurrentUserPermissionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get current user permissions params
func (*GetCurrentUserPermissionsParams) SetHTTPClient ¶
func (o *GetCurrentUserPermissionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get current user permissions params
func (*GetCurrentUserPermissionsParams) SetTimeout ¶
func (o *GetCurrentUserPermissionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get current user permissions params
func (*GetCurrentUserPermissionsParams) WithContext ¶
func (o *GetCurrentUserPermissionsParams) WithContext(ctx context.Context) *GetCurrentUserPermissionsParams
WithContext adds the context to the get current user permissions params
func (*GetCurrentUserPermissionsParams) WithHTTPClient ¶
func (o *GetCurrentUserPermissionsParams) WithHTTPClient(client *http.Client) *GetCurrentUserPermissionsParams
WithHTTPClient adds the HTTPClient to the get current user permissions params
func (*GetCurrentUserPermissionsParams) WithTimeout ¶
func (o *GetCurrentUserPermissionsParams) WithTimeout(timeout time.Duration) *GetCurrentUserPermissionsParams
WithTimeout adds the timeout to the get current user permissions params
func (*GetCurrentUserPermissionsParams) WriteToRequest ¶
func (o *GetCurrentUserPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrentUserPermissionsReader ¶
type GetCurrentUserPermissionsReader struct {
// contains filtered or unexported fields
}
GetCurrentUserPermissionsReader is a Reader for the GetCurrentUserPermissions structure.
func (*GetCurrentUserPermissionsReader) ReadResponse ¶
func (o *GetCurrentUserPermissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCurrentUserSubjectOK ¶
type GetCurrentUserSubjectOK struct { Payload *kbmodel.Subject HttpResponse runtime.ClientResponse }
GetCurrentUserSubjectOK handles this case with default header values.
successful operation
func NewGetCurrentUserSubjectOK ¶
func NewGetCurrentUserSubjectOK() *GetCurrentUserSubjectOK
NewGetCurrentUserSubjectOK creates a GetCurrentUserSubjectOK with default headers values
func (*GetCurrentUserSubjectOK) Error ¶
func (o *GetCurrentUserSubjectOK) Error() string
type GetCurrentUserSubjectParams ¶
type GetCurrentUserSubjectParams struct { WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetCurrentUserSubjectParams contains all the parameters to send to the API endpoint for the get current user subject operation typically these are written to a http.Request
func NewGetCurrentUserSubjectParams ¶
func NewGetCurrentUserSubjectParams() *GetCurrentUserSubjectParams
NewGetCurrentUserSubjectParams creates a new GetCurrentUserSubjectParams object with the default values initialized.
func NewGetCurrentUserSubjectParamsWithContext ¶
func NewGetCurrentUserSubjectParamsWithContext(ctx context.Context) *GetCurrentUserSubjectParams
NewGetCurrentUserSubjectParamsWithContext creates a new GetCurrentUserSubjectParams object with the default values initialized, and the ability to set a context for a request
func NewGetCurrentUserSubjectParamsWithHTTPClient ¶
func NewGetCurrentUserSubjectParamsWithHTTPClient(client *http.Client) *GetCurrentUserSubjectParams
NewGetCurrentUserSubjectParamsWithHTTPClient creates a new GetCurrentUserSubjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCurrentUserSubjectParamsWithTimeout ¶
func NewGetCurrentUserSubjectParamsWithTimeout(timeout time.Duration) *GetCurrentUserSubjectParams
NewGetCurrentUserSubjectParamsWithTimeout creates a new GetCurrentUserSubjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCurrentUserSubjectParams) SetContext ¶
func (o *GetCurrentUserSubjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get current user subject params
func (*GetCurrentUserSubjectParams) SetHTTPClient ¶
func (o *GetCurrentUserSubjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get current user subject params
func (*GetCurrentUserSubjectParams) SetTimeout ¶
func (o *GetCurrentUserSubjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get current user subject params
func (*GetCurrentUserSubjectParams) WithContext ¶
func (o *GetCurrentUserSubjectParams) WithContext(ctx context.Context) *GetCurrentUserSubjectParams
WithContext adds the context to the get current user subject params
func (*GetCurrentUserSubjectParams) WithHTTPClient ¶
func (o *GetCurrentUserSubjectParams) WithHTTPClient(client *http.Client) *GetCurrentUserSubjectParams
WithHTTPClient adds the HTTPClient to the get current user subject params
func (*GetCurrentUserSubjectParams) WithTimeout ¶
func (o *GetCurrentUserSubjectParams) WithTimeout(timeout time.Duration) *GetCurrentUserSubjectParams
WithTimeout adds the timeout to the get current user subject params
func (*GetCurrentUserSubjectParams) WriteToRequest ¶
func (o *GetCurrentUserSubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrentUserSubjectReader ¶
type GetCurrentUserSubjectReader struct {
// contains filtered or unexported fields
}
GetCurrentUserSubjectReader is a Reader for the GetCurrentUserSubject structure.
func (*GetCurrentUserSubjectReader) ReadResponse ¶
func (o *GetCurrentUserSubjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRoleDefinitionOK ¶
type GetRoleDefinitionOK struct { Payload *kbmodel.RoleDefinition HttpResponse runtime.ClientResponse }
GetRoleDefinitionOK handles this case with default header values.
successful operation
func NewGetRoleDefinitionOK ¶
func NewGetRoleDefinitionOK() *GetRoleDefinitionOK
NewGetRoleDefinitionOK creates a GetRoleDefinitionOK with default headers values
func (*GetRoleDefinitionOK) Error ¶
func (o *GetRoleDefinitionOK) Error() string
type GetRoleDefinitionParams ¶
type GetRoleDefinitionParams struct { /*Role*/ Role string WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetRoleDefinitionParams contains all the parameters to send to the API endpoint for the get role definition operation typically these are written to a http.Request
func NewGetRoleDefinitionParams ¶
func NewGetRoleDefinitionParams() *GetRoleDefinitionParams
NewGetRoleDefinitionParams creates a new GetRoleDefinitionParams object with the default values initialized.
func NewGetRoleDefinitionParamsWithContext ¶
func NewGetRoleDefinitionParamsWithContext(ctx context.Context) *GetRoleDefinitionParams
NewGetRoleDefinitionParamsWithContext creates a new GetRoleDefinitionParams object with the default values initialized, and the ability to set a context for a request
func NewGetRoleDefinitionParamsWithHTTPClient ¶
func NewGetRoleDefinitionParamsWithHTTPClient(client *http.Client) *GetRoleDefinitionParams
NewGetRoleDefinitionParamsWithHTTPClient creates a new GetRoleDefinitionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRoleDefinitionParamsWithTimeout ¶
func NewGetRoleDefinitionParamsWithTimeout(timeout time.Duration) *GetRoleDefinitionParams
NewGetRoleDefinitionParamsWithTimeout creates a new GetRoleDefinitionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRoleDefinitionParams) SetContext ¶
func (o *GetRoleDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the get role definition params
func (*GetRoleDefinitionParams) SetHTTPClient ¶
func (o *GetRoleDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get role definition params
func (*GetRoleDefinitionParams) SetRole ¶
func (o *GetRoleDefinitionParams) SetRole(role string)
SetRole adds the role to the get role definition params
func (*GetRoleDefinitionParams) SetTimeout ¶
func (o *GetRoleDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get role definition params
func (*GetRoleDefinitionParams) WithContext ¶
func (o *GetRoleDefinitionParams) WithContext(ctx context.Context) *GetRoleDefinitionParams
WithContext adds the context to the get role definition params
func (*GetRoleDefinitionParams) WithHTTPClient ¶
func (o *GetRoleDefinitionParams) WithHTTPClient(client *http.Client) *GetRoleDefinitionParams
WithHTTPClient adds the HTTPClient to the get role definition params
func (*GetRoleDefinitionParams) WithRole ¶
func (o *GetRoleDefinitionParams) WithRole(role string) *GetRoleDefinitionParams
WithRole adds the role to the get role definition params
func (*GetRoleDefinitionParams) WithTimeout ¶
func (o *GetRoleDefinitionParams) WithTimeout(timeout time.Duration) *GetRoleDefinitionParams
WithTimeout adds the timeout to the get role definition params
func (*GetRoleDefinitionParams) WriteToRequest ¶
func (o *GetRoleDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRoleDefinitionReader ¶
type GetRoleDefinitionReader struct {
// contains filtered or unexported fields
}
GetRoleDefinitionReader is a Reader for the GetRoleDefinition structure.
func (*GetRoleDefinitionReader) ReadResponse ¶
func (o *GetRoleDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserRolesNotFound ¶
type GetUserRolesNotFound struct {
HttpResponse runtime.ClientResponse
}
GetUserRolesNotFound handles this case with default header values.
The user does not exist or has been inactivated
func NewGetUserRolesNotFound ¶
func NewGetUserRolesNotFound() *GetUserRolesNotFound
NewGetUserRolesNotFound creates a GetUserRolesNotFound with default headers values
func (*GetUserRolesNotFound) Error ¶
func (o *GetUserRolesNotFound) Error() string
type GetUserRolesOK ¶
type GetUserRolesOK struct { Payload *kbmodel.UserRoles HttpResponse runtime.ClientResponse }
GetUserRolesOK handles this case with default header values.
successful operation
func NewGetUserRolesOK ¶
func NewGetUserRolesOK() *GetUserRolesOK
NewGetUserRolesOK creates a GetUserRolesOK with default headers values
func (*GetUserRolesOK) Error ¶
func (o *GetUserRolesOK) Error() string
type GetUserRolesParams ¶
type GetUserRolesParams struct { /*Username*/ Username string WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetUserRolesParams contains all the parameters to send to the API endpoint for the get user roles operation typically these are written to a http.Request
func NewGetUserRolesParams ¶
func NewGetUserRolesParams() *GetUserRolesParams
NewGetUserRolesParams creates a new GetUserRolesParams object with the default values initialized.
func NewGetUserRolesParamsWithContext ¶
func NewGetUserRolesParamsWithContext(ctx context.Context) *GetUserRolesParams
NewGetUserRolesParamsWithContext creates a new GetUserRolesParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserRolesParamsWithHTTPClient ¶
func NewGetUserRolesParamsWithHTTPClient(client *http.Client) *GetUserRolesParams
NewGetUserRolesParamsWithHTTPClient creates a new GetUserRolesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserRolesParamsWithTimeout ¶
func NewGetUserRolesParamsWithTimeout(timeout time.Duration) *GetUserRolesParams
NewGetUserRolesParamsWithTimeout creates a new GetUserRolesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserRolesParams) SetContext ¶
func (o *GetUserRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the get user roles params
func (*GetUserRolesParams) SetHTTPClient ¶
func (o *GetUserRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user roles params
func (*GetUserRolesParams) SetTimeout ¶
func (o *GetUserRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user roles params
func (*GetUserRolesParams) SetUsername ¶
func (o *GetUserRolesParams) SetUsername(username string)
SetUsername adds the username to the get user roles params
func (*GetUserRolesParams) WithContext ¶
func (o *GetUserRolesParams) WithContext(ctx context.Context) *GetUserRolesParams
WithContext adds the context to the get user roles params
func (*GetUserRolesParams) WithHTTPClient ¶
func (o *GetUserRolesParams) WithHTTPClient(client *http.Client) *GetUserRolesParams
WithHTTPClient adds the HTTPClient to the get user roles params
func (*GetUserRolesParams) WithTimeout ¶
func (o *GetUserRolesParams) WithTimeout(timeout time.Duration) *GetUserRolesParams
WithTimeout adds the timeout to the get user roles params
func (*GetUserRolesParams) WithUsername ¶
func (o *GetUserRolesParams) WithUsername(username string) *GetUserRolesParams
WithUsername adds the username to the get user roles params
func (*GetUserRolesParams) WriteToRequest ¶
func (o *GetUserRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserRolesReader ¶
type GetUserRolesReader struct {
// contains filtered or unexported fields
}
GetUserRolesReader is a Reader for the GetUserRoles structure.
func (*GetUserRolesReader) ReadResponse ¶
func (o *GetUserRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ISecurity ¶
type ISecurity interface { /* AddRoleDefinition adds a new role definition */ AddRoleDefinition(ctx context.Context, params *AddRoleDefinitionParams) (*AddRoleDefinitionCreated, error) /* AddUserRoles adds a new user with roles to make api requests */ AddUserRoles(ctx context.Context, params *AddUserRolesParams) (*AddUserRolesCreated, error) /* GetCurrentUserPermissions lists user permissions */ GetCurrentUserPermissions(ctx context.Context, params *GetCurrentUserPermissionsParams) (*GetCurrentUserPermissionsOK, error) /* GetCurrentUserSubject gets user information */ GetCurrentUserSubject(ctx context.Context, params *GetCurrentUserSubjectParams) (*GetCurrentUserSubjectOK, error) /* GetRoleDefinition gets role definition */ GetRoleDefinition(ctx context.Context, params *GetRoleDefinitionParams) (*GetRoleDefinitionOK, error) /* GetUserRoles gets roles associated to a user */ GetUserRoles(ctx context.Context, params *GetUserRolesParams) (*GetUserRolesOK, error) /* InvalidateUser invalidates an existing user */ InvalidateUser(ctx context.Context, params *InvalidateUserParams) (*InvalidateUserNoContent, error) /* UpdateRoleDefinition updates a new role definition */ UpdateRoleDefinition(ctx context.Context, params *UpdateRoleDefinitionParams) (*UpdateRoleDefinitionNoContent, error) /* UpdateUserPassword updates a user password */ UpdateUserPassword(ctx context.Context, params *UpdateUserPasswordParams) (*UpdateUserPasswordNoContent, error) /* UpdateUserRoles updates roles associated to a user */ UpdateUserRoles(ctx context.Context, params *UpdateUserRolesParams) (*UpdateUserRolesNoContent, error) }
ISecurity - interface for Security client.
type InvalidateUserNoContent ¶
type InvalidateUserNoContent struct {
HttpResponse runtime.ClientResponse
}
InvalidateUserNoContent handles this case with default header values.
Successful operation
func NewInvalidateUserNoContent ¶
func NewInvalidateUserNoContent() *InvalidateUserNoContent
NewInvalidateUserNoContent creates a InvalidateUserNoContent with default headers values
func (*InvalidateUserNoContent) Error ¶
func (o *InvalidateUserNoContent) Error() string
type InvalidateUserParams ¶
type InvalidateUserParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Username*/ Username string WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
InvalidateUserParams contains all the parameters to send to the API endpoint for the invalidate user operation typically these are written to a http.Request
func NewInvalidateUserParams ¶
func NewInvalidateUserParams() *InvalidateUserParams
NewInvalidateUserParams creates a new InvalidateUserParams object with the default values initialized.
func NewInvalidateUserParamsWithContext ¶
func NewInvalidateUserParamsWithContext(ctx context.Context) *InvalidateUserParams
NewInvalidateUserParamsWithContext creates a new InvalidateUserParams object with the default values initialized, and the ability to set a context for a request
func NewInvalidateUserParamsWithHTTPClient ¶
func NewInvalidateUserParamsWithHTTPClient(client *http.Client) *InvalidateUserParams
NewInvalidateUserParamsWithHTTPClient creates a new InvalidateUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInvalidateUserParamsWithTimeout ¶
func NewInvalidateUserParamsWithTimeout(timeout time.Duration) *InvalidateUserParams
NewInvalidateUserParamsWithTimeout creates a new InvalidateUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*InvalidateUserParams) SetContext ¶
func (o *InvalidateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the invalidate user params
func (*InvalidateUserParams) SetHTTPClient ¶
func (o *InvalidateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the invalidate user params
func (*InvalidateUserParams) SetTimeout ¶
func (o *InvalidateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the invalidate user params
func (*InvalidateUserParams) SetUsername ¶
func (o *InvalidateUserParams) SetUsername(username string)
SetUsername adds the username to the invalidate user params
func (*InvalidateUserParams) SetXKillbillComment ¶
func (o *InvalidateUserParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the invalidate user params
func (*InvalidateUserParams) SetXKillbillCreatedBy ¶
func (o *InvalidateUserParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the invalidate user params
func (*InvalidateUserParams) SetXKillbillReason ¶
func (o *InvalidateUserParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the invalidate user params
func (*InvalidateUserParams) WithContext ¶
func (o *InvalidateUserParams) WithContext(ctx context.Context) *InvalidateUserParams
WithContext adds the context to the invalidate user params
func (*InvalidateUserParams) WithHTTPClient ¶
func (o *InvalidateUserParams) WithHTTPClient(client *http.Client) *InvalidateUserParams
WithHTTPClient adds the HTTPClient to the invalidate user params
func (*InvalidateUserParams) WithTimeout ¶
func (o *InvalidateUserParams) WithTimeout(timeout time.Duration) *InvalidateUserParams
WithTimeout adds the timeout to the invalidate user params
func (*InvalidateUserParams) WithUsername ¶
func (o *InvalidateUserParams) WithUsername(username string) *InvalidateUserParams
WithUsername adds the username to the invalidate user params
func (*InvalidateUserParams) WithXKillbillComment ¶
func (o *InvalidateUserParams) WithXKillbillComment(xKillbillComment *string) *InvalidateUserParams
WithXKillbillComment adds the xKillbillComment to the invalidate user params
func (*InvalidateUserParams) WithXKillbillCreatedBy ¶
func (o *InvalidateUserParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *InvalidateUserParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the invalidate user params
func (*InvalidateUserParams) WithXKillbillReason ¶
func (o *InvalidateUserParams) WithXKillbillReason(xKillbillReason *string) *InvalidateUserParams
WithXKillbillReason adds the xKillbillReason to the invalidate user params
func (*InvalidateUserParams) WriteToRequest ¶
func (o *InvalidateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InvalidateUserReader ¶
type InvalidateUserReader struct {
// contains filtered or unexported fields
}
InvalidateUserReader is a Reader for the InvalidateUser structure.
func (*InvalidateUserReader) ReadResponse ¶
func (o *InvalidateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KillbillDefaults ¶
type KillbillDefaults interface { // Default CreatedBy. If not set explicitly in params, this will be used. XKillbillCreatedBy() *string // Default Comment. If not set explicitly in params, this will be used. XKillbillComment() *string // Default Reason. If not set explicitly in params, this will be used. XKillbillReason() *string // Default WithStackTrace. If not set explicitly in params, this will be used. KillbillWithStackTrace() *bool }
killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.
type UpdateRoleDefinitionNoContent ¶
type UpdateRoleDefinitionNoContent struct {
HttpResponse runtime.ClientResponse
}
UpdateRoleDefinitionNoContent handles this case with default header values.
Successful operation
func NewUpdateRoleDefinitionNoContent ¶
func NewUpdateRoleDefinitionNoContent() *UpdateRoleDefinitionNoContent
NewUpdateRoleDefinitionNoContent creates a UpdateRoleDefinitionNoContent with default headers values
func (*UpdateRoleDefinitionNoContent) Error ¶
func (o *UpdateRoleDefinitionNoContent) Error() string
type UpdateRoleDefinitionParams ¶
type UpdateRoleDefinitionParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body *kbmodel.RoleDefinition WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
UpdateRoleDefinitionParams contains all the parameters to send to the API endpoint for the update role definition operation typically these are written to a http.Request
func NewUpdateRoleDefinitionParams ¶
func NewUpdateRoleDefinitionParams() *UpdateRoleDefinitionParams
NewUpdateRoleDefinitionParams creates a new UpdateRoleDefinitionParams object with the default values initialized.
func NewUpdateRoleDefinitionParamsWithContext ¶
func NewUpdateRoleDefinitionParamsWithContext(ctx context.Context) *UpdateRoleDefinitionParams
NewUpdateRoleDefinitionParamsWithContext creates a new UpdateRoleDefinitionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateRoleDefinitionParamsWithHTTPClient ¶
func NewUpdateRoleDefinitionParamsWithHTTPClient(client *http.Client) *UpdateRoleDefinitionParams
NewUpdateRoleDefinitionParamsWithHTTPClient creates a new UpdateRoleDefinitionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateRoleDefinitionParamsWithTimeout ¶
func NewUpdateRoleDefinitionParamsWithTimeout(timeout time.Duration) *UpdateRoleDefinitionParams
NewUpdateRoleDefinitionParamsWithTimeout creates a new UpdateRoleDefinitionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateRoleDefinitionParams) SetBody ¶
func (o *UpdateRoleDefinitionParams) SetBody(body *kbmodel.RoleDefinition)
SetBody adds the body to the update role definition params
func (*UpdateRoleDefinitionParams) SetContext ¶
func (o *UpdateRoleDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the update role definition params
func (*UpdateRoleDefinitionParams) SetHTTPClient ¶
func (o *UpdateRoleDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update role definition params
func (*UpdateRoleDefinitionParams) SetTimeout ¶
func (o *UpdateRoleDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update role definition params
func (*UpdateRoleDefinitionParams) SetXKillbillComment ¶
func (o *UpdateRoleDefinitionParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the update role definition params
func (*UpdateRoleDefinitionParams) SetXKillbillCreatedBy ¶
func (o *UpdateRoleDefinitionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the update role definition params
func (*UpdateRoleDefinitionParams) SetXKillbillReason ¶
func (o *UpdateRoleDefinitionParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the update role definition params
func (*UpdateRoleDefinitionParams) WithBody ¶
func (o *UpdateRoleDefinitionParams) WithBody(body *kbmodel.RoleDefinition) *UpdateRoleDefinitionParams
WithBody adds the body to the update role definition params
func (*UpdateRoleDefinitionParams) WithContext ¶
func (o *UpdateRoleDefinitionParams) WithContext(ctx context.Context) *UpdateRoleDefinitionParams
WithContext adds the context to the update role definition params
func (*UpdateRoleDefinitionParams) WithHTTPClient ¶
func (o *UpdateRoleDefinitionParams) WithHTTPClient(client *http.Client) *UpdateRoleDefinitionParams
WithHTTPClient adds the HTTPClient to the update role definition params
func (*UpdateRoleDefinitionParams) WithTimeout ¶
func (o *UpdateRoleDefinitionParams) WithTimeout(timeout time.Duration) *UpdateRoleDefinitionParams
WithTimeout adds the timeout to the update role definition params
func (*UpdateRoleDefinitionParams) WithXKillbillComment ¶
func (o *UpdateRoleDefinitionParams) WithXKillbillComment(xKillbillComment *string) *UpdateRoleDefinitionParams
WithXKillbillComment adds the xKillbillComment to the update role definition params
func (*UpdateRoleDefinitionParams) WithXKillbillCreatedBy ¶
func (o *UpdateRoleDefinitionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateRoleDefinitionParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the update role definition params
func (*UpdateRoleDefinitionParams) WithXKillbillReason ¶
func (o *UpdateRoleDefinitionParams) WithXKillbillReason(xKillbillReason *string) *UpdateRoleDefinitionParams
WithXKillbillReason adds the xKillbillReason to the update role definition params
func (*UpdateRoleDefinitionParams) WriteToRequest ¶
func (o *UpdateRoleDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRoleDefinitionReader ¶
type UpdateRoleDefinitionReader struct {
// contains filtered or unexported fields
}
UpdateRoleDefinitionReader is a Reader for the UpdateRoleDefinition structure.
func (*UpdateRoleDefinitionReader) ReadResponse ¶
func (o *UpdateRoleDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserPasswordNoContent ¶
type UpdateUserPasswordNoContent struct {
HttpResponse runtime.ClientResponse
}
UpdateUserPasswordNoContent handles this case with default header values.
Successful operation
func NewUpdateUserPasswordNoContent ¶
func NewUpdateUserPasswordNoContent() *UpdateUserPasswordNoContent
NewUpdateUserPasswordNoContent creates a UpdateUserPasswordNoContent with default headers values
func (*UpdateUserPasswordNoContent) Error ¶
func (o *UpdateUserPasswordNoContent) Error() string
type UpdateUserPasswordParams ¶
type UpdateUserPasswordParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body *kbmodel.UserRoles /*Username*/ Username string WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
UpdateUserPasswordParams contains all the parameters to send to the API endpoint for the update user password operation typically these are written to a http.Request
func NewUpdateUserPasswordParams ¶
func NewUpdateUserPasswordParams() *UpdateUserPasswordParams
NewUpdateUserPasswordParams creates a new UpdateUserPasswordParams object with the default values initialized.
func NewUpdateUserPasswordParamsWithContext ¶
func NewUpdateUserPasswordParamsWithContext(ctx context.Context) *UpdateUserPasswordParams
NewUpdateUserPasswordParamsWithContext creates a new UpdateUserPasswordParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateUserPasswordParamsWithHTTPClient ¶
func NewUpdateUserPasswordParamsWithHTTPClient(client *http.Client) *UpdateUserPasswordParams
NewUpdateUserPasswordParamsWithHTTPClient creates a new UpdateUserPasswordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateUserPasswordParamsWithTimeout ¶
func NewUpdateUserPasswordParamsWithTimeout(timeout time.Duration) *UpdateUserPasswordParams
NewUpdateUserPasswordParamsWithTimeout creates a new UpdateUserPasswordParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateUserPasswordParams) SetBody ¶
func (o *UpdateUserPasswordParams) SetBody(body *kbmodel.UserRoles)
SetBody adds the body to the update user password params
func (*UpdateUserPasswordParams) SetContext ¶
func (o *UpdateUserPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the update user password params
func (*UpdateUserPasswordParams) SetHTTPClient ¶
func (o *UpdateUserPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user password params
func (*UpdateUserPasswordParams) SetTimeout ¶
func (o *UpdateUserPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user password params
func (*UpdateUserPasswordParams) SetUsername ¶
func (o *UpdateUserPasswordParams) SetUsername(username string)
SetUsername adds the username to the update user password params
func (*UpdateUserPasswordParams) SetXKillbillComment ¶
func (o *UpdateUserPasswordParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the update user password params
func (*UpdateUserPasswordParams) SetXKillbillCreatedBy ¶
func (o *UpdateUserPasswordParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the update user password params
func (*UpdateUserPasswordParams) SetXKillbillReason ¶
func (o *UpdateUserPasswordParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the update user password params
func (*UpdateUserPasswordParams) WithBody ¶
func (o *UpdateUserPasswordParams) WithBody(body *kbmodel.UserRoles) *UpdateUserPasswordParams
WithBody adds the body to the update user password params
func (*UpdateUserPasswordParams) WithContext ¶
func (o *UpdateUserPasswordParams) WithContext(ctx context.Context) *UpdateUserPasswordParams
WithContext adds the context to the update user password params
func (*UpdateUserPasswordParams) WithHTTPClient ¶
func (o *UpdateUserPasswordParams) WithHTTPClient(client *http.Client) *UpdateUserPasswordParams
WithHTTPClient adds the HTTPClient to the update user password params
func (*UpdateUserPasswordParams) WithTimeout ¶
func (o *UpdateUserPasswordParams) WithTimeout(timeout time.Duration) *UpdateUserPasswordParams
WithTimeout adds the timeout to the update user password params
func (*UpdateUserPasswordParams) WithUsername ¶
func (o *UpdateUserPasswordParams) WithUsername(username string) *UpdateUserPasswordParams
WithUsername adds the username to the update user password params
func (*UpdateUserPasswordParams) WithXKillbillComment ¶
func (o *UpdateUserPasswordParams) WithXKillbillComment(xKillbillComment *string) *UpdateUserPasswordParams
WithXKillbillComment adds the xKillbillComment to the update user password params
func (*UpdateUserPasswordParams) WithXKillbillCreatedBy ¶
func (o *UpdateUserPasswordParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateUserPasswordParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the update user password params
func (*UpdateUserPasswordParams) WithXKillbillReason ¶
func (o *UpdateUserPasswordParams) WithXKillbillReason(xKillbillReason *string) *UpdateUserPasswordParams
WithXKillbillReason adds the xKillbillReason to the update user password params
func (*UpdateUserPasswordParams) WriteToRequest ¶
func (o *UpdateUserPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserPasswordReader ¶
type UpdateUserPasswordReader struct {
// contains filtered or unexported fields
}
UpdateUserPasswordReader is a Reader for the UpdateUserPassword structure.
func (*UpdateUserPasswordReader) ReadResponse ¶
func (o *UpdateUserPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserRolesNoContent ¶
type UpdateUserRolesNoContent struct {
HttpResponse runtime.ClientResponse
}
UpdateUserRolesNoContent handles this case with default header values.
Successful operation
func NewUpdateUserRolesNoContent ¶
func NewUpdateUserRolesNoContent() *UpdateUserRolesNoContent
NewUpdateUserRolesNoContent creates a UpdateUserRolesNoContent with default headers values
func (*UpdateUserRolesNoContent) Error ¶
func (o *UpdateUserRolesNoContent) Error() string
type UpdateUserRolesParams ¶
type UpdateUserRolesParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body *kbmodel.UserRoles /*Username*/ Username string WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
UpdateUserRolesParams contains all the parameters to send to the API endpoint for the update user roles operation typically these are written to a http.Request
func NewUpdateUserRolesParams ¶
func NewUpdateUserRolesParams() *UpdateUserRolesParams
NewUpdateUserRolesParams creates a new UpdateUserRolesParams object with the default values initialized.
func NewUpdateUserRolesParamsWithContext ¶
func NewUpdateUserRolesParamsWithContext(ctx context.Context) *UpdateUserRolesParams
NewUpdateUserRolesParamsWithContext creates a new UpdateUserRolesParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateUserRolesParamsWithHTTPClient ¶
func NewUpdateUserRolesParamsWithHTTPClient(client *http.Client) *UpdateUserRolesParams
NewUpdateUserRolesParamsWithHTTPClient creates a new UpdateUserRolesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateUserRolesParamsWithTimeout ¶
func NewUpdateUserRolesParamsWithTimeout(timeout time.Duration) *UpdateUserRolesParams
NewUpdateUserRolesParamsWithTimeout creates a new UpdateUserRolesParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateUserRolesParams) SetBody ¶
func (o *UpdateUserRolesParams) SetBody(body *kbmodel.UserRoles)
SetBody adds the body to the update user roles params
func (*UpdateUserRolesParams) SetContext ¶
func (o *UpdateUserRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the update user roles params
func (*UpdateUserRolesParams) SetHTTPClient ¶
func (o *UpdateUserRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user roles params
func (*UpdateUserRolesParams) SetTimeout ¶
func (o *UpdateUserRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user roles params
func (*UpdateUserRolesParams) SetUsername ¶
func (o *UpdateUserRolesParams) SetUsername(username string)
SetUsername adds the username to the update user roles params
func (*UpdateUserRolesParams) SetXKillbillComment ¶
func (o *UpdateUserRolesParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the update user roles params
func (*UpdateUserRolesParams) SetXKillbillCreatedBy ¶
func (o *UpdateUserRolesParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the update user roles params
func (*UpdateUserRolesParams) SetXKillbillReason ¶
func (o *UpdateUserRolesParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the update user roles params
func (*UpdateUserRolesParams) WithBody ¶
func (o *UpdateUserRolesParams) WithBody(body *kbmodel.UserRoles) *UpdateUserRolesParams
WithBody adds the body to the update user roles params
func (*UpdateUserRolesParams) WithContext ¶
func (o *UpdateUserRolesParams) WithContext(ctx context.Context) *UpdateUserRolesParams
WithContext adds the context to the update user roles params
func (*UpdateUserRolesParams) WithHTTPClient ¶
func (o *UpdateUserRolesParams) WithHTTPClient(client *http.Client) *UpdateUserRolesParams
WithHTTPClient adds the HTTPClient to the update user roles params
func (*UpdateUserRolesParams) WithTimeout ¶
func (o *UpdateUserRolesParams) WithTimeout(timeout time.Duration) *UpdateUserRolesParams
WithTimeout adds the timeout to the update user roles params
func (*UpdateUserRolesParams) WithUsername ¶
func (o *UpdateUserRolesParams) WithUsername(username string) *UpdateUserRolesParams
WithUsername adds the username to the update user roles params
func (*UpdateUserRolesParams) WithXKillbillComment ¶
func (o *UpdateUserRolesParams) WithXKillbillComment(xKillbillComment *string) *UpdateUserRolesParams
WithXKillbillComment adds the xKillbillComment to the update user roles params
func (*UpdateUserRolesParams) WithXKillbillCreatedBy ¶
func (o *UpdateUserRolesParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateUserRolesParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the update user roles params
func (*UpdateUserRolesParams) WithXKillbillReason ¶
func (o *UpdateUserRolesParams) WithXKillbillReason(xKillbillReason *string) *UpdateUserRolesParams
WithXKillbillReason adds the xKillbillReason to the update user roles params
func (*UpdateUserRolesParams) WriteToRequest ¶
func (o *UpdateUserRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserRolesReader ¶
type UpdateUserRolesReader struct {
// contains filtered or unexported fields
}
UpdateUserRolesReader is a Reader for the UpdateUserRoles structure.
func (*UpdateUserRolesReader) ReadResponse ¶
func (o *UpdateUserRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_role_definition_parameters.go
- add_role_definition_responses.go
- add_user_roles_parameters.go
- add_user_roles_responses.go
- get_current_user_permissions_parameters.go
- get_current_user_permissions_responses.go
- get_current_user_subject_parameters.go
- get_current_user_subject_responses.go
- get_role_definition_parameters.go
- get_role_definition_responses.go
- get_user_roles_parameters.go
- get_user_roles_responses.go
- invalidate_user_parameters.go
- invalidate_user_responses.go
- security_client.go
- update_role_definition_parameters.go
- update_role_definition_responses.go
- update_user_password_parameters.go
- update_user_password_responses.go
- update_user_roles_parameters.go
- update_user_roles_responses.go