Documentation ¶
Index ¶
- type AddRoleDefinitionCreated
- func (o *AddRoleDefinitionCreated) Code() int
- func (o *AddRoleDefinitionCreated) Error() string
- func (o *AddRoleDefinitionCreated) GetPayload() *kbmodel.RoleDefinition
- func (o *AddRoleDefinitionCreated) IsClientError() bool
- func (o *AddRoleDefinitionCreated) IsCode(code int) bool
- func (o *AddRoleDefinitionCreated) IsRedirect() bool
- func (o *AddRoleDefinitionCreated) IsServerError() bool
- func (o *AddRoleDefinitionCreated) IsSuccess() bool
- func (o *AddRoleDefinitionCreated) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *AddUserRolesCreated) Code() int
- func (o *AddUserRolesCreated) Error() string
- func (o *AddUserRolesCreated) GetPayload() *kbmodel.UserRoles
- func (o *AddUserRolesCreated) IsClientError() bool
- func (o *AddUserRolesCreated) IsCode(code int) bool
- func (o *AddUserRolesCreated) IsRedirect() bool
- func (o *AddUserRolesCreated) IsServerError() bool
- func (o *AddUserRolesCreated) IsSuccess() bool
- func (o *AddUserRolesCreated) String() string
- type AddUserRolesParams
- func (o *AddUserRolesParams) SetBody(body *kbmodel.UserRoles)
- func (o *AddUserRolesParams) SetContext(ctx context.Context)
- func (o *AddUserRolesParams) SetDefaults()
- 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) WithDefaults() *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 ClientOption
- type ClientService
- type GetCurrentUserPermissionsOK
- func (o *GetCurrentUserPermissionsOK) Code() int
- func (o *GetCurrentUserPermissionsOK) Error() string
- func (o *GetCurrentUserPermissionsOK) GetPayload() []string
- func (o *GetCurrentUserPermissionsOK) IsClientError() bool
- func (o *GetCurrentUserPermissionsOK) IsCode(code int) bool
- func (o *GetCurrentUserPermissionsOK) IsRedirect() bool
- func (o *GetCurrentUserPermissionsOK) IsServerError() bool
- func (o *GetCurrentUserPermissionsOK) IsSuccess() bool
- func (o *GetCurrentUserPermissionsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetCurrentUserSubjectOK) Code() int
- func (o *GetCurrentUserSubjectOK) Error() string
- func (o *GetCurrentUserSubjectOK) GetPayload() *kbmodel.Subject
- func (o *GetCurrentUserSubjectOK) IsClientError() bool
- func (o *GetCurrentUserSubjectOK) IsCode(code int) bool
- func (o *GetCurrentUserSubjectOK) IsRedirect() bool
- func (o *GetCurrentUserSubjectOK) IsServerError() bool
- func (o *GetCurrentUserSubjectOK) IsSuccess() bool
- func (o *GetCurrentUserSubjectOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetRoleDefinitionOK) Code() int
- func (o *GetRoleDefinitionOK) Error() string
- func (o *GetRoleDefinitionOK) GetPayload() *kbmodel.RoleDefinition
- func (o *GetRoleDefinitionOK) IsClientError() bool
- func (o *GetRoleDefinitionOK) IsCode(code int) bool
- func (o *GetRoleDefinitionOK) IsRedirect() bool
- func (o *GetRoleDefinitionOK) IsServerError() bool
- func (o *GetRoleDefinitionOK) IsSuccess() bool
- func (o *GetRoleDefinitionOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetUserRolesNotFound) Code() int
- func (o *GetUserRolesNotFound) Error() string
- func (o *GetUserRolesNotFound) IsClientError() bool
- func (o *GetUserRolesNotFound) IsCode(code int) bool
- func (o *GetUserRolesNotFound) IsRedirect() bool
- func (o *GetUserRolesNotFound) IsServerError() bool
- func (o *GetUserRolesNotFound) IsSuccess() bool
- func (o *GetUserRolesNotFound) String() string
- type GetUserRolesOK
- func (o *GetUserRolesOK) Code() int
- func (o *GetUserRolesOK) Error() string
- func (o *GetUserRolesOK) GetPayload() *kbmodel.UserRoles
- func (o *GetUserRolesOK) IsClientError() bool
- func (o *GetUserRolesOK) IsCode(code int) bool
- func (o *GetUserRolesOK) IsRedirect() bool
- func (o *GetUserRolesOK) IsServerError() bool
- func (o *GetUserRolesOK) IsSuccess() bool
- func (o *GetUserRolesOK) String() string
- type GetUserRolesParams
- func (o *GetUserRolesParams) SetContext(ctx context.Context)
- func (o *GetUserRolesParams) SetDefaults()
- 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) WithDefaults() *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 InvalidateUserNoContent
- func (o *InvalidateUserNoContent) Code() int
- func (o *InvalidateUserNoContent) Error() string
- func (o *InvalidateUserNoContent) IsClientError() bool
- func (o *InvalidateUserNoContent) IsCode(code int) bool
- func (o *InvalidateUserNoContent) IsRedirect() bool
- func (o *InvalidateUserNoContent) IsServerError() bool
- func (o *InvalidateUserNoContent) IsSuccess() bool
- func (o *InvalidateUserNoContent) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *UpdateRoleDefinitionNoContent) Code() int
- func (o *UpdateRoleDefinitionNoContent) Error() string
- func (o *UpdateRoleDefinitionNoContent) IsClientError() bool
- func (o *UpdateRoleDefinitionNoContent) IsCode(code int) bool
- func (o *UpdateRoleDefinitionNoContent) IsRedirect() bool
- func (o *UpdateRoleDefinitionNoContent) IsServerError() bool
- func (o *UpdateRoleDefinitionNoContent) IsSuccess() bool
- func (o *UpdateRoleDefinitionNoContent) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *UpdateUserPasswordNoContent) Code() int
- func (o *UpdateUserPasswordNoContent) Error() string
- func (o *UpdateUserPasswordNoContent) IsClientError() bool
- func (o *UpdateUserPasswordNoContent) IsCode(code int) bool
- func (o *UpdateUserPasswordNoContent) IsRedirect() bool
- func (o *UpdateUserPasswordNoContent) IsServerError() bool
- func (o *UpdateUserPasswordNoContent) IsSuccess() bool
- func (o *UpdateUserPasswordNoContent) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *UpdateUserRolesNoContent) Code() int
- func (o *UpdateUserRolesNoContent) Error() string
- func (o *UpdateUserRolesNoContent) IsClientError() bool
- func (o *UpdateUserRolesNoContent) IsCode(code int) bool
- func (o *UpdateUserRolesNoContent) IsRedirect() bool
- func (o *UpdateUserRolesNoContent) IsServerError() bool
- func (o *UpdateUserRolesNoContent) IsSuccess() bool
- func (o *UpdateUserRolesNoContent) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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 describes a response with status code 201, with default header values.
Role definition created successfully
func NewAddRoleDefinitionCreated ¶
func NewAddRoleDefinitionCreated() *AddRoleDefinitionCreated
NewAddRoleDefinitionCreated creates a AddRoleDefinitionCreated with default headers values
func (*AddRoleDefinitionCreated) Code ¶
func (o *AddRoleDefinitionCreated) Code() int
Code gets the status code for the add role definition created response
func (*AddRoleDefinitionCreated) Error ¶
func (o *AddRoleDefinitionCreated) Error() string
func (*AddRoleDefinitionCreated) GetPayload ¶
func (o *AddRoleDefinitionCreated) GetPayload() *kbmodel.RoleDefinition
func (*AddRoleDefinitionCreated) IsClientError ¶
func (o *AddRoleDefinitionCreated) IsClientError() bool
IsClientError returns true when this add role definition created response has a 4xx status code
func (*AddRoleDefinitionCreated) IsCode ¶
func (o *AddRoleDefinitionCreated) IsCode(code int) bool
IsCode returns true when this add role definition created response a status code equal to that given
func (*AddRoleDefinitionCreated) IsRedirect ¶
func (o *AddRoleDefinitionCreated) IsRedirect() bool
IsRedirect returns true when this add role definition created response has a 3xx status code
func (*AddRoleDefinitionCreated) IsServerError ¶
func (o *AddRoleDefinitionCreated) IsServerError() bool
IsServerError returns true when this add role definition created response has a 5xx status code
func (*AddRoleDefinitionCreated) IsSuccess ¶
func (o *AddRoleDefinitionCreated) IsSuccess() bool
IsSuccess returns true when this add role definition created response has a 2xx status code
func (*AddRoleDefinitionCreated) String ¶
func (o *AddRoleDefinitionCreated) String() string
type AddRoleDefinitionParams ¶
type AddRoleDefinitionParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.RoleDefinition WithProfilingInfo *string // If set, return KB hprof headers 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddRoleDefinitionParamsWithContext ¶
func NewAddRoleDefinitionParamsWithContext(ctx context.Context) *AddRoleDefinitionParams
NewAddRoleDefinitionParamsWithContext creates a new AddRoleDefinitionParams object with 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 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 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) SetDefaults ¶
func (o *AddRoleDefinitionParams) SetDefaults()
SetDefaults hydrates default values in the add role definition params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *AddRoleDefinitionParams) WithDefaults() *AddRoleDefinitionParams
WithDefaults hydrates default values in the add role definition params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 201, with default header values.
User role created successfully
func NewAddUserRolesCreated ¶
func NewAddUserRolesCreated() *AddUserRolesCreated
NewAddUserRolesCreated creates a AddUserRolesCreated with default headers values
func (*AddUserRolesCreated) Code ¶
func (o *AddUserRolesCreated) Code() int
Code gets the status code for the add user roles created response
func (*AddUserRolesCreated) Error ¶
func (o *AddUserRolesCreated) Error() string
func (*AddUserRolesCreated) GetPayload ¶
func (o *AddUserRolesCreated) GetPayload() *kbmodel.UserRoles
func (*AddUserRolesCreated) IsClientError ¶
func (o *AddUserRolesCreated) IsClientError() bool
IsClientError returns true when this add user roles created response has a 4xx status code
func (*AddUserRolesCreated) IsCode ¶
func (o *AddUserRolesCreated) IsCode(code int) bool
IsCode returns true when this add user roles created response a status code equal to that given
func (*AddUserRolesCreated) IsRedirect ¶
func (o *AddUserRolesCreated) IsRedirect() bool
IsRedirect returns true when this add user roles created response has a 3xx status code
func (*AddUserRolesCreated) IsServerError ¶
func (o *AddUserRolesCreated) IsServerError() bool
IsServerError returns true when this add user roles created response has a 5xx status code
func (*AddUserRolesCreated) IsSuccess ¶
func (o *AddUserRolesCreated) IsSuccess() bool
IsSuccess returns true when this add user roles created response has a 2xx status code
func (*AddUserRolesCreated) String ¶
func (o *AddUserRolesCreated) String() string
type AddUserRolesParams ¶
type AddUserRolesParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.UserRoles WithProfilingInfo *string // If set, return KB hprof headers 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddUserRolesParamsWithContext ¶
func NewAddUserRolesParamsWithContext(ctx context.Context) *AddUserRolesParams
NewAddUserRolesParamsWithContext creates a new AddUserRolesParams object with 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 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 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) SetDefaults ¶
func (o *AddUserRolesParams) SetDefaults()
SetDefaults hydrates default values in the add user roles params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *AddUserRolesParams) WithDefaults() *AddUserRolesParams
WithDefaults hydrates default values in the add user roles params (not the query body).
All values with no default are reset to their zero value.
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 ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddRoleDefinition(ctx context.Context, params *AddRoleDefinitionParams) (*AddRoleDefinitionCreated, error) AddUserRoles(ctx context.Context, params *AddUserRolesParams) (*AddUserRolesCreated, error) GetCurrentUserPermissions(ctx context.Context, params *GetCurrentUserPermissionsParams) (*GetCurrentUserPermissionsOK, error) GetCurrentUserSubject(ctx context.Context, params *GetCurrentUserSubjectParams) (*GetCurrentUserSubjectOK, error) GetRoleDefinition(ctx context.Context, params *GetRoleDefinitionParams) (*GetRoleDefinitionOK, error) GetUserRoles(ctx context.Context, params *GetUserRolesParams) (*GetUserRolesOK, error) InvalidateUser(ctx context.Context, params *InvalidateUserParams) (*InvalidateUserNoContent, error) UpdateRoleDefinition(ctx context.Context, params *UpdateRoleDefinitionParams) (*UpdateRoleDefinitionNoContent, error) UpdateUserPassword(ctx context.Context, params *UpdateUserPasswordParams) (*UpdateUserPasswordNoContent, error) UpdateUserRoles(ctx context.Context, params *UpdateUserRolesParams) (*UpdateUserRolesNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
type GetCurrentUserPermissionsOK ¶
type GetCurrentUserPermissionsOK struct { Payload []string HttpResponse runtime.ClientResponse }
GetCurrentUserPermissionsOK describes a response with status code 200, with default header values.
successful operation
func NewGetCurrentUserPermissionsOK ¶
func NewGetCurrentUserPermissionsOK() *GetCurrentUserPermissionsOK
NewGetCurrentUserPermissionsOK creates a GetCurrentUserPermissionsOK with default headers values
func (*GetCurrentUserPermissionsOK) Code ¶
func (o *GetCurrentUserPermissionsOK) Code() int
Code gets the status code for the get current user permissions o k response
func (*GetCurrentUserPermissionsOK) Error ¶
func (o *GetCurrentUserPermissionsOK) Error() string
func (*GetCurrentUserPermissionsOK) GetPayload ¶
func (o *GetCurrentUserPermissionsOK) GetPayload() []string
func (*GetCurrentUserPermissionsOK) IsClientError ¶
func (o *GetCurrentUserPermissionsOK) IsClientError() bool
IsClientError returns true when this get current user permissions o k response has a 4xx status code
func (*GetCurrentUserPermissionsOK) IsCode ¶
func (o *GetCurrentUserPermissionsOK) IsCode(code int) bool
IsCode returns true when this get current user permissions o k response a status code equal to that given
func (*GetCurrentUserPermissionsOK) IsRedirect ¶
func (o *GetCurrentUserPermissionsOK) IsRedirect() bool
IsRedirect returns true when this get current user permissions o k response has a 3xx status code
func (*GetCurrentUserPermissionsOK) IsServerError ¶
func (o *GetCurrentUserPermissionsOK) IsServerError() bool
IsServerError returns true when this get current user permissions o k response has a 5xx status code
func (*GetCurrentUserPermissionsOK) IsSuccess ¶
func (o *GetCurrentUserPermissionsOK) IsSuccess() bool
IsSuccess returns true when this get current user permissions o k response has a 2xx status code
func (*GetCurrentUserPermissionsOK) String ¶
func (o *GetCurrentUserPermissionsOK) String() string
type GetCurrentUserPermissionsParams ¶
type GetCurrentUserPermissionsParams struct { WithProfilingInfo *string // If set, return KB hprof headers 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCurrentUserPermissionsParamsWithContext ¶
func NewGetCurrentUserPermissionsParamsWithContext(ctx context.Context) *GetCurrentUserPermissionsParams
NewGetCurrentUserPermissionsParamsWithContext creates a new GetCurrentUserPermissionsParams object with 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 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 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) SetDefaults ¶
func (o *GetCurrentUserPermissionsParams) SetDefaults()
SetDefaults hydrates default values in the get current user permissions params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetCurrentUserPermissionsParams) WithDefaults() *GetCurrentUserPermissionsParams
WithDefaults hydrates default values in the get current user permissions params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 200, with default header values.
successful operation
func NewGetCurrentUserSubjectOK ¶
func NewGetCurrentUserSubjectOK() *GetCurrentUserSubjectOK
NewGetCurrentUserSubjectOK creates a GetCurrentUserSubjectOK with default headers values
func (*GetCurrentUserSubjectOK) Code ¶
func (o *GetCurrentUserSubjectOK) Code() int
Code gets the status code for the get current user subject o k response
func (*GetCurrentUserSubjectOK) Error ¶
func (o *GetCurrentUserSubjectOK) Error() string
func (*GetCurrentUserSubjectOK) GetPayload ¶
func (o *GetCurrentUserSubjectOK) GetPayload() *kbmodel.Subject
func (*GetCurrentUserSubjectOK) IsClientError ¶
func (o *GetCurrentUserSubjectOK) IsClientError() bool
IsClientError returns true when this get current user subject o k response has a 4xx status code
func (*GetCurrentUserSubjectOK) IsCode ¶
func (o *GetCurrentUserSubjectOK) IsCode(code int) bool
IsCode returns true when this get current user subject o k response a status code equal to that given
func (*GetCurrentUserSubjectOK) IsRedirect ¶
func (o *GetCurrentUserSubjectOK) IsRedirect() bool
IsRedirect returns true when this get current user subject o k response has a 3xx status code
func (*GetCurrentUserSubjectOK) IsServerError ¶
func (o *GetCurrentUserSubjectOK) IsServerError() bool
IsServerError returns true when this get current user subject o k response has a 5xx status code
func (*GetCurrentUserSubjectOK) IsSuccess ¶
func (o *GetCurrentUserSubjectOK) IsSuccess() bool
IsSuccess returns true when this get current user subject o k response has a 2xx status code
func (*GetCurrentUserSubjectOK) String ¶
func (o *GetCurrentUserSubjectOK) String() string
type GetCurrentUserSubjectParams ¶
type GetCurrentUserSubjectParams struct { WithProfilingInfo *string // If set, return KB hprof headers 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCurrentUserSubjectParamsWithContext ¶
func NewGetCurrentUserSubjectParamsWithContext(ctx context.Context) *GetCurrentUserSubjectParams
NewGetCurrentUserSubjectParamsWithContext creates a new GetCurrentUserSubjectParams object with 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 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 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) SetDefaults ¶
func (o *GetCurrentUserSubjectParams) SetDefaults()
SetDefaults hydrates default values in the get current user subject params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetCurrentUserSubjectParams) WithDefaults() *GetCurrentUserSubjectParams
WithDefaults hydrates default values in the get current user subject params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 200, with default header values.
successful operation
func NewGetRoleDefinitionOK ¶
func NewGetRoleDefinitionOK() *GetRoleDefinitionOK
NewGetRoleDefinitionOK creates a GetRoleDefinitionOK with default headers values
func (*GetRoleDefinitionOK) Code ¶
func (o *GetRoleDefinitionOK) Code() int
Code gets the status code for the get role definition o k response
func (*GetRoleDefinitionOK) Error ¶
func (o *GetRoleDefinitionOK) Error() string
func (*GetRoleDefinitionOK) GetPayload ¶
func (o *GetRoleDefinitionOK) GetPayload() *kbmodel.RoleDefinition
func (*GetRoleDefinitionOK) IsClientError ¶
func (o *GetRoleDefinitionOK) IsClientError() bool
IsClientError returns true when this get role definition o k response has a 4xx status code
func (*GetRoleDefinitionOK) IsCode ¶
func (o *GetRoleDefinitionOK) IsCode(code int) bool
IsCode returns true when this get role definition o k response a status code equal to that given
func (*GetRoleDefinitionOK) IsRedirect ¶
func (o *GetRoleDefinitionOK) IsRedirect() bool
IsRedirect returns true when this get role definition o k response has a 3xx status code
func (*GetRoleDefinitionOK) IsServerError ¶
func (o *GetRoleDefinitionOK) IsServerError() bool
IsServerError returns true when this get role definition o k response has a 5xx status code
func (*GetRoleDefinitionOK) IsSuccess ¶
func (o *GetRoleDefinitionOK) IsSuccess() bool
IsSuccess returns true when this get role definition o k response has a 2xx status code
func (*GetRoleDefinitionOK) String ¶
func (o *GetRoleDefinitionOK) String() string
type GetRoleDefinitionParams ¶
type GetRoleDefinitionParams struct { // Role. Role string WithProfilingInfo *string // If set, return KB hprof headers 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetRoleDefinitionParamsWithContext ¶
func NewGetRoleDefinitionParamsWithContext(ctx context.Context) *GetRoleDefinitionParams
NewGetRoleDefinitionParamsWithContext creates a new GetRoleDefinitionParams object with 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 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 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) SetDefaults ¶
func (o *GetRoleDefinitionParams) SetDefaults()
SetDefaults hydrates default values in the get role definition params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetRoleDefinitionParams) WithDefaults() *GetRoleDefinitionParams
WithDefaults hydrates default values in the get role definition params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 404, 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) Code ¶
func (o *GetUserRolesNotFound) Code() int
Code gets the status code for the get user roles not found response
func (*GetUserRolesNotFound) Error ¶
func (o *GetUserRolesNotFound) Error() string
func (*GetUserRolesNotFound) IsClientError ¶
func (o *GetUserRolesNotFound) IsClientError() bool
IsClientError returns true when this get user roles not found response has a 4xx status code
func (*GetUserRolesNotFound) IsCode ¶
func (o *GetUserRolesNotFound) IsCode(code int) bool
IsCode returns true when this get user roles not found response a status code equal to that given
func (*GetUserRolesNotFound) IsRedirect ¶
func (o *GetUserRolesNotFound) IsRedirect() bool
IsRedirect returns true when this get user roles not found response has a 3xx status code
func (*GetUserRolesNotFound) IsServerError ¶
func (o *GetUserRolesNotFound) IsServerError() bool
IsServerError returns true when this get user roles not found response has a 5xx status code
func (*GetUserRolesNotFound) IsSuccess ¶
func (o *GetUserRolesNotFound) IsSuccess() bool
IsSuccess returns true when this get user roles not found response has a 2xx status code
func (*GetUserRolesNotFound) String ¶
func (o *GetUserRolesNotFound) String() string
type GetUserRolesOK ¶
type GetUserRolesOK struct { Payload *kbmodel.UserRoles HttpResponse runtime.ClientResponse }
GetUserRolesOK describes a response with status code 200, with default header values.
successful operation
func NewGetUserRolesOK ¶
func NewGetUserRolesOK() *GetUserRolesOK
NewGetUserRolesOK creates a GetUserRolesOK with default headers values
func (*GetUserRolesOK) Code ¶
func (o *GetUserRolesOK) Code() int
Code gets the status code for the get user roles o k response
func (*GetUserRolesOK) Error ¶
func (o *GetUserRolesOK) Error() string
func (*GetUserRolesOK) GetPayload ¶
func (o *GetUserRolesOK) GetPayload() *kbmodel.UserRoles
func (*GetUserRolesOK) IsClientError ¶
func (o *GetUserRolesOK) IsClientError() bool
IsClientError returns true when this get user roles o k response has a 4xx status code
func (*GetUserRolesOK) IsCode ¶
func (o *GetUserRolesOK) IsCode(code int) bool
IsCode returns true when this get user roles o k response a status code equal to that given
func (*GetUserRolesOK) IsRedirect ¶
func (o *GetUserRolesOK) IsRedirect() bool
IsRedirect returns true when this get user roles o k response has a 3xx status code
func (*GetUserRolesOK) IsServerError ¶
func (o *GetUserRolesOK) IsServerError() bool
IsServerError returns true when this get user roles o k response has a 5xx status code
func (*GetUserRolesOK) IsSuccess ¶
func (o *GetUserRolesOK) IsSuccess() bool
IsSuccess returns true when this get user roles o k response has a 2xx status code
func (*GetUserRolesOK) String ¶
func (o *GetUserRolesOK) String() string
type GetUserRolesParams ¶
type GetUserRolesParams struct { // Username. Username string WithProfilingInfo *string // If set, return KB hprof headers 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetUserRolesParamsWithContext ¶
func NewGetUserRolesParamsWithContext(ctx context.Context) *GetUserRolesParams
NewGetUserRolesParamsWithContext creates a new GetUserRolesParams object with 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 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 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) SetDefaults ¶
func (o *GetUserRolesParams) SetDefaults()
SetDefaults hydrates default values in the get user roles params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetUserRolesParams) WithDefaults() *GetUserRolesParams
WithDefaults hydrates default values in the get user roles params (not the query body).
All values with no default are reset to their zero value.
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 InvalidateUserNoContent ¶
type InvalidateUserNoContent struct {
HttpResponse runtime.ClientResponse
}
InvalidateUserNoContent describes a response with status code 204, with default header values.
Successful operation
func NewInvalidateUserNoContent ¶
func NewInvalidateUserNoContent() *InvalidateUserNoContent
NewInvalidateUserNoContent creates a InvalidateUserNoContent with default headers values
func (*InvalidateUserNoContent) Code ¶
func (o *InvalidateUserNoContent) Code() int
Code gets the status code for the invalidate user no content response
func (*InvalidateUserNoContent) Error ¶
func (o *InvalidateUserNoContent) Error() string
func (*InvalidateUserNoContent) IsClientError ¶
func (o *InvalidateUserNoContent) IsClientError() bool
IsClientError returns true when this invalidate user no content response has a 4xx status code
func (*InvalidateUserNoContent) IsCode ¶
func (o *InvalidateUserNoContent) IsCode(code int) bool
IsCode returns true when this invalidate user no content response a status code equal to that given
func (*InvalidateUserNoContent) IsRedirect ¶
func (o *InvalidateUserNoContent) IsRedirect() bool
IsRedirect returns true when this invalidate user no content response has a 3xx status code
func (*InvalidateUserNoContent) IsServerError ¶
func (o *InvalidateUserNoContent) IsServerError() bool
IsServerError returns true when this invalidate user no content response has a 5xx status code
func (*InvalidateUserNoContent) IsSuccess ¶
func (o *InvalidateUserNoContent) IsSuccess() bool
IsSuccess returns true when this invalidate user no content response has a 2xx status code
func (*InvalidateUserNoContent) String ¶
func (o *InvalidateUserNoContent) String() string
type InvalidateUserParams ¶
type InvalidateUserParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Username. Username string WithProfilingInfo *string // If set, return KB hprof headers 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInvalidateUserParamsWithContext ¶
func NewInvalidateUserParamsWithContext(ctx context.Context) *InvalidateUserParams
NewInvalidateUserParamsWithContext creates a new InvalidateUserParams object with 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 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 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) SetDefaults ¶
func (o *InvalidateUserParams) SetDefaults()
SetDefaults hydrates default values in the invalidate user params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *InvalidateUserParams) WithDefaults() *InvalidateUserParams
WithDefaults hydrates default values in the invalidate user params (not the query body).
All values with no default are reset to their zero value.
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 WithWithProfilingInfo. If not set explicitly in params, this will be used. KillbillWithProfilingInfo() *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 describes a response with status code 204, with default header values.
Successful operation
func NewUpdateRoleDefinitionNoContent ¶
func NewUpdateRoleDefinitionNoContent() *UpdateRoleDefinitionNoContent
NewUpdateRoleDefinitionNoContent creates a UpdateRoleDefinitionNoContent with default headers values
func (*UpdateRoleDefinitionNoContent) Code ¶
func (o *UpdateRoleDefinitionNoContent) Code() int
Code gets the status code for the update role definition no content response
func (*UpdateRoleDefinitionNoContent) Error ¶
func (o *UpdateRoleDefinitionNoContent) Error() string
func (*UpdateRoleDefinitionNoContent) IsClientError ¶
func (o *UpdateRoleDefinitionNoContent) IsClientError() bool
IsClientError returns true when this update role definition no content response has a 4xx status code
func (*UpdateRoleDefinitionNoContent) IsCode ¶
func (o *UpdateRoleDefinitionNoContent) IsCode(code int) bool
IsCode returns true when this update role definition no content response a status code equal to that given
func (*UpdateRoleDefinitionNoContent) IsRedirect ¶
func (o *UpdateRoleDefinitionNoContent) IsRedirect() bool
IsRedirect returns true when this update role definition no content response has a 3xx status code
func (*UpdateRoleDefinitionNoContent) IsServerError ¶
func (o *UpdateRoleDefinitionNoContent) IsServerError() bool
IsServerError returns true when this update role definition no content response has a 5xx status code
func (*UpdateRoleDefinitionNoContent) IsSuccess ¶
func (o *UpdateRoleDefinitionNoContent) IsSuccess() bool
IsSuccess returns true when this update role definition no content response has a 2xx status code
func (*UpdateRoleDefinitionNoContent) String ¶
func (o *UpdateRoleDefinitionNoContent) String() string
type UpdateRoleDefinitionParams ¶
type UpdateRoleDefinitionParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.RoleDefinition WithProfilingInfo *string // If set, return KB hprof headers 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateRoleDefinitionParamsWithContext ¶
func NewUpdateRoleDefinitionParamsWithContext(ctx context.Context) *UpdateRoleDefinitionParams
NewUpdateRoleDefinitionParamsWithContext creates a new UpdateRoleDefinitionParams object with 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 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 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) SetDefaults ¶
func (o *UpdateRoleDefinitionParams) SetDefaults()
SetDefaults hydrates default values in the update role definition params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *UpdateRoleDefinitionParams) WithDefaults() *UpdateRoleDefinitionParams
WithDefaults hydrates default values in the update role definition params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 204, with default header values.
Successful operation
func NewUpdateUserPasswordNoContent ¶
func NewUpdateUserPasswordNoContent() *UpdateUserPasswordNoContent
NewUpdateUserPasswordNoContent creates a UpdateUserPasswordNoContent with default headers values
func (*UpdateUserPasswordNoContent) Code ¶
func (o *UpdateUserPasswordNoContent) Code() int
Code gets the status code for the update user password no content response
func (*UpdateUserPasswordNoContent) Error ¶
func (o *UpdateUserPasswordNoContent) Error() string
func (*UpdateUserPasswordNoContent) IsClientError ¶
func (o *UpdateUserPasswordNoContent) IsClientError() bool
IsClientError returns true when this update user password no content response has a 4xx status code
func (*UpdateUserPasswordNoContent) IsCode ¶
func (o *UpdateUserPasswordNoContent) IsCode(code int) bool
IsCode returns true when this update user password no content response a status code equal to that given
func (*UpdateUserPasswordNoContent) IsRedirect ¶
func (o *UpdateUserPasswordNoContent) IsRedirect() bool
IsRedirect returns true when this update user password no content response has a 3xx status code
func (*UpdateUserPasswordNoContent) IsServerError ¶
func (o *UpdateUserPasswordNoContent) IsServerError() bool
IsServerError returns true when this update user password no content response has a 5xx status code
func (*UpdateUserPasswordNoContent) IsSuccess ¶
func (o *UpdateUserPasswordNoContent) IsSuccess() bool
IsSuccess returns true when this update user password no content response has a 2xx status code
func (*UpdateUserPasswordNoContent) String ¶
func (o *UpdateUserPasswordNoContent) String() string
type UpdateUserPasswordParams ¶
type UpdateUserPasswordParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.UserRoles // Username. Username string WithProfilingInfo *string // If set, return KB hprof headers 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateUserPasswordParamsWithContext ¶
func NewUpdateUserPasswordParamsWithContext(ctx context.Context) *UpdateUserPasswordParams
NewUpdateUserPasswordParamsWithContext creates a new UpdateUserPasswordParams object with 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 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 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) SetDefaults ¶
func (o *UpdateUserPasswordParams) SetDefaults()
SetDefaults hydrates default values in the update user password params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *UpdateUserPasswordParams) WithDefaults() *UpdateUserPasswordParams
WithDefaults hydrates default values in the update user password params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 204, with default header values.
Successful operation
func NewUpdateUserRolesNoContent ¶
func NewUpdateUserRolesNoContent() *UpdateUserRolesNoContent
NewUpdateUserRolesNoContent creates a UpdateUserRolesNoContent with default headers values
func (*UpdateUserRolesNoContent) Code ¶
func (o *UpdateUserRolesNoContent) Code() int
Code gets the status code for the update user roles no content response
func (*UpdateUserRolesNoContent) Error ¶
func (o *UpdateUserRolesNoContent) Error() string
func (*UpdateUserRolesNoContent) IsClientError ¶
func (o *UpdateUserRolesNoContent) IsClientError() bool
IsClientError returns true when this update user roles no content response has a 4xx status code
func (*UpdateUserRolesNoContent) IsCode ¶
func (o *UpdateUserRolesNoContent) IsCode(code int) bool
IsCode returns true when this update user roles no content response a status code equal to that given
func (*UpdateUserRolesNoContent) IsRedirect ¶
func (o *UpdateUserRolesNoContent) IsRedirect() bool
IsRedirect returns true when this update user roles no content response has a 3xx status code
func (*UpdateUserRolesNoContent) IsServerError ¶
func (o *UpdateUserRolesNoContent) IsServerError() bool
IsServerError returns true when this update user roles no content response has a 5xx status code
func (*UpdateUserRolesNoContent) IsSuccess ¶
func (o *UpdateUserRolesNoContent) IsSuccess() bool
IsSuccess returns true when this update user roles no content response has a 2xx status code
func (*UpdateUserRolesNoContent) String ¶
func (o *UpdateUserRolesNoContent) String() string
type UpdateUserRolesParams ¶
type UpdateUserRolesParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.UserRoles // Username. Username string WithProfilingInfo *string // If set, return KB hprof headers 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateUserRolesParamsWithContext ¶
func NewUpdateUserRolesParamsWithContext(ctx context.Context) *UpdateUserRolesParams
NewUpdateUserRolesParamsWithContext creates a new UpdateUserRolesParams object with 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 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 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) SetDefaults ¶
func (o *UpdateUserRolesParams) SetDefaults()
SetDefaults hydrates default values in the update user roles params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *UpdateUserRolesParams) WithDefaults() *UpdateUserRolesParams
WithDefaults hydrates default values in the update user roles params (not the query body).
All values with no default are reset to their zero value.
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