Documentation
¶
Index ¶
- type AddPermissionsBadRequest
- func (o *AddPermissionsBadRequest) Code() int
- func (o *AddPermissionsBadRequest) Error() string
- func (o *AddPermissionsBadRequest) GetPayload() *models.ErrorResponse
- func (o *AddPermissionsBadRequest) IsClientError() bool
- func (o *AddPermissionsBadRequest) IsCode(code int) bool
- func (o *AddPermissionsBadRequest) IsRedirect() bool
- func (o *AddPermissionsBadRequest) IsServerError() bool
- func (o *AddPermissionsBadRequest) IsSuccess() bool
- func (o *AddPermissionsBadRequest) String() string
- type AddPermissionsBody
- type AddPermissionsForbidden
- func (o *AddPermissionsForbidden) Code() int
- func (o *AddPermissionsForbidden) Error() string
- func (o *AddPermissionsForbidden) GetPayload() *models.ErrorResponse
- func (o *AddPermissionsForbidden) IsClientError() bool
- func (o *AddPermissionsForbidden) IsCode(code int) bool
- func (o *AddPermissionsForbidden) IsRedirect() bool
- func (o *AddPermissionsForbidden) IsServerError() bool
- func (o *AddPermissionsForbidden) IsSuccess() bool
- func (o *AddPermissionsForbidden) String() string
- type AddPermissionsInternalServerError
- func (o *AddPermissionsInternalServerError) Code() int
- func (o *AddPermissionsInternalServerError) Error() string
- func (o *AddPermissionsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *AddPermissionsInternalServerError) IsClientError() bool
- func (o *AddPermissionsInternalServerError) IsCode(code int) bool
- func (o *AddPermissionsInternalServerError) IsRedirect() bool
- func (o *AddPermissionsInternalServerError) IsServerError() bool
- func (o *AddPermissionsInternalServerError) IsSuccess() bool
- func (o *AddPermissionsInternalServerError) String() string
- type AddPermissionsNotFound
- func (o *AddPermissionsNotFound) Code() int
- func (o *AddPermissionsNotFound) Error() string
- func (o *AddPermissionsNotFound) IsClientError() bool
- func (o *AddPermissionsNotFound) IsCode(code int) bool
- func (o *AddPermissionsNotFound) IsRedirect() bool
- func (o *AddPermissionsNotFound) IsServerError() bool
- func (o *AddPermissionsNotFound) IsSuccess() bool
- func (o *AddPermissionsNotFound) String() string
- type AddPermissionsOK
- func (o *AddPermissionsOK) Code() int
- func (o *AddPermissionsOK) Error() string
- func (o *AddPermissionsOK) IsClientError() bool
- func (o *AddPermissionsOK) IsCode(code int) bool
- func (o *AddPermissionsOK) IsRedirect() bool
- func (o *AddPermissionsOK) IsServerError() bool
- func (o *AddPermissionsOK) IsSuccess() bool
- func (o *AddPermissionsOK) String() string
- type AddPermissionsParams
- func NewAddPermissionsParams() *AddPermissionsParams
- func NewAddPermissionsParamsWithContext(ctx context.Context) *AddPermissionsParams
- func NewAddPermissionsParamsWithHTTPClient(client *http.Client) *AddPermissionsParams
- func NewAddPermissionsParamsWithTimeout(timeout time.Duration) *AddPermissionsParams
- func (o *AddPermissionsParams) SetBody(body AddPermissionsBody)
- func (o *AddPermissionsParams) SetContext(ctx context.Context)
- func (o *AddPermissionsParams) SetDefaults()
- func (o *AddPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *AddPermissionsParams) SetID(id string)
- func (o *AddPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *AddPermissionsParams) WithBody(body AddPermissionsBody) *AddPermissionsParams
- func (o *AddPermissionsParams) WithContext(ctx context.Context) *AddPermissionsParams
- func (o *AddPermissionsParams) WithDefaults() *AddPermissionsParams
- func (o *AddPermissionsParams) WithHTTPClient(client *http.Client) *AddPermissionsParams
- func (o *AddPermissionsParams) WithID(id string) *AddPermissionsParams
- func (o *AddPermissionsParams) WithTimeout(timeout time.Duration) *AddPermissionsParams
- func (o *AddPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddPermissionsReader
- type AddPermissionsUnauthorized
- func (o *AddPermissionsUnauthorized) Code() int
- func (o *AddPermissionsUnauthorized) Error() string
- func (o *AddPermissionsUnauthorized) IsClientError() bool
- func (o *AddPermissionsUnauthorized) IsCode(code int) bool
- func (o *AddPermissionsUnauthorized) IsRedirect() bool
- func (o *AddPermissionsUnauthorized) IsServerError() bool
- func (o *AddPermissionsUnauthorized) IsSuccess() bool
- func (o *AddPermissionsUnauthorized) String() string
- type AddPermissionsUnprocessableEntity
- func (o *AddPermissionsUnprocessableEntity) Code() int
- func (o *AddPermissionsUnprocessableEntity) Error() string
- func (o *AddPermissionsUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *AddPermissionsUnprocessableEntity) IsClientError() bool
- func (o *AddPermissionsUnprocessableEntity) IsCode(code int) bool
- func (o *AddPermissionsUnprocessableEntity) IsRedirect() bool
- func (o *AddPermissionsUnprocessableEntity) IsServerError() bool
- func (o *AddPermissionsUnprocessableEntity) IsSuccess() bool
- func (o *AddPermissionsUnprocessableEntity) String() string
- type AssignRoleToGroupBadRequest
- func (o *AssignRoleToGroupBadRequest) Code() int
- func (o *AssignRoleToGroupBadRequest) Error() string
- func (o *AssignRoleToGroupBadRequest) GetPayload() *models.ErrorResponse
- func (o *AssignRoleToGroupBadRequest) IsClientError() bool
- func (o *AssignRoleToGroupBadRequest) IsCode(code int) bool
- func (o *AssignRoleToGroupBadRequest) IsRedirect() bool
- func (o *AssignRoleToGroupBadRequest) IsServerError() bool
- func (o *AssignRoleToGroupBadRequest) IsSuccess() bool
- func (o *AssignRoleToGroupBadRequest) String() string
- type AssignRoleToGroupBody
- type AssignRoleToGroupForbidden
- func (o *AssignRoleToGroupForbidden) Code() int
- func (o *AssignRoleToGroupForbidden) Error() string
- func (o *AssignRoleToGroupForbidden) GetPayload() *models.ErrorResponse
- func (o *AssignRoleToGroupForbidden) IsClientError() bool
- func (o *AssignRoleToGroupForbidden) IsCode(code int) bool
- func (o *AssignRoleToGroupForbidden) IsRedirect() bool
- func (o *AssignRoleToGroupForbidden) IsServerError() bool
- func (o *AssignRoleToGroupForbidden) IsSuccess() bool
- func (o *AssignRoleToGroupForbidden) String() string
- type AssignRoleToGroupInternalServerError
- func (o *AssignRoleToGroupInternalServerError) Code() int
- func (o *AssignRoleToGroupInternalServerError) Error() string
- func (o *AssignRoleToGroupInternalServerError) GetPayload() *models.ErrorResponse
- func (o *AssignRoleToGroupInternalServerError) IsClientError() bool
- func (o *AssignRoleToGroupInternalServerError) IsCode(code int) bool
- func (o *AssignRoleToGroupInternalServerError) IsRedirect() bool
- func (o *AssignRoleToGroupInternalServerError) IsServerError() bool
- func (o *AssignRoleToGroupInternalServerError) IsSuccess() bool
- func (o *AssignRoleToGroupInternalServerError) String() string
- type AssignRoleToGroupNotFound
- func (o *AssignRoleToGroupNotFound) Code() int
- func (o *AssignRoleToGroupNotFound) Error() string
- func (o *AssignRoleToGroupNotFound) IsClientError() bool
- func (o *AssignRoleToGroupNotFound) IsCode(code int) bool
- func (o *AssignRoleToGroupNotFound) IsRedirect() bool
- func (o *AssignRoleToGroupNotFound) IsServerError() bool
- func (o *AssignRoleToGroupNotFound) IsSuccess() bool
- func (o *AssignRoleToGroupNotFound) String() string
- type AssignRoleToGroupOK
- func (o *AssignRoleToGroupOK) Code() int
- func (o *AssignRoleToGroupOK) Error() string
- func (o *AssignRoleToGroupOK) IsClientError() bool
- func (o *AssignRoleToGroupOK) IsCode(code int) bool
- func (o *AssignRoleToGroupOK) IsRedirect() bool
- func (o *AssignRoleToGroupOK) IsServerError() bool
- func (o *AssignRoleToGroupOK) IsSuccess() bool
- func (o *AssignRoleToGroupOK) String() string
- type AssignRoleToGroupParams
- func NewAssignRoleToGroupParams() *AssignRoleToGroupParams
- func NewAssignRoleToGroupParamsWithContext(ctx context.Context) *AssignRoleToGroupParams
- func NewAssignRoleToGroupParamsWithHTTPClient(client *http.Client) *AssignRoleToGroupParams
- func NewAssignRoleToGroupParamsWithTimeout(timeout time.Duration) *AssignRoleToGroupParams
- func (o *AssignRoleToGroupParams) SetBody(body AssignRoleToGroupBody)
- func (o *AssignRoleToGroupParams) SetContext(ctx context.Context)
- func (o *AssignRoleToGroupParams) SetDefaults()
- func (o *AssignRoleToGroupParams) SetHTTPClient(client *http.Client)
- func (o *AssignRoleToGroupParams) SetID(id string)
- func (o *AssignRoleToGroupParams) SetTimeout(timeout time.Duration)
- func (o *AssignRoleToGroupParams) WithBody(body AssignRoleToGroupBody) *AssignRoleToGroupParams
- func (o *AssignRoleToGroupParams) WithContext(ctx context.Context) *AssignRoleToGroupParams
- func (o *AssignRoleToGroupParams) WithDefaults() *AssignRoleToGroupParams
- func (o *AssignRoleToGroupParams) WithHTTPClient(client *http.Client) *AssignRoleToGroupParams
- func (o *AssignRoleToGroupParams) WithID(id string) *AssignRoleToGroupParams
- func (o *AssignRoleToGroupParams) WithTimeout(timeout time.Duration) *AssignRoleToGroupParams
- func (o *AssignRoleToGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssignRoleToGroupReader
- type AssignRoleToGroupUnauthorized
- func (o *AssignRoleToGroupUnauthorized) Code() int
- func (o *AssignRoleToGroupUnauthorized) Error() string
- func (o *AssignRoleToGroupUnauthorized) IsClientError() bool
- func (o *AssignRoleToGroupUnauthorized) IsCode(code int) bool
- func (o *AssignRoleToGroupUnauthorized) IsRedirect() bool
- func (o *AssignRoleToGroupUnauthorized) IsServerError() bool
- func (o *AssignRoleToGroupUnauthorized) IsSuccess() bool
- func (o *AssignRoleToGroupUnauthorized) String() string
- type AssignRoleToUserBadRequest
- func (o *AssignRoleToUserBadRequest) Code() int
- func (o *AssignRoleToUserBadRequest) Error() string
- func (o *AssignRoleToUserBadRequest) GetPayload() *models.ErrorResponse
- func (o *AssignRoleToUserBadRequest) IsClientError() bool
- func (o *AssignRoleToUserBadRequest) IsCode(code int) bool
- func (o *AssignRoleToUserBadRequest) IsRedirect() bool
- func (o *AssignRoleToUserBadRequest) IsServerError() bool
- func (o *AssignRoleToUserBadRequest) IsSuccess() bool
- func (o *AssignRoleToUserBadRequest) String() string
- type AssignRoleToUserBody
- type AssignRoleToUserForbidden
- func (o *AssignRoleToUserForbidden) Code() int
- func (o *AssignRoleToUserForbidden) Error() string
- func (o *AssignRoleToUserForbidden) GetPayload() *models.ErrorResponse
- func (o *AssignRoleToUserForbidden) IsClientError() bool
- func (o *AssignRoleToUserForbidden) IsCode(code int) bool
- func (o *AssignRoleToUserForbidden) IsRedirect() bool
- func (o *AssignRoleToUserForbidden) IsServerError() bool
- func (o *AssignRoleToUserForbidden) IsSuccess() bool
- func (o *AssignRoleToUserForbidden) String() string
- type AssignRoleToUserInternalServerError
- func (o *AssignRoleToUserInternalServerError) Code() int
- func (o *AssignRoleToUserInternalServerError) Error() string
- func (o *AssignRoleToUserInternalServerError) GetPayload() *models.ErrorResponse
- func (o *AssignRoleToUserInternalServerError) IsClientError() bool
- func (o *AssignRoleToUserInternalServerError) IsCode(code int) bool
- func (o *AssignRoleToUserInternalServerError) IsRedirect() bool
- func (o *AssignRoleToUserInternalServerError) IsServerError() bool
- func (o *AssignRoleToUserInternalServerError) IsSuccess() bool
- func (o *AssignRoleToUserInternalServerError) String() string
- type AssignRoleToUserNotFound
- func (o *AssignRoleToUserNotFound) Code() int
- func (o *AssignRoleToUserNotFound) Error() string
- func (o *AssignRoleToUserNotFound) GetPayload() *models.ErrorResponse
- func (o *AssignRoleToUserNotFound) IsClientError() bool
- func (o *AssignRoleToUserNotFound) IsCode(code int) bool
- func (o *AssignRoleToUserNotFound) IsRedirect() bool
- func (o *AssignRoleToUserNotFound) IsServerError() bool
- func (o *AssignRoleToUserNotFound) IsSuccess() bool
- func (o *AssignRoleToUserNotFound) String() string
- type AssignRoleToUserOK
- func (o *AssignRoleToUserOK) Code() int
- func (o *AssignRoleToUserOK) Error() string
- func (o *AssignRoleToUserOK) IsClientError() bool
- func (o *AssignRoleToUserOK) IsCode(code int) bool
- func (o *AssignRoleToUserOK) IsRedirect() bool
- func (o *AssignRoleToUserOK) IsServerError() bool
- func (o *AssignRoleToUserOK) IsSuccess() bool
- func (o *AssignRoleToUserOK) String() string
- type AssignRoleToUserParams
- func NewAssignRoleToUserParams() *AssignRoleToUserParams
- func NewAssignRoleToUserParamsWithContext(ctx context.Context) *AssignRoleToUserParams
- func NewAssignRoleToUserParamsWithHTTPClient(client *http.Client) *AssignRoleToUserParams
- func NewAssignRoleToUserParamsWithTimeout(timeout time.Duration) *AssignRoleToUserParams
- func (o *AssignRoleToUserParams) SetBody(body AssignRoleToUserBody)
- func (o *AssignRoleToUserParams) SetContext(ctx context.Context)
- func (o *AssignRoleToUserParams) SetDefaults()
- func (o *AssignRoleToUserParams) SetHTTPClient(client *http.Client)
- func (o *AssignRoleToUserParams) SetID(id string)
- func (o *AssignRoleToUserParams) SetTimeout(timeout time.Duration)
- func (o *AssignRoleToUserParams) WithBody(body AssignRoleToUserBody) *AssignRoleToUserParams
- func (o *AssignRoleToUserParams) WithContext(ctx context.Context) *AssignRoleToUserParams
- func (o *AssignRoleToUserParams) WithDefaults() *AssignRoleToUserParams
- func (o *AssignRoleToUserParams) WithHTTPClient(client *http.Client) *AssignRoleToUserParams
- func (o *AssignRoleToUserParams) WithID(id string) *AssignRoleToUserParams
- func (o *AssignRoleToUserParams) WithTimeout(timeout time.Duration) *AssignRoleToUserParams
- func (o *AssignRoleToUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssignRoleToUserReader
- type AssignRoleToUserUnauthorized
- func (o *AssignRoleToUserUnauthorized) Code() int
- func (o *AssignRoleToUserUnauthorized) Error() string
- func (o *AssignRoleToUserUnauthorized) IsClientError() bool
- func (o *AssignRoleToUserUnauthorized) IsCode(code int) bool
- func (o *AssignRoleToUserUnauthorized) IsRedirect() bool
- func (o *AssignRoleToUserUnauthorized) IsServerError() bool
- func (o *AssignRoleToUserUnauthorized) IsSuccess() bool
- func (o *AssignRoleToUserUnauthorized) String() string
- type Client
- func (a *Client) AddPermissions(params *AddPermissionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddPermissionsOK, error)
- func (a *Client) AssignRoleToGroup(params *AssignRoleToGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AssignRoleToGroupOK, error)
- func (a *Client) AssignRoleToUser(params *AssignRoleToUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AssignRoleToUserOK, error)
- func (a *Client) CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRoleCreated, error)
- func (a *Client) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRoleNoContent, error)
- func (a *Client) GetRole(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRoleOK, error)
- func (a *Client) GetRoles(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRolesOK, error)
- func (a *Client) GetRolesForUser(params *GetRolesForUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRolesForUserOK, error)
- func (a *Client) GetRolesForUserDeprecated(params *GetRolesForUserDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRolesForUserDeprecatedOK, error)
- func (a *Client) GetUsersForRole(params *GetUsersForRoleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUsersForRoleOK, error)
- func (a *Client) GetUsersForRoleDeprecated(params *GetUsersForRoleDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUsersForRoleDeprecatedOK, error)
- func (a *Client) HasPermission(params *HasPermissionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*HasPermissionOK, error)
- func (a *Client) RemovePermissions(params *RemovePermissionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemovePermissionsOK, error)
- func (a *Client) RevokeRoleFromGroup(params *RevokeRoleFromGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RevokeRoleFromGroupOK, error)
- func (a *Client) RevokeRoleFromUser(params *RevokeRoleFromUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RevokeRoleFromUserOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateRoleBadRequest
- func (o *CreateRoleBadRequest) Code() int
- func (o *CreateRoleBadRequest) Error() string
- func (o *CreateRoleBadRequest) GetPayload() *models.ErrorResponse
- func (o *CreateRoleBadRequest) IsClientError() bool
- func (o *CreateRoleBadRequest) IsCode(code int) bool
- func (o *CreateRoleBadRequest) IsRedirect() bool
- func (o *CreateRoleBadRequest) IsServerError() bool
- func (o *CreateRoleBadRequest) IsSuccess() bool
- func (o *CreateRoleBadRequest) String() string
- type CreateRoleConflict
- func (o *CreateRoleConflict) Code() int
- func (o *CreateRoleConflict) Error() string
- func (o *CreateRoleConflict) GetPayload() *models.ErrorResponse
- func (o *CreateRoleConflict) IsClientError() bool
- func (o *CreateRoleConflict) IsCode(code int) bool
- func (o *CreateRoleConflict) IsRedirect() bool
- func (o *CreateRoleConflict) IsServerError() bool
- func (o *CreateRoleConflict) IsSuccess() bool
- func (o *CreateRoleConflict) String() string
- type CreateRoleCreated
- func (o *CreateRoleCreated) Code() int
- func (o *CreateRoleCreated) Error() string
- func (o *CreateRoleCreated) IsClientError() bool
- func (o *CreateRoleCreated) IsCode(code int) bool
- func (o *CreateRoleCreated) IsRedirect() bool
- func (o *CreateRoleCreated) IsServerError() bool
- func (o *CreateRoleCreated) IsSuccess() bool
- func (o *CreateRoleCreated) String() string
- type CreateRoleForbidden
- func (o *CreateRoleForbidden) Code() int
- func (o *CreateRoleForbidden) Error() string
- func (o *CreateRoleForbidden) GetPayload() *models.ErrorResponse
- func (o *CreateRoleForbidden) IsClientError() bool
- func (o *CreateRoleForbidden) IsCode(code int) bool
- func (o *CreateRoleForbidden) IsRedirect() bool
- func (o *CreateRoleForbidden) IsServerError() bool
- func (o *CreateRoleForbidden) IsSuccess() bool
- func (o *CreateRoleForbidden) String() string
- type CreateRoleInternalServerError
- func (o *CreateRoleInternalServerError) Code() int
- func (o *CreateRoleInternalServerError) Error() string
- func (o *CreateRoleInternalServerError) GetPayload() *models.ErrorResponse
- func (o *CreateRoleInternalServerError) IsClientError() bool
- func (o *CreateRoleInternalServerError) IsCode(code int) bool
- func (o *CreateRoleInternalServerError) IsRedirect() bool
- func (o *CreateRoleInternalServerError) IsServerError() bool
- func (o *CreateRoleInternalServerError) IsSuccess() bool
- func (o *CreateRoleInternalServerError) String() string
- type CreateRoleParams
- func (o *CreateRoleParams) SetBody(body *models.Role)
- func (o *CreateRoleParams) SetContext(ctx context.Context)
- func (o *CreateRoleParams) SetDefaults()
- func (o *CreateRoleParams) SetHTTPClient(client *http.Client)
- func (o *CreateRoleParams) SetTimeout(timeout time.Duration)
- func (o *CreateRoleParams) WithBody(body *models.Role) *CreateRoleParams
- func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams
- func (o *CreateRoleParams) WithDefaults() *CreateRoleParams
- func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams
- func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams
- func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRoleReader
- type CreateRoleUnauthorized
- func (o *CreateRoleUnauthorized) Code() int
- func (o *CreateRoleUnauthorized) Error() string
- func (o *CreateRoleUnauthorized) IsClientError() bool
- func (o *CreateRoleUnauthorized) IsCode(code int) bool
- func (o *CreateRoleUnauthorized) IsRedirect() bool
- func (o *CreateRoleUnauthorized) IsServerError() bool
- func (o *CreateRoleUnauthorized) IsSuccess() bool
- func (o *CreateRoleUnauthorized) String() string
- type CreateRoleUnprocessableEntity
- func (o *CreateRoleUnprocessableEntity) Code() int
- func (o *CreateRoleUnprocessableEntity) Error() string
- func (o *CreateRoleUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *CreateRoleUnprocessableEntity) IsClientError() bool
- func (o *CreateRoleUnprocessableEntity) IsCode(code int) bool
- func (o *CreateRoleUnprocessableEntity) IsRedirect() bool
- func (o *CreateRoleUnprocessableEntity) IsServerError() bool
- func (o *CreateRoleUnprocessableEntity) IsSuccess() bool
- func (o *CreateRoleUnprocessableEntity) String() string
- type DeleteRoleBadRequest
- func (o *DeleteRoleBadRequest) Code() int
- func (o *DeleteRoleBadRequest) Error() string
- func (o *DeleteRoleBadRequest) GetPayload() *models.ErrorResponse
- func (o *DeleteRoleBadRequest) IsClientError() bool
- func (o *DeleteRoleBadRequest) IsCode(code int) bool
- func (o *DeleteRoleBadRequest) IsRedirect() bool
- func (o *DeleteRoleBadRequest) IsServerError() bool
- func (o *DeleteRoleBadRequest) IsSuccess() bool
- func (o *DeleteRoleBadRequest) String() string
- type DeleteRoleForbidden
- func (o *DeleteRoleForbidden) Code() int
- func (o *DeleteRoleForbidden) Error() string
- func (o *DeleteRoleForbidden) GetPayload() *models.ErrorResponse
- func (o *DeleteRoleForbidden) IsClientError() bool
- func (o *DeleteRoleForbidden) IsCode(code int) bool
- func (o *DeleteRoleForbidden) IsRedirect() bool
- func (o *DeleteRoleForbidden) IsServerError() bool
- func (o *DeleteRoleForbidden) IsSuccess() bool
- func (o *DeleteRoleForbidden) String() string
- type DeleteRoleInternalServerError
- func (o *DeleteRoleInternalServerError) Code() int
- func (o *DeleteRoleInternalServerError) Error() string
- func (o *DeleteRoleInternalServerError) GetPayload() *models.ErrorResponse
- func (o *DeleteRoleInternalServerError) IsClientError() bool
- func (o *DeleteRoleInternalServerError) IsCode(code int) bool
- func (o *DeleteRoleInternalServerError) IsRedirect() bool
- func (o *DeleteRoleInternalServerError) IsServerError() bool
- func (o *DeleteRoleInternalServerError) IsSuccess() bool
- func (o *DeleteRoleInternalServerError) String() string
- type DeleteRoleNoContent
- func (o *DeleteRoleNoContent) Code() int
- func (o *DeleteRoleNoContent) Error() string
- func (o *DeleteRoleNoContent) IsClientError() bool
- func (o *DeleteRoleNoContent) IsCode(code int) bool
- func (o *DeleteRoleNoContent) IsRedirect() bool
- func (o *DeleteRoleNoContent) IsServerError() bool
- func (o *DeleteRoleNoContent) IsSuccess() bool
- func (o *DeleteRoleNoContent) String() string
- type DeleteRoleParams
- func (o *DeleteRoleParams) SetContext(ctx context.Context)
- func (o *DeleteRoleParams) SetDefaults()
- func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRoleParams) SetID(id string)
- func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
- func (o *DeleteRoleParams) WithDefaults() *DeleteRoleParams
- func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
- func (o *DeleteRoleParams) WithID(id string) *DeleteRoleParams
- func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
- func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRoleReader
- type DeleteRoleUnauthorized
- func (o *DeleteRoleUnauthorized) Code() int
- func (o *DeleteRoleUnauthorized) Error() string
- func (o *DeleteRoleUnauthorized) IsClientError() bool
- func (o *DeleteRoleUnauthorized) IsCode(code int) bool
- func (o *DeleteRoleUnauthorized) IsRedirect() bool
- func (o *DeleteRoleUnauthorized) IsServerError() bool
- func (o *DeleteRoleUnauthorized) IsSuccess() bool
- func (o *DeleteRoleUnauthorized) String() string
- type GetRoleBadRequest
- func (o *GetRoleBadRequest) Code() int
- func (o *GetRoleBadRequest) Error() string
- func (o *GetRoleBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetRoleBadRequest) IsClientError() bool
- func (o *GetRoleBadRequest) IsCode(code int) bool
- func (o *GetRoleBadRequest) IsRedirect() bool
- func (o *GetRoleBadRequest) IsServerError() bool
- func (o *GetRoleBadRequest) IsSuccess() bool
- func (o *GetRoleBadRequest) String() string
- type GetRoleForbidden
- func (o *GetRoleForbidden) Code() int
- func (o *GetRoleForbidden) Error() string
- func (o *GetRoleForbidden) GetPayload() *models.ErrorResponse
- func (o *GetRoleForbidden) IsClientError() bool
- func (o *GetRoleForbidden) IsCode(code int) bool
- func (o *GetRoleForbidden) IsRedirect() bool
- func (o *GetRoleForbidden) IsServerError() bool
- func (o *GetRoleForbidden) IsSuccess() bool
- func (o *GetRoleForbidden) String() string
- type GetRoleInternalServerError
- func (o *GetRoleInternalServerError) Code() int
- func (o *GetRoleInternalServerError) Error() string
- func (o *GetRoleInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetRoleInternalServerError) IsClientError() bool
- func (o *GetRoleInternalServerError) IsCode(code int) bool
- func (o *GetRoleInternalServerError) IsRedirect() bool
- func (o *GetRoleInternalServerError) IsServerError() bool
- func (o *GetRoleInternalServerError) IsSuccess() bool
- func (o *GetRoleInternalServerError) String() string
- type GetRoleNotFound
- func (o *GetRoleNotFound) Code() int
- func (o *GetRoleNotFound) Error() string
- func (o *GetRoleNotFound) IsClientError() bool
- func (o *GetRoleNotFound) IsCode(code int) bool
- func (o *GetRoleNotFound) IsRedirect() bool
- func (o *GetRoleNotFound) IsServerError() bool
- func (o *GetRoleNotFound) IsSuccess() bool
- func (o *GetRoleNotFound) String() string
- type GetRoleOK
- func (o *GetRoleOK) Code() int
- func (o *GetRoleOK) Error() string
- func (o *GetRoleOK) GetPayload() *models.Role
- func (o *GetRoleOK) IsClientError() bool
- func (o *GetRoleOK) IsCode(code int) bool
- func (o *GetRoleOK) IsRedirect() bool
- func (o *GetRoleOK) IsServerError() bool
- func (o *GetRoleOK) IsSuccess() bool
- func (o *GetRoleOK) String() string
- type GetRoleParams
- func (o *GetRoleParams) SetContext(ctx context.Context)
- func (o *GetRoleParams) SetDefaults()
- func (o *GetRoleParams) SetHTTPClient(client *http.Client)
- func (o *GetRoleParams) SetID(id string)
- func (o *GetRoleParams) SetTimeout(timeout time.Duration)
- func (o *GetRoleParams) WithContext(ctx context.Context) *GetRoleParams
- func (o *GetRoleParams) WithDefaults() *GetRoleParams
- func (o *GetRoleParams) WithHTTPClient(client *http.Client) *GetRoleParams
- func (o *GetRoleParams) WithID(id string) *GetRoleParams
- func (o *GetRoleParams) WithTimeout(timeout time.Duration) *GetRoleParams
- func (o *GetRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRoleReader
- type GetRoleUnauthorized
- func (o *GetRoleUnauthorized) Code() int
- func (o *GetRoleUnauthorized) Error() string
- func (o *GetRoleUnauthorized) IsClientError() bool
- func (o *GetRoleUnauthorized) IsCode(code int) bool
- func (o *GetRoleUnauthorized) IsRedirect() bool
- func (o *GetRoleUnauthorized) IsServerError() bool
- func (o *GetRoleUnauthorized) IsSuccess() bool
- func (o *GetRoleUnauthorized) String() string
- type GetRolesBadRequest
- func (o *GetRolesBadRequest) Code() int
- func (o *GetRolesBadRequest) Error() string
- func (o *GetRolesBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetRolesBadRequest) IsClientError() bool
- func (o *GetRolesBadRequest) IsCode(code int) bool
- func (o *GetRolesBadRequest) IsRedirect() bool
- func (o *GetRolesBadRequest) IsServerError() bool
- func (o *GetRolesBadRequest) IsSuccess() bool
- func (o *GetRolesBadRequest) String() string
- type GetRolesForUserBadRequest
- func (o *GetRolesForUserBadRequest) Code() int
- func (o *GetRolesForUserBadRequest) Error() string
- func (o *GetRolesForUserBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetRolesForUserBadRequest) IsClientError() bool
- func (o *GetRolesForUserBadRequest) IsCode(code int) bool
- func (o *GetRolesForUserBadRequest) IsRedirect() bool
- func (o *GetRolesForUserBadRequest) IsServerError() bool
- func (o *GetRolesForUserBadRequest) IsSuccess() bool
- func (o *GetRolesForUserBadRequest) String() string
- type GetRolesForUserDeprecatedBadRequest
- func (o *GetRolesForUserDeprecatedBadRequest) Code() int
- func (o *GetRolesForUserDeprecatedBadRequest) Error() string
- func (o *GetRolesForUserDeprecatedBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetRolesForUserDeprecatedBadRequest) IsClientError() bool
- func (o *GetRolesForUserDeprecatedBadRequest) IsCode(code int) bool
- func (o *GetRolesForUserDeprecatedBadRequest) IsRedirect() bool
- func (o *GetRolesForUserDeprecatedBadRequest) IsServerError() bool
- func (o *GetRolesForUserDeprecatedBadRequest) IsSuccess() bool
- func (o *GetRolesForUserDeprecatedBadRequest) String() string
- type GetRolesForUserDeprecatedForbidden
- func (o *GetRolesForUserDeprecatedForbidden) Code() int
- func (o *GetRolesForUserDeprecatedForbidden) Error() string
- func (o *GetRolesForUserDeprecatedForbidden) GetPayload() *models.ErrorResponse
- func (o *GetRolesForUserDeprecatedForbidden) IsClientError() bool
- func (o *GetRolesForUserDeprecatedForbidden) IsCode(code int) bool
- func (o *GetRolesForUserDeprecatedForbidden) IsRedirect() bool
- func (o *GetRolesForUserDeprecatedForbidden) IsServerError() bool
- func (o *GetRolesForUserDeprecatedForbidden) IsSuccess() bool
- func (o *GetRolesForUserDeprecatedForbidden) String() string
- type GetRolesForUserDeprecatedInternalServerError
- func (o *GetRolesForUserDeprecatedInternalServerError) Code() int
- func (o *GetRolesForUserDeprecatedInternalServerError) Error() string
- func (o *GetRolesForUserDeprecatedInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetRolesForUserDeprecatedInternalServerError) IsClientError() bool
- func (o *GetRolesForUserDeprecatedInternalServerError) IsCode(code int) bool
- func (o *GetRolesForUserDeprecatedInternalServerError) IsRedirect() bool
- func (o *GetRolesForUserDeprecatedInternalServerError) IsServerError() bool
- func (o *GetRolesForUserDeprecatedInternalServerError) IsSuccess() bool
- func (o *GetRolesForUserDeprecatedInternalServerError) String() string
- type GetRolesForUserDeprecatedNotFound
- func (o *GetRolesForUserDeprecatedNotFound) Code() int
- func (o *GetRolesForUserDeprecatedNotFound) Error() string
- func (o *GetRolesForUserDeprecatedNotFound) IsClientError() bool
- func (o *GetRolesForUserDeprecatedNotFound) IsCode(code int) bool
- func (o *GetRolesForUserDeprecatedNotFound) IsRedirect() bool
- func (o *GetRolesForUserDeprecatedNotFound) IsServerError() bool
- func (o *GetRolesForUserDeprecatedNotFound) IsSuccess() bool
- func (o *GetRolesForUserDeprecatedNotFound) String() string
- type GetRolesForUserDeprecatedOK
- func (o *GetRolesForUserDeprecatedOK) Code() int
- func (o *GetRolesForUserDeprecatedOK) Error() string
- func (o *GetRolesForUserDeprecatedOK) GetPayload() models.RolesListResponse
- func (o *GetRolesForUserDeprecatedOK) IsClientError() bool
- func (o *GetRolesForUserDeprecatedOK) IsCode(code int) bool
- func (o *GetRolesForUserDeprecatedOK) IsRedirect() bool
- func (o *GetRolesForUserDeprecatedOK) IsServerError() bool
- func (o *GetRolesForUserDeprecatedOK) IsSuccess() bool
- func (o *GetRolesForUserDeprecatedOK) String() string
- type GetRolesForUserDeprecatedParams
- func NewGetRolesForUserDeprecatedParams() *GetRolesForUserDeprecatedParams
- func NewGetRolesForUserDeprecatedParamsWithContext(ctx context.Context) *GetRolesForUserDeprecatedParams
- func NewGetRolesForUserDeprecatedParamsWithHTTPClient(client *http.Client) *GetRolesForUserDeprecatedParams
- func NewGetRolesForUserDeprecatedParamsWithTimeout(timeout time.Duration) *GetRolesForUserDeprecatedParams
- func (o *GetRolesForUserDeprecatedParams) SetContext(ctx context.Context)
- func (o *GetRolesForUserDeprecatedParams) SetDefaults()
- func (o *GetRolesForUserDeprecatedParams) SetHTTPClient(client *http.Client)
- func (o *GetRolesForUserDeprecatedParams) SetID(id string)
- func (o *GetRolesForUserDeprecatedParams) SetTimeout(timeout time.Duration)
- func (o *GetRolesForUserDeprecatedParams) WithContext(ctx context.Context) *GetRolesForUserDeprecatedParams
- func (o *GetRolesForUserDeprecatedParams) WithDefaults() *GetRolesForUserDeprecatedParams
- func (o *GetRolesForUserDeprecatedParams) WithHTTPClient(client *http.Client) *GetRolesForUserDeprecatedParams
- func (o *GetRolesForUserDeprecatedParams) WithID(id string) *GetRolesForUserDeprecatedParams
- func (o *GetRolesForUserDeprecatedParams) WithTimeout(timeout time.Duration) *GetRolesForUserDeprecatedParams
- func (o *GetRolesForUserDeprecatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRolesForUserDeprecatedReader
- type GetRolesForUserDeprecatedUnauthorized
- func (o *GetRolesForUserDeprecatedUnauthorized) Code() int
- func (o *GetRolesForUserDeprecatedUnauthorized) Error() string
- func (o *GetRolesForUserDeprecatedUnauthorized) IsClientError() bool
- func (o *GetRolesForUserDeprecatedUnauthorized) IsCode(code int) bool
- func (o *GetRolesForUserDeprecatedUnauthorized) IsRedirect() bool
- func (o *GetRolesForUserDeprecatedUnauthorized) IsServerError() bool
- func (o *GetRolesForUserDeprecatedUnauthorized) IsSuccess() bool
- func (o *GetRolesForUserDeprecatedUnauthorized) String() string
- type GetRolesForUserDeprecatedUnprocessableEntity
- func (o *GetRolesForUserDeprecatedUnprocessableEntity) Code() int
- func (o *GetRolesForUserDeprecatedUnprocessableEntity) Error() string
- func (o *GetRolesForUserDeprecatedUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *GetRolesForUserDeprecatedUnprocessableEntity) IsClientError() bool
- func (o *GetRolesForUserDeprecatedUnprocessableEntity) IsCode(code int) bool
- func (o *GetRolesForUserDeprecatedUnprocessableEntity) IsRedirect() bool
- func (o *GetRolesForUserDeprecatedUnprocessableEntity) IsServerError() bool
- func (o *GetRolesForUserDeprecatedUnprocessableEntity) IsSuccess() bool
- func (o *GetRolesForUserDeprecatedUnprocessableEntity) String() string
- type GetRolesForUserForbidden
- func (o *GetRolesForUserForbidden) Code() int
- func (o *GetRolesForUserForbidden) Error() string
- func (o *GetRolesForUserForbidden) GetPayload() *models.ErrorResponse
- func (o *GetRolesForUserForbidden) IsClientError() bool
- func (o *GetRolesForUserForbidden) IsCode(code int) bool
- func (o *GetRolesForUserForbidden) IsRedirect() bool
- func (o *GetRolesForUserForbidden) IsServerError() bool
- func (o *GetRolesForUserForbidden) IsSuccess() bool
- func (o *GetRolesForUserForbidden) String() string
- type GetRolesForUserInternalServerError
- func (o *GetRolesForUserInternalServerError) Code() int
- func (o *GetRolesForUserInternalServerError) Error() string
- func (o *GetRolesForUserInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetRolesForUserInternalServerError) IsClientError() bool
- func (o *GetRolesForUserInternalServerError) IsCode(code int) bool
- func (o *GetRolesForUserInternalServerError) IsRedirect() bool
- func (o *GetRolesForUserInternalServerError) IsServerError() bool
- func (o *GetRolesForUserInternalServerError) IsSuccess() bool
- func (o *GetRolesForUserInternalServerError) String() string
- type GetRolesForUserNotFound
- func (o *GetRolesForUserNotFound) Code() int
- func (o *GetRolesForUserNotFound) Error() string
- func (o *GetRolesForUserNotFound) IsClientError() bool
- func (o *GetRolesForUserNotFound) IsCode(code int) bool
- func (o *GetRolesForUserNotFound) IsRedirect() bool
- func (o *GetRolesForUserNotFound) IsServerError() bool
- func (o *GetRolesForUserNotFound) IsSuccess() bool
- func (o *GetRolesForUserNotFound) String() string
- type GetRolesForUserOK
- func (o *GetRolesForUserOK) Code() int
- func (o *GetRolesForUserOK) Error() string
- func (o *GetRolesForUserOK) GetPayload() models.RolesListResponse
- func (o *GetRolesForUserOK) IsClientError() bool
- func (o *GetRolesForUserOK) IsCode(code int) bool
- func (o *GetRolesForUserOK) IsRedirect() bool
- func (o *GetRolesForUserOK) IsServerError() bool
- func (o *GetRolesForUserOK) IsSuccess() bool
- func (o *GetRolesForUserOK) String() string
- type GetRolesForUserParams
- func NewGetRolesForUserParams() *GetRolesForUserParams
- func NewGetRolesForUserParamsWithContext(ctx context.Context) *GetRolesForUserParams
- func NewGetRolesForUserParamsWithHTTPClient(client *http.Client) *GetRolesForUserParams
- func NewGetRolesForUserParamsWithTimeout(timeout time.Duration) *GetRolesForUserParams
- func (o *GetRolesForUserParams) SetContext(ctx context.Context)
- func (o *GetRolesForUserParams) SetDefaults()
- func (o *GetRolesForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetRolesForUserParams) SetID(id string)
- func (o *GetRolesForUserParams) SetIncludeFullRoles(includeFullRoles *bool)
- func (o *GetRolesForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetRolesForUserParams) SetUserType(userType string)
- func (o *GetRolesForUserParams) WithContext(ctx context.Context) *GetRolesForUserParams
- func (o *GetRolesForUserParams) WithDefaults() *GetRolesForUserParams
- func (o *GetRolesForUserParams) WithHTTPClient(client *http.Client) *GetRolesForUserParams
- func (o *GetRolesForUserParams) WithID(id string) *GetRolesForUserParams
- func (o *GetRolesForUserParams) WithIncludeFullRoles(includeFullRoles *bool) *GetRolesForUserParams
- func (o *GetRolesForUserParams) WithTimeout(timeout time.Duration) *GetRolesForUserParams
- func (o *GetRolesForUserParams) WithUserType(userType string) *GetRolesForUserParams
- func (o *GetRolesForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRolesForUserReader
- type GetRolesForUserUnauthorized
- func (o *GetRolesForUserUnauthorized) Code() int
- func (o *GetRolesForUserUnauthorized) Error() string
- func (o *GetRolesForUserUnauthorized) IsClientError() bool
- func (o *GetRolesForUserUnauthorized) IsCode(code int) bool
- func (o *GetRolesForUserUnauthorized) IsRedirect() bool
- func (o *GetRolesForUserUnauthorized) IsServerError() bool
- func (o *GetRolesForUserUnauthorized) IsSuccess() bool
- func (o *GetRolesForUserUnauthorized) String() string
- type GetRolesForUserUnprocessableEntity
- func (o *GetRolesForUserUnprocessableEntity) Code() int
- func (o *GetRolesForUserUnprocessableEntity) Error() string
- func (o *GetRolesForUserUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *GetRolesForUserUnprocessableEntity) IsClientError() bool
- func (o *GetRolesForUserUnprocessableEntity) IsCode(code int) bool
- func (o *GetRolesForUserUnprocessableEntity) IsRedirect() bool
- func (o *GetRolesForUserUnprocessableEntity) IsServerError() bool
- func (o *GetRolesForUserUnprocessableEntity) IsSuccess() bool
- func (o *GetRolesForUserUnprocessableEntity) String() string
- type GetRolesForbidden
- func (o *GetRolesForbidden) Code() int
- func (o *GetRolesForbidden) Error() string
- func (o *GetRolesForbidden) GetPayload() *models.ErrorResponse
- func (o *GetRolesForbidden) IsClientError() bool
- func (o *GetRolesForbidden) IsCode(code int) bool
- func (o *GetRolesForbidden) IsRedirect() bool
- func (o *GetRolesForbidden) IsServerError() bool
- func (o *GetRolesForbidden) IsSuccess() bool
- func (o *GetRolesForbidden) String() string
- type GetRolesInternalServerError
- func (o *GetRolesInternalServerError) Code() int
- func (o *GetRolesInternalServerError) Error() string
- func (o *GetRolesInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetRolesInternalServerError) IsClientError() bool
- func (o *GetRolesInternalServerError) IsCode(code int) bool
- func (o *GetRolesInternalServerError) IsRedirect() bool
- func (o *GetRolesInternalServerError) IsServerError() bool
- func (o *GetRolesInternalServerError) IsSuccess() bool
- func (o *GetRolesInternalServerError) String() string
- type GetRolesOK
- func (o *GetRolesOK) Code() int
- func (o *GetRolesOK) Error() string
- func (o *GetRolesOK) GetPayload() models.RolesListResponse
- func (o *GetRolesOK) IsClientError() bool
- func (o *GetRolesOK) IsCode(code int) bool
- func (o *GetRolesOK) IsRedirect() bool
- func (o *GetRolesOK) IsServerError() bool
- func (o *GetRolesOK) IsSuccess() bool
- func (o *GetRolesOK) String() string
- type GetRolesParams
- func (o *GetRolesParams) SetContext(ctx context.Context)
- func (o *GetRolesParams) SetDefaults()
- func (o *GetRolesParams) SetHTTPClient(client *http.Client)
- func (o *GetRolesParams) SetTimeout(timeout time.Duration)
- func (o *GetRolesParams) WithContext(ctx context.Context) *GetRolesParams
- func (o *GetRolesParams) WithDefaults() *GetRolesParams
- func (o *GetRolesParams) WithHTTPClient(client *http.Client) *GetRolesParams
- func (o *GetRolesParams) WithTimeout(timeout time.Duration) *GetRolesParams
- func (o *GetRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRolesReader
- type GetRolesUnauthorized
- func (o *GetRolesUnauthorized) Code() int
- func (o *GetRolesUnauthorized) Error() string
- func (o *GetRolesUnauthorized) IsClientError() bool
- func (o *GetRolesUnauthorized) IsCode(code int) bool
- func (o *GetRolesUnauthorized) IsRedirect() bool
- func (o *GetRolesUnauthorized) IsServerError() bool
- func (o *GetRolesUnauthorized) IsSuccess() bool
- func (o *GetRolesUnauthorized) String() string
- type GetUsersForRoleBadRequest
- func (o *GetUsersForRoleBadRequest) Code() int
- func (o *GetUsersForRoleBadRequest) Error() string
- func (o *GetUsersForRoleBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetUsersForRoleBadRequest) IsClientError() bool
- func (o *GetUsersForRoleBadRequest) IsCode(code int) bool
- func (o *GetUsersForRoleBadRequest) IsRedirect() bool
- func (o *GetUsersForRoleBadRequest) IsServerError() bool
- func (o *GetUsersForRoleBadRequest) IsSuccess() bool
- func (o *GetUsersForRoleBadRequest) String() string
- type GetUsersForRoleDeprecatedBadRequest
- func (o *GetUsersForRoleDeprecatedBadRequest) Code() int
- func (o *GetUsersForRoleDeprecatedBadRequest) Error() string
- func (o *GetUsersForRoleDeprecatedBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetUsersForRoleDeprecatedBadRequest) IsClientError() bool
- func (o *GetUsersForRoleDeprecatedBadRequest) IsCode(code int) bool
- func (o *GetUsersForRoleDeprecatedBadRequest) IsRedirect() bool
- func (o *GetUsersForRoleDeprecatedBadRequest) IsServerError() bool
- func (o *GetUsersForRoleDeprecatedBadRequest) IsSuccess() bool
- func (o *GetUsersForRoleDeprecatedBadRequest) String() string
- type GetUsersForRoleDeprecatedForbidden
- func (o *GetUsersForRoleDeprecatedForbidden) Code() int
- func (o *GetUsersForRoleDeprecatedForbidden) Error() string
- func (o *GetUsersForRoleDeprecatedForbidden) GetPayload() *models.ErrorResponse
- func (o *GetUsersForRoleDeprecatedForbidden) IsClientError() bool
- func (o *GetUsersForRoleDeprecatedForbidden) IsCode(code int) bool
- func (o *GetUsersForRoleDeprecatedForbidden) IsRedirect() bool
- func (o *GetUsersForRoleDeprecatedForbidden) IsServerError() bool
- func (o *GetUsersForRoleDeprecatedForbidden) IsSuccess() bool
- func (o *GetUsersForRoleDeprecatedForbidden) String() string
- type GetUsersForRoleDeprecatedInternalServerError
- func (o *GetUsersForRoleDeprecatedInternalServerError) Code() int
- func (o *GetUsersForRoleDeprecatedInternalServerError) Error() string
- func (o *GetUsersForRoleDeprecatedInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetUsersForRoleDeprecatedInternalServerError) IsClientError() bool
- func (o *GetUsersForRoleDeprecatedInternalServerError) IsCode(code int) bool
- func (o *GetUsersForRoleDeprecatedInternalServerError) IsRedirect() bool
- func (o *GetUsersForRoleDeprecatedInternalServerError) IsServerError() bool
- func (o *GetUsersForRoleDeprecatedInternalServerError) IsSuccess() bool
- func (o *GetUsersForRoleDeprecatedInternalServerError) String() string
- type GetUsersForRoleDeprecatedNotFound
- func (o *GetUsersForRoleDeprecatedNotFound) Code() int
- func (o *GetUsersForRoleDeprecatedNotFound) Error() string
- func (o *GetUsersForRoleDeprecatedNotFound) IsClientError() bool
- func (o *GetUsersForRoleDeprecatedNotFound) IsCode(code int) bool
- func (o *GetUsersForRoleDeprecatedNotFound) IsRedirect() bool
- func (o *GetUsersForRoleDeprecatedNotFound) IsServerError() bool
- func (o *GetUsersForRoleDeprecatedNotFound) IsSuccess() bool
- func (o *GetUsersForRoleDeprecatedNotFound) String() string
- type GetUsersForRoleDeprecatedOK
- func (o *GetUsersForRoleDeprecatedOK) Code() int
- func (o *GetUsersForRoleDeprecatedOK) Error() string
- func (o *GetUsersForRoleDeprecatedOK) GetPayload() []string
- func (o *GetUsersForRoleDeprecatedOK) IsClientError() bool
- func (o *GetUsersForRoleDeprecatedOK) IsCode(code int) bool
- func (o *GetUsersForRoleDeprecatedOK) IsRedirect() bool
- func (o *GetUsersForRoleDeprecatedOK) IsServerError() bool
- func (o *GetUsersForRoleDeprecatedOK) IsSuccess() bool
- func (o *GetUsersForRoleDeprecatedOK) String() string
- type GetUsersForRoleDeprecatedParams
- func NewGetUsersForRoleDeprecatedParams() *GetUsersForRoleDeprecatedParams
- func NewGetUsersForRoleDeprecatedParamsWithContext(ctx context.Context) *GetUsersForRoleDeprecatedParams
- func NewGetUsersForRoleDeprecatedParamsWithHTTPClient(client *http.Client) *GetUsersForRoleDeprecatedParams
- func NewGetUsersForRoleDeprecatedParamsWithTimeout(timeout time.Duration) *GetUsersForRoleDeprecatedParams
- func (o *GetUsersForRoleDeprecatedParams) SetContext(ctx context.Context)
- func (o *GetUsersForRoleDeprecatedParams) SetDefaults()
- func (o *GetUsersForRoleDeprecatedParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersForRoleDeprecatedParams) SetID(id string)
- func (o *GetUsersForRoleDeprecatedParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersForRoleDeprecatedParams) WithContext(ctx context.Context) *GetUsersForRoleDeprecatedParams
- func (o *GetUsersForRoleDeprecatedParams) WithDefaults() *GetUsersForRoleDeprecatedParams
- func (o *GetUsersForRoleDeprecatedParams) WithHTTPClient(client *http.Client) *GetUsersForRoleDeprecatedParams
- func (o *GetUsersForRoleDeprecatedParams) WithID(id string) *GetUsersForRoleDeprecatedParams
- func (o *GetUsersForRoleDeprecatedParams) WithTimeout(timeout time.Duration) *GetUsersForRoleDeprecatedParams
- func (o *GetUsersForRoleDeprecatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersForRoleDeprecatedReader
- type GetUsersForRoleDeprecatedUnauthorized
- func (o *GetUsersForRoleDeprecatedUnauthorized) Code() int
- func (o *GetUsersForRoleDeprecatedUnauthorized) Error() string
- func (o *GetUsersForRoleDeprecatedUnauthorized) IsClientError() bool
- func (o *GetUsersForRoleDeprecatedUnauthorized) IsCode(code int) bool
- func (o *GetUsersForRoleDeprecatedUnauthorized) IsRedirect() bool
- func (o *GetUsersForRoleDeprecatedUnauthorized) IsServerError() bool
- func (o *GetUsersForRoleDeprecatedUnauthorized) IsSuccess() bool
- func (o *GetUsersForRoleDeprecatedUnauthorized) String() string
- type GetUsersForRoleForbidden
- func (o *GetUsersForRoleForbidden) Code() int
- func (o *GetUsersForRoleForbidden) Error() string
- func (o *GetUsersForRoleForbidden) GetPayload() *models.ErrorResponse
- func (o *GetUsersForRoleForbidden) IsClientError() bool
- func (o *GetUsersForRoleForbidden) IsCode(code int) bool
- func (o *GetUsersForRoleForbidden) IsRedirect() bool
- func (o *GetUsersForRoleForbidden) IsServerError() bool
- func (o *GetUsersForRoleForbidden) IsSuccess() bool
- func (o *GetUsersForRoleForbidden) String() string
- type GetUsersForRoleInternalServerError
- func (o *GetUsersForRoleInternalServerError) Code() int
- func (o *GetUsersForRoleInternalServerError) Error() string
- func (o *GetUsersForRoleInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetUsersForRoleInternalServerError) IsClientError() bool
- func (o *GetUsersForRoleInternalServerError) IsCode(code int) bool
- func (o *GetUsersForRoleInternalServerError) IsRedirect() bool
- func (o *GetUsersForRoleInternalServerError) IsServerError() bool
- func (o *GetUsersForRoleInternalServerError) IsSuccess() bool
- func (o *GetUsersForRoleInternalServerError) String() string
- type GetUsersForRoleNotFound
- func (o *GetUsersForRoleNotFound) Code() int
- func (o *GetUsersForRoleNotFound) Error() string
- func (o *GetUsersForRoleNotFound) IsClientError() bool
- func (o *GetUsersForRoleNotFound) IsCode(code int) bool
- func (o *GetUsersForRoleNotFound) IsRedirect() bool
- func (o *GetUsersForRoleNotFound) IsServerError() bool
- func (o *GetUsersForRoleNotFound) IsSuccess() bool
- func (o *GetUsersForRoleNotFound) String() string
- type GetUsersForRoleOK
- func (o *GetUsersForRoleOK) Code() int
- func (o *GetUsersForRoleOK) Error() string
- func (o *GetUsersForRoleOK) GetPayload() []*GetUsersForRoleOKBodyItems0
- func (o *GetUsersForRoleOK) IsClientError() bool
- func (o *GetUsersForRoleOK) IsCode(code int) bool
- func (o *GetUsersForRoleOK) IsRedirect() bool
- func (o *GetUsersForRoleOK) IsServerError() bool
- func (o *GetUsersForRoleOK) IsSuccess() bool
- func (o *GetUsersForRoleOK) String() string
- type GetUsersForRoleOKBodyItems0
- func (o *GetUsersForRoleOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetUsersForRoleOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetUsersForRoleOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetUsersForRoleOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetUsersForRoleParams
- func NewGetUsersForRoleParams() *GetUsersForRoleParams
- func NewGetUsersForRoleParamsWithContext(ctx context.Context) *GetUsersForRoleParams
- func NewGetUsersForRoleParamsWithHTTPClient(client *http.Client) *GetUsersForRoleParams
- func NewGetUsersForRoleParamsWithTimeout(timeout time.Duration) *GetUsersForRoleParams
- func (o *GetUsersForRoleParams) SetContext(ctx context.Context)
- func (o *GetUsersForRoleParams) SetDefaults()
- func (o *GetUsersForRoleParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersForRoleParams) SetID(id string)
- func (o *GetUsersForRoleParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersForRoleParams) WithContext(ctx context.Context) *GetUsersForRoleParams
- func (o *GetUsersForRoleParams) WithDefaults() *GetUsersForRoleParams
- func (o *GetUsersForRoleParams) WithHTTPClient(client *http.Client) *GetUsersForRoleParams
- func (o *GetUsersForRoleParams) WithID(id string) *GetUsersForRoleParams
- func (o *GetUsersForRoleParams) WithTimeout(timeout time.Duration) *GetUsersForRoleParams
- func (o *GetUsersForRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersForRoleReader
- type GetUsersForRoleUnauthorized
- func (o *GetUsersForRoleUnauthorized) Code() int
- func (o *GetUsersForRoleUnauthorized) Error() string
- func (o *GetUsersForRoleUnauthorized) IsClientError() bool
- func (o *GetUsersForRoleUnauthorized) IsCode(code int) bool
- func (o *GetUsersForRoleUnauthorized) IsRedirect() bool
- func (o *GetUsersForRoleUnauthorized) IsServerError() bool
- func (o *GetUsersForRoleUnauthorized) IsSuccess() bool
- func (o *GetUsersForRoleUnauthorized) String() string
- type HasPermissionBadRequest
- func (o *HasPermissionBadRequest) Code() int
- func (o *HasPermissionBadRequest) Error() string
- func (o *HasPermissionBadRequest) GetPayload() *models.ErrorResponse
- func (o *HasPermissionBadRequest) IsClientError() bool
- func (o *HasPermissionBadRequest) IsCode(code int) bool
- func (o *HasPermissionBadRequest) IsRedirect() bool
- func (o *HasPermissionBadRequest) IsServerError() bool
- func (o *HasPermissionBadRequest) IsSuccess() bool
- func (o *HasPermissionBadRequest) String() string
- type HasPermissionForbidden
- func (o *HasPermissionForbidden) Code() int
- func (o *HasPermissionForbidden) Error() string
- func (o *HasPermissionForbidden) GetPayload() *models.ErrorResponse
- func (o *HasPermissionForbidden) IsClientError() bool
- func (o *HasPermissionForbidden) IsCode(code int) bool
- func (o *HasPermissionForbidden) IsRedirect() bool
- func (o *HasPermissionForbidden) IsServerError() bool
- func (o *HasPermissionForbidden) IsSuccess() bool
- func (o *HasPermissionForbidden) String() string
- type HasPermissionInternalServerError
- func (o *HasPermissionInternalServerError) Code() int
- func (o *HasPermissionInternalServerError) Error() string
- func (o *HasPermissionInternalServerError) GetPayload() *models.ErrorResponse
- func (o *HasPermissionInternalServerError) IsClientError() bool
- func (o *HasPermissionInternalServerError) IsCode(code int) bool
- func (o *HasPermissionInternalServerError) IsRedirect() bool
- func (o *HasPermissionInternalServerError) IsServerError() bool
- func (o *HasPermissionInternalServerError) IsSuccess() bool
- func (o *HasPermissionInternalServerError) String() string
- type HasPermissionOK
- func (o *HasPermissionOK) Code() int
- func (o *HasPermissionOK) Error() string
- func (o *HasPermissionOK) GetPayload() bool
- func (o *HasPermissionOK) IsClientError() bool
- func (o *HasPermissionOK) IsCode(code int) bool
- func (o *HasPermissionOK) IsRedirect() bool
- func (o *HasPermissionOK) IsServerError() bool
- func (o *HasPermissionOK) IsSuccess() bool
- func (o *HasPermissionOK) String() string
- type HasPermissionParams
- func (o *HasPermissionParams) SetBody(body *models.Permission)
- func (o *HasPermissionParams) SetContext(ctx context.Context)
- func (o *HasPermissionParams) SetDefaults()
- func (o *HasPermissionParams) SetHTTPClient(client *http.Client)
- func (o *HasPermissionParams) SetID(id string)
- func (o *HasPermissionParams) SetTimeout(timeout time.Duration)
- func (o *HasPermissionParams) WithBody(body *models.Permission) *HasPermissionParams
- func (o *HasPermissionParams) WithContext(ctx context.Context) *HasPermissionParams
- func (o *HasPermissionParams) WithDefaults() *HasPermissionParams
- func (o *HasPermissionParams) WithHTTPClient(client *http.Client) *HasPermissionParams
- func (o *HasPermissionParams) WithID(id string) *HasPermissionParams
- func (o *HasPermissionParams) WithTimeout(timeout time.Duration) *HasPermissionParams
- func (o *HasPermissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HasPermissionReader
- type HasPermissionUnauthorized
- func (o *HasPermissionUnauthorized) Code() int
- func (o *HasPermissionUnauthorized) Error() string
- func (o *HasPermissionUnauthorized) IsClientError() bool
- func (o *HasPermissionUnauthorized) IsCode(code int) bool
- func (o *HasPermissionUnauthorized) IsRedirect() bool
- func (o *HasPermissionUnauthorized) IsServerError() bool
- func (o *HasPermissionUnauthorized) IsSuccess() bool
- func (o *HasPermissionUnauthorized) String() string
- type HasPermissionUnprocessableEntity
- func (o *HasPermissionUnprocessableEntity) Code() int
- func (o *HasPermissionUnprocessableEntity) Error() string
- func (o *HasPermissionUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *HasPermissionUnprocessableEntity) IsClientError() bool
- func (o *HasPermissionUnprocessableEntity) IsCode(code int) bool
- func (o *HasPermissionUnprocessableEntity) IsRedirect() bool
- func (o *HasPermissionUnprocessableEntity) IsServerError() bool
- func (o *HasPermissionUnprocessableEntity) IsSuccess() bool
- func (o *HasPermissionUnprocessableEntity) String() string
- type RemovePermissionsBadRequest
- func (o *RemovePermissionsBadRequest) Code() int
- func (o *RemovePermissionsBadRequest) Error() string
- func (o *RemovePermissionsBadRequest) GetPayload() *models.ErrorResponse
- func (o *RemovePermissionsBadRequest) IsClientError() bool
- func (o *RemovePermissionsBadRequest) IsCode(code int) bool
- func (o *RemovePermissionsBadRequest) IsRedirect() bool
- func (o *RemovePermissionsBadRequest) IsServerError() bool
- func (o *RemovePermissionsBadRequest) IsSuccess() bool
- func (o *RemovePermissionsBadRequest) String() string
- type RemovePermissionsBody
- type RemovePermissionsForbidden
- func (o *RemovePermissionsForbidden) Code() int
- func (o *RemovePermissionsForbidden) Error() string
- func (o *RemovePermissionsForbidden) GetPayload() *models.ErrorResponse
- func (o *RemovePermissionsForbidden) IsClientError() bool
- func (o *RemovePermissionsForbidden) IsCode(code int) bool
- func (o *RemovePermissionsForbidden) IsRedirect() bool
- func (o *RemovePermissionsForbidden) IsServerError() bool
- func (o *RemovePermissionsForbidden) IsSuccess() bool
- func (o *RemovePermissionsForbidden) String() string
- type RemovePermissionsInternalServerError
- func (o *RemovePermissionsInternalServerError) Code() int
- func (o *RemovePermissionsInternalServerError) Error() string
- func (o *RemovePermissionsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *RemovePermissionsInternalServerError) IsClientError() bool
- func (o *RemovePermissionsInternalServerError) IsCode(code int) bool
- func (o *RemovePermissionsInternalServerError) IsRedirect() bool
- func (o *RemovePermissionsInternalServerError) IsServerError() bool
- func (o *RemovePermissionsInternalServerError) IsSuccess() bool
- func (o *RemovePermissionsInternalServerError) String() string
- type RemovePermissionsNotFound
- func (o *RemovePermissionsNotFound) Code() int
- func (o *RemovePermissionsNotFound) Error() string
- func (o *RemovePermissionsNotFound) IsClientError() bool
- func (o *RemovePermissionsNotFound) IsCode(code int) bool
- func (o *RemovePermissionsNotFound) IsRedirect() bool
- func (o *RemovePermissionsNotFound) IsServerError() bool
- func (o *RemovePermissionsNotFound) IsSuccess() bool
- func (o *RemovePermissionsNotFound) String() string
- type RemovePermissionsOK
- func (o *RemovePermissionsOK) Code() int
- func (o *RemovePermissionsOK) Error() string
- func (o *RemovePermissionsOK) IsClientError() bool
- func (o *RemovePermissionsOK) IsCode(code int) bool
- func (o *RemovePermissionsOK) IsRedirect() bool
- func (o *RemovePermissionsOK) IsServerError() bool
- func (o *RemovePermissionsOK) IsSuccess() bool
- func (o *RemovePermissionsOK) String() string
- type RemovePermissionsParams
- func NewRemovePermissionsParams() *RemovePermissionsParams
- func NewRemovePermissionsParamsWithContext(ctx context.Context) *RemovePermissionsParams
- func NewRemovePermissionsParamsWithHTTPClient(client *http.Client) *RemovePermissionsParams
- func NewRemovePermissionsParamsWithTimeout(timeout time.Duration) *RemovePermissionsParams
- func (o *RemovePermissionsParams) SetBody(body RemovePermissionsBody)
- func (o *RemovePermissionsParams) SetContext(ctx context.Context)
- func (o *RemovePermissionsParams) SetDefaults()
- func (o *RemovePermissionsParams) SetHTTPClient(client *http.Client)
- func (o *RemovePermissionsParams) SetID(id string)
- func (o *RemovePermissionsParams) SetTimeout(timeout time.Duration)
- func (o *RemovePermissionsParams) WithBody(body RemovePermissionsBody) *RemovePermissionsParams
- func (o *RemovePermissionsParams) WithContext(ctx context.Context) *RemovePermissionsParams
- func (o *RemovePermissionsParams) WithDefaults() *RemovePermissionsParams
- func (o *RemovePermissionsParams) WithHTTPClient(client *http.Client) *RemovePermissionsParams
- func (o *RemovePermissionsParams) WithID(id string) *RemovePermissionsParams
- func (o *RemovePermissionsParams) WithTimeout(timeout time.Duration) *RemovePermissionsParams
- func (o *RemovePermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemovePermissionsReader
- type RemovePermissionsUnauthorized
- func (o *RemovePermissionsUnauthorized) Code() int
- func (o *RemovePermissionsUnauthorized) Error() string
- func (o *RemovePermissionsUnauthorized) IsClientError() bool
- func (o *RemovePermissionsUnauthorized) IsCode(code int) bool
- func (o *RemovePermissionsUnauthorized) IsRedirect() bool
- func (o *RemovePermissionsUnauthorized) IsServerError() bool
- func (o *RemovePermissionsUnauthorized) IsSuccess() bool
- func (o *RemovePermissionsUnauthorized) String() string
- type RemovePermissionsUnprocessableEntity
- func (o *RemovePermissionsUnprocessableEntity) Code() int
- func (o *RemovePermissionsUnprocessableEntity) Error() string
- func (o *RemovePermissionsUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *RemovePermissionsUnprocessableEntity) IsClientError() bool
- func (o *RemovePermissionsUnprocessableEntity) IsCode(code int) bool
- func (o *RemovePermissionsUnprocessableEntity) IsRedirect() bool
- func (o *RemovePermissionsUnprocessableEntity) IsServerError() bool
- func (o *RemovePermissionsUnprocessableEntity) IsSuccess() bool
- func (o *RemovePermissionsUnprocessableEntity) String() string
- type RevokeRoleFromGroupBadRequest
- func (o *RevokeRoleFromGroupBadRequest) Code() int
- func (o *RevokeRoleFromGroupBadRequest) Error() string
- func (o *RevokeRoleFromGroupBadRequest) GetPayload() *models.ErrorResponse
- func (o *RevokeRoleFromGroupBadRequest) IsClientError() bool
- func (o *RevokeRoleFromGroupBadRequest) IsCode(code int) bool
- func (o *RevokeRoleFromGroupBadRequest) IsRedirect() bool
- func (o *RevokeRoleFromGroupBadRequest) IsServerError() bool
- func (o *RevokeRoleFromGroupBadRequest) IsSuccess() bool
- func (o *RevokeRoleFromGroupBadRequest) String() string
- type RevokeRoleFromGroupBody
- func (o *RevokeRoleFromGroupBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RevokeRoleFromGroupBody) MarshalBinary() ([]byte, error)
- func (o *RevokeRoleFromGroupBody) UnmarshalBinary(b []byte) error
- func (o *RevokeRoleFromGroupBody) Validate(formats strfmt.Registry) error
- type RevokeRoleFromGroupForbidden
- func (o *RevokeRoleFromGroupForbidden) Code() int
- func (o *RevokeRoleFromGroupForbidden) Error() string
- func (o *RevokeRoleFromGroupForbidden) GetPayload() *models.ErrorResponse
- func (o *RevokeRoleFromGroupForbidden) IsClientError() bool
- func (o *RevokeRoleFromGroupForbidden) IsCode(code int) bool
- func (o *RevokeRoleFromGroupForbidden) IsRedirect() bool
- func (o *RevokeRoleFromGroupForbidden) IsServerError() bool
- func (o *RevokeRoleFromGroupForbidden) IsSuccess() bool
- func (o *RevokeRoleFromGroupForbidden) String() string
- type RevokeRoleFromGroupInternalServerError
- func (o *RevokeRoleFromGroupInternalServerError) Code() int
- func (o *RevokeRoleFromGroupInternalServerError) Error() string
- func (o *RevokeRoleFromGroupInternalServerError) GetPayload() *models.ErrorResponse
- func (o *RevokeRoleFromGroupInternalServerError) IsClientError() bool
- func (o *RevokeRoleFromGroupInternalServerError) IsCode(code int) bool
- func (o *RevokeRoleFromGroupInternalServerError) IsRedirect() bool
- func (o *RevokeRoleFromGroupInternalServerError) IsServerError() bool
- func (o *RevokeRoleFromGroupInternalServerError) IsSuccess() bool
- func (o *RevokeRoleFromGroupInternalServerError) String() string
- type RevokeRoleFromGroupNotFound
- func (o *RevokeRoleFromGroupNotFound) Code() int
- func (o *RevokeRoleFromGroupNotFound) Error() string
- func (o *RevokeRoleFromGroupNotFound) IsClientError() bool
- func (o *RevokeRoleFromGroupNotFound) IsCode(code int) bool
- func (o *RevokeRoleFromGroupNotFound) IsRedirect() bool
- func (o *RevokeRoleFromGroupNotFound) IsServerError() bool
- func (o *RevokeRoleFromGroupNotFound) IsSuccess() bool
- func (o *RevokeRoleFromGroupNotFound) String() string
- type RevokeRoleFromGroupOK
- func (o *RevokeRoleFromGroupOK) Code() int
- func (o *RevokeRoleFromGroupOK) Error() string
- func (o *RevokeRoleFromGroupOK) IsClientError() bool
- func (o *RevokeRoleFromGroupOK) IsCode(code int) bool
- func (o *RevokeRoleFromGroupOK) IsRedirect() bool
- func (o *RevokeRoleFromGroupOK) IsServerError() bool
- func (o *RevokeRoleFromGroupOK) IsSuccess() bool
- func (o *RevokeRoleFromGroupOK) String() string
- type RevokeRoleFromGroupParams
- func NewRevokeRoleFromGroupParams() *RevokeRoleFromGroupParams
- func NewRevokeRoleFromGroupParamsWithContext(ctx context.Context) *RevokeRoleFromGroupParams
- func NewRevokeRoleFromGroupParamsWithHTTPClient(client *http.Client) *RevokeRoleFromGroupParams
- func NewRevokeRoleFromGroupParamsWithTimeout(timeout time.Duration) *RevokeRoleFromGroupParams
- func (o *RevokeRoleFromGroupParams) SetBody(body RevokeRoleFromGroupBody)
- func (o *RevokeRoleFromGroupParams) SetContext(ctx context.Context)
- func (o *RevokeRoleFromGroupParams) SetDefaults()
- func (o *RevokeRoleFromGroupParams) SetHTTPClient(client *http.Client)
- func (o *RevokeRoleFromGroupParams) SetID(id string)
- func (o *RevokeRoleFromGroupParams) SetTimeout(timeout time.Duration)
- func (o *RevokeRoleFromGroupParams) WithBody(body RevokeRoleFromGroupBody) *RevokeRoleFromGroupParams
- func (o *RevokeRoleFromGroupParams) WithContext(ctx context.Context) *RevokeRoleFromGroupParams
- func (o *RevokeRoleFromGroupParams) WithDefaults() *RevokeRoleFromGroupParams
- func (o *RevokeRoleFromGroupParams) WithHTTPClient(client *http.Client) *RevokeRoleFromGroupParams
- func (o *RevokeRoleFromGroupParams) WithID(id string) *RevokeRoleFromGroupParams
- func (o *RevokeRoleFromGroupParams) WithTimeout(timeout time.Duration) *RevokeRoleFromGroupParams
- func (o *RevokeRoleFromGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeRoleFromGroupReader
- type RevokeRoleFromGroupUnauthorized
- func (o *RevokeRoleFromGroupUnauthorized) Code() int
- func (o *RevokeRoleFromGroupUnauthorized) Error() string
- func (o *RevokeRoleFromGroupUnauthorized) IsClientError() bool
- func (o *RevokeRoleFromGroupUnauthorized) IsCode(code int) bool
- func (o *RevokeRoleFromGroupUnauthorized) IsRedirect() bool
- func (o *RevokeRoleFromGroupUnauthorized) IsServerError() bool
- func (o *RevokeRoleFromGroupUnauthorized) IsSuccess() bool
- func (o *RevokeRoleFromGroupUnauthorized) String() string
- type RevokeRoleFromUserBadRequest
- func (o *RevokeRoleFromUserBadRequest) Code() int
- func (o *RevokeRoleFromUserBadRequest) Error() string
- func (o *RevokeRoleFromUserBadRequest) GetPayload() *models.ErrorResponse
- func (o *RevokeRoleFromUserBadRequest) IsClientError() bool
- func (o *RevokeRoleFromUserBadRequest) IsCode(code int) bool
- func (o *RevokeRoleFromUserBadRequest) IsRedirect() bool
- func (o *RevokeRoleFromUserBadRequest) IsServerError() bool
- func (o *RevokeRoleFromUserBadRequest) IsSuccess() bool
- func (o *RevokeRoleFromUserBadRequest) String() string
- type RevokeRoleFromUserBody
- func (o *RevokeRoleFromUserBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RevokeRoleFromUserBody) MarshalBinary() ([]byte, error)
- func (o *RevokeRoleFromUserBody) UnmarshalBinary(b []byte) error
- func (o *RevokeRoleFromUserBody) Validate(formats strfmt.Registry) error
- type RevokeRoleFromUserForbidden
- func (o *RevokeRoleFromUserForbidden) Code() int
- func (o *RevokeRoleFromUserForbidden) Error() string
- func (o *RevokeRoleFromUserForbidden) GetPayload() *models.ErrorResponse
- func (o *RevokeRoleFromUserForbidden) IsClientError() bool
- func (o *RevokeRoleFromUserForbidden) IsCode(code int) bool
- func (o *RevokeRoleFromUserForbidden) IsRedirect() bool
- func (o *RevokeRoleFromUserForbidden) IsServerError() bool
- func (o *RevokeRoleFromUserForbidden) IsSuccess() bool
- func (o *RevokeRoleFromUserForbidden) String() string
- type RevokeRoleFromUserInternalServerError
- func (o *RevokeRoleFromUserInternalServerError) Code() int
- func (o *RevokeRoleFromUserInternalServerError) Error() string
- func (o *RevokeRoleFromUserInternalServerError) GetPayload() *models.ErrorResponse
- func (o *RevokeRoleFromUserInternalServerError) IsClientError() bool
- func (o *RevokeRoleFromUserInternalServerError) IsCode(code int) bool
- func (o *RevokeRoleFromUserInternalServerError) IsRedirect() bool
- func (o *RevokeRoleFromUserInternalServerError) IsServerError() bool
- func (o *RevokeRoleFromUserInternalServerError) IsSuccess() bool
- func (o *RevokeRoleFromUserInternalServerError) String() string
- type RevokeRoleFromUserNotFound
- func (o *RevokeRoleFromUserNotFound) Code() int
- func (o *RevokeRoleFromUserNotFound) Error() string
- func (o *RevokeRoleFromUserNotFound) GetPayload() *models.ErrorResponse
- func (o *RevokeRoleFromUserNotFound) IsClientError() bool
- func (o *RevokeRoleFromUserNotFound) IsCode(code int) bool
- func (o *RevokeRoleFromUserNotFound) IsRedirect() bool
- func (o *RevokeRoleFromUserNotFound) IsServerError() bool
- func (o *RevokeRoleFromUserNotFound) IsSuccess() bool
- func (o *RevokeRoleFromUserNotFound) String() string
- type RevokeRoleFromUserOK
- func (o *RevokeRoleFromUserOK) Code() int
- func (o *RevokeRoleFromUserOK) Error() string
- func (o *RevokeRoleFromUserOK) IsClientError() bool
- func (o *RevokeRoleFromUserOK) IsCode(code int) bool
- func (o *RevokeRoleFromUserOK) IsRedirect() bool
- func (o *RevokeRoleFromUserOK) IsServerError() bool
- func (o *RevokeRoleFromUserOK) IsSuccess() bool
- func (o *RevokeRoleFromUserOK) String() string
- type RevokeRoleFromUserParams
- func NewRevokeRoleFromUserParams() *RevokeRoleFromUserParams
- func NewRevokeRoleFromUserParamsWithContext(ctx context.Context) *RevokeRoleFromUserParams
- func NewRevokeRoleFromUserParamsWithHTTPClient(client *http.Client) *RevokeRoleFromUserParams
- func NewRevokeRoleFromUserParamsWithTimeout(timeout time.Duration) *RevokeRoleFromUserParams
- func (o *RevokeRoleFromUserParams) SetBody(body RevokeRoleFromUserBody)
- func (o *RevokeRoleFromUserParams) SetContext(ctx context.Context)
- func (o *RevokeRoleFromUserParams) SetDefaults()
- func (o *RevokeRoleFromUserParams) SetHTTPClient(client *http.Client)
- func (o *RevokeRoleFromUserParams) SetID(id string)
- func (o *RevokeRoleFromUserParams) SetTimeout(timeout time.Duration)
- func (o *RevokeRoleFromUserParams) WithBody(body RevokeRoleFromUserBody) *RevokeRoleFromUserParams
- func (o *RevokeRoleFromUserParams) WithContext(ctx context.Context) *RevokeRoleFromUserParams
- func (o *RevokeRoleFromUserParams) WithDefaults() *RevokeRoleFromUserParams
- func (o *RevokeRoleFromUserParams) WithHTTPClient(client *http.Client) *RevokeRoleFromUserParams
- func (o *RevokeRoleFromUserParams) WithID(id string) *RevokeRoleFromUserParams
- func (o *RevokeRoleFromUserParams) WithTimeout(timeout time.Duration) *RevokeRoleFromUserParams
- func (o *RevokeRoleFromUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeRoleFromUserReader
- type RevokeRoleFromUserUnauthorized
- func (o *RevokeRoleFromUserUnauthorized) Code() int
- func (o *RevokeRoleFromUserUnauthorized) Error() string
- func (o *RevokeRoleFromUserUnauthorized) IsClientError() bool
- func (o *RevokeRoleFromUserUnauthorized) IsCode(code int) bool
- func (o *RevokeRoleFromUserUnauthorized) IsRedirect() bool
- func (o *RevokeRoleFromUserUnauthorized) IsServerError() bool
- func (o *RevokeRoleFromUserUnauthorized) IsSuccess() bool
- func (o *RevokeRoleFromUserUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPermissionsBadRequest ¶
type AddPermissionsBadRequest struct {
Payload *models.ErrorResponse
}
AddPermissionsBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewAddPermissionsBadRequest ¶
func NewAddPermissionsBadRequest() *AddPermissionsBadRequest
NewAddPermissionsBadRequest creates a AddPermissionsBadRequest with default headers values
func (*AddPermissionsBadRequest) Code ¶
func (o *AddPermissionsBadRequest) Code() int
Code gets the status code for the add permissions bad request response
func (*AddPermissionsBadRequest) Error ¶
func (o *AddPermissionsBadRequest) Error() string
func (*AddPermissionsBadRequest) GetPayload ¶
func (o *AddPermissionsBadRequest) GetPayload() *models.ErrorResponse
func (*AddPermissionsBadRequest) IsClientError ¶
func (o *AddPermissionsBadRequest) IsClientError() bool
IsClientError returns true when this add permissions bad request response has a 4xx status code
func (*AddPermissionsBadRequest) IsCode ¶
func (o *AddPermissionsBadRequest) IsCode(code int) bool
IsCode returns true when this add permissions bad request response a status code equal to that given
func (*AddPermissionsBadRequest) IsRedirect ¶
func (o *AddPermissionsBadRequest) IsRedirect() bool
IsRedirect returns true when this add permissions bad request response has a 3xx status code
func (*AddPermissionsBadRequest) IsServerError ¶
func (o *AddPermissionsBadRequest) IsServerError() bool
IsServerError returns true when this add permissions bad request response has a 5xx status code
func (*AddPermissionsBadRequest) IsSuccess ¶
func (o *AddPermissionsBadRequest) IsSuccess() bool
IsSuccess returns true when this add permissions bad request response has a 2xx status code
func (*AddPermissionsBadRequest) String ¶
func (o *AddPermissionsBadRequest) String() string
type AddPermissionsBody ¶
type AddPermissionsBody struct {
// permissions to be added to the role
// Required: true
Permissions []*models.Permission `json:"permissions"`
}
AddPermissionsBody add permissions body swagger:model AddPermissionsBody
func (*AddPermissionsBody) ContextValidate ¶
ContextValidate validate this add permissions body based on the context it is used
func (*AddPermissionsBody) MarshalBinary ¶
func (o *AddPermissionsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddPermissionsBody) UnmarshalBinary ¶
func (o *AddPermissionsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddPermissionsForbidden ¶
type AddPermissionsForbidden struct {
Payload *models.ErrorResponse
}
AddPermissionsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewAddPermissionsForbidden ¶
func NewAddPermissionsForbidden() *AddPermissionsForbidden
NewAddPermissionsForbidden creates a AddPermissionsForbidden with default headers values
func (*AddPermissionsForbidden) Code ¶
func (o *AddPermissionsForbidden) Code() int
Code gets the status code for the add permissions forbidden response
func (*AddPermissionsForbidden) Error ¶
func (o *AddPermissionsForbidden) Error() string
func (*AddPermissionsForbidden) GetPayload ¶
func (o *AddPermissionsForbidden) GetPayload() *models.ErrorResponse
func (*AddPermissionsForbidden) IsClientError ¶
func (o *AddPermissionsForbidden) IsClientError() bool
IsClientError returns true when this add permissions forbidden response has a 4xx status code
func (*AddPermissionsForbidden) IsCode ¶
func (o *AddPermissionsForbidden) IsCode(code int) bool
IsCode returns true when this add permissions forbidden response a status code equal to that given
func (*AddPermissionsForbidden) IsRedirect ¶
func (o *AddPermissionsForbidden) IsRedirect() bool
IsRedirect returns true when this add permissions forbidden response has a 3xx status code
func (*AddPermissionsForbidden) IsServerError ¶
func (o *AddPermissionsForbidden) IsServerError() bool
IsServerError returns true when this add permissions forbidden response has a 5xx status code
func (*AddPermissionsForbidden) IsSuccess ¶
func (o *AddPermissionsForbidden) IsSuccess() bool
IsSuccess returns true when this add permissions forbidden response has a 2xx status code
func (*AddPermissionsForbidden) String ¶
func (o *AddPermissionsForbidden) String() string
type AddPermissionsInternalServerError ¶
type AddPermissionsInternalServerError struct {
Payload *models.ErrorResponse
}
AddPermissionsInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewAddPermissionsInternalServerError ¶
func NewAddPermissionsInternalServerError() *AddPermissionsInternalServerError
NewAddPermissionsInternalServerError creates a AddPermissionsInternalServerError with default headers values
func (*AddPermissionsInternalServerError) Code ¶
func (o *AddPermissionsInternalServerError) Code() int
Code gets the status code for the add permissions internal server error response
func (*AddPermissionsInternalServerError) Error ¶
func (o *AddPermissionsInternalServerError) Error() string
func (*AddPermissionsInternalServerError) GetPayload ¶
func (o *AddPermissionsInternalServerError) GetPayload() *models.ErrorResponse
func (*AddPermissionsInternalServerError) IsClientError ¶
func (o *AddPermissionsInternalServerError) IsClientError() bool
IsClientError returns true when this add permissions internal server error response has a 4xx status code
func (*AddPermissionsInternalServerError) IsCode ¶
func (o *AddPermissionsInternalServerError) IsCode(code int) bool
IsCode returns true when this add permissions internal server error response a status code equal to that given
func (*AddPermissionsInternalServerError) IsRedirect ¶
func (o *AddPermissionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this add permissions internal server error response has a 3xx status code
func (*AddPermissionsInternalServerError) IsServerError ¶
func (o *AddPermissionsInternalServerError) IsServerError() bool
IsServerError returns true when this add permissions internal server error response has a 5xx status code
func (*AddPermissionsInternalServerError) IsSuccess ¶
func (o *AddPermissionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this add permissions internal server error response has a 2xx status code
func (*AddPermissionsInternalServerError) String ¶
func (o *AddPermissionsInternalServerError) String() string
type AddPermissionsNotFound ¶
type AddPermissionsNotFound struct {
}
AddPermissionsNotFound describes a response with status code 404, with default header values.
no role found
func NewAddPermissionsNotFound ¶
func NewAddPermissionsNotFound() *AddPermissionsNotFound
NewAddPermissionsNotFound creates a AddPermissionsNotFound with default headers values
func (*AddPermissionsNotFound) Code ¶
func (o *AddPermissionsNotFound) Code() int
Code gets the status code for the add permissions not found response
func (*AddPermissionsNotFound) Error ¶
func (o *AddPermissionsNotFound) Error() string
func (*AddPermissionsNotFound) IsClientError ¶
func (o *AddPermissionsNotFound) IsClientError() bool
IsClientError returns true when this add permissions not found response has a 4xx status code
func (*AddPermissionsNotFound) IsCode ¶
func (o *AddPermissionsNotFound) IsCode(code int) bool
IsCode returns true when this add permissions not found response a status code equal to that given
func (*AddPermissionsNotFound) IsRedirect ¶
func (o *AddPermissionsNotFound) IsRedirect() bool
IsRedirect returns true when this add permissions not found response has a 3xx status code
func (*AddPermissionsNotFound) IsServerError ¶
func (o *AddPermissionsNotFound) IsServerError() bool
IsServerError returns true when this add permissions not found response has a 5xx status code
func (*AddPermissionsNotFound) IsSuccess ¶
func (o *AddPermissionsNotFound) IsSuccess() bool
IsSuccess returns true when this add permissions not found response has a 2xx status code
func (*AddPermissionsNotFound) String ¶
func (o *AddPermissionsNotFound) String() string
type AddPermissionsOK ¶
type AddPermissionsOK struct {
}
AddPermissionsOK describes a response with status code 200, with default header values.
Permissions added successfully
func NewAddPermissionsOK ¶
func NewAddPermissionsOK() *AddPermissionsOK
NewAddPermissionsOK creates a AddPermissionsOK with default headers values
func (*AddPermissionsOK) Code ¶
func (o *AddPermissionsOK) Code() int
Code gets the status code for the add permissions o k response
func (*AddPermissionsOK) Error ¶
func (o *AddPermissionsOK) Error() string
func (*AddPermissionsOK) IsClientError ¶
func (o *AddPermissionsOK) IsClientError() bool
IsClientError returns true when this add permissions o k response has a 4xx status code
func (*AddPermissionsOK) IsCode ¶
func (o *AddPermissionsOK) IsCode(code int) bool
IsCode returns true when this add permissions o k response a status code equal to that given
func (*AddPermissionsOK) IsRedirect ¶
func (o *AddPermissionsOK) IsRedirect() bool
IsRedirect returns true when this add permissions o k response has a 3xx status code
func (*AddPermissionsOK) IsServerError ¶
func (o *AddPermissionsOK) IsServerError() bool
IsServerError returns true when this add permissions o k response has a 5xx status code
func (*AddPermissionsOK) IsSuccess ¶
func (o *AddPermissionsOK) IsSuccess() bool
IsSuccess returns true when this add permissions o k response has a 2xx status code
func (*AddPermissionsOK) String ¶
func (o *AddPermissionsOK) String() string
type AddPermissionsParams ¶
type AddPermissionsParams struct {
// Body.
Body AddPermissionsBody
/* ID.
role name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AddPermissionsParams contains all the parameters to send to the API endpoint
for the add permissions operation. Typically these are written to a http.Request.
func NewAddPermissionsParams ¶
func NewAddPermissionsParams() *AddPermissionsParams
NewAddPermissionsParams creates a new AddPermissionsParams 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 NewAddPermissionsParamsWithContext ¶
func NewAddPermissionsParamsWithContext(ctx context.Context) *AddPermissionsParams
NewAddPermissionsParamsWithContext creates a new AddPermissionsParams object with the ability to set a context for a request.
func NewAddPermissionsParamsWithHTTPClient ¶
func NewAddPermissionsParamsWithHTTPClient(client *http.Client) *AddPermissionsParams
NewAddPermissionsParamsWithHTTPClient creates a new AddPermissionsParams object with the ability to set a custom HTTPClient for a request.
func NewAddPermissionsParamsWithTimeout ¶
func NewAddPermissionsParamsWithTimeout(timeout time.Duration) *AddPermissionsParams
NewAddPermissionsParamsWithTimeout creates a new AddPermissionsParams object with the ability to set a timeout on a request.
func (*AddPermissionsParams) SetBody ¶
func (o *AddPermissionsParams) SetBody(body AddPermissionsBody)
SetBody adds the body to the add permissions params
func (*AddPermissionsParams) SetContext ¶
func (o *AddPermissionsParams) SetContext(ctx context.Context)
SetContext adds the context to the add permissions params
func (*AddPermissionsParams) SetDefaults ¶
func (o *AddPermissionsParams) SetDefaults()
SetDefaults hydrates default values in the add permissions params (not the query body).
All values with no default are reset to their zero value.
func (*AddPermissionsParams) SetHTTPClient ¶
func (o *AddPermissionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add permissions params
func (*AddPermissionsParams) SetID ¶
func (o *AddPermissionsParams) SetID(id string)
SetID adds the id to the add permissions params
func (*AddPermissionsParams) SetTimeout ¶
func (o *AddPermissionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add permissions params
func (*AddPermissionsParams) WithBody ¶
func (o *AddPermissionsParams) WithBody(body AddPermissionsBody) *AddPermissionsParams
WithBody adds the body to the add permissions params
func (*AddPermissionsParams) WithContext ¶
func (o *AddPermissionsParams) WithContext(ctx context.Context) *AddPermissionsParams
WithContext adds the context to the add permissions params
func (*AddPermissionsParams) WithDefaults ¶
func (o *AddPermissionsParams) WithDefaults() *AddPermissionsParams
WithDefaults hydrates default values in the add permissions params (not the query body).
All values with no default are reset to their zero value.
func (*AddPermissionsParams) WithHTTPClient ¶
func (o *AddPermissionsParams) WithHTTPClient(client *http.Client) *AddPermissionsParams
WithHTTPClient adds the HTTPClient to the add permissions params
func (*AddPermissionsParams) WithID ¶
func (o *AddPermissionsParams) WithID(id string) *AddPermissionsParams
WithID adds the id to the add permissions params
func (*AddPermissionsParams) WithTimeout ¶
func (o *AddPermissionsParams) WithTimeout(timeout time.Duration) *AddPermissionsParams
WithTimeout adds the timeout to the add permissions params
func (*AddPermissionsParams) WriteToRequest ¶
func (o *AddPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddPermissionsReader ¶
type AddPermissionsReader struct {
// contains filtered or unexported fields
}
AddPermissionsReader is a Reader for the AddPermissions structure.
func (*AddPermissionsReader) ReadResponse ¶
func (o *AddPermissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddPermissionsUnauthorized ¶
type AddPermissionsUnauthorized struct {
}
AddPermissionsUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewAddPermissionsUnauthorized ¶
func NewAddPermissionsUnauthorized() *AddPermissionsUnauthorized
NewAddPermissionsUnauthorized creates a AddPermissionsUnauthorized with default headers values
func (*AddPermissionsUnauthorized) Code ¶
func (o *AddPermissionsUnauthorized) Code() int
Code gets the status code for the add permissions unauthorized response
func (*AddPermissionsUnauthorized) Error ¶
func (o *AddPermissionsUnauthorized) Error() string
func (*AddPermissionsUnauthorized) IsClientError ¶
func (o *AddPermissionsUnauthorized) IsClientError() bool
IsClientError returns true when this add permissions unauthorized response has a 4xx status code
func (*AddPermissionsUnauthorized) IsCode ¶
func (o *AddPermissionsUnauthorized) IsCode(code int) bool
IsCode returns true when this add permissions unauthorized response a status code equal to that given
func (*AddPermissionsUnauthorized) IsRedirect ¶
func (o *AddPermissionsUnauthorized) IsRedirect() bool
IsRedirect returns true when this add permissions unauthorized response has a 3xx status code
func (*AddPermissionsUnauthorized) IsServerError ¶
func (o *AddPermissionsUnauthorized) IsServerError() bool
IsServerError returns true when this add permissions unauthorized response has a 5xx status code
func (*AddPermissionsUnauthorized) IsSuccess ¶
func (o *AddPermissionsUnauthorized) IsSuccess() bool
IsSuccess returns true when this add permissions unauthorized response has a 2xx status code
func (*AddPermissionsUnauthorized) String ¶
func (o *AddPermissionsUnauthorized) String() string
type AddPermissionsUnprocessableEntity ¶
type AddPermissionsUnprocessableEntity struct {
Payload *models.ErrorResponse
}
AddPermissionsUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
func NewAddPermissionsUnprocessableEntity ¶
func NewAddPermissionsUnprocessableEntity() *AddPermissionsUnprocessableEntity
NewAddPermissionsUnprocessableEntity creates a AddPermissionsUnprocessableEntity with default headers values
func (*AddPermissionsUnprocessableEntity) Code ¶
func (o *AddPermissionsUnprocessableEntity) Code() int
Code gets the status code for the add permissions unprocessable entity response
func (*AddPermissionsUnprocessableEntity) Error ¶
func (o *AddPermissionsUnprocessableEntity) Error() string
func (*AddPermissionsUnprocessableEntity) GetPayload ¶
func (o *AddPermissionsUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*AddPermissionsUnprocessableEntity) IsClientError ¶
func (o *AddPermissionsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this add permissions unprocessable entity response has a 4xx status code
func (*AddPermissionsUnprocessableEntity) IsCode ¶
func (o *AddPermissionsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this add permissions unprocessable entity response a status code equal to that given
func (*AddPermissionsUnprocessableEntity) IsRedirect ¶
func (o *AddPermissionsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this add permissions unprocessable entity response has a 3xx status code
func (*AddPermissionsUnprocessableEntity) IsServerError ¶
func (o *AddPermissionsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this add permissions unprocessable entity response has a 5xx status code
func (*AddPermissionsUnprocessableEntity) IsSuccess ¶
func (o *AddPermissionsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this add permissions unprocessable entity response has a 2xx status code
func (*AddPermissionsUnprocessableEntity) String ¶
func (o *AddPermissionsUnprocessableEntity) String() string
type AssignRoleToGroupBadRequest ¶ added in v1.28.5
type AssignRoleToGroupBadRequest struct {
Payload *models.ErrorResponse
}
AssignRoleToGroupBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAssignRoleToGroupBadRequest ¶ added in v1.28.5
func NewAssignRoleToGroupBadRequest() *AssignRoleToGroupBadRequest
NewAssignRoleToGroupBadRequest creates a AssignRoleToGroupBadRequest with default headers values
func (*AssignRoleToGroupBadRequest) Code ¶ added in v1.28.5
func (o *AssignRoleToGroupBadRequest) Code() int
Code gets the status code for the assign role to group bad request response
func (*AssignRoleToGroupBadRequest) Error ¶ added in v1.28.5
func (o *AssignRoleToGroupBadRequest) Error() string
func (*AssignRoleToGroupBadRequest) GetPayload ¶ added in v1.28.5
func (o *AssignRoleToGroupBadRequest) GetPayload() *models.ErrorResponse
func (*AssignRoleToGroupBadRequest) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToGroupBadRequest) IsClientError() bool
IsClientError returns true when this assign role to group bad request response has a 4xx status code
func (*AssignRoleToGroupBadRequest) IsCode ¶ added in v1.28.5
func (o *AssignRoleToGroupBadRequest) IsCode(code int) bool
IsCode returns true when this assign role to group bad request response a status code equal to that given
func (*AssignRoleToGroupBadRequest) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this assign role to group bad request response has a 3xx status code
func (*AssignRoleToGroupBadRequest) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToGroupBadRequest) IsServerError() bool
IsServerError returns true when this assign role to group bad request response has a 5xx status code
func (*AssignRoleToGroupBadRequest) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this assign role to group bad request response has a 2xx status code
func (*AssignRoleToGroupBadRequest) String ¶ added in v1.28.5
func (o *AssignRoleToGroupBadRequest) String() string
type AssignRoleToGroupBody ¶ added in v1.28.5
type AssignRoleToGroupBody struct {
// the roles that assigned to group
Roles []string `json:"roles"`
}
AssignRoleToGroupBody assign role to group body swagger:model AssignRoleToGroupBody
func (*AssignRoleToGroupBody) ContextValidate ¶ added in v1.28.5
ContextValidate validates this assign role to group body based on context it is used
func (*AssignRoleToGroupBody) MarshalBinary ¶ added in v1.28.5
func (o *AssignRoleToGroupBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignRoleToGroupBody) UnmarshalBinary ¶ added in v1.28.5
func (o *AssignRoleToGroupBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignRoleToGroupForbidden ¶ added in v1.28.5
type AssignRoleToGroupForbidden struct {
Payload *models.ErrorResponse
}
AssignRoleToGroupForbidden describes a response with status code 403, with default header values.
Forbidden
func NewAssignRoleToGroupForbidden ¶ added in v1.28.5
func NewAssignRoleToGroupForbidden() *AssignRoleToGroupForbidden
NewAssignRoleToGroupForbidden creates a AssignRoleToGroupForbidden with default headers values
func (*AssignRoleToGroupForbidden) Code ¶ added in v1.28.5
func (o *AssignRoleToGroupForbidden) Code() int
Code gets the status code for the assign role to group forbidden response
func (*AssignRoleToGroupForbidden) Error ¶ added in v1.28.5
func (o *AssignRoleToGroupForbidden) Error() string
func (*AssignRoleToGroupForbidden) GetPayload ¶ added in v1.28.5
func (o *AssignRoleToGroupForbidden) GetPayload() *models.ErrorResponse
func (*AssignRoleToGroupForbidden) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToGroupForbidden) IsClientError() bool
IsClientError returns true when this assign role to group forbidden response has a 4xx status code
func (*AssignRoleToGroupForbidden) IsCode ¶ added in v1.28.5
func (o *AssignRoleToGroupForbidden) IsCode(code int) bool
IsCode returns true when this assign role to group forbidden response a status code equal to that given
func (*AssignRoleToGroupForbidden) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToGroupForbidden) IsRedirect() bool
IsRedirect returns true when this assign role to group forbidden response has a 3xx status code
func (*AssignRoleToGroupForbidden) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToGroupForbidden) IsServerError() bool
IsServerError returns true when this assign role to group forbidden response has a 5xx status code
func (*AssignRoleToGroupForbidden) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToGroupForbidden) IsSuccess() bool
IsSuccess returns true when this assign role to group forbidden response has a 2xx status code
func (*AssignRoleToGroupForbidden) String ¶ added in v1.28.5
func (o *AssignRoleToGroupForbidden) String() string
type AssignRoleToGroupInternalServerError ¶ added in v1.28.5
type AssignRoleToGroupInternalServerError struct {
Payload *models.ErrorResponse
}
AssignRoleToGroupInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewAssignRoleToGroupInternalServerError ¶ added in v1.28.5
func NewAssignRoleToGroupInternalServerError() *AssignRoleToGroupInternalServerError
NewAssignRoleToGroupInternalServerError creates a AssignRoleToGroupInternalServerError with default headers values
func (*AssignRoleToGroupInternalServerError) Code ¶ added in v1.28.5
func (o *AssignRoleToGroupInternalServerError) Code() int
Code gets the status code for the assign role to group internal server error response
func (*AssignRoleToGroupInternalServerError) Error ¶ added in v1.28.5
func (o *AssignRoleToGroupInternalServerError) Error() string
func (*AssignRoleToGroupInternalServerError) GetPayload ¶ added in v1.28.5
func (o *AssignRoleToGroupInternalServerError) GetPayload() *models.ErrorResponse
func (*AssignRoleToGroupInternalServerError) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToGroupInternalServerError) IsClientError() bool
IsClientError returns true when this assign role to group internal server error response has a 4xx status code
func (*AssignRoleToGroupInternalServerError) IsCode ¶ added in v1.28.5
func (o *AssignRoleToGroupInternalServerError) IsCode(code int) bool
IsCode returns true when this assign role to group internal server error response a status code equal to that given
func (*AssignRoleToGroupInternalServerError) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToGroupInternalServerError) IsRedirect() bool
IsRedirect returns true when this assign role to group internal server error response has a 3xx status code
func (*AssignRoleToGroupInternalServerError) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToGroupInternalServerError) IsServerError() bool
IsServerError returns true when this assign role to group internal server error response has a 5xx status code
func (*AssignRoleToGroupInternalServerError) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToGroupInternalServerError) IsSuccess() bool
IsSuccess returns true when this assign role to group internal server error response has a 2xx status code
func (*AssignRoleToGroupInternalServerError) String ¶ added in v1.28.5
func (o *AssignRoleToGroupInternalServerError) String() string
type AssignRoleToGroupNotFound ¶ added in v1.28.5
type AssignRoleToGroupNotFound struct {
}
AssignRoleToGroupNotFound describes a response with status code 404, with default header values.
role or group is not found.
func NewAssignRoleToGroupNotFound ¶ added in v1.28.5
func NewAssignRoleToGroupNotFound() *AssignRoleToGroupNotFound
NewAssignRoleToGroupNotFound creates a AssignRoleToGroupNotFound with default headers values
func (*AssignRoleToGroupNotFound) Code ¶ added in v1.28.5
func (o *AssignRoleToGroupNotFound) Code() int
Code gets the status code for the assign role to group not found response
func (*AssignRoleToGroupNotFound) Error ¶ added in v1.28.5
func (o *AssignRoleToGroupNotFound) Error() string
func (*AssignRoleToGroupNotFound) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToGroupNotFound) IsClientError() bool
IsClientError returns true when this assign role to group not found response has a 4xx status code
func (*AssignRoleToGroupNotFound) IsCode ¶ added in v1.28.5
func (o *AssignRoleToGroupNotFound) IsCode(code int) bool
IsCode returns true when this assign role to group not found response a status code equal to that given
func (*AssignRoleToGroupNotFound) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToGroupNotFound) IsRedirect() bool
IsRedirect returns true when this assign role to group not found response has a 3xx status code
func (*AssignRoleToGroupNotFound) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToGroupNotFound) IsServerError() bool
IsServerError returns true when this assign role to group not found response has a 5xx status code
func (*AssignRoleToGroupNotFound) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToGroupNotFound) IsSuccess() bool
IsSuccess returns true when this assign role to group not found response has a 2xx status code
func (*AssignRoleToGroupNotFound) String ¶ added in v1.28.5
func (o *AssignRoleToGroupNotFound) String() string
type AssignRoleToGroupOK ¶ added in v1.28.5
type AssignRoleToGroupOK struct {
}
AssignRoleToGroupOK describes a response with status code 200, with default header values.
Role assigned successfully
func NewAssignRoleToGroupOK ¶ added in v1.28.5
func NewAssignRoleToGroupOK() *AssignRoleToGroupOK
NewAssignRoleToGroupOK creates a AssignRoleToGroupOK with default headers values
func (*AssignRoleToGroupOK) Code ¶ added in v1.28.5
func (o *AssignRoleToGroupOK) Code() int
Code gets the status code for the assign role to group o k response
func (*AssignRoleToGroupOK) Error ¶ added in v1.28.5
func (o *AssignRoleToGroupOK) Error() string
func (*AssignRoleToGroupOK) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToGroupOK) IsClientError() bool
IsClientError returns true when this assign role to group o k response has a 4xx status code
func (*AssignRoleToGroupOK) IsCode ¶ added in v1.28.5
func (o *AssignRoleToGroupOK) IsCode(code int) bool
IsCode returns true when this assign role to group o k response a status code equal to that given
func (*AssignRoleToGroupOK) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToGroupOK) IsRedirect() bool
IsRedirect returns true when this assign role to group o k response has a 3xx status code
func (*AssignRoleToGroupOK) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToGroupOK) IsServerError() bool
IsServerError returns true when this assign role to group o k response has a 5xx status code
func (*AssignRoleToGroupOK) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToGroupOK) IsSuccess() bool
IsSuccess returns true when this assign role to group o k response has a 2xx status code
func (*AssignRoleToGroupOK) String ¶ added in v1.28.5
func (o *AssignRoleToGroupOK) String() string
type AssignRoleToGroupParams ¶ added in v1.28.5
type AssignRoleToGroupParams struct {
// Body.
Body AssignRoleToGroupBody
/* ID.
group name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AssignRoleToGroupParams contains all the parameters to send to the API endpoint
for the assign role to group operation. Typically these are written to a http.Request.
func NewAssignRoleToGroupParams ¶ added in v1.28.5
func NewAssignRoleToGroupParams() *AssignRoleToGroupParams
NewAssignRoleToGroupParams creates a new AssignRoleToGroupParams 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 NewAssignRoleToGroupParamsWithContext ¶ added in v1.28.5
func NewAssignRoleToGroupParamsWithContext(ctx context.Context) *AssignRoleToGroupParams
NewAssignRoleToGroupParamsWithContext creates a new AssignRoleToGroupParams object with the ability to set a context for a request.
func NewAssignRoleToGroupParamsWithHTTPClient ¶ added in v1.28.5
func NewAssignRoleToGroupParamsWithHTTPClient(client *http.Client) *AssignRoleToGroupParams
NewAssignRoleToGroupParamsWithHTTPClient creates a new AssignRoleToGroupParams object with the ability to set a custom HTTPClient for a request.
func NewAssignRoleToGroupParamsWithTimeout ¶ added in v1.28.5
func NewAssignRoleToGroupParamsWithTimeout(timeout time.Duration) *AssignRoleToGroupParams
NewAssignRoleToGroupParamsWithTimeout creates a new AssignRoleToGroupParams object with the ability to set a timeout on a request.
func (*AssignRoleToGroupParams) SetBody ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) SetBody(body AssignRoleToGroupBody)
SetBody adds the body to the assign role to group params
func (*AssignRoleToGroupParams) SetContext ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the assign role to group params
func (*AssignRoleToGroupParams) SetDefaults ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) SetDefaults()
SetDefaults hydrates default values in the assign role to group params (not the query body).
All values with no default are reset to their zero value.
func (*AssignRoleToGroupParams) SetHTTPClient ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the assign role to group params
func (*AssignRoleToGroupParams) SetID ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) SetID(id string)
SetID adds the id to the assign role to group params
func (*AssignRoleToGroupParams) SetTimeout ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the assign role to group params
func (*AssignRoleToGroupParams) WithBody ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) WithBody(body AssignRoleToGroupBody) *AssignRoleToGroupParams
WithBody adds the body to the assign role to group params
func (*AssignRoleToGroupParams) WithContext ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) WithContext(ctx context.Context) *AssignRoleToGroupParams
WithContext adds the context to the assign role to group params
func (*AssignRoleToGroupParams) WithDefaults ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) WithDefaults() *AssignRoleToGroupParams
WithDefaults hydrates default values in the assign role to group params (not the query body).
All values with no default are reset to their zero value.
func (*AssignRoleToGroupParams) WithHTTPClient ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) WithHTTPClient(client *http.Client) *AssignRoleToGroupParams
WithHTTPClient adds the HTTPClient to the assign role to group params
func (*AssignRoleToGroupParams) WithID ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) WithID(id string) *AssignRoleToGroupParams
WithID adds the id to the assign role to group params
func (*AssignRoleToGroupParams) WithTimeout ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) WithTimeout(timeout time.Duration) *AssignRoleToGroupParams
WithTimeout adds the timeout to the assign role to group params
func (*AssignRoleToGroupParams) WriteToRequest ¶ added in v1.28.5
func (o *AssignRoleToGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssignRoleToGroupReader ¶ added in v1.28.5
type AssignRoleToGroupReader struct {
// contains filtered or unexported fields
}
AssignRoleToGroupReader is a Reader for the AssignRoleToGroup structure.
func (*AssignRoleToGroupReader) ReadResponse ¶ added in v1.28.5
func (o *AssignRoleToGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssignRoleToGroupUnauthorized ¶ added in v1.28.5
type AssignRoleToGroupUnauthorized struct {
}
AssignRoleToGroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewAssignRoleToGroupUnauthorized ¶ added in v1.28.5
func NewAssignRoleToGroupUnauthorized() *AssignRoleToGroupUnauthorized
NewAssignRoleToGroupUnauthorized creates a AssignRoleToGroupUnauthorized with default headers values
func (*AssignRoleToGroupUnauthorized) Code ¶ added in v1.28.5
func (o *AssignRoleToGroupUnauthorized) Code() int
Code gets the status code for the assign role to group unauthorized response
func (*AssignRoleToGroupUnauthorized) Error ¶ added in v1.28.5
func (o *AssignRoleToGroupUnauthorized) Error() string
func (*AssignRoleToGroupUnauthorized) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToGroupUnauthorized) IsClientError() bool
IsClientError returns true when this assign role to group unauthorized response has a 4xx status code
func (*AssignRoleToGroupUnauthorized) IsCode ¶ added in v1.28.5
func (o *AssignRoleToGroupUnauthorized) IsCode(code int) bool
IsCode returns true when this assign role to group unauthorized response a status code equal to that given
func (*AssignRoleToGroupUnauthorized) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToGroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this assign role to group unauthorized response has a 3xx status code
func (*AssignRoleToGroupUnauthorized) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToGroupUnauthorized) IsServerError() bool
IsServerError returns true when this assign role to group unauthorized response has a 5xx status code
func (*AssignRoleToGroupUnauthorized) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToGroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this assign role to group unauthorized response has a 2xx status code
func (*AssignRoleToGroupUnauthorized) String ¶ added in v1.28.5
func (o *AssignRoleToGroupUnauthorized) String() string
type AssignRoleToUserBadRequest ¶ added in v1.28.5
type AssignRoleToUserBadRequest struct {
Payload *models.ErrorResponse
}
AssignRoleToUserBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAssignRoleToUserBadRequest ¶ added in v1.28.5
func NewAssignRoleToUserBadRequest() *AssignRoleToUserBadRequest
NewAssignRoleToUserBadRequest creates a AssignRoleToUserBadRequest with default headers values
func (*AssignRoleToUserBadRequest) Code ¶ added in v1.28.5
func (o *AssignRoleToUserBadRequest) Code() int
Code gets the status code for the assign role to user bad request response
func (*AssignRoleToUserBadRequest) Error ¶ added in v1.28.5
func (o *AssignRoleToUserBadRequest) Error() string
func (*AssignRoleToUserBadRequest) GetPayload ¶ added in v1.28.5
func (o *AssignRoleToUserBadRequest) GetPayload() *models.ErrorResponse
func (*AssignRoleToUserBadRequest) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToUserBadRequest) IsClientError() bool
IsClientError returns true when this assign role to user bad request response has a 4xx status code
func (*AssignRoleToUserBadRequest) IsCode ¶ added in v1.28.5
func (o *AssignRoleToUserBadRequest) IsCode(code int) bool
IsCode returns true when this assign role to user bad request response a status code equal to that given
func (*AssignRoleToUserBadRequest) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToUserBadRequest) IsRedirect() bool
IsRedirect returns true when this assign role to user bad request response has a 3xx status code
func (*AssignRoleToUserBadRequest) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToUserBadRequest) IsServerError() bool
IsServerError returns true when this assign role to user bad request response has a 5xx status code
func (*AssignRoleToUserBadRequest) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToUserBadRequest) IsSuccess() bool
IsSuccess returns true when this assign role to user bad request response has a 2xx status code
func (*AssignRoleToUserBadRequest) String ¶ added in v1.28.5
func (o *AssignRoleToUserBadRequest) String() string
type AssignRoleToUserBody ¶ added in v1.28.5
type AssignRoleToUserBody struct {
// the roles that assigned to user
Roles []string `json:"roles"`
// user type
UserType models.UserTypeInput `json:"userType,omitempty"`
}
AssignRoleToUserBody assign role to user body swagger:model AssignRoleToUserBody
func (*AssignRoleToUserBody) ContextValidate ¶ added in v1.28.5
ContextValidate validate this assign role to user body based on the context it is used
func (*AssignRoleToUserBody) MarshalBinary ¶ added in v1.28.5
func (o *AssignRoleToUserBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignRoleToUserBody) UnmarshalBinary ¶ added in v1.28.5
func (o *AssignRoleToUserBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignRoleToUserForbidden ¶ added in v1.28.5
type AssignRoleToUserForbidden struct {
Payload *models.ErrorResponse
}
AssignRoleToUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewAssignRoleToUserForbidden ¶ added in v1.28.5
func NewAssignRoleToUserForbidden() *AssignRoleToUserForbidden
NewAssignRoleToUserForbidden creates a AssignRoleToUserForbidden with default headers values
func (*AssignRoleToUserForbidden) Code ¶ added in v1.28.5
func (o *AssignRoleToUserForbidden) Code() int
Code gets the status code for the assign role to user forbidden response
func (*AssignRoleToUserForbidden) Error ¶ added in v1.28.5
func (o *AssignRoleToUserForbidden) Error() string
func (*AssignRoleToUserForbidden) GetPayload ¶ added in v1.28.5
func (o *AssignRoleToUserForbidden) GetPayload() *models.ErrorResponse
func (*AssignRoleToUserForbidden) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToUserForbidden) IsClientError() bool
IsClientError returns true when this assign role to user forbidden response has a 4xx status code
func (*AssignRoleToUserForbidden) IsCode ¶ added in v1.28.5
func (o *AssignRoleToUserForbidden) IsCode(code int) bool
IsCode returns true when this assign role to user forbidden response a status code equal to that given
func (*AssignRoleToUserForbidden) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToUserForbidden) IsRedirect() bool
IsRedirect returns true when this assign role to user forbidden response has a 3xx status code
func (*AssignRoleToUserForbidden) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToUserForbidden) IsServerError() bool
IsServerError returns true when this assign role to user forbidden response has a 5xx status code
func (*AssignRoleToUserForbidden) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToUserForbidden) IsSuccess() bool
IsSuccess returns true when this assign role to user forbidden response has a 2xx status code
func (*AssignRoleToUserForbidden) String ¶ added in v1.28.5
func (o *AssignRoleToUserForbidden) String() string
type AssignRoleToUserInternalServerError ¶ added in v1.28.5
type AssignRoleToUserInternalServerError struct {
Payload *models.ErrorResponse
}
AssignRoleToUserInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewAssignRoleToUserInternalServerError ¶ added in v1.28.5
func NewAssignRoleToUserInternalServerError() *AssignRoleToUserInternalServerError
NewAssignRoleToUserInternalServerError creates a AssignRoleToUserInternalServerError with default headers values
func (*AssignRoleToUserInternalServerError) Code ¶ added in v1.28.5
func (o *AssignRoleToUserInternalServerError) Code() int
Code gets the status code for the assign role to user internal server error response
func (*AssignRoleToUserInternalServerError) Error ¶ added in v1.28.5
func (o *AssignRoleToUserInternalServerError) Error() string
func (*AssignRoleToUserInternalServerError) GetPayload ¶ added in v1.28.5
func (o *AssignRoleToUserInternalServerError) GetPayload() *models.ErrorResponse
func (*AssignRoleToUserInternalServerError) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToUserInternalServerError) IsClientError() bool
IsClientError returns true when this assign role to user internal server error response has a 4xx status code
func (*AssignRoleToUserInternalServerError) IsCode ¶ added in v1.28.5
func (o *AssignRoleToUserInternalServerError) IsCode(code int) bool
IsCode returns true when this assign role to user internal server error response a status code equal to that given
func (*AssignRoleToUserInternalServerError) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this assign role to user internal server error response has a 3xx status code
func (*AssignRoleToUserInternalServerError) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToUserInternalServerError) IsServerError() bool
IsServerError returns true when this assign role to user internal server error response has a 5xx status code
func (*AssignRoleToUserInternalServerError) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this assign role to user internal server error response has a 2xx status code
func (*AssignRoleToUserInternalServerError) String ¶ added in v1.28.5
func (o *AssignRoleToUserInternalServerError) String() string
type AssignRoleToUserNotFound ¶ added in v1.28.5
type AssignRoleToUserNotFound struct {
Payload *models.ErrorResponse
}
AssignRoleToUserNotFound describes a response with status code 404, with default header values.
role or user is not found.
func NewAssignRoleToUserNotFound ¶ added in v1.28.5
func NewAssignRoleToUserNotFound() *AssignRoleToUserNotFound
NewAssignRoleToUserNotFound creates a AssignRoleToUserNotFound with default headers values
func (*AssignRoleToUserNotFound) Code ¶ added in v1.28.5
func (o *AssignRoleToUserNotFound) Code() int
Code gets the status code for the assign role to user not found response
func (*AssignRoleToUserNotFound) Error ¶ added in v1.28.5
func (o *AssignRoleToUserNotFound) Error() string
func (*AssignRoleToUserNotFound) GetPayload ¶ added in v1.28.5
func (o *AssignRoleToUserNotFound) GetPayload() *models.ErrorResponse
func (*AssignRoleToUserNotFound) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToUserNotFound) IsClientError() bool
IsClientError returns true when this assign role to user not found response has a 4xx status code
func (*AssignRoleToUserNotFound) IsCode ¶ added in v1.28.5
func (o *AssignRoleToUserNotFound) IsCode(code int) bool
IsCode returns true when this assign role to user not found response a status code equal to that given
func (*AssignRoleToUserNotFound) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToUserNotFound) IsRedirect() bool
IsRedirect returns true when this assign role to user not found response has a 3xx status code
func (*AssignRoleToUserNotFound) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToUserNotFound) IsServerError() bool
IsServerError returns true when this assign role to user not found response has a 5xx status code
func (*AssignRoleToUserNotFound) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToUserNotFound) IsSuccess() bool
IsSuccess returns true when this assign role to user not found response has a 2xx status code
func (*AssignRoleToUserNotFound) String ¶ added in v1.28.5
func (o *AssignRoleToUserNotFound) String() string
type AssignRoleToUserOK ¶ added in v1.28.5
type AssignRoleToUserOK struct {
}
AssignRoleToUserOK describes a response with status code 200, with default header values.
Role assigned successfully
func NewAssignRoleToUserOK ¶ added in v1.28.5
func NewAssignRoleToUserOK() *AssignRoleToUserOK
NewAssignRoleToUserOK creates a AssignRoleToUserOK with default headers values
func (*AssignRoleToUserOK) Code ¶ added in v1.28.5
func (o *AssignRoleToUserOK) Code() int
Code gets the status code for the assign role to user o k response
func (*AssignRoleToUserOK) Error ¶ added in v1.28.5
func (o *AssignRoleToUserOK) Error() string
func (*AssignRoleToUserOK) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToUserOK) IsClientError() bool
IsClientError returns true when this assign role to user o k response has a 4xx status code
func (*AssignRoleToUserOK) IsCode ¶ added in v1.28.5
func (o *AssignRoleToUserOK) IsCode(code int) bool
IsCode returns true when this assign role to user o k response a status code equal to that given
func (*AssignRoleToUserOK) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToUserOK) IsRedirect() bool
IsRedirect returns true when this assign role to user o k response has a 3xx status code
func (*AssignRoleToUserOK) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToUserOK) IsServerError() bool
IsServerError returns true when this assign role to user o k response has a 5xx status code
func (*AssignRoleToUserOK) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToUserOK) IsSuccess() bool
IsSuccess returns true when this assign role to user o k response has a 2xx status code
func (*AssignRoleToUserOK) String ¶ added in v1.28.5
func (o *AssignRoleToUserOK) String() string
type AssignRoleToUserParams ¶ added in v1.28.5
type AssignRoleToUserParams struct {
// Body.
Body AssignRoleToUserBody
/* ID.
user name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AssignRoleToUserParams contains all the parameters to send to the API endpoint
for the assign role to user operation. Typically these are written to a http.Request.
func NewAssignRoleToUserParams ¶ added in v1.28.5
func NewAssignRoleToUserParams() *AssignRoleToUserParams
NewAssignRoleToUserParams creates a new AssignRoleToUserParams 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 NewAssignRoleToUserParamsWithContext ¶ added in v1.28.5
func NewAssignRoleToUserParamsWithContext(ctx context.Context) *AssignRoleToUserParams
NewAssignRoleToUserParamsWithContext creates a new AssignRoleToUserParams object with the ability to set a context for a request.
func NewAssignRoleToUserParamsWithHTTPClient ¶ added in v1.28.5
func NewAssignRoleToUserParamsWithHTTPClient(client *http.Client) *AssignRoleToUserParams
NewAssignRoleToUserParamsWithHTTPClient creates a new AssignRoleToUserParams object with the ability to set a custom HTTPClient for a request.
func NewAssignRoleToUserParamsWithTimeout ¶ added in v1.28.5
func NewAssignRoleToUserParamsWithTimeout(timeout time.Duration) *AssignRoleToUserParams
NewAssignRoleToUserParamsWithTimeout creates a new AssignRoleToUserParams object with the ability to set a timeout on a request.
func (*AssignRoleToUserParams) SetBody ¶ added in v1.28.5
func (o *AssignRoleToUserParams) SetBody(body AssignRoleToUserBody)
SetBody adds the body to the assign role to user params
func (*AssignRoleToUserParams) SetContext ¶ added in v1.28.5
func (o *AssignRoleToUserParams) SetContext(ctx context.Context)
SetContext adds the context to the assign role to user params
func (*AssignRoleToUserParams) SetDefaults ¶ added in v1.28.5
func (o *AssignRoleToUserParams) SetDefaults()
SetDefaults hydrates default values in the assign role to user params (not the query body).
All values with no default are reset to their zero value.
func (*AssignRoleToUserParams) SetHTTPClient ¶ added in v1.28.5
func (o *AssignRoleToUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the assign role to user params
func (*AssignRoleToUserParams) SetID ¶ added in v1.28.5
func (o *AssignRoleToUserParams) SetID(id string)
SetID adds the id to the assign role to user params
func (*AssignRoleToUserParams) SetTimeout ¶ added in v1.28.5
func (o *AssignRoleToUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the assign role to user params
func (*AssignRoleToUserParams) WithBody ¶ added in v1.28.5
func (o *AssignRoleToUserParams) WithBody(body AssignRoleToUserBody) *AssignRoleToUserParams
WithBody adds the body to the assign role to user params
func (*AssignRoleToUserParams) WithContext ¶ added in v1.28.5
func (o *AssignRoleToUserParams) WithContext(ctx context.Context) *AssignRoleToUserParams
WithContext adds the context to the assign role to user params
func (*AssignRoleToUserParams) WithDefaults ¶ added in v1.28.5
func (o *AssignRoleToUserParams) WithDefaults() *AssignRoleToUserParams
WithDefaults hydrates default values in the assign role to user params (not the query body).
All values with no default are reset to their zero value.
func (*AssignRoleToUserParams) WithHTTPClient ¶ added in v1.28.5
func (o *AssignRoleToUserParams) WithHTTPClient(client *http.Client) *AssignRoleToUserParams
WithHTTPClient adds the HTTPClient to the assign role to user params
func (*AssignRoleToUserParams) WithID ¶ added in v1.28.5
func (o *AssignRoleToUserParams) WithID(id string) *AssignRoleToUserParams
WithID adds the id to the assign role to user params
func (*AssignRoleToUserParams) WithTimeout ¶ added in v1.28.5
func (o *AssignRoleToUserParams) WithTimeout(timeout time.Duration) *AssignRoleToUserParams
WithTimeout adds the timeout to the assign role to user params
func (*AssignRoleToUserParams) WriteToRequest ¶ added in v1.28.5
func (o *AssignRoleToUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssignRoleToUserReader ¶ added in v1.28.5
type AssignRoleToUserReader struct {
// contains filtered or unexported fields
}
AssignRoleToUserReader is a Reader for the AssignRoleToUser structure.
func (*AssignRoleToUserReader) ReadResponse ¶ added in v1.28.5
func (o *AssignRoleToUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssignRoleToUserUnauthorized ¶ added in v1.28.5
type AssignRoleToUserUnauthorized struct {
}
AssignRoleToUserUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewAssignRoleToUserUnauthorized ¶ added in v1.28.5
func NewAssignRoleToUserUnauthorized() *AssignRoleToUserUnauthorized
NewAssignRoleToUserUnauthorized creates a AssignRoleToUserUnauthorized with default headers values
func (*AssignRoleToUserUnauthorized) Code ¶ added in v1.28.5
func (o *AssignRoleToUserUnauthorized) Code() int
Code gets the status code for the assign role to user unauthorized response
func (*AssignRoleToUserUnauthorized) Error ¶ added in v1.28.5
func (o *AssignRoleToUserUnauthorized) Error() string
func (*AssignRoleToUserUnauthorized) IsClientError ¶ added in v1.28.5
func (o *AssignRoleToUserUnauthorized) IsClientError() bool
IsClientError returns true when this assign role to user unauthorized response has a 4xx status code
func (*AssignRoleToUserUnauthorized) IsCode ¶ added in v1.28.5
func (o *AssignRoleToUserUnauthorized) IsCode(code int) bool
IsCode returns true when this assign role to user unauthorized response a status code equal to that given
func (*AssignRoleToUserUnauthorized) IsRedirect ¶ added in v1.28.5
func (o *AssignRoleToUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this assign role to user unauthorized response has a 3xx status code
func (*AssignRoleToUserUnauthorized) IsServerError ¶ added in v1.28.5
func (o *AssignRoleToUserUnauthorized) IsServerError() bool
IsServerError returns true when this assign role to user unauthorized response has a 5xx status code
func (*AssignRoleToUserUnauthorized) IsSuccess ¶ added in v1.28.5
func (o *AssignRoleToUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this assign role to user unauthorized response has a 2xx status code
func (*AssignRoleToUserUnauthorized) String ¶ added in v1.28.5
func (o *AssignRoleToUserUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for authz API
func (*Client) AddPermissions ¶
func (a *Client) AddPermissions(params *AddPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddPermissionsOK, error)
AddPermissions adds permission to a given role
func (*Client) AssignRoleToGroup ¶ added in v1.28.5
func (a *Client) AssignRoleToGroup(params *AssignRoleToGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssignRoleToGroupOK, error)
AssignRoleToGroup assigns a role to a group
func (*Client) AssignRoleToUser ¶ added in v1.28.5
func (a *Client) AssignRoleToUser(params *AssignRoleToUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssignRoleToUserOK, error)
AssignRoleToUser assigns a role to a user
func (*Client) CreateRole ¶
func (a *Client) CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRoleCreated, error)
CreateRole creates new role
func (*Client) DeleteRole ¶
func (a *Client) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRoleNoContent, error)
DeleteRole deletes role
func (*Client) GetRole ¶
func (a *Client) GetRole(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRoleOK, error)
GetRole gets a role
func (*Client) GetRoles ¶
func (a *Client) GetRoles(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRolesOK, error)
GetRoles gets all roles
func (*Client) GetRolesForUser ¶
func (a *Client) GetRolesForUser(params *GetRolesForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRolesForUserOK, error)
GetRolesForUser gets roles assigned to user
func (*Client) GetRolesForUserDeprecated ¶ added in v1.30.0
func (a *Client) GetRolesForUserDeprecated(params *GetRolesForUserDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRolesForUserDeprecatedOK, error)
GetRolesForUserDeprecated gets roles assigned to user d b o ID c deprecated will be removed when 1 29 is not supported anymore
func (*Client) GetUsersForRole ¶
func (a *Client) GetUsersForRole(params *GetUsersForRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersForRoleOK, error)
GetUsersForRole gets users assigned to role
func (*Client) GetUsersForRoleDeprecated ¶ added in v1.30.0
func (a *Client) GetUsersForRoleDeprecated(params *GetUsersForRoleDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersForRoleDeprecatedOK, error)
GetUsersForRoleDeprecated gets users db o ID c assigned to role deprecated will be removed when 1 29 is not supported anymore
func (*Client) HasPermission ¶
func (a *Client) HasPermission(params *HasPermissionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HasPermissionOK, error)
HasPermission checks whether role possesses this permission
func (*Client) RemovePermissions ¶
func (a *Client) RemovePermissions(params *RemovePermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemovePermissionsOK, error)
RemovePermissions removes permissions from a role if this results in an empty role the role will be deleted
func (*Client) RevokeRoleFromGroup ¶ added in v1.28.5
func (a *Client) RevokeRoleFromGroup(params *RevokeRoleFromGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeRoleFromGroupOK, error)
RevokeRoleFromGroup revokes a role from a group
func (*Client) RevokeRoleFromUser ¶ added in v1.28.5
func (a *Client) RevokeRoleFromUser(params *RevokeRoleFromUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeRoleFromUserOK, error)
RevokeRoleFromUser revokes a role from a user
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
AddPermissions(params *AddPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddPermissionsOK, error)
AssignRoleToGroup(params *AssignRoleToGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssignRoleToGroupOK, error)
AssignRoleToUser(params *AssignRoleToUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssignRoleToUserOK, error)
CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRoleCreated, error)
DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRoleNoContent, error)
GetRole(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRoleOK, error)
GetRoles(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRolesOK, error)
GetRolesForUser(params *GetRolesForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRolesForUserOK, error)
GetRolesForUserDeprecated(params *GetRolesForUserDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRolesForUserDeprecatedOK, error)
GetUsersForRole(params *GetUsersForRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersForRoleOK, error)
GetUsersForRoleDeprecated(params *GetUsersForRoleDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersForRoleDeprecatedOK, error)
HasPermission(params *HasPermissionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HasPermissionOK, error)
RemovePermissions(params *RemovePermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemovePermissionsOK, error)
RevokeRoleFromGroup(params *RevokeRoleFromGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeRoleFromGroupOK, error)
RevokeRoleFromUser(params *RevokeRoleFromUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeRoleFromUserOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new authz API client.
type CreateRoleBadRequest ¶
type CreateRoleBadRequest struct {
Payload *models.ErrorResponse
}
CreateRoleBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewCreateRoleBadRequest ¶
func NewCreateRoleBadRequest() *CreateRoleBadRequest
NewCreateRoleBadRequest creates a CreateRoleBadRequest with default headers values
func (*CreateRoleBadRequest) Code ¶
func (o *CreateRoleBadRequest) Code() int
Code gets the status code for the create role bad request response
func (*CreateRoleBadRequest) Error ¶
func (o *CreateRoleBadRequest) Error() string
func (*CreateRoleBadRequest) GetPayload ¶
func (o *CreateRoleBadRequest) GetPayload() *models.ErrorResponse
func (*CreateRoleBadRequest) IsClientError ¶
func (o *CreateRoleBadRequest) IsClientError() bool
IsClientError returns true when this create role bad request response has a 4xx status code
func (*CreateRoleBadRequest) IsCode ¶
func (o *CreateRoleBadRequest) IsCode(code int) bool
IsCode returns true when this create role bad request response a status code equal to that given
func (*CreateRoleBadRequest) IsRedirect ¶
func (o *CreateRoleBadRequest) IsRedirect() bool
IsRedirect returns true when this create role bad request response has a 3xx status code
func (*CreateRoleBadRequest) IsServerError ¶
func (o *CreateRoleBadRequest) IsServerError() bool
IsServerError returns true when this create role bad request response has a 5xx status code
func (*CreateRoleBadRequest) IsSuccess ¶
func (o *CreateRoleBadRequest) IsSuccess() bool
IsSuccess returns true when this create role bad request response has a 2xx status code
func (*CreateRoleBadRequest) String ¶
func (o *CreateRoleBadRequest) String() string
type CreateRoleConflict ¶
type CreateRoleConflict struct {
Payload *models.ErrorResponse
}
CreateRoleConflict describes a response with status code 409, with default header values.
Role already exists
func NewCreateRoleConflict ¶
func NewCreateRoleConflict() *CreateRoleConflict
NewCreateRoleConflict creates a CreateRoleConflict with default headers values
func (*CreateRoleConflict) Code ¶
func (o *CreateRoleConflict) Code() int
Code gets the status code for the create role conflict response
func (*CreateRoleConflict) Error ¶
func (o *CreateRoleConflict) Error() string
func (*CreateRoleConflict) GetPayload ¶
func (o *CreateRoleConflict) GetPayload() *models.ErrorResponse
func (*CreateRoleConflict) IsClientError ¶
func (o *CreateRoleConflict) IsClientError() bool
IsClientError returns true when this create role conflict response has a 4xx status code
func (*CreateRoleConflict) IsCode ¶
func (o *CreateRoleConflict) IsCode(code int) bool
IsCode returns true when this create role conflict response a status code equal to that given
func (*CreateRoleConflict) IsRedirect ¶
func (o *CreateRoleConflict) IsRedirect() bool
IsRedirect returns true when this create role conflict response has a 3xx status code
func (*CreateRoleConflict) IsServerError ¶
func (o *CreateRoleConflict) IsServerError() bool
IsServerError returns true when this create role conflict response has a 5xx status code
func (*CreateRoleConflict) IsSuccess ¶
func (o *CreateRoleConflict) IsSuccess() bool
IsSuccess returns true when this create role conflict response has a 2xx status code
func (*CreateRoleConflict) String ¶
func (o *CreateRoleConflict) String() string
type CreateRoleCreated ¶
type CreateRoleCreated struct {
}
CreateRoleCreated describes a response with status code 201, with default header values.
Role created successfully
func NewCreateRoleCreated ¶
func NewCreateRoleCreated() *CreateRoleCreated
NewCreateRoleCreated creates a CreateRoleCreated with default headers values
func (*CreateRoleCreated) Code ¶
func (o *CreateRoleCreated) Code() int
Code gets the status code for the create role created response
func (*CreateRoleCreated) Error ¶
func (o *CreateRoleCreated) Error() string
func (*CreateRoleCreated) IsClientError ¶
func (o *CreateRoleCreated) IsClientError() bool
IsClientError returns true when this create role created response has a 4xx status code
func (*CreateRoleCreated) IsCode ¶
func (o *CreateRoleCreated) IsCode(code int) bool
IsCode returns true when this create role created response a status code equal to that given
func (*CreateRoleCreated) IsRedirect ¶
func (o *CreateRoleCreated) IsRedirect() bool
IsRedirect returns true when this create role created response has a 3xx status code
func (*CreateRoleCreated) IsServerError ¶
func (o *CreateRoleCreated) IsServerError() bool
IsServerError returns true when this create role created response has a 5xx status code
func (*CreateRoleCreated) IsSuccess ¶
func (o *CreateRoleCreated) IsSuccess() bool
IsSuccess returns true when this create role created response has a 2xx status code
func (*CreateRoleCreated) String ¶
func (o *CreateRoleCreated) String() string
type CreateRoleForbidden ¶
type CreateRoleForbidden struct {
Payload *models.ErrorResponse
}
CreateRoleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateRoleForbidden ¶
func NewCreateRoleForbidden() *CreateRoleForbidden
NewCreateRoleForbidden creates a CreateRoleForbidden with default headers values
func (*CreateRoleForbidden) Code ¶
func (o *CreateRoleForbidden) Code() int
Code gets the status code for the create role forbidden response
func (*CreateRoleForbidden) Error ¶
func (o *CreateRoleForbidden) Error() string
func (*CreateRoleForbidden) GetPayload ¶
func (o *CreateRoleForbidden) GetPayload() *models.ErrorResponse
func (*CreateRoleForbidden) IsClientError ¶
func (o *CreateRoleForbidden) IsClientError() bool
IsClientError returns true when this create role forbidden response has a 4xx status code
func (*CreateRoleForbidden) IsCode ¶
func (o *CreateRoleForbidden) IsCode(code int) bool
IsCode returns true when this create role forbidden response a status code equal to that given
func (*CreateRoleForbidden) IsRedirect ¶
func (o *CreateRoleForbidden) IsRedirect() bool
IsRedirect returns true when this create role forbidden response has a 3xx status code
func (*CreateRoleForbidden) IsServerError ¶
func (o *CreateRoleForbidden) IsServerError() bool
IsServerError returns true when this create role forbidden response has a 5xx status code
func (*CreateRoleForbidden) IsSuccess ¶
func (o *CreateRoleForbidden) IsSuccess() bool
IsSuccess returns true when this create role forbidden response has a 2xx status code
func (*CreateRoleForbidden) String ¶
func (o *CreateRoleForbidden) String() string
type CreateRoleInternalServerError ¶
type CreateRoleInternalServerError struct {
Payload *models.ErrorResponse
}
CreateRoleInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewCreateRoleInternalServerError ¶
func NewCreateRoleInternalServerError() *CreateRoleInternalServerError
NewCreateRoleInternalServerError creates a CreateRoleInternalServerError with default headers values
func (*CreateRoleInternalServerError) Code ¶
func (o *CreateRoleInternalServerError) Code() int
Code gets the status code for the create role internal server error response
func (*CreateRoleInternalServerError) Error ¶
func (o *CreateRoleInternalServerError) Error() string
func (*CreateRoleInternalServerError) GetPayload ¶
func (o *CreateRoleInternalServerError) GetPayload() *models.ErrorResponse
func (*CreateRoleInternalServerError) IsClientError ¶
func (o *CreateRoleInternalServerError) IsClientError() bool
IsClientError returns true when this create role internal server error response has a 4xx status code
func (*CreateRoleInternalServerError) IsCode ¶
func (o *CreateRoleInternalServerError) IsCode(code int) bool
IsCode returns true when this create role internal server error response a status code equal to that given
func (*CreateRoleInternalServerError) IsRedirect ¶
func (o *CreateRoleInternalServerError) IsRedirect() bool
IsRedirect returns true when this create role internal server error response has a 3xx status code
func (*CreateRoleInternalServerError) IsServerError ¶
func (o *CreateRoleInternalServerError) IsServerError() bool
IsServerError returns true when this create role internal server error response has a 5xx status code
func (*CreateRoleInternalServerError) IsSuccess ¶
func (o *CreateRoleInternalServerError) IsSuccess() bool
IsSuccess returns true when this create role internal server error response has a 2xx status code
func (*CreateRoleInternalServerError) String ¶
func (o *CreateRoleInternalServerError) String() string
type CreateRoleParams ¶
type CreateRoleParams struct {
// Body.
Body *models.Role
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateRoleParams contains all the parameters to send to the API endpoint
for the create role operation. Typically these are written to a http.Request.
func NewCreateRoleParams ¶
func NewCreateRoleParams() *CreateRoleParams
NewCreateRoleParams creates a new CreateRoleParams object, with the default 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 NewCreateRoleParamsWithContext ¶
func NewCreateRoleParamsWithContext(ctx context.Context) *CreateRoleParams
NewCreateRoleParamsWithContext creates a new CreateRoleParams object with the ability to set a context for a request.
func NewCreateRoleParamsWithHTTPClient ¶
func NewCreateRoleParamsWithHTTPClient(client *http.Client) *CreateRoleParams
NewCreateRoleParamsWithHTTPClient creates a new CreateRoleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRoleParamsWithTimeout ¶
func NewCreateRoleParamsWithTimeout(timeout time.Duration) *CreateRoleParams
NewCreateRoleParamsWithTimeout creates a new CreateRoleParams object with the ability to set a timeout on a request.
func (*CreateRoleParams) SetBody ¶
func (o *CreateRoleParams) SetBody(body *models.Role)
SetBody adds the body to the create role params
func (*CreateRoleParams) SetContext ¶
func (o *CreateRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the create role params
func (*CreateRoleParams) SetDefaults ¶
func (o *CreateRoleParams) SetDefaults()
SetDefaults hydrates default values in the create role params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRoleParams) SetHTTPClient ¶
func (o *CreateRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create role params
func (*CreateRoleParams) SetTimeout ¶
func (o *CreateRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create role params
func (*CreateRoleParams) WithBody ¶
func (o *CreateRoleParams) WithBody(body *models.Role) *CreateRoleParams
WithBody adds the body to the create role params
func (*CreateRoleParams) WithContext ¶
func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams
WithContext adds the context to the create role params
func (*CreateRoleParams) WithDefaults ¶
func (o *CreateRoleParams) WithDefaults() *CreateRoleParams
WithDefaults hydrates default values in the create role params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRoleParams) WithHTTPClient ¶
func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams
WithHTTPClient adds the HTTPClient to the create role params
func (*CreateRoleParams) WithTimeout ¶
func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams
WithTimeout adds the timeout to the create role params
func (*CreateRoleParams) WriteToRequest ¶
func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRoleReader ¶
type CreateRoleReader struct {
// contains filtered or unexported fields
}
CreateRoleReader is a Reader for the CreateRole structure.
func (*CreateRoleReader) ReadResponse ¶
func (o *CreateRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRoleUnauthorized ¶
type CreateRoleUnauthorized struct {
}
CreateRoleUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewCreateRoleUnauthorized ¶
func NewCreateRoleUnauthorized() *CreateRoleUnauthorized
NewCreateRoleUnauthorized creates a CreateRoleUnauthorized with default headers values
func (*CreateRoleUnauthorized) Code ¶
func (o *CreateRoleUnauthorized) Code() int
Code gets the status code for the create role unauthorized response
func (*CreateRoleUnauthorized) Error ¶
func (o *CreateRoleUnauthorized) Error() string
func (*CreateRoleUnauthorized) IsClientError ¶
func (o *CreateRoleUnauthorized) IsClientError() bool
IsClientError returns true when this create role unauthorized response has a 4xx status code
func (*CreateRoleUnauthorized) IsCode ¶
func (o *CreateRoleUnauthorized) IsCode(code int) bool
IsCode returns true when this create role unauthorized response a status code equal to that given
func (*CreateRoleUnauthorized) IsRedirect ¶
func (o *CreateRoleUnauthorized) IsRedirect() bool
IsRedirect returns true when this create role unauthorized response has a 3xx status code
func (*CreateRoleUnauthorized) IsServerError ¶
func (o *CreateRoleUnauthorized) IsServerError() bool
IsServerError returns true when this create role unauthorized response has a 5xx status code
func (*CreateRoleUnauthorized) IsSuccess ¶
func (o *CreateRoleUnauthorized) IsSuccess() bool
IsSuccess returns true when this create role unauthorized response has a 2xx status code
func (*CreateRoleUnauthorized) String ¶
func (o *CreateRoleUnauthorized) String() string
type CreateRoleUnprocessableEntity ¶
type CreateRoleUnprocessableEntity struct {
Payload *models.ErrorResponse
}
CreateRoleUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
func NewCreateRoleUnprocessableEntity ¶
func NewCreateRoleUnprocessableEntity() *CreateRoleUnprocessableEntity
NewCreateRoleUnprocessableEntity creates a CreateRoleUnprocessableEntity with default headers values
func (*CreateRoleUnprocessableEntity) Code ¶
func (o *CreateRoleUnprocessableEntity) Code() int
Code gets the status code for the create role unprocessable entity response
func (*CreateRoleUnprocessableEntity) Error ¶
func (o *CreateRoleUnprocessableEntity) Error() string
func (*CreateRoleUnprocessableEntity) GetPayload ¶
func (o *CreateRoleUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*CreateRoleUnprocessableEntity) IsClientError ¶
func (o *CreateRoleUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create role unprocessable entity response has a 4xx status code
func (*CreateRoleUnprocessableEntity) IsCode ¶
func (o *CreateRoleUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create role unprocessable entity response a status code equal to that given
func (*CreateRoleUnprocessableEntity) IsRedirect ¶
func (o *CreateRoleUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create role unprocessable entity response has a 3xx status code
func (*CreateRoleUnprocessableEntity) IsServerError ¶
func (o *CreateRoleUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create role unprocessable entity response has a 5xx status code
func (*CreateRoleUnprocessableEntity) IsSuccess ¶
func (o *CreateRoleUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create role unprocessable entity response has a 2xx status code
func (*CreateRoleUnprocessableEntity) String ¶
func (o *CreateRoleUnprocessableEntity) String() string
type DeleteRoleBadRequest ¶
type DeleteRoleBadRequest struct {
Payload *models.ErrorResponse
}
DeleteRoleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteRoleBadRequest ¶
func NewDeleteRoleBadRequest() *DeleteRoleBadRequest
NewDeleteRoleBadRequest creates a DeleteRoleBadRequest with default headers values
func (*DeleteRoleBadRequest) Code ¶
func (o *DeleteRoleBadRequest) Code() int
Code gets the status code for the delete role bad request response
func (*DeleteRoleBadRequest) Error ¶
func (o *DeleteRoleBadRequest) Error() string
func (*DeleteRoleBadRequest) GetPayload ¶
func (o *DeleteRoleBadRequest) GetPayload() *models.ErrorResponse
func (*DeleteRoleBadRequest) IsClientError ¶
func (o *DeleteRoleBadRequest) IsClientError() bool
IsClientError returns true when this delete role bad request response has a 4xx status code
func (*DeleteRoleBadRequest) IsCode ¶
func (o *DeleteRoleBadRequest) IsCode(code int) bool
IsCode returns true when this delete role bad request response a status code equal to that given
func (*DeleteRoleBadRequest) IsRedirect ¶
func (o *DeleteRoleBadRequest) IsRedirect() bool
IsRedirect returns true when this delete role bad request response has a 3xx status code
func (*DeleteRoleBadRequest) IsServerError ¶
func (o *DeleteRoleBadRequest) IsServerError() bool
IsServerError returns true when this delete role bad request response has a 5xx status code
func (*DeleteRoleBadRequest) IsSuccess ¶
func (o *DeleteRoleBadRequest) IsSuccess() bool
IsSuccess returns true when this delete role bad request response has a 2xx status code
func (*DeleteRoleBadRequest) String ¶
func (o *DeleteRoleBadRequest) String() string
type DeleteRoleForbidden ¶
type DeleteRoleForbidden struct {
Payload *models.ErrorResponse
}
DeleteRoleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteRoleForbidden ¶
func NewDeleteRoleForbidden() *DeleteRoleForbidden
NewDeleteRoleForbidden creates a DeleteRoleForbidden with default headers values
func (*DeleteRoleForbidden) Code ¶
func (o *DeleteRoleForbidden) Code() int
Code gets the status code for the delete role forbidden response
func (*DeleteRoleForbidden) Error ¶
func (o *DeleteRoleForbidden) Error() string
func (*DeleteRoleForbidden) GetPayload ¶
func (o *DeleteRoleForbidden) GetPayload() *models.ErrorResponse
func (*DeleteRoleForbidden) IsClientError ¶
func (o *DeleteRoleForbidden) IsClientError() bool
IsClientError returns true when this delete role forbidden response has a 4xx status code
func (*DeleteRoleForbidden) IsCode ¶
func (o *DeleteRoleForbidden) IsCode(code int) bool
IsCode returns true when this delete role forbidden response a status code equal to that given
func (*DeleteRoleForbidden) IsRedirect ¶
func (o *DeleteRoleForbidden) IsRedirect() bool
IsRedirect returns true when this delete role forbidden response has a 3xx status code
func (*DeleteRoleForbidden) IsServerError ¶
func (o *DeleteRoleForbidden) IsServerError() bool
IsServerError returns true when this delete role forbidden response has a 5xx status code
func (*DeleteRoleForbidden) IsSuccess ¶
func (o *DeleteRoleForbidden) IsSuccess() bool
IsSuccess returns true when this delete role forbidden response has a 2xx status code
func (*DeleteRoleForbidden) String ¶
func (o *DeleteRoleForbidden) String() string
type DeleteRoleInternalServerError ¶
type DeleteRoleInternalServerError struct {
Payload *models.ErrorResponse
}
DeleteRoleInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewDeleteRoleInternalServerError ¶
func NewDeleteRoleInternalServerError() *DeleteRoleInternalServerError
NewDeleteRoleInternalServerError creates a DeleteRoleInternalServerError with default headers values
func (*DeleteRoleInternalServerError) Code ¶
func (o *DeleteRoleInternalServerError) Code() int
Code gets the status code for the delete role internal server error response
func (*DeleteRoleInternalServerError) Error ¶
func (o *DeleteRoleInternalServerError) Error() string
func (*DeleteRoleInternalServerError) GetPayload ¶
func (o *DeleteRoleInternalServerError) GetPayload() *models.ErrorResponse
func (*DeleteRoleInternalServerError) IsClientError ¶
func (o *DeleteRoleInternalServerError) IsClientError() bool
IsClientError returns true when this delete role internal server error response has a 4xx status code
func (*DeleteRoleInternalServerError) IsCode ¶
func (o *DeleteRoleInternalServerError) IsCode(code int) bool
IsCode returns true when this delete role internal server error response a status code equal to that given
func (*DeleteRoleInternalServerError) IsRedirect ¶
func (o *DeleteRoleInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete role internal server error response has a 3xx status code
func (*DeleteRoleInternalServerError) IsServerError ¶
func (o *DeleteRoleInternalServerError) IsServerError() bool
IsServerError returns true when this delete role internal server error response has a 5xx status code
func (*DeleteRoleInternalServerError) IsSuccess ¶
func (o *DeleteRoleInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete role internal server error response has a 2xx status code
func (*DeleteRoleInternalServerError) String ¶
func (o *DeleteRoleInternalServerError) String() string
type DeleteRoleNoContent ¶
type DeleteRoleNoContent struct {
}
DeleteRoleNoContent describes a response with status code 204, with default header values.
Successfully deleted.
func NewDeleteRoleNoContent ¶
func NewDeleteRoleNoContent() *DeleteRoleNoContent
NewDeleteRoleNoContent creates a DeleteRoleNoContent with default headers values
func (*DeleteRoleNoContent) Code ¶
func (o *DeleteRoleNoContent) Code() int
Code gets the status code for the delete role no content response
func (*DeleteRoleNoContent) Error ¶
func (o *DeleteRoleNoContent) Error() string
func (*DeleteRoleNoContent) IsClientError ¶
func (o *DeleteRoleNoContent) IsClientError() bool
IsClientError returns true when this delete role no content response has a 4xx status code
func (*DeleteRoleNoContent) IsCode ¶
func (o *DeleteRoleNoContent) IsCode(code int) bool
IsCode returns true when this delete role no content response a status code equal to that given
func (*DeleteRoleNoContent) IsRedirect ¶
func (o *DeleteRoleNoContent) IsRedirect() bool
IsRedirect returns true when this delete role no content response has a 3xx status code
func (*DeleteRoleNoContent) IsServerError ¶
func (o *DeleteRoleNoContent) IsServerError() bool
IsServerError returns true when this delete role no content response has a 5xx status code
func (*DeleteRoleNoContent) IsSuccess ¶
func (o *DeleteRoleNoContent) IsSuccess() bool
IsSuccess returns true when this delete role no content response has a 2xx status code
func (*DeleteRoleNoContent) String ¶
func (o *DeleteRoleNoContent) String() string
type DeleteRoleParams ¶
type DeleteRoleParams struct {
/* ID.
role name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteRoleParams contains all the parameters to send to the API endpoint
for the delete role operation. Typically these are written to a http.Request.
func NewDeleteRoleParams ¶
func NewDeleteRoleParams() *DeleteRoleParams
NewDeleteRoleParams creates a new DeleteRoleParams object, with the default 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 NewDeleteRoleParamsWithContext ¶
func NewDeleteRoleParamsWithContext(ctx context.Context) *DeleteRoleParams
NewDeleteRoleParamsWithContext creates a new DeleteRoleParams object with the ability to set a context for a request.
func NewDeleteRoleParamsWithHTTPClient ¶
func NewDeleteRoleParamsWithHTTPClient(client *http.Client) *DeleteRoleParams
NewDeleteRoleParamsWithHTTPClient creates a new DeleteRoleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRoleParamsWithTimeout ¶
func NewDeleteRoleParamsWithTimeout(timeout time.Duration) *DeleteRoleParams
NewDeleteRoleParamsWithTimeout creates a new DeleteRoleParams object with the ability to set a timeout on a request.
func (*DeleteRoleParams) SetContext ¶
func (o *DeleteRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete role params
func (*DeleteRoleParams) SetDefaults ¶
func (o *DeleteRoleParams) SetDefaults()
SetDefaults hydrates default values in the delete role params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRoleParams) SetHTTPClient ¶
func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete role params
func (*DeleteRoleParams) SetID ¶
func (o *DeleteRoleParams) SetID(id string)
SetID adds the id to the delete role params
func (*DeleteRoleParams) SetTimeout ¶
func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete role params
func (*DeleteRoleParams) WithContext ¶
func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
WithContext adds the context to the delete role params
func (*DeleteRoleParams) WithDefaults ¶
func (o *DeleteRoleParams) WithDefaults() *DeleteRoleParams
WithDefaults hydrates default values in the delete role params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRoleParams) WithHTTPClient ¶
func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
WithHTTPClient adds the HTTPClient to the delete role params
func (*DeleteRoleParams) WithID ¶
func (o *DeleteRoleParams) WithID(id string) *DeleteRoleParams
WithID adds the id to the delete role params
func (*DeleteRoleParams) WithTimeout ¶
func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
WithTimeout adds the timeout to the delete role params
func (*DeleteRoleParams) WriteToRequest ¶
func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRoleReader ¶
type DeleteRoleReader struct {
// contains filtered or unexported fields
}
DeleteRoleReader is a Reader for the DeleteRole structure.
func (*DeleteRoleReader) ReadResponse ¶
func (o *DeleteRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRoleUnauthorized ¶
type DeleteRoleUnauthorized struct {
}
DeleteRoleUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewDeleteRoleUnauthorized ¶
func NewDeleteRoleUnauthorized() *DeleteRoleUnauthorized
NewDeleteRoleUnauthorized creates a DeleteRoleUnauthorized with default headers values
func (*DeleteRoleUnauthorized) Code ¶
func (o *DeleteRoleUnauthorized) Code() int
Code gets the status code for the delete role unauthorized response
func (*DeleteRoleUnauthorized) Error ¶
func (o *DeleteRoleUnauthorized) Error() string
func (*DeleteRoleUnauthorized) IsClientError ¶
func (o *DeleteRoleUnauthorized) IsClientError() bool
IsClientError returns true when this delete role unauthorized response has a 4xx status code
func (*DeleteRoleUnauthorized) IsCode ¶
func (o *DeleteRoleUnauthorized) IsCode(code int) bool
IsCode returns true when this delete role unauthorized response a status code equal to that given
func (*DeleteRoleUnauthorized) IsRedirect ¶
func (o *DeleteRoleUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete role unauthorized response has a 3xx status code
func (*DeleteRoleUnauthorized) IsServerError ¶
func (o *DeleteRoleUnauthorized) IsServerError() bool
IsServerError returns true when this delete role unauthorized response has a 5xx status code
func (*DeleteRoleUnauthorized) IsSuccess ¶
func (o *DeleteRoleUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete role unauthorized response has a 2xx status code
func (*DeleteRoleUnauthorized) String ¶
func (o *DeleteRoleUnauthorized) String() string
type GetRoleBadRequest ¶
type GetRoleBadRequest struct {
Payload *models.ErrorResponse
}
GetRoleBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewGetRoleBadRequest ¶
func NewGetRoleBadRequest() *GetRoleBadRequest
NewGetRoleBadRequest creates a GetRoleBadRequest with default headers values
func (*GetRoleBadRequest) Code ¶
func (o *GetRoleBadRequest) Code() int
Code gets the status code for the get role bad request response
func (*GetRoleBadRequest) Error ¶
func (o *GetRoleBadRequest) Error() string
func (*GetRoleBadRequest) GetPayload ¶
func (o *GetRoleBadRequest) GetPayload() *models.ErrorResponse
func (*GetRoleBadRequest) IsClientError ¶
func (o *GetRoleBadRequest) IsClientError() bool
IsClientError returns true when this get role bad request response has a 4xx status code
func (*GetRoleBadRequest) IsCode ¶
func (o *GetRoleBadRequest) IsCode(code int) bool
IsCode returns true when this get role bad request response a status code equal to that given
func (*GetRoleBadRequest) IsRedirect ¶
func (o *GetRoleBadRequest) IsRedirect() bool
IsRedirect returns true when this get role bad request response has a 3xx status code
func (*GetRoleBadRequest) IsServerError ¶
func (o *GetRoleBadRequest) IsServerError() bool
IsServerError returns true when this get role bad request response has a 5xx status code
func (*GetRoleBadRequest) IsSuccess ¶
func (o *GetRoleBadRequest) IsSuccess() bool
IsSuccess returns true when this get role bad request response has a 2xx status code
func (*GetRoleBadRequest) String ¶
func (o *GetRoleBadRequest) String() string
type GetRoleForbidden ¶
type GetRoleForbidden struct {
Payload *models.ErrorResponse
}
GetRoleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRoleForbidden ¶
func NewGetRoleForbidden() *GetRoleForbidden
NewGetRoleForbidden creates a GetRoleForbidden with default headers values
func (*GetRoleForbidden) Code ¶
func (o *GetRoleForbidden) Code() int
Code gets the status code for the get role forbidden response
func (*GetRoleForbidden) Error ¶
func (o *GetRoleForbidden) Error() string
func (*GetRoleForbidden) GetPayload ¶
func (o *GetRoleForbidden) GetPayload() *models.ErrorResponse
func (*GetRoleForbidden) IsClientError ¶
func (o *GetRoleForbidden) IsClientError() bool
IsClientError returns true when this get role forbidden response has a 4xx status code
func (*GetRoleForbidden) IsCode ¶
func (o *GetRoleForbidden) IsCode(code int) bool
IsCode returns true when this get role forbidden response a status code equal to that given
func (*GetRoleForbidden) IsRedirect ¶
func (o *GetRoleForbidden) IsRedirect() bool
IsRedirect returns true when this get role forbidden response has a 3xx status code
func (*GetRoleForbidden) IsServerError ¶
func (o *GetRoleForbidden) IsServerError() bool
IsServerError returns true when this get role forbidden response has a 5xx status code
func (*GetRoleForbidden) IsSuccess ¶
func (o *GetRoleForbidden) IsSuccess() bool
IsSuccess returns true when this get role forbidden response has a 2xx status code
func (*GetRoleForbidden) String ¶
func (o *GetRoleForbidden) String() string
type GetRoleInternalServerError ¶
type GetRoleInternalServerError struct {
Payload *models.ErrorResponse
}
GetRoleInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewGetRoleInternalServerError ¶
func NewGetRoleInternalServerError() *GetRoleInternalServerError
NewGetRoleInternalServerError creates a GetRoleInternalServerError with default headers values
func (*GetRoleInternalServerError) Code ¶
func (o *GetRoleInternalServerError) Code() int
Code gets the status code for the get role internal server error response
func (*GetRoleInternalServerError) Error ¶
func (o *GetRoleInternalServerError) Error() string
func (*GetRoleInternalServerError) GetPayload ¶
func (o *GetRoleInternalServerError) GetPayload() *models.ErrorResponse
func (*GetRoleInternalServerError) IsClientError ¶
func (o *GetRoleInternalServerError) IsClientError() bool
IsClientError returns true when this get role internal server error response has a 4xx status code
func (*GetRoleInternalServerError) IsCode ¶
func (o *GetRoleInternalServerError) IsCode(code int) bool
IsCode returns true when this get role internal server error response a status code equal to that given
func (*GetRoleInternalServerError) IsRedirect ¶
func (o *GetRoleInternalServerError) IsRedirect() bool
IsRedirect returns true when this get role internal server error response has a 3xx status code
func (*GetRoleInternalServerError) IsServerError ¶
func (o *GetRoleInternalServerError) IsServerError() bool
IsServerError returns true when this get role internal server error response has a 5xx status code
func (*GetRoleInternalServerError) IsSuccess ¶
func (o *GetRoleInternalServerError) IsSuccess() bool
IsSuccess returns true when this get role internal server error response has a 2xx status code
func (*GetRoleInternalServerError) String ¶
func (o *GetRoleInternalServerError) String() string
type GetRoleNotFound ¶
type GetRoleNotFound struct {
}
GetRoleNotFound describes a response with status code 404, with default header values.
no role found
func NewGetRoleNotFound ¶
func NewGetRoleNotFound() *GetRoleNotFound
NewGetRoleNotFound creates a GetRoleNotFound with default headers values
func (*GetRoleNotFound) Code ¶
func (o *GetRoleNotFound) Code() int
Code gets the status code for the get role not found response
func (*GetRoleNotFound) Error ¶
func (o *GetRoleNotFound) Error() string
func (*GetRoleNotFound) IsClientError ¶
func (o *GetRoleNotFound) IsClientError() bool
IsClientError returns true when this get role not found response has a 4xx status code
func (*GetRoleNotFound) IsCode ¶
func (o *GetRoleNotFound) IsCode(code int) bool
IsCode returns true when this get role not found response a status code equal to that given
func (*GetRoleNotFound) IsRedirect ¶
func (o *GetRoleNotFound) IsRedirect() bool
IsRedirect returns true when this get role not found response has a 3xx status code
func (*GetRoleNotFound) IsServerError ¶
func (o *GetRoleNotFound) IsServerError() bool
IsServerError returns true when this get role not found response has a 5xx status code
func (*GetRoleNotFound) IsSuccess ¶
func (o *GetRoleNotFound) IsSuccess() bool
IsSuccess returns true when this get role not found response has a 2xx status code
func (*GetRoleNotFound) String ¶
func (o *GetRoleNotFound) String() string
type GetRoleOK ¶
GetRoleOK describes a response with status code 200, with default header values.
Successful response.
func NewGetRoleOK ¶
func NewGetRoleOK() *GetRoleOK
NewGetRoleOK creates a GetRoleOK with default headers values
func (*GetRoleOK) GetPayload ¶
func (*GetRoleOK) IsClientError ¶
IsClientError returns true when this get role o k response has a 4xx status code
func (*GetRoleOK) IsCode ¶
IsCode returns true when this get role o k response a status code equal to that given
func (*GetRoleOK) IsRedirect ¶
IsRedirect returns true when this get role o k response has a 3xx status code
func (*GetRoleOK) IsServerError ¶
IsServerError returns true when this get role o k response has a 5xx status code
type GetRoleParams ¶
type GetRoleParams struct {
/* ID.
role name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetRoleParams contains all the parameters to send to the API endpoint
for the get role operation. Typically these are written to a http.Request.
func NewGetRoleParams ¶
func NewGetRoleParams() *GetRoleParams
NewGetRoleParams creates a new GetRoleParams 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 NewGetRoleParamsWithContext ¶
func NewGetRoleParamsWithContext(ctx context.Context) *GetRoleParams
NewGetRoleParamsWithContext creates a new GetRoleParams object with the ability to set a context for a request.
func NewGetRoleParamsWithHTTPClient ¶
func NewGetRoleParamsWithHTTPClient(client *http.Client) *GetRoleParams
NewGetRoleParamsWithHTTPClient creates a new GetRoleParams object with the ability to set a custom HTTPClient for a request.
func NewGetRoleParamsWithTimeout ¶
func NewGetRoleParamsWithTimeout(timeout time.Duration) *GetRoleParams
NewGetRoleParamsWithTimeout creates a new GetRoleParams object with the ability to set a timeout on a request.
func (*GetRoleParams) SetContext ¶
func (o *GetRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the get role params
func (*GetRoleParams) SetDefaults ¶
func (o *GetRoleParams) SetDefaults()
SetDefaults hydrates default values in the get role params (not the query body).
All values with no default are reset to their zero value.
func (*GetRoleParams) SetHTTPClient ¶
func (o *GetRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get role params
func (*GetRoleParams) SetID ¶
func (o *GetRoleParams) SetID(id string)
SetID adds the id to the get role params
func (*GetRoleParams) SetTimeout ¶
func (o *GetRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get role params
func (*GetRoleParams) WithContext ¶
func (o *GetRoleParams) WithContext(ctx context.Context) *GetRoleParams
WithContext adds the context to the get role params
func (*GetRoleParams) WithDefaults ¶
func (o *GetRoleParams) WithDefaults() *GetRoleParams
WithDefaults hydrates default values in the get role params (not the query body).
All values with no default are reset to their zero value.
func (*GetRoleParams) WithHTTPClient ¶
func (o *GetRoleParams) WithHTTPClient(client *http.Client) *GetRoleParams
WithHTTPClient adds the HTTPClient to the get role params
func (*GetRoleParams) WithID ¶
func (o *GetRoleParams) WithID(id string) *GetRoleParams
WithID adds the id to the get role params
func (*GetRoleParams) WithTimeout ¶
func (o *GetRoleParams) WithTimeout(timeout time.Duration) *GetRoleParams
WithTimeout adds the timeout to the get role params
func (*GetRoleParams) WriteToRequest ¶
func (o *GetRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRoleReader ¶
type GetRoleReader struct {
// contains filtered or unexported fields
}
GetRoleReader is a Reader for the GetRole structure.
func (*GetRoleReader) ReadResponse ¶
func (o *GetRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRoleUnauthorized ¶
type GetRoleUnauthorized struct {
}
GetRoleUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewGetRoleUnauthorized ¶
func NewGetRoleUnauthorized() *GetRoleUnauthorized
NewGetRoleUnauthorized creates a GetRoleUnauthorized with default headers values
func (*GetRoleUnauthorized) Code ¶
func (o *GetRoleUnauthorized) Code() int
Code gets the status code for the get role unauthorized response
func (*GetRoleUnauthorized) Error ¶
func (o *GetRoleUnauthorized) Error() string
func (*GetRoleUnauthorized) IsClientError ¶
func (o *GetRoleUnauthorized) IsClientError() bool
IsClientError returns true when this get role unauthorized response has a 4xx status code
func (*GetRoleUnauthorized) IsCode ¶
func (o *GetRoleUnauthorized) IsCode(code int) bool
IsCode returns true when this get role unauthorized response a status code equal to that given
func (*GetRoleUnauthorized) IsRedirect ¶
func (o *GetRoleUnauthorized) IsRedirect() bool
IsRedirect returns true when this get role unauthorized response has a 3xx status code
func (*GetRoleUnauthorized) IsServerError ¶
func (o *GetRoleUnauthorized) IsServerError() bool
IsServerError returns true when this get role unauthorized response has a 5xx status code
func (*GetRoleUnauthorized) IsSuccess ¶
func (o *GetRoleUnauthorized) IsSuccess() bool
IsSuccess returns true when this get role unauthorized response has a 2xx status code
func (*GetRoleUnauthorized) String ¶
func (o *GetRoleUnauthorized) String() string
type GetRolesBadRequest ¶
type GetRolesBadRequest struct {
Payload *models.ErrorResponse
}
GetRolesBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewGetRolesBadRequest ¶
func NewGetRolesBadRequest() *GetRolesBadRequest
NewGetRolesBadRequest creates a GetRolesBadRequest with default headers values
func (*GetRolesBadRequest) Code ¶
func (o *GetRolesBadRequest) Code() int
Code gets the status code for the get roles bad request response
func (*GetRolesBadRequest) Error ¶
func (o *GetRolesBadRequest) Error() string
func (*GetRolesBadRequest) GetPayload ¶
func (o *GetRolesBadRequest) GetPayload() *models.ErrorResponse
func (*GetRolesBadRequest) IsClientError ¶
func (o *GetRolesBadRequest) IsClientError() bool
IsClientError returns true when this get roles bad request response has a 4xx status code
func (*GetRolesBadRequest) IsCode ¶
func (o *GetRolesBadRequest) IsCode(code int) bool
IsCode returns true when this get roles bad request response a status code equal to that given
func (*GetRolesBadRequest) IsRedirect ¶
func (o *GetRolesBadRequest) IsRedirect() bool
IsRedirect returns true when this get roles bad request response has a 3xx status code
func (*GetRolesBadRequest) IsServerError ¶
func (o *GetRolesBadRequest) IsServerError() bool
IsServerError returns true when this get roles bad request response has a 5xx status code
func (*GetRolesBadRequest) IsSuccess ¶
func (o *GetRolesBadRequest) IsSuccess() bool
IsSuccess returns true when this get roles bad request response has a 2xx status code
func (*GetRolesBadRequest) String ¶
func (o *GetRolesBadRequest) String() string
type GetRolesForUserBadRequest ¶
type GetRolesForUserBadRequest struct {
Payload *models.ErrorResponse
}
GetRolesForUserBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetRolesForUserBadRequest ¶
func NewGetRolesForUserBadRequest() *GetRolesForUserBadRequest
NewGetRolesForUserBadRequest creates a GetRolesForUserBadRequest with default headers values
func (*GetRolesForUserBadRequest) Code ¶
func (o *GetRolesForUserBadRequest) Code() int
Code gets the status code for the get roles for user bad request response
func (*GetRolesForUserBadRequest) Error ¶
func (o *GetRolesForUserBadRequest) Error() string
func (*GetRolesForUserBadRequest) GetPayload ¶
func (o *GetRolesForUserBadRequest) GetPayload() *models.ErrorResponse
func (*GetRolesForUserBadRequest) IsClientError ¶
func (o *GetRolesForUserBadRequest) IsClientError() bool
IsClientError returns true when this get roles for user bad request response has a 4xx status code
func (*GetRolesForUserBadRequest) IsCode ¶
func (o *GetRolesForUserBadRequest) IsCode(code int) bool
IsCode returns true when this get roles for user bad request response a status code equal to that given
func (*GetRolesForUserBadRequest) IsRedirect ¶
func (o *GetRolesForUserBadRequest) IsRedirect() bool
IsRedirect returns true when this get roles for user bad request response has a 3xx status code
func (*GetRolesForUserBadRequest) IsServerError ¶
func (o *GetRolesForUserBadRequest) IsServerError() bool
IsServerError returns true when this get roles for user bad request response has a 5xx status code
func (*GetRolesForUserBadRequest) IsSuccess ¶
func (o *GetRolesForUserBadRequest) IsSuccess() bool
IsSuccess returns true when this get roles for user bad request response has a 2xx status code
func (*GetRolesForUserBadRequest) String ¶
func (o *GetRolesForUserBadRequest) String() string
type GetRolesForUserDeprecatedBadRequest ¶ added in v1.30.0
type GetRolesForUserDeprecatedBadRequest struct {
Payload *models.ErrorResponse
}
GetRolesForUserDeprecatedBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetRolesForUserDeprecatedBadRequest ¶ added in v1.30.0
func NewGetRolesForUserDeprecatedBadRequest() *GetRolesForUserDeprecatedBadRequest
NewGetRolesForUserDeprecatedBadRequest creates a GetRolesForUserDeprecatedBadRequest with default headers values
func (*GetRolesForUserDeprecatedBadRequest) Code ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedBadRequest) Code() int
Code gets the status code for the get roles for user deprecated bad request response
func (*GetRolesForUserDeprecatedBadRequest) Error ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedBadRequest) Error() string
func (*GetRolesForUserDeprecatedBadRequest) GetPayload ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedBadRequest) GetPayload() *models.ErrorResponse
func (*GetRolesForUserDeprecatedBadRequest) IsClientError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedBadRequest) IsClientError() bool
IsClientError returns true when this get roles for user deprecated bad request response has a 4xx status code
func (*GetRolesForUserDeprecatedBadRequest) IsCode ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedBadRequest) IsCode(code int) bool
IsCode returns true when this get roles for user deprecated bad request response a status code equal to that given
func (*GetRolesForUserDeprecatedBadRequest) IsRedirect ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedBadRequest) IsRedirect() bool
IsRedirect returns true when this get roles for user deprecated bad request response has a 3xx status code
func (*GetRolesForUserDeprecatedBadRequest) IsServerError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedBadRequest) IsServerError() bool
IsServerError returns true when this get roles for user deprecated bad request response has a 5xx status code
func (*GetRolesForUserDeprecatedBadRequest) IsSuccess ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedBadRequest) IsSuccess() bool
IsSuccess returns true when this get roles for user deprecated bad request response has a 2xx status code
func (*GetRolesForUserDeprecatedBadRequest) String ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedBadRequest) String() string
type GetRolesForUserDeprecatedForbidden ¶ added in v1.30.0
type GetRolesForUserDeprecatedForbidden struct {
Payload *models.ErrorResponse
}
GetRolesForUserDeprecatedForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRolesForUserDeprecatedForbidden ¶ added in v1.30.0
func NewGetRolesForUserDeprecatedForbidden() *GetRolesForUserDeprecatedForbidden
NewGetRolesForUserDeprecatedForbidden creates a GetRolesForUserDeprecatedForbidden with default headers values
func (*GetRolesForUserDeprecatedForbidden) Code ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedForbidden) Code() int
Code gets the status code for the get roles for user deprecated forbidden response
func (*GetRolesForUserDeprecatedForbidden) Error ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedForbidden) Error() string
func (*GetRolesForUserDeprecatedForbidden) GetPayload ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedForbidden) GetPayload() *models.ErrorResponse
func (*GetRolesForUserDeprecatedForbidden) IsClientError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedForbidden) IsClientError() bool
IsClientError returns true when this get roles for user deprecated forbidden response has a 4xx status code
func (*GetRolesForUserDeprecatedForbidden) IsCode ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedForbidden) IsCode(code int) bool
IsCode returns true when this get roles for user deprecated forbidden response a status code equal to that given
func (*GetRolesForUserDeprecatedForbidden) IsRedirect ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedForbidden) IsRedirect() bool
IsRedirect returns true when this get roles for user deprecated forbidden response has a 3xx status code
func (*GetRolesForUserDeprecatedForbidden) IsServerError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedForbidden) IsServerError() bool
IsServerError returns true when this get roles for user deprecated forbidden response has a 5xx status code
func (*GetRolesForUserDeprecatedForbidden) IsSuccess ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedForbidden) IsSuccess() bool
IsSuccess returns true when this get roles for user deprecated forbidden response has a 2xx status code
func (*GetRolesForUserDeprecatedForbidden) String ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedForbidden) String() string
type GetRolesForUserDeprecatedInternalServerError ¶ added in v1.30.0
type GetRolesForUserDeprecatedInternalServerError struct {
Payload *models.ErrorResponse
}
GetRolesForUserDeprecatedInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewGetRolesForUserDeprecatedInternalServerError ¶ added in v1.30.0
func NewGetRolesForUserDeprecatedInternalServerError() *GetRolesForUserDeprecatedInternalServerError
NewGetRolesForUserDeprecatedInternalServerError creates a GetRolesForUserDeprecatedInternalServerError with default headers values
func (*GetRolesForUserDeprecatedInternalServerError) Code ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedInternalServerError) Code() int
Code gets the status code for the get roles for user deprecated internal server error response
func (*GetRolesForUserDeprecatedInternalServerError) Error ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedInternalServerError) Error() string
func (*GetRolesForUserDeprecatedInternalServerError) GetPayload ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedInternalServerError) GetPayload() *models.ErrorResponse
func (*GetRolesForUserDeprecatedInternalServerError) IsClientError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedInternalServerError) IsClientError() bool
IsClientError returns true when this get roles for user deprecated internal server error response has a 4xx status code
func (*GetRolesForUserDeprecatedInternalServerError) IsCode ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedInternalServerError) IsCode(code int) bool
IsCode returns true when this get roles for user deprecated internal server error response a status code equal to that given
func (*GetRolesForUserDeprecatedInternalServerError) IsRedirect ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedInternalServerError) IsRedirect() bool
IsRedirect returns true when this get roles for user deprecated internal server error response has a 3xx status code
func (*GetRolesForUserDeprecatedInternalServerError) IsServerError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedInternalServerError) IsServerError() bool
IsServerError returns true when this get roles for user deprecated internal server error response has a 5xx status code
func (*GetRolesForUserDeprecatedInternalServerError) IsSuccess ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedInternalServerError) IsSuccess() bool
IsSuccess returns true when this get roles for user deprecated internal server error response has a 2xx status code
func (*GetRolesForUserDeprecatedInternalServerError) String ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedInternalServerError) String() string
type GetRolesForUserDeprecatedNotFound ¶ added in v1.30.0
type GetRolesForUserDeprecatedNotFound struct {
}
GetRolesForUserDeprecatedNotFound describes a response with status code 404, with default header values.
no role found for user
func NewGetRolesForUserDeprecatedNotFound ¶ added in v1.30.0
func NewGetRolesForUserDeprecatedNotFound() *GetRolesForUserDeprecatedNotFound
NewGetRolesForUserDeprecatedNotFound creates a GetRolesForUserDeprecatedNotFound with default headers values
func (*GetRolesForUserDeprecatedNotFound) Code ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedNotFound) Code() int
Code gets the status code for the get roles for user deprecated not found response
func (*GetRolesForUserDeprecatedNotFound) Error ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedNotFound) Error() string
func (*GetRolesForUserDeprecatedNotFound) IsClientError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedNotFound) IsClientError() bool
IsClientError returns true when this get roles for user deprecated not found response has a 4xx status code
func (*GetRolesForUserDeprecatedNotFound) IsCode ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedNotFound) IsCode(code int) bool
IsCode returns true when this get roles for user deprecated not found response a status code equal to that given
func (*GetRolesForUserDeprecatedNotFound) IsRedirect ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedNotFound) IsRedirect() bool
IsRedirect returns true when this get roles for user deprecated not found response has a 3xx status code
func (*GetRolesForUserDeprecatedNotFound) IsServerError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedNotFound) IsServerError() bool
IsServerError returns true when this get roles for user deprecated not found response has a 5xx status code
func (*GetRolesForUserDeprecatedNotFound) IsSuccess ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedNotFound) IsSuccess() bool
IsSuccess returns true when this get roles for user deprecated not found response has a 2xx status code
func (*GetRolesForUserDeprecatedNotFound) String ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedNotFound) String() string
type GetRolesForUserDeprecatedOK ¶ added in v1.30.0
type GetRolesForUserDeprecatedOK struct {
Payload models.RolesListResponse
}
GetRolesForUserDeprecatedOK describes a response with status code 200, with default header values.
Role assigned users
func NewGetRolesForUserDeprecatedOK ¶ added in v1.30.0
func NewGetRolesForUserDeprecatedOK() *GetRolesForUserDeprecatedOK
NewGetRolesForUserDeprecatedOK creates a GetRolesForUserDeprecatedOK with default headers values
func (*GetRolesForUserDeprecatedOK) Code ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedOK) Code() int
Code gets the status code for the get roles for user deprecated o k response
func (*GetRolesForUserDeprecatedOK) Error ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedOK) Error() string
func (*GetRolesForUserDeprecatedOK) GetPayload ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedOK) GetPayload() models.RolesListResponse
func (*GetRolesForUserDeprecatedOK) IsClientError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedOK) IsClientError() bool
IsClientError returns true when this get roles for user deprecated o k response has a 4xx status code
func (*GetRolesForUserDeprecatedOK) IsCode ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedOK) IsCode(code int) bool
IsCode returns true when this get roles for user deprecated o k response a status code equal to that given
func (*GetRolesForUserDeprecatedOK) IsRedirect ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedOK) IsRedirect() bool
IsRedirect returns true when this get roles for user deprecated o k response has a 3xx status code
func (*GetRolesForUserDeprecatedOK) IsServerError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedOK) IsServerError() bool
IsServerError returns true when this get roles for user deprecated o k response has a 5xx status code
func (*GetRolesForUserDeprecatedOK) IsSuccess ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedOK) IsSuccess() bool
IsSuccess returns true when this get roles for user deprecated o k response has a 2xx status code
func (*GetRolesForUserDeprecatedOK) String ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedOK) String() string
type GetRolesForUserDeprecatedParams ¶ added in v1.30.0
type GetRolesForUserDeprecatedParams struct {
/* ID.
user name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetRolesForUserDeprecatedParams contains all the parameters to send to the API endpoint
for the get roles for user deprecated operation. Typically these are written to a http.Request.
func NewGetRolesForUserDeprecatedParams ¶ added in v1.30.0
func NewGetRolesForUserDeprecatedParams() *GetRolesForUserDeprecatedParams
NewGetRolesForUserDeprecatedParams creates a new GetRolesForUserDeprecatedParams 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 NewGetRolesForUserDeprecatedParamsWithContext ¶ added in v1.30.0
func NewGetRolesForUserDeprecatedParamsWithContext(ctx context.Context) *GetRolesForUserDeprecatedParams
NewGetRolesForUserDeprecatedParamsWithContext creates a new GetRolesForUserDeprecatedParams object with the ability to set a context for a request.
func NewGetRolesForUserDeprecatedParamsWithHTTPClient ¶ added in v1.30.0
func NewGetRolesForUserDeprecatedParamsWithHTTPClient(client *http.Client) *GetRolesForUserDeprecatedParams
NewGetRolesForUserDeprecatedParamsWithHTTPClient creates a new GetRolesForUserDeprecatedParams object with the ability to set a custom HTTPClient for a request.
func NewGetRolesForUserDeprecatedParamsWithTimeout ¶ added in v1.30.0
func NewGetRolesForUserDeprecatedParamsWithTimeout(timeout time.Duration) *GetRolesForUserDeprecatedParams
NewGetRolesForUserDeprecatedParamsWithTimeout creates a new GetRolesForUserDeprecatedParams object with the ability to set a timeout on a request.
func (*GetRolesForUserDeprecatedParams) SetContext ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedParams) SetContext(ctx context.Context)
SetContext adds the context to the get roles for user deprecated params
func (*GetRolesForUserDeprecatedParams) SetDefaults ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedParams) SetDefaults()
SetDefaults hydrates default values in the get roles for user deprecated params (not the query body).
All values with no default are reset to their zero value.
func (*GetRolesForUserDeprecatedParams) SetHTTPClient ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get roles for user deprecated params
func (*GetRolesForUserDeprecatedParams) SetID ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedParams) SetID(id string)
SetID adds the id to the get roles for user deprecated params
func (*GetRolesForUserDeprecatedParams) SetTimeout ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get roles for user deprecated params
func (*GetRolesForUserDeprecatedParams) WithContext ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedParams) WithContext(ctx context.Context) *GetRolesForUserDeprecatedParams
WithContext adds the context to the get roles for user deprecated params
func (*GetRolesForUserDeprecatedParams) WithDefaults ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedParams) WithDefaults() *GetRolesForUserDeprecatedParams
WithDefaults hydrates default values in the get roles for user deprecated params (not the query body).
All values with no default are reset to their zero value.
func (*GetRolesForUserDeprecatedParams) WithHTTPClient ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedParams) WithHTTPClient(client *http.Client) *GetRolesForUserDeprecatedParams
WithHTTPClient adds the HTTPClient to the get roles for user deprecated params
func (*GetRolesForUserDeprecatedParams) WithID ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedParams) WithID(id string) *GetRolesForUserDeprecatedParams
WithID adds the id to the get roles for user deprecated params
func (*GetRolesForUserDeprecatedParams) WithTimeout ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedParams) WithTimeout(timeout time.Duration) *GetRolesForUserDeprecatedParams
WithTimeout adds the timeout to the get roles for user deprecated params
func (*GetRolesForUserDeprecatedParams) WriteToRequest ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRolesForUserDeprecatedReader ¶ added in v1.30.0
type GetRolesForUserDeprecatedReader struct {
// contains filtered or unexported fields
}
GetRolesForUserDeprecatedReader is a Reader for the GetRolesForUserDeprecated structure.
func (*GetRolesForUserDeprecatedReader) ReadResponse ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRolesForUserDeprecatedUnauthorized ¶ added in v1.30.0
type GetRolesForUserDeprecatedUnauthorized struct {
}
GetRolesForUserDeprecatedUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewGetRolesForUserDeprecatedUnauthorized ¶ added in v1.30.0
func NewGetRolesForUserDeprecatedUnauthorized() *GetRolesForUserDeprecatedUnauthorized
NewGetRolesForUserDeprecatedUnauthorized creates a GetRolesForUserDeprecatedUnauthorized with default headers values
func (*GetRolesForUserDeprecatedUnauthorized) Code ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnauthorized) Code() int
Code gets the status code for the get roles for user deprecated unauthorized response
func (*GetRolesForUserDeprecatedUnauthorized) Error ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnauthorized) Error() string
func (*GetRolesForUserDeprecatedUnauthorized) IsClientError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnauthorized) IsClientError() bool
IsClientError returns true when this get roles for user deprecated unauthorized response has a 4xx status code
func (*GetRolesForUserDeprecatedUnauthorized) IsCode ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnauthorized) IsCode(code int) bool
IsCode returns true when this get roles for user deprecated unauthorized response a status code equal to that given
func (*GetRolesForUserDeprecatedUnauthorized) IsRedirect ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnauthorized) IsRedirect() bool
IsRedirect returns true when this get roles for user deprecated unauthorized response has a 3xx status code
func (*GetRolesForUserDeprecatedUnauthorized) IsServerError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnauthorized) IsServerError() bool
IsServerError returns true when this get roles for user deprecated unauthorized response has a 5xx status code
func (*GetRolesForUserDeprecatedUnauthorized) IsSuccess ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnauthorized) IsSuccess() bool
IsSuccess returns true when this get roles for user deprecated unauthorized response has a 2xx status code
func (*GetRolesForUserDeprecatedUnauthorized) String ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnauthorized) String() string
type GetRolesForUserDeprecatedUnprocessableEntity ¶ added in v1.30.0
type GetRolesForUserDeprecatedUnprocessableEntity struct {
Payload *models.ErrorResponse
}
GetRolesForUserDeprecatedUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
func NewGetRolesForUserDeprecatedUnprocessableEntity ¶ added in v1.30.0
func NewGetRolesForUserDeprecatedUnprocessableEntity() *GetRolesForUserDeprecatedUnprocessableEntity
NewGetRolesForUserDeprecatedUnprocessableEntity creates a GetRolesForUserDeprecatedUnprocessableEntity with default headers values
func (*GetRolesForUserDeprecatedUnprocessableEntity) Code ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnprocessableEntity) Code() int
Code gets the status code for the get roles for user deprecated unprocessable entity response
func (*GetRolesForUserDeprecatedUnprocessableEntity) Error ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnprocessableEntity) Error() string
func (*GetRolesForUserDeprecatedUnprocessableEntity) GetPayload ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*GetRolesForUserDeprecatedUnprocessableEntity) IsClientError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get roles for user deprecated unprocessable entity response has a 4xx status code
func (*GetRolesForUserDeprecatedUnprocessableEntity) IsCode ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get roles for user deprecated unprocessable entity response a status code equal to that given
func (*GetRolesForUserDeprecatedUnprocessableEntity) IsRedirect ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get roles for user deprecated unprocessable entity response has a 3xx status code
func (*GetRolesForUserDeprecatedUnprocessableEntity) IsServerError ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get roles for user deprecated unprocessable entity response has a 5xx status code
func (*GetRolesForUserDeprecatedUnprocessableEntity) IsSuccess ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get roles for user deprecated unprocessable entity response has a 2xx status code
func (*GetRolesForUserDeprecatedUnprocessableEntity) String ¶ added in v1.30.0
func (o *GetRolesForUserDeprecatedUnprocessableEntity) String() string
type GetRolesForUserForbidden ¶
type GetRolesForUserForbidden struct {
Payload *models.ErrorResponse
}
GetRolesForUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRolesForUserForbidden ¶
func NewGetRolesForUserForbidden() *GetRolesForUserForbidden
NewGetRolesForUserForbidden creates a GetRolesForUserForbidden with default headers values
func (*GetRolesForUserForbidden) Code ¶
func (o *GetRolesForUserForbidden) Code() int
Code gets the status code for the get roles for user forbidden response
func (*GetRolesForUserForbidden) Error ¶
func (o *GetRolesForUserForbidden) Error() string
func (*GetRolesForUserForbidden) GetPayload ¶
func (o *GetRolesForUserForbidden) GetPayload() *models.ErrorResponse
func (*GetRolesForUserForbidden) IsClientError ¶
func (o *GetRolesForUserForbidden) IsClientError() bool
IsClientError returns true when this get roles for user forbidden response has a 4xx status code
func (*GetRolesForUserForbidden) IsCode ¶
func (o *GetRolesForUserForbidden) IsCode(code int) bool
IsCode returns true when this get roles for user forbidden response a status code equal to that given
func (*GetRolesForUserForbidden) IsRedirect ¶
func (o *GetRolesForUserForbidden) IsRedirect() bool
IsRedirect returns true when this get roles for user forbidden response has a 3xx status code
func (*GetRolesForUserForbidden) IsServerError ¶
func (o *GetRolesForUserForbidden) IsServerError() bool
IsServerError returns true when this get roles for user forbidden response has a 5xx status code
func (*GetRolesForUserForbidden) IsSuccess ¶
func (o *GetRolesForUserForbidden) IsSuccess() bool
IsSuccess returns true when this get roles for user forbidden response has a 2xx status code
func (*GetRolesForUserForbidden) String ¶
func (o *GetRolesForUserForbidden) String() string
type GetRolesForUserInternalServerError ¶
type GetRolesForUserInternalServerError struct {
Payload *models.ErrorResponse
}
GetRolesForUserInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewGetRolesForUserInternalServerError ¶
func NewGetRolesForUserInternalServerError() *GetRolesForUserInternalServerError
NewGetRolesForUserInternalServerError creates a GetRolesForUserInternalServerError with default headers values
func (*GetRolesForUserInternalServerError) Code ¶
func (o *GetRolesForUserInternalServerError) Code() int
Code gets the status code for the get roles for user internal server error response
func (*GetRolesForUserInternalServerError) Error ¶
func (o *GetRolesForUserInternalServerError) Error() string
func (*GetRolesForUserInternalServerError) GetPayload ¶
func (o *GetRolesForUserInternalServerError) GetPayload() *models.ErrorResponse
func (*GetRolesForUserInternalServerError) IsClientError ¶
func (o *GetRolesForUserInternalServerError) IsClientError() bool
IsClientError returns true when this get roles for user internal server error response has a 4xx status code
func (*GetRolesForUserInternalServerError) IsCode ¶
func (o *GetRolesForUserInternalServerError) IsCode(code int) bool
IsCode returns true when this get roles for user internal server error response a status code equal to that given
func (*GetRolesForUserInternalServerError) IsRedirect ¶
func (o *GetRolesForUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this get roles for user internal server error response has a 3xx status code
func (*GetRolesForUserInternalServerError) IsServerError ¶
func (o *GetRolesForUserInternalServerError) IsServerError() bool
IsServerError returns true when this get roles for user internal server error response has a 5xx status code
func (*GetRolesForUserInternalServerError) IsSuccess ¶
func (o *GetRolesForUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this get roles for user internal server error response has a 2xx status code
func (*GetRolesForUserInternalServerError) String ¶
func (o *GetRolesForUserInternalServerError) String() string
type GetRolesForUserNotFound ¶
type GetRolesForUserNotFound struct {
}
GetRolesForUserNotFound describes a response with status code 404, with default header values.
no role found for user
func NewGetRolesForUserNotFound ¶
func NewGetRolesForUserNotFound() *GetRolesForUserNotFound
NewGetRolesForUserNotFound creates a GetRolesForUserNotFound with default headers values
func (*GetRolesForUserNotFound) Code ¶
func (o *GetRolesForUserNotFound) Code() int
Code gets the status code for the get roles for user not found response
func (*GetRolesForUserNotFound) Error ¶
func (o *GetRolesForUserNotFound) Error() string
func (*GetRolesForUserNotFound) IsClientError ¶
func (o *GetRolesForUserNotFound) IsClientError() bool
IsClientError returns true when this get roles for user not found response has a 4xx status code
func (*GetRolesForUserNotFound) IsCode ¶
func (o *GetRolesForUserNotFound) IsCode(code int) bool
IsCode returns true when this get roles for user not found response a status code equal to that given
func (*GetRolesForUserNotFound) IsRedirect ¶
func (o *GetRolesForUserNotFound) IsRedirect() bool
IsRedirect returns true when this get roles for user not found response has a 3xx status code
func (*GetRolesForUserNotFound) IsServerError ¶
func (o *GetRolesForUserNotFound) IsServerError() bool
IsServerError returns true when this get roles for user not found response has a 5xx status code
func (*GetRolesForUserNotFound) IsSuccess ¶
func (o *GetRolesForUserNotFound) IsSuccess() bool
IsSuccess returns true when this get roles for user not found response has a 2xx status code
func (*GetRolesForUserNotFound) String ¶
func (o *GetRolesForUserNotFound) String() string
type GetRolesForUserOK ¶
type GetRolesForUserOK struct {
Payload models.RolesListResponse
}
GetRolesForUserOK describes a response with status code 200, with default header values.
Role assigned users
func NewGetRolesForUserOK ¶
func NewGetRolesForUserOK() *GetRolesForUserOK
NewGetRolesForUserOK creates a GetRolesForUserOK with default headers values
func (*GetRolesForUserOK) Code ¶
func (o *GetRolesForUserOK) Code() int
Code gets the status code for the get roles for user o k response
func (*GetRolesForUserOK) Error ¶
func (o *GetRolesForUserOK) Error() string
func (*GetRolesForUserOK) GetPayload ¶
func (o *GetRolesForUserOK) GetPayload() models.RolesListResponse
func (*GetRolesForUserOK) IsClientError ¶
func (o *GetRolesForUserOK) IsClientError() bool
IsClientError returns true when this get roles for user o k response has a 4xx status code
func (*GetRolesForUserOK) IsCode ¶
func (o *GetRolesForUserOK) IsCode(code int) bool
IsCode returns true when this get roles for user o k response a status code equal to that given
func (*GetRolesForUserOK) IsRedirect ¶
func (o *GetRolesForUserOK) IsRedirect() bool
IsRedirect returns true when this get roles for user o k response has a 3xx status code
func (*GetRolesForUserOK) IsServerError ¶
func (o *GetRolesForUserOK) IsServerError() bool
IsServerError returns true when this get roles for user o k response has a 5xx status code
func (*GetRolesForUserOK) IsSuccess ¶
func (o *GetRolesForUserOK) IsSuccess() bool
IsSuccess returns true when this get roles for user o k response has a 2xx status code
func (*GetRolesForUserOK) String ¶
func (o *GetRolesForUserOK) String() string
type GetRolesForUserParams ¶
type GetRolesForUserParams struct {
/* ID.
user name
*/
ID string
/* IncludeFullRoles.
Whether to include detailed role information needed the roles permission
*/
IncludeFullRoles *bool
/* UserType.
The type of user
*/
UserType string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetRolesForUserParams contains all the parameters to send to the API endpoint
for the get roles for user operation. Typically these are written to a http.Request.
func NewGetRolesForUserParams ¶
func NewGetRolesForUserParams() *GetRolesForUserParams
NewGetRolesForUserParams creates a new GetRolesForUserParams 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 NewGetRolesForUserParamsWithContext ¶
func NewGetRolesForUserParamsWithContext(ctx context.Context) *GetRolesForUserParams
NewGetRolesForUserParamsWithContext creates a new GetRolesForUserParams object with the ability to set a context for a request.
func NewGetRolesForUserParamsWithHTTPClient ¶
func NewGetRolesForUserParamsWithHTTPClient(client *http.Client) *GetRolesForUserParams
NewGetRolesForUserParamsWithHTTPClient creates a new GetRolesForUserParams object with the ability to set a custom HTTPClient for a request.
func NewGetRolesForUserParamsWithTimeout ¶
func NewGetRolesForUserParamsWithTimeout(timeout time.Duration) *GetRolesForUserParams
NewGetRolesForUserParamsWithTimeout creates a new GetRolesForUserParams object with the ability to set a timeout on a request.
func (*GetRolesForUserParams) SetContext ¶
func (o *GetRolesForUserParams) SetContext(ctx context.Context)
SetContext adds the context to the get roles for user params
func (*GetRolesForUserParams) SetDefaults ¶
func (o *GetRolesForUserParams) SetDefaults()
SetDefaults hydrates default values in the get roles for user params (not the query body).
All values with no default are reset to their zero value.
func (*GetRolesForUserParams) SetHTTPClient ¶
func (o *GetRolesForUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get roles for user params
func (*GetRolesForUserParams) SetID ¶
func (o *GetRolesForUserParams) SetID(id string)
SetID adds the id to the get roles for user params
func (*GetRolesForUserParams) SetIncludeFullRoles ¶ added in v1.30.0
func (o *GetRolesForUserParams) SetIncludeFullRoles(includeFullRoles *bool)
SetIncludeFullRoles adds the includeFullRoles to the get roles for user params
func (*GetRolesForUserParams) SetTimeout ¶
func (o *GetRolesForUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get roles for user params
func (*GetRolesForUserParams) SetUserType ¶ added in v1.30.0
func (o *GetRolesForUserParams) SetUserType(userType string)
SetUserType adds the userType to the get roles for user params
func (*GetRolesForUserParams) WithContext ¶
func (o *GetRolesForUserParams) WithContext(ctx context.Context) *GetRolesForUserParams
WithContext adds the context to the get roles for user params
func (*GetRolesForUserParams) WithDefaults ¶
func (o *GetRolesForUserParams) WithDefaults() *GetRolesForUserParams
WithDefaults hydrates default values in the get roles for user params (not the query body).
All values with no default are reset to their zero value.
func (*GetRolesForUserParams) WithHTTPClient ¶
func (o *GetRolesForUserParams) WithHTTPClient(client *http.Client) *GetRolesForUserParams
WithHTTPClient adds the HTTPClient to the get roles for user params
func (*GetRolesForUserParams) WithID ¶
func (o *GetRolesForUserParams) WithID(id string) *GetRolesForUserParams
WithID adds the id to the get roles for user params
func (*GetRolesForUserParams) WithIncludeFullRoles ¶ added in v1.30.0
func (o *GetRolesForUserParams) WithIncludeFullRoles(includeFullRoles *bool) *GetRolesForUserParams
WithIncludeFullRoles adds the includeFullRoles to the get roles for user params
func (*GetRolesForUserParams) WithTimeout ¶
func (o *GetRolesForUserParams) WithTimeout(timeout time.Duration) *GetRolesForUserParams
WithTimeout adds the timeout to the get roles for user params
func (*GetRolesForUserParams) WithUserType ¶ added in v1.30.0
func (o *GetRolesForUserParams) WithUserType(userType string) *GetRolesForUserParams
WithUserType adds the userType to the get roles for user params
func (*GetRolesForUserParams) WriteToRequest ¶
func (o *GetRolesForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRolesForUserReader ¶
type GetRolesForUserReader struct {
// contains filtered or unexported fields
}
GetRolesForUserReader is a Reader for the GetRolesForUser structure.
func (*GetRolesForUserReader) ReadResponse ¶
func (o *GetRolesForUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRolesForUserUnauthorized ¶
type GetRolesForUserUnauthorized struct {
}
GetRolesForUserUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewGetRolesForUserUnauthorized ¶
func NewGetRolesForUserUnauthorized() *GetRolesForUserUnauthorized
NewGetRolesForUserUnauthorized creates a GetRolesForUserUnauthorized with default headers values
func (*GetRolesForUserUnauthorized) Code ¶
func (o *GetRolesForUserUnauthorized) Code() int
Code gets the status code for the get roles for user unauthorized response
func (*GetRolesForUserUnauthorized) Error ¶
func (o *GetRolesForUserUnauthorized) Error() string
func (*GetRolesForUserUnauthorized) IsClientError ¶
func (o *GetRolesForUserUnauthorized) IsClientError() bool
IsClientError returns true when this get roles for user unauthorized response has a 4xx status code
func (*GetRolesForUserUnauthorized) IsCode ¶
func (o *GetRolesForUserUnauthorized) IsCode(code int) bool
IsCode returns true when this get roles for user unauthorized response a status code equal to that given
func (*GetRolesForUserUnauthorized) IsRedirect ¶
func (o *GetRolesForUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this get roles for user unauthorized response has a 3xx status code
func (*GetRolesForUserUnauthorized) IsServerError ¶
func (o *GetRolesForUserUnauthorized) IsServerError() bool
IsServerError returns true when this get roles for user unauthorized response has a 5xx status code
func (*GetRolesForUserUnauthorized) IsSuccess ¶
func (o *GetRolesForUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this get roles for user unauthorized response has a 2xx status code
func (*GetRolesForUserUnauthorized) String ¶
func (o *GetRolesForUserUnauthorized) String() string
type GetRolesForUserUnprocessableEntity ¶ added in v1.30.0
type GetRolesForUserUnprocessableEntity struct {
Payload *models.ErrorResponse
}
GetRolesForUserUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
func NewGetRolesForUserUnprocessableEntity ¶ added in v1.30.0
func NewGetRolesForUserUnprocessableEntity() *GetRolesForUserUnprocessableEntity
NewGetRolesForUserUnprocessableEntity creates a GetRolesForUserUnprocessableEntity with default headers values
func (*GetRolesForUserUnprocessableEntity) Code ¶ added in v1.30.0
func (o *GetRolesForUserUnprocessableEntity) Code() int
Code gets the status code for the get roles for user unprocessable entity response
func (*GetRolesForUserUnprocessableEntity) Error ¶ added in v1.30.0
func (o *GetRolesForUserUnprocessableEntity) Error() string
func (*GetRolesForUserUnprocessableEntity) GetPayload ¶ added in v1.30.0
func (o *GetRolesForUserUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*GetRolesForUserUnprocessableEntity) IsClientError ¶ added in v1.30.0
func (o *GetRolesForUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get roles for user unprocessable entity response has a 4xx status code
func (*GetRolesForUserUnprocessableEntity) IsCode ¶ added in v1.30.0
func (o *GetRolesForUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get roles for user unprocessable entity response a status code equal to that given
func (*GetRolesForUserUnprocessableEntity) IsRedirect ¶ added in v1.30.0
func (o *GetRolesForUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get roles for user unprocessable entity response has a 3xx status code
func (*GetRolesForUserUnprocessableEntity) IsServerError ¶ added in v1.30.0
func (o *GetRolesForUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get roles for user unprocessable entity response has a 5xx status code
func (*GetRolesForUserUnprocessableEntity) IsSuccess ¶ added in v1.30.0
func (o *GetRolesForUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get roles for user unprocessable entity response has a 2xx status code
func (*GetRolesForUserUnprocessableEntity) String ¶ added in v1.30.0
func (o *GetRolesForUserUnprocessableEntity) String() string
type GetRolesForbidden ¶
type GetRolesForbidden struct {
Payload *models.ErrorResponse
}
GetRolesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRolesForbidden ¶
func NewGetRolesForbidden() *GetRolesForbidden
NewGetRolesForbidden creates a GetRolesForbidden with default headers values
func (*GetRolesForbidden) Code ¶
func (o *GetRolesForbidden) Code() int
Code gets the status code for the get roles forbidden response
func (*GetRolesForbidden) Error ¶
func (o *GetRolesForbidden) Error() string
func (*GetRolesForbidden) GetPayload ¶
func (o *GetRolesForbidden) GetPayload() *models.ErrorResponse
func (*GetRolesForbidden) IsClientError ¶
func (o *GetRolesForbidden) IsClientError() bool
IsClientError returns true when this get roles forbidden response has a 4xx status code
func (*GetRolesForbidden) IsCode ¶
func (o *GetRolesForbidden) IsCode(code int) bool
IsCode returns true when this get roles forbidden response a status code equal to that given
func (*GetRolesForbidden) IsRedirect ¶
func (o *GetRolesForbidden) IsRedirect() bool
IsRedirect returns true when this get roles forbidden response has a 3xx status code
func (*GetRolesForbidden) IsServerError ¶
func (o *GetRolesForbidden) IsServerError() bool
IsServerError returns true when this get roles forbidden response has a 5xx status code
func (*GetRolesForbidden) IsSuccess ¶
func (o *GetRolesForbidden) IsSuccess() bool
IsSuccess returns true when this get roles forbidden response has a 2xx status code
func (*GetRolesForbidden) String ¶
func (o *GetRolesForbidden) String() string
type GetRolesInternalServerError ¶
type GetRolesInternalServerError struct {
Payload *models.ErrorResponse
}
GetRolesInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewGetRolesInternalServerError ¶
func NewGetRolesInternalServerError() *GetRolesInternalServerError
NewGetRolesInternalServerError creates a GetRolesInternalServerError with default headers values
func (*GetRolesInternalServerError) Code ¶
func (o *GetRolesInternalServerError) Code() int
Code gets the status code for the get roles internal server error response
func (*GetRolesInternalServerError) Error ¶
func (o *GetRolesInternalServerError) Error() string
func (*GetRolesInternalServerError) GetPayload ¶
func (o *GetRolesInternalServerError) GetPayload() *models.ErrorResponse
func (*GetRolesInternalServerError) IsClientError ¶
func (o *GetRolesInternalServerError) IsClientError() bool
IsClientError returns true when this get roles internal server error response has a 4xx status code
func (*GetRolesInternalServerError) IsCode ¶
func (o *GetRolesInternalServerError) IsCode(code int) bool
IsCode returns true when this get roles internal server error response a status code equal to that given
func (*GetRolesInternalServerError) IsRedirect ¶
func (o *GetRolesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get roles internal server error response has a 3xx status code
func (*GetRolesInternalServerError) IsServerError ¶
func (o *GetRolesInternalServerError) IsServerError() bool
IsServerError returns true when this get roles internal server error response has a 5xx status code
func (*GetRolesInternalServerError) IsSuccess ¶
func (o *GetRolesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get roles internal server error response has a 2xx status code
func (*GetRolesInternalServerError) String ¶
func (o *GetRolesInternalServerError) String() string
type GetRolesOK ¶
type GetRolesOK struct {
Payload models.RolesListResponse
}
GetRolesOK describes a response with status code 200, with default header values.
Successful response.
func NewGetRolesOK ¶
func NewGetRolesOK() *GetRolesOK
NewGetRolesOK creates a GetRolesOK with default headers values
func (*GetRolesOK) Code ¶
func (o *GetRolesOK) Code() int
Code gets the status code for the get roles o k response
func (*GetRolesOK) Error ¶
func (o *GetRolesOK) Error() string
func (*GetRolesOK) GetPayload ¶
func (o *GetRolesOK) GetPayload() models.RolesListResponse
func (*GetRolesOK) IsClientError ¶
func (o *GetRolesOK) IsClientError() bool
IsClientError returns true when this get roles o k response has a 4xx status code
func (*GetRolesOK) IsCode ¶
func (o *GetRolesOK) IsCode(code int) bool
IsCode returns true when this get roles o k response a status code equal to that given
func (*GetRolesOK) IsRedirect ¶
func (o *GetRolesOK) IsRedirect() bool
IsRedirect returns true when this get roles o k response has a 3xx status code
func (*GetRolesOK) IsServerError ¶
func (o *GetRolesOK) IsServerError() bool
IsServerError returns true when this get roles o k response has a 5xx status code
func (*GetRolesOK) IsSuccess ¶
func (o *GetRolesOK) IsSuccess() bool
IsSuccess returns true when this get roles o k response has a 2xx status code
func (*GetRolesOK) String ¶
func (o *GetRolesOK) String() string
type GetRolesParams ¶
type GetRolesParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetRolesParams contains all the parameters to send to the API endpoint
for the get roles operation. Typically these are written to a http.Request.
func NewGetRolesParams ¶
func NewGetRolesParams() *GetRolesParams
NewGetRolesParams creates a new GetRolesParams 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 NewGetRolesParamsWithContext ¶
func NewGetRolesParamsWithContext(ctx context.Context) *GetRolesParams
NewGetRolesParamsWithContext creates a new GetRolesParams object with the ability to set a context for a request.
func NewGetRolesParamsWithHTTPClient ¶
func NewGetRolesParamsWithHTTPClient(client *http.Client) *GetRolesParams
NewGetRolesParamsWithHTTPClient creates a new GetRolesParams object with the ability to set a custom HTTPClient for a request.
func NewGetRolesParamsWithTimeout ¶
func NewGetRolesParamsWithTimeout(timeout time.Duration) *GetRolesParams
NewGetRolesParamsWithTimeout creates a new GetRolesParams object with the ability to set a timeout on a request.
func (*GetRolesParams) SetContext ¶
func (o *GetRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the get roles params
func (*GetRolesParams) SetDefaults ¶
func (o *GetRolesParams) SetDefaults()
SetDefaults hydrates default values in the get roles params (not the query body).
All values with no default are reset to their zero value.
func (*GetRolesParams) SetHTTPClient ¶
func (o *GetRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get roles params
func (*GetRolesParams) SetTimeout ¶
func (o *GetRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get roles params
func (*GetRolesParams) WithContext ¶
func (o *GetRolesParams) WithContext(ctx context.Context) *GetRolesParams
WithContext adds the context to the get roles params
func (*GetRolesParams) WithDefaults ¶
func (o *GetRolesParams) WithDefaults() *GetRolesParams
WithDefaults hydrates default values in the get roles params (not the query body).
All values with no default are reset to their zero value.
func (*GetRolesParams) WithHTTPClient ¶
func (o *GetRolesParams) WithHTTPClient(client *http.Client) *GetRolesParams
WithHTTPClient adds the HTTPClient to the get roles params
func (*GetRolesParams) WithTimeout ¶
func (o *GetRolesParams) WithTimeout(timeout time.Duration) *GetRolesParams
WithTimeout adds the timeout to the get roles params
func (*GetRolesParams) WriteToRequest ¶
func (o *GetRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRolesReader ¶
type GetRolesReader struct {
// contains filtered or unexported fields
}
GetRolesReader is a Reader for the GetRoles structure.
func (*GetRolesReader) ReadResponse ¶
func (o *GetRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRolesUnauthorized ¶
type GetRolesUnauthorized struct {
}
GetRolesUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewGetRolesUnauthorized ¶
func NewGetRolesUnauthorized() *GetRolesUnauthorized
NewGetRolesUnauthorized creates a GetRolesUnauthorized with default headers values
func (*GetRolesUnauthorized) Code ¶
func (o *GetRolesUnauthorized) Code() int
Code gets the status code for the get roles unauthorized response
func (*GetRolesUnauthorized) Error ¶
func (o *GetRolesUnauthorized) Error() string
func (*GetRolesUnauthorized) IsClientError ¶
func (o *GetRolesUnauthorized) IsClientError() bool
IsClientError returns true when this get roles unauthorized response has a 4xx status code
func (*GetRolesUnauthorized) IsCode ¶
func (o *GetRolesUnauthorized) IsCode(code int) bool
IsCode returns true when this get roles unauthorized response a status code equal to that given
func (*GetRolesUnauthorized) IsRedirect ¶
func (o *GetRolesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get roles unauthorized response has a 3xx status code
func (*GetRolesUnauthorized) IsServerError ¶
func (o *GetRolesUnauthorized) IsServerError() bool
IsServerError returns true when this get roles unauthorized response has a 5xx status code
func (*GetRolesUnauthorized) IsSuccess ¶
func (o *GetRolesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get roles unauthorized response has a 2xx status code
func (*GetRolesUnauthorized) String ¶
func (o *GetRolesUnauthorized) String() string
type GetUsersForRoleBadRequest ¶
type GetUsersForRoleBadRequest struct {
Payload *models.ErrorResponse
}
GetUsersForRoleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetUsersForRoleBadRequest ¶
func NewGetUsersForRoleBadRequest() *GetUsersForRoleBadRequest
NewGetUsersForRoleBadRequest creates a GetUsersForRoleBadRequest with default headers values
func (*GetUsersForRoleBadRequest) Code ¶
func (o *GetUsersForRoleBadRequest) Code() int
Code gets the status code for the get users for role bad request response
func (*GetUsersForRoleBadRequest) Error ¶
func (o *GetUsersForRoleBadRequest) Error() string
func (*GetUsersForRoleBadRequest) GetPayload ¶
func (o *GetUsersForRoleBadRequest) GetPayload() *models.ErrorResponse
func (*GetUsersForRoleBadRequest) IsClientError ¶
func (o *GetUsersForRoleBadRequest) IsClientError() bool
IsClientError returns true when this get users for role bad request response has a 4xx status code
func (*GetUsersForRoleBadRequest) IsCode ¶
func (o *GetUsersForRoleBadRequest) IsCode(code int) bool
IsCode returns true when this get users for role bad request response a status code equal to that given
func (*GetUsersForRoleBadRequest) IsRedirect ¶
func (o *GetUsersForRoleBadRequest) IsRedirect() bool
IsRedirect returns true when this get users for role bad request response has a 3xx status code
func (*GetUsersForRoleBadRequest) IsServerError ¶
func (o *GetUsersForRoleBadRequest) IsServerError() bool
IsServerError returns true when this get users for role bad request response has a 5xx status code
func (*GetUsersForRoleBadRequest) IsSuccess ¶
func (o *GetUsersForRoleBadRequest) IsSuccess() bool
IsSuccess returns true when this get users for role bad request response has a 2xx status code
func (*GetUsersForRoleBadRequest) String ¶
func (o *GetUsersForRoleBadRequest) String() string
type GetUsersForRoleDeprecatedBadRequest ¶ added in v1.30.0
type GetUsersForRoleDeprecatedBadRequest struct {
Payload *models.ErrorResponse
}
GetUsersForRoleDeprecatedBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetUsersForRoleDeprecatedBadRequest ¶ added in v1.30.0
func NewGetUsersForRoleDeprecatedBadRequest() *GetUsersForRoleDeprecatedBadRequest
NewGetUsersForRoleDeprecatedBadRequest creates a GetUsersForRoleDeprecatedBadRequest with default headers values
func (*GetUsersForRoleDeprecatedBadRequest) Code ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedBadRequest) Code() int
Code gets the status code for the get users for role deprecated bad request response
func (*GetUsersForRoleDeprecatedBadRequest) Error ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedBadRequest) Error() string
func (*GetUsersForRoleDeprecatedBadRequest) GetPayload ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedBadRequest) GetPayload() *models.ErrorResponse
func (*GetUsersForRoleDeprecatedBadRequest) IsClientError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedBadRequest) IsClientError() bool
IsClientError returns true when this get users for role deprecated bad request response has a 4xx status code
func (*GetUsersForRoleDeprecatedBadRequest) IsCode ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedBadRequest) IsCode(code int) bool
IsCode returns true when this get users for role deprecated bad request response a status code equal to that given
func (*GetUsersForRoleDeprecatedBadRequest) IsRedirect ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedBadRequest) IsRedirect() bool
IsRedirect returns true when this get users for role deprecated bad request response has a 3xx status code
func (*GetUsersForRoleDeprecatedBadRequest) IsServerError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedBadRequest) IsServerError() bool
IsServerError returns true when this get users for role deprecated bad request response has a 5xx status code
func (*GetUsersForRoleDeprecatedBadRequest) IsSuccess ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedBadRequest) IsSuccess() bool
IsSuccess returns true when this get users for role deprecated bad request response has a 2xx status code
func (*GetUsersForRoleDeprecatedBadRequest) String ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedBadRequest) String() string
type GetUsersForRoleDeprecatedForbidden ¶ added in v1.30.0
type GetUsersForRoleDeprecatedForbidden struct {
Payload *models.ErrorResponse
}
GetUsersForRoleDeprecatedForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetUsersForRoleDeprecatedForbidden ¶ added in v1.30.0
func NewGetUsersForRoleDeprecatedForbidden() *GetUsersForRoleDeprecatedForbidden
NewGetUsersForRoleDeprecatedForbidden creates a GetUsersForRoleDeprecatedForbidden with default headers values
func (*GetUsersForRoleDeprecatedForbidden) Code ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedForbidden) Code() int
Code gets the status code for the get users for role deprecated forbidden response
func (*GetUsersForRoleDeprecatedForbidden) Error ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedForbidden) Error() string
func (*GetUsersForRoleDeprecatedForbidden) GetPayload ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedForbidden) GetPayload() *models.ErrorResponse
func (*GetUsersForRoleDeprecatedForbidden) IsClientError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedForbidden) IsClientError() bool
IsClientError returns true when this get users for role deprecated forbidden response has a 4xx status code
func (*GetUsersForRoleDeprecatedForbidden) IsCode ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedForbidden) IsCode(code int) bool
IsCode returns true when this get users for role deprecated forbidden response a status code equal to that given
func (*GetUsersForRoleDeprecatedForbidden) IsRedirect ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedForbidden) IsRedirect() bool
IsRedirect returns true when this get users for role deprecated forbidden response has a 3xx status code
func (*GetUsersForRoleDeprecatedForbidden) IsServerError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedForbidden) IsServerError() bool
IsServerError returns true when this get users for role deprecated forbidden response has a 5xx status code
func (*GetUsersForRoleDeprecatedForbidden) IsSuccess ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedForbidden) IsSuccess() bool
IsSuccess returns true when this get users for role deprecated forbidden response has a 2xx status code
func (*GetUsersForRoleDeprecatedForbidden) String ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedForbidden) String() string
type GetUsersForRoleDeprecatedInternalServerError ¶ added in v1.30.0
type GetUsersForRoleDeprecatedInternalServerError struct {
Payload *models.ErrorResponse
}
GetUsersForRoleDeprecatedInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewGetUsersForRoleDeprecatedInternalServerError ¶ added in v1.30.0
func NewGetUsersForRoleDeprecatedInternalServerError() *GetUsersForRoleDeprecatedInternalServerError
NewGetUsersForRoleDeprecatedInternalServerError creates a GetUsersForRoleDeprecatedInternalServerError with default headers values
func (*GetUsersForRoleDeprecatedInternalServerError) Code ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedInternalServerError) Code() int
Code gets the status code for the get users for role deprecated internal server error response
func (*GetUsersForRoleDeprecatedInternalServerError) Error ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedInternalServerError) Error() string
func (*GetUsersForRoleDeprecatedInternalServerError) GetPayload ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedInternalServerError) GetPayload() *models.ErrorResponse
func (*GetUsersForRoleDeprecatedInternalServerError) IsClientError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedInternalServerError) IsClientError() bool
IsClientError returns true when this get users for role deprecated internal server error response has a 4xx status code
func (*GetUsersForRoleDeprecatedInternalServerError) IsCode ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedInternalServerError) IsCode(code int) bool
IsCode returns true when this get users for role deprecated internal server error response a status code equal to that given
func (*GetUsersForRoleDeprecatedInternalServerError) IsRedirect ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedInternalServerError) IsRedirect() bool
IsRedirect returns true when this get users for role deprecated internal server error response has a 3xx status code
func (*GetUsersForRoleDeprecatedInternalServerError) IsServerError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedInternalServerError) IsServerError() bool
IsServerError returns true when this get users for role deprecated internal server error response has a 5xx status code
func (*GetUsersForRoleDeprecatedInternalServerError) IsSuccess ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedInternalServerError) IsSuccess() bool
IsSuccess returns true when this get users for role deprecated internal server error response has a 2xx status code
func (*GetUsersForRoleDeprecatedInternalServerError) String ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedInternalServerError) String() string
type GetUsersForRoleDeprecatedNotFound ¶ added in v1.30.0
type GetUsersForRoleDeprecatedNotFound struct {
}
GetUsersForRoleDeprecatedNotFound describes a response with status code 404, with default header values.
no role found
func NewGetUsersForRoleDeprecatedNotFound ¶ added in v1.30.0
func NewGetUsersForRoleDeprecatedNotFound() *GetUsersForRoleDeprecatedNotFound
NewGetUsersForRoleDeprecatedNotFound creates a GetUsersForRoleDeprecatedNotFound with default headers values
func (*GetUsersForRoleDeprecatedNotFound) Code ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedNotFound) Code() int
Code gets the status code for the get users for role deprecated not found response
func (*GetUsersForRoleDeprecatedNotFound) Error ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedNotFound) Error() string
func (*GetUsersForRoleDeprecatedNotFound) IsClientError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedNotFound) IsClientError() bool
IsClientError returns true when this get users for role deprecated not found response has a 4xx status code
func (*GetUsersForRoleDeprecatedNotFound) IsCode ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedNotFound) IsCode(code int) bool
IsCode returns true when this get users for role deprecated not found response a status code equal to that given
func (*GetUsersForRoleDeprecatedNotFound) IsRedirect ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedNotFound) IsRedirect() bool
IsRedirect returns true when this get users for role deprecated not found response has a 3xx status code
func (*GetUsersForRoleDeprecatedNotFound) IsServerError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedNotFound) IsServerError() bool
IsServerError returns true when this get users for role deprecated not found response has a 5xx status code
func (*GetUsersForRoleDeprecatedNotFound) IsSuccess ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedNotFound) IsSuccess() bool
IsSuccess returns true when this get users for role deprecated not found response has a 2xx status code
func (*GetUsersForRoleDeprecatedNotFound) String ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedNotFound) String() string
type GetUsersForRoleDeprecatedOK ¶ added in v1.30.0
type GetUsersForRoleDeprecatedOK struct {
Payload []string
}
GetUsersForRoleDeprecatedOK describes a response with status code 200, with default header values.
Users assigned to this role
func NewGetUsersForRoleDeprecatedOK ¶ added in v1.30.0
func NewGetUsersForRoleDeprecatedOK() *GetUsersForRoleDeprecatedOK
NewGetUsersForRoleDeprecatedOK creates a GetUsersForRoleDeprecatedOK with default headers values
func (*GetUsersForRoleDeprecatedOK) Code ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedOK) Code() int
Code gets the status code for the get users for role deprecated o k response
func (*GetUsersForRoleDeprecatedOK) Error ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedOK) Error() string
func (*GetUsersForRoleDeprecatedOK) GetPayload ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedOK) GetPayload() []string
func (*GetUsersForRoleDeprecatedOK) IsClientError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedOK) IsClientError() bool
IsClientError returns true when this get users for role deprecated o k response has a 4xx status code
func (*GetUsersForRoleDeprecatedOK) IsCode ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedOK) IsCode(code int) bool
IsCode returns true when this get users for role deprecated o k response a status code equal to that given
func (*GetUsersForRoleDeprecatedOK) IsRedirect ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedOK) IsRedirect() bool
IsRedirect returns true when this get users for role deprecated o k response has a 3xx status code
func (*GetUsersForRoleDeprecatedOK) IsServerError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedOK) IsServerError() bool
IsServerError returns true when this get users for role deprecated o k response has a 5xx status code
func (*GetUsersForRoleDeprecatedOK) IsSuccess ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedOK) IsSuccess() bool
IsSuccess returns true when this get users for role deprecated o k response has a 2xx status code
func (*GetUsersForRoleDeprecatedOK) String ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedOK) String() string
type GetUsersForRoleDeprecatedParams ¶ added in v1.30.0
type GetUsersForRoleDeprecatedParams struct {
/* ID.
role name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetUsersForRoleDeprecatedParams contains all the parameters to send to the API endpoint
for the get users for role deprecated operation. Typically these are written to a http.Request.
func NewGetUsersForRoleDeprecatedParams ¶ added in v1.30.0
func NewGetUsersForRoleDeprecatedParams() *GetUsersForRoleDeprecatedParams
NewGetUsersForRoleDeprecatedParams creates a new GetUsersForRoleDeprecatedParams 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 NewGetUsersForRoleDeprecatedParamsWithContext ¶ added in v1.30.0
func NewGetUsersForRoleDeprecatedParamsWithContext(ctx context.Context) *GetUsersForRoleDeprecatedParams
NewGetUsersForRoleDeprecatedParamsWithContext creates a new GetUsersForRoleDeprecatedParams object with the ability to set a context for a request.
func NewGetUsersForRoleDeprecatedParamsWithHTTPClient ¶ added in v1.30.0
func NewGetUsersForRoleDeprecatedParamsWithHTTPClient(client *http.Client) *GetUsersForRoleDeprecatedParams
NewGetUsersForRoleDeprecatedParamsWithHTTPClient creates a new GetUsersForRoleDeprecatedParams object with the ability to set a custom HTTPClient for a request.
func NewGetUsersForRoleDeprecatedParamsWithTimeout ¶ added in v1.30.0
func NewGetUsersForRoleDeprecatedParamsWithTimeout(timeout time.Duration) *GetUsersForRoleDeprecatedParams
NewGetUsersForRoleDeprecatedParamsWithTimeout creates a new GetUsersForRoleDeprecatedParams object with the ability to set a timeout on a request.
func (*GetUsersForRoleDeprecatedParams) SetContext ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedParams) SetContext(ctx context.Context)
SetContext adds the context to the get users for role deprecated params
func (*GetUsersForRoleDeprecatedParams) SetDefaults ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedParams) SetDefaults()
SetDefaults hydrates default values in the get users for role deprecated params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersForRoleDeprecatedParams) SetHTTPClient ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users for role deprecated params
func (*GetUsersForRoleDeprecatedParams) SetID ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedParams) SetID(id string)
SetID adds the id to the get users for role deprecated params
func (*GetUsersForRoleDeprecatedParams) SetTimeout ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users for role deprecated params
func (*GetUsersForRoleDeprecatedParams) WithContext ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedParams) WithContext(ctx context.Context) *GetUsersForRoleDeprecatedParams
WithContext adds the context to the get users for role deprecated params
func (*GetUsersForRoleDeprecatedParams) WithDefaults ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedParams) WithDefaults() *GetUsersForRoleDeprecatedParams
WithDefaults hydrates default values in the get users for role deprecated params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersForRoleDeprecatedParams) WithHTTPClient ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedParams) WithHTTPClient(client *http.Client) *GetUsersForRoleDeprecatedParams
WithHTTPClient adds the HTTPClient to the get users for role deprecated params
func (*GetUsersForRoleDeprecatedParams) WithID ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedParams) WithID(id string) *GetUsersForRoleDeprecatedParams
WithID adds the id to the get users for role deprecated params
func (*GetUsersForRoleDeprecatedParams) WithTimeout ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedParams) WithTimeout(timeout time.Duration) *GetUsersForRoleDeprecatedParams
WithTimeout adds the timeout to the get users for role deprecated params
func (*GetUsersForRoleDeprecatedParams) WriteToRequest ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersForRoleDeprecatedReader ¶ added in v1.30.0
type GetUsersForRoleDeprecatedReader struct {
// contains filtered or unexported fields
}
GetUsersForRoleDeprecatedReader is a Reader for the GetUsersForRoleDeprecated structure.
func (*GetUsersForRoleDeprecatedReader) ReadResponse ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersForRoleDeprecatedUnauthorized ¶ added in v1.30.0
type GetUsersForRoleDeprecatedUnauthorized struct {
}
GetUsersForRoleDeprecatedUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewGetUsersForRoleDeprecatedUnauthorized ¶ added in v1.30.0
func NewGetUsersForRoleDeprecatedUnauthorized() *GetUsersForRoleDeprecatedUnauthorized
NewGetUsersForRoleDeprecatedUnauthorized creates a GetUsersForRoleDeprecatedUnauthorized with default headers values
func (*GetUsersForRoleDeprecatedUnauthorized) Code ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedUnauthorized) Code() int
Code gets the status code for the get users for role deprecated unauthorized response
func (*GetUsersForRoleDeprecatedUnauthorized) Error ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedUnauthorized) Error() string
func (*GetUsersForRoleDeprecatedUnauthorized) IsClientError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedUnauthorized) IsClientError() bool
IsClientError returns true when this get users for role deprecated unauthorized response has a 4xx status code
func (*GetUsersForRoleDeprecatedUnauthorized) IsCode ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedUnauthorized) IsCode(code int) bool
IsCode returns true when this get users for role deprecated unauthorized response a status code equal to that given
func (*GetUsersForRoleDeprecatedUnauthorized) IsRedirect ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedUnauthorized) IsRedirect() bool
IsRedirect returns true when this get users for role deprecated unauthorized response has a 3xx status code
func (*GetUsersForRoleDeprecatedUnauthorized) IsServerError ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedUnauthorized) IsServerError() bool
IsServerError returns true when this get users for role deprecated unauthorized response has a 5xx status code
func (*GetUsersForRoleDeprecatedUnauthorized) IsSuccess ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedUnauthorized) IsSuccess() bool
IsSuccess returns true when this get users for role deprecated unauthorized response has a 2xx status code
func (*GetUsersForRoleDeprecatedUnauthorized) String ¶ added in v1.30.0
func (o *GetUsersForRoleDeprecatedUnauthorized) String() string
type GetUsersForRoleForbidden ¶
type GetUsersForRoleForbidden struct {
Payload *models.ErrorResponse
}
GetUsersForRoleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetUsersForRoleForbidden ¶
func NewGetUsersForRoleForbidden() *GetUsersForRoleForbidden
NewGetUsersForRoleForbidden creates a GetUsersForRoleForbidden with default headers values
func (*GetUsersForRoleForbidden) Code ¶
func (o *GetUsersForRoleForbidden) Code() int
Code gets the status code for the get users for role forbidden response
func (*GetUsersForRoleForbidden) Error ¶
func (o *GetUsersForRoleForbidden) Error() string
func (*GetUsersForRoleForbidden) GetPayload ¶
func (o *GetUsersForRoleForbidden) GetPayload() *models.ErrorResponse
func (*GetUsersForRoleForbidden) IsClientError ¶
func (o *GetUsersForRoleForbidden) IsClientError() bool
IsClientError returns true when this get users for role forbidden response has a 4xx status code
func (*GetUsersForRoleForbidden) IsCode ¶
func (o *GetUsersForRoleForbidden) IsCode(code int) bool
IsCode returns true when this get users for role forbidden response a status code equal to that given
func (*GetUsersForRoleForbidden) IsRedirect ¶
func (o *GetUsersForRoleForbidden) IsRedirect() bool
IsRedirect returns true when this get users for role forbidden response has a 3xx status code
func (*GetUsersForRoleForbidden) IsServerError ¶
func (o *GetUsersForRoleForbidden) IsServerError() bool
IsServerError returns true when this get users for role forbidden response has a 5xx status code
func (*GetUsersForRoleForbidden) IsSuccess ¶
func (o *GetUsersForRoleForbidden) IsSuccess() bool
IsSuccess returns true when this get users for role forbidden response has a 2xx status code
func (*GetUsersForRoleForbidden) String ¶
func (o *GetUsersForRoleForbidden) String() string
type GetUsersForRoleInternalServerError ¶
type GetUsersForRoleInternalServerError struct {
Payload *models.ErrorResponse
}
GetUsersForRoleInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewGetUsersForRoleInternalServerError ¶
func NewGetUsersForRoleInternalServerError() *GetUsersForRoleInternalServerError
NewGetUsersForRoleInternalServerError creates a GetUsersForRoleInternalServerError with default headers values
func (*GetUsersForRoleInternalServerError) Code ¶
func (o *GetUsersForRoleInternalServerError) Code() int
Code gets the status code for the get users for role internal server error response
func (*GetUsersForRoleInternalServerError) Error ¶
func (o *GetUsersForRoleInternalServerError) Error() string
func (*GetUsersForRoleInternalServerError) GetPayload ¶
func (o *GetUsersForRoleInternalServerError) GetPayload() *models.ErrorResponse
func (*GetUsersForRoleInternalServerError) IsClientError ¶
func (o *GetUsersForRoleInternalServerError) IsClientError() bool
IsClientError returns true when this get users for role internal server error response has a 4xx status code
func (*GetUsersForRoleInternalServerError) IsCode ¶
func (o *GetUsersForRoleInternalServerError) IsCode(code int) bool
IsCode returns true when this get users for role internal server error response a status code equal to that given
func (*GetUsersForRoleInternalServerError) IsRedirect ¶
func (o *GetUsersForRoleInternalServerError) IsRedirect() bool
IsRedirect returns true when this get users for role internal server error response has a 3xx status code
func (*GetUsersForRoleInternalServerError) IsServerError ¶
func (o *GetUsersForRoleInternalServerError) IsServerError() bool
IsServerError returns true when this get users for role internal server error response has a 5xx status code
func (*GetUsersForRoleInternalServerError) IsSuccess ¶
func (o *GetUsersForRoleInternalServerError) IsSuccess() bool
IsSuccess returns true when this get users for role internal server error response has a 2xx status code
func (*GetUsersForRoleInternalServerError) String ¶
func (o *GetUsersForRoleInternalServerError) String() string
type GetUsersForRoleNotFound ¶
type GetUsersForRoleNotFound struct {
}
GetUsersForRoleNotFound describes a response with status code 404, with default header values.
no role found
func NewGetUsersForRoleNotFound ¶
func NewGetUsersForRoleNotFound() *GetUsersForRoleNotFound
NewGetUsersForRoleNotFound creates a GetUsersForRoleNotFound with default headers values
func (*GetUsersForRoleNotFound) Code ¶
func (o *GetUsersForRoleNotFound) Code() int
Code gets the status code for the get users for role not found response
func (*GetUsersForRoleNotFound) Error ¶
func (o *GetUsersForRoleNotFound) Error() string
func (*GetUsersForRoleNotFound) IsClientError ¶
func (o *GetUsersForRoleNotFound) IsClientError() bool
IsClientError returns true when this get users for role not found response has a 4xx status code
func (*GetUsersForRoleNotFound) IsCode ¶
func (o *GetUsersForRoleNotFound) IsCode(code int) bool
IsCode returns true when this get users for role not found response a status code equal to that given
func (*GetUsersForRoleNotFound) IsRedirect ¶
func (o *GetUsersForRoleNotFound) IsRedirect() bool
IsRedirect returns true when this get users for role not found response has a 3xx status code
func (*GetUsersForRoleNotFound) IsServerError ¶
func (o *GetUsersForRoleNotFound) IsServerError() bool
IsServerError returns true when this get users for role not found response has a 5xx status code
func (*GetUsersForRoleNotFound) IsSuccess ¶
func (o *GetUsersForRoleNotFound) IsSuccess() bool
IsSuccess returns true when this get users for role not found response has a 2xx status code
func (*GetUsersForRoleNotFound) String ¶
func (o *GetUsersForRoleNotFound) String() string
type GetUsersForRoleOK ¶
type GetUsersForRoleOK struct {
Payload []*GetUsersForRoleOKBodyItems0
}
GetUsersForRoleOK describes a response with status code 200, with default header values.
Users assigned to this role
func NewGetUsersForRoleOK ¶
func NewGetUsersForRoleOK() *GetUsersForRoleOK
NewGetUsersForRoleOK creates a GetUsersForRoleOK with default headers values
func (*GetUsersForRoleOK) Code ¶
func (o *GetUsersForRoleOK) Code() int
Code gets the status code for the get users for role o k response
func (*GetUsersForRoleOK) Error ¶
func (o *GetUsersForRoleOK) Error() string
func (*GetUsersForRoleOK) GetPayload ¶
func (o *GetUsersForRoleOK) GetPayload() []*GetUsersForRoleOKBodyItems0
func (*GetUsersForRoleOK) IsClientError ¶
func (o *GetUsersForRoleOK) IsClientError() bool
IsClientError returns true when this get users for role o k response has a 4xx status code
func (*GetUsersForRoleOK) IsCode ¶
func (o *GetUsersForRoleOK) IsCode(code int) bool
IsCode returns true when this get users for role o k response a status code equal to that given
func (*GetUsersForRoleOK) IsRedirect ¶
func (o *GetUsersForRoleOK) IsRedirect() bool
IsRedirect returns true when this get users for role o k response has a 3xx status code
func (*GetUsersForRoleOK) IsServerError ¶
func (o *GetUsersForRoleOK) IsServerError() bool
IsServerError returns true when this get users for role o k response has a 5xx status code
func (*GetUsersForRoleOK) IsSuccess ¶
func (o *GetUsersForRoleOK) IsSuccess() bool
IsSuccess returns true when this get users for role o k response has a 2xx status code
func (*GetUsersForRoleOK) String ¶
func (o *GetUsersForRoleOK) String() string
type GetUsersForRoleOKBodyItems0 ¶ added in v1.30.0
type GetUsersForRoleOKBodyItems0 struct {
// user Id
UserID string `json:"userId,omitempty"`
// user type
// Required: true
UserType *models.UserTypeOutput `json:"userType"`
}
GetUsersForRoleOKBodyItems0 get users for role o k body items0 swagger:model GetUsersForRoleOKBodyItems0
func (*GetUsersForRoleOKBodyItems0) ContextValidate ¶ added in v1.30.0
func (o *GetUsersForRoleOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get users for role o k body items0 based on the context it is used
func (*GetUsersForRoleOKBodyItems0) MarshalBinary ¶ added in v1.30.0
func (o *GetUsersForRoleOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUsersForRoleOKBodyItems0) UnmarshalBinary ¶ added in v1.30.0
func (o *GetUsersForRoleOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetUsersForRoleParams ¶
type GetUsersForRoleParams struct {
/* ID.
role name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetUsersForRoleParams contains all the parameters to send to the API endpoint
for the get users for role operation. Typically these are written to a http.Request.
func NewGetUsersForRoleParams ¶
func NewGetUsersForRoleParams() *GetUsersForRoleParams
NewGetUsersForRoleParams creates a new GetUsersForRoleParams 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 NewGetUsersForRoleParamsWithContext ¶
func NewGetUsersForRoleParamsWithContext(ctx context.Context) *GetUsersForRoleParams
NewGetUsersForRoleParamsWithContext creates a new GetUsersForRoleParams object with the ability to set a context for a request.
func NewGetUsersForRoleParamsWithHTTPClient ¶
func NewGetUsersForRoleParamsWithHTTPClient(client *http.Client) *GetUsersForRoleParams
NewGetUsersForRoleParamsWithHTTPClient creates a new GetUsersForRoleParams object with the ability to set a custom HTTPClient for a request.
func NewGetUsersForRoleParamsWithTimeout ¶
func NewGetUsersForRoleParamsWithTimeout(timeout time.Duration) *GetUsersForRoleParams
NewGetUsersForRoleParamsWithTimeout creates a new GetUsersForRoleParams object with the ability to set a timeout on a request.
func (*GetUsersForRoleParams) SetContext ¶
func (o *GetUsersForRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the get users for role params
func (*GetUsersForRoleParams) SetDefaults ¶
func (o *GetUsersForRoleParams) SetDefaults()
SetDefaults hydrates default values in the get users for role params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersForRoleParams) SetHTTPClient ¶
func (o *GetUsersForRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users for role params
func (*GetUsersForRoleParams) SetID ¶
func (o *GetUsersForRoleParams) SetID(id string)
SetID adds the id to the get users for role params
func (*GetUsersForRoleParams) SetTimeout ¶
func (o *GetUsersForRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users for role params
func (*GetUsersForRoleParams) WithContext ¶
func (o *GetUsersForRoleParams) WithContext(ctx context.Context) *GetUsersForRoleParams
WithContext adds the context to the get users for role params
func (*GetUsersForRoleParams) WithDefaults ¶
func (o *GetUsersForRoleParams) WithDefaults() *GetUsersForRoleParams
WithDefaults hydrates default values in the get users for role params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersForRoleParams) WithHTTPClient ¶
func (o *GetUsersForRoleParams) WithHTTPClient(client *http.Client) *GetUsersForRoleParams
WithHTTPClient adds the HTTPClient to the get users for role params
func (*GetUsersForRoleParams) WithID ¶
func (o *GetUsersForRoleParams) WithID(id string) *GetUsersForRoleParams
WithID adds the id to the get users for role params
func (*GetUsersForRoleParams) WithTimeout ¶
func (o *GetUsersForRoleParams) WithTimeout(timeout time.Duration) *GetUsersForRoleParams
WithTimeout adds the timeout to the get users for role params
func (*GetUsersForRoleParams) WriteToRequest ¶
func (o *GetUsersForRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersForRoleReader ¶
type GetUsersForRoleReader struct {
// contains filtered or unexported fields
}
GetUsersForRoleReader is a Reader for the GetUsersForRole structure.
func (*GetUsersForRoleReader) ReadResponse ¶
func (o *GetUsersForRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersForRoleUnauthorized ¶
type GetUsersForRoleUnauthorized struct {
}
GetUsersForRoleUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewGetUsersForRoleUnauthorized ¶
func NewGetUsersForRoleUnauthorized() *GetUsersForRoleUnauthorized
NewGetUsersForRoleUnauthorized creates a GetUsersForRoleUnauthorized with default headers values
func (*GetUsersForRoleUnauthorized) Code ¶
func (o *GetUsersForRoleUnauthorized) Code() int
Code gets the status code for the get users for role unauthorized response
func (*GetUsersForRoleUnauthorized) Error ¶
func (o *GetUsersForRoleUnauthorized) Error() string
func (*GetUsersForRoleUnauthorized) IsClientError ¶
func (o *GetUsersForRoleUnauthorized) IsClientError() bool
IsClientError returns true when this get users for role unauthorized response has a 4xx status code
func (*GetUsersForRoleUnauthorized) IsCode ¶
func (o *GetUsersForRoleUnauthorized) IsCode(code int) bool
IsCode returns true when this get users for role unauthorized response a status code equal to that given
func (*GetUsersForRoleUnauthorized) IsRedirect ¶
func (o *GetUsersForRoleUnauthorized) IsRedirect() bool
IsRedirect returns true when this get users for role unauthorized response has a 3xx status code
func (*GetUsersForRoleUnauthorized) IsServerError ¶
func (o *GetUsersForRoleUnauthorized) IsServerError() bool
IsServerError returns true when this get users for role unauthorized response has a 5xx status code
func (*GetUsersForRoleUnauthorized) IsSuccess ¶
func (o *GetUsersForRoleUnauthorized) IsSuccess() bool
IsSuccess returns true when this get users for role unauthorized response has a 2xx status code
func (*GetUsersForRoleUnauthorized) String ¶
func (o *GetUsersForRoleUnauthorized) String() string
type HasPermissionBadRequest ¶
type HasPermissionBadRequest struct {
Payload *models.ErrorResponse
}
HasPermissionBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewHasPermissionBadRequest ¶
func NewHasPermissionBadRequest() *HasPermissionBadRequest
NewHasPermissionBadRequest creates a HasPermissionBadRequest with default headers values
func (*HasPermissionBadRequest) Code ¶
func (o *HasPermissionBadRequest) Code() int
Code gets the status code for the has permission bad request response
func (*HasPermissionBadRequest) Error ¶
func (o *HasPermissionBadRequest) Error() string
func (*HasPermissionBadRequest) GetPayload ¶
func (o *HasPermissionBadRequest) GetPayload() *models.ErrorResponse
func (*HasPermissionBadRequest) IsClientError ¶
func (o *HasPermissionBadRequest) IsClientError() bool
IsClientError returns true when this has permission bad request response has a 4xx status code
func (*HasPermissionBadRequest) IsCode ¶
func (o *HasPermissionBadRequest) IsCode(code int) bool
IsCode returns true when this has permission bad request response a status code equal to that given
func (*HasPermissionBadRequest) IsRedirect ¶
func (o *HasPermissionBadRequest) IsRedirect() bool
IsRedirect returns true when this has permission bad request response has a 3xx status code
func (*HasPermissionBadRequest) IsServerError ¶
func (o *HasPermissionBadRequest) IsServerError() bool
IsServerError returns true when this has permission bad request response has a 5xx status code
func (*HasPermissionBadRequest) IsSuccess ¶
func (o *HasPermissionBadRequest) IsSuccess() bool
IsSuccess returns true when this has permission bad request response has a 2xx status code
func (*HasPermissionBadRequest) String ¶
func (o *HasPermissionBadRequest) String() string
type HasPermissionForbidden ¶
type HasPermissionForbidden struct {
Payload *models.ErrorResponse
}
HasPermissionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewHasPermissionForbidden ¶
func NewHasPermissionForbidden() *HasPermissionForbidden
NewHasPermissionForbidden creates a HasPermissionForbidden with default headers values
func (*HasPermissionForbidden) Code ¶
func (o *HasPermissionForbidden) Code() int
Code gets the status code for the has permission forbidden response
func (*HasPermissionForbidden) Error ¶
func (o *HasPermissionForbidden) Error() string
func (*HasPermissionForbidden) GetPayload ¶
func (o *HasPermissionForbidden) GetPayload() *models.ErrorResponse
func (*HasPermissionForbidden) IsClientError ¶
func (o *HasPermissionForbidden) IsClientError() bool
IsClientError returns true when this has permission forbidden response has a 4xx status code
func (*HasPermissionForbidden) IsCode ¶
func (o *HasPermissionForbidden) IsCode(code int) bool
IsCode returns true when this has permission forbidden response a status code equal to that given
func (*HasPermissionForbidden) IsRedirect ¶
func (o *HasPermissionForbidden) IsRedirect() bool
IsRedirect returns true when this has permission forbidden response has a 3xx status code
func (*HasPermissionForbidden) IsServerError ¶
func (o *HasPermissionForbidden) IsServerError() bool
IsServerError returns true when this has permission forbidden response has a 5xx status code
func (*HasPermissionForbidden) IsSuccess ¶
func (o *HasPermissionForbidden) IsSuccess() bool
IsSuccess returns true when this has permission forbidden response has a 2xx status code
func (*HasPermissionForbidden) String ¶
func (o *HasPermissionForbidden) String() string
type HasPermissionInternalServerError ¶
type HasPermissionInternalServerError struct {
Payload *models.ErrorResponse
}
HasPermissionInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewHasPermissionInternalServerError ¶
func NewHasPermissionInternalServerError() *HasPermissionInternalServerError
NewHasPermissionInternalServerError creates a HasPermissionInternalServerError with default headers values
func (*HasPermissionInternalServerError) Code ¶
func (o *HasPermissionInternalServerError) Code() int
Code gets the status code for the has permission internal server error response
func (*HasPermissionInternalServerError) Error ¶
func (o *HasPermissionInternalServerError) Error() string
func (*HasPermissionInternalServerError) GetPayload ¶
func (o *HasPermissionInternalServerError) GetPayload() *models.ErrorResponse
func (*HasPermissionInternalServerError) IsClientError ¶
func (o *HasPermissionInternalServerError) IsClientError() bool
IsClientError returns true when this has permission internal server error response has a 4xx status code
func (*HasPermissionInternalServerError) IsCode ¶
func (o *HasPermissionInternalServerError) IsCode(code int) bool
IsCode returns true when this has permission internal server error response a status code equal to that given
func (*HasPermissionInternalServerError) IsRedirect ¶
func (o *HasPermissionInternalServerError) IsRedirect() bool
IsRedirect returns true when this has permission internal server error response has a 3xx status code
func (*HasPermissionInternalServerError) IsServerError ¶
func (o *HasPermissionInternalServerError) IsServerError() bool
IsServerError returns true when this has permission internal server error response has a 5xx status code
func (*HasPermissionInternalServerError) IsSuccess ¶
func (o *HasPermissionInternalServerError) IsSuccess() bool
IsSuccess returns true when this has permission internal server error response has a 2xx status code
func (*HasPermissionInternalServerError) String ¶
func (o *HasPermissionInternalServerError) String() string
type HasPermissionOK ¶
type HasPermissionOK struct {
Payload bool
}
HasPermissionOK describes a response with status code 200, with default header values.
Permission check was successful
func NewHasPermissionOK ¶
func NewHasPermissionOK() *HasPermissionOK
NewHasPermissionOK creates a HasPermissionOK with default headers values
func (*HasPermissionOK) Code ¶
func (o *HasPermissionOK) Code() int
Code gets the status code for the has permission o k response
func (*HasPermissionOK) Error ¶
func (o *HasPermissionOK) Error() string
func (*HasPermissionOK) GetPayload ¶
func (o *HasPermissionOK) GetPayload() bool
func (*HasPermissionOK) IsClientError ¶
func (o *HasPermissionOK) IsClientError() bool
IsClientError returns true when this has permission o k response has a 4xx status code
func (*HasPermissionOK) IsCode ¶
func (o *HasPermissionOK) IsCode(code int) bool
IsCode returns true when this has permission o k response a status code equal to that given
func (*HasPermissionOK) IsRedirect ¶
func (o *HasPermissionOK) IsRedirect() bool
IsRedirect returns true when this has permission o k response has a 3xx status code
func (*HasPermissionOK) IsServerError ¶
func (o *HasPermissionOK) IsServerError() bool
IsServerError returns true when this has permission o k response has a 5xx status code
func (*HasPermissionOK) IsSuccess ¶
func (o *HasPermissionOK) IsSuccess() bool
IsSuccess returns true when this has permission o k response has a 2xx status code
func (*HasPermissionOK) String ¶
func (o *HasPermissionOK) String() string
type HasPermissionParams ¶
type HasPermissionParams struct {
// Body.
Body *models.Permission
/* ID.
role name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
HasPermissionParams contains all the parameters to send to the API endpoint
for the has permission operation. Typically these are written to a http.Request.
func NewHasPermissionParams ¶
func NewHasPermissionParams() *HasPermissionParams
NewHasPermissionParams creates a new HasPermissionParams 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 NewHasPermissionParamsWithContext ¶
func NewHasPermissionParamsWithContext(ctx context.Context) *HasPermissionParams
NewHasPermissionParamsWithContext creates a new HasPermissionParams object with the ability to set a context for a request.
func NewHasPermissionParamsWithHTTPClient ¶
func NewHasPermissionParamsWithHTTPClient(client *http.Client) *HasPermissionParams
NewHasPermissionParamsWithHTTPClient creates a new HasPermissionParams object with the ability to set a custom HTTPClient for a request.
func NewHasPermissionParamsWithTimeout ¶
func NewHasPermissionParamsWithTimeout(timeout time.Duration) *HasPermissionParams
NewHasPermissionParamsWithTimeout creates a new HasPermissionParams object with the ability to set a timeout on a request.
func (*HasPermissionParams) SetBody ¶
func (o *HasPermissionParams) SetBody(body *models.Permission)
SetBody adds the body to the has permission params
func (*HasPermissionParams) SetContext ¶
func (o *HasPermissionParams) SetContext(ctx context.Context)
SetContext adds the context to the has permission params
func (*HasPermissionParams) SetDefaults ¶
func (o *HasPermissionParams) SetDefaults()
SetDefaults hydrates default values in the has permission params (not the query body).
All values with no default are reset to their zero value.
func (*HasPermissionParams) SetHTTPClient ¶
func (o *HasPermissionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the has permission params
func (*HasPermissionParams) SetID ¶
func (o *HasPermissionParams) SetID(id string)
SetID adds the id to the has permission params
func (*HasPermissionParams) SetTimeout ¶
func (o *HasPermissionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the has permission params
func (*HasPermissionParams) WithBody ¶
func (o *HasPermissionParams) WithBody(body *models.Permission) *HasPermissionParams
WithBody adds the body to the has permission params
func (*HasPermissionParams) WithContext ¶
func (o *HasPermissionParams) WithContext(ctx context.Context) *HasPermissionParams
WithContext adds the context to the has permission params
func (*HasPermissionParams) WithDefaults ¶
func (o *HasPermissionParams) WithDefaults() *HasPermissionParams
WithDefaults hydrates default values in the has permission params (not the query body).
All values with no default are reset to their zero value.
func (*HasPermissionParams) WithHTTPClient ¶
func (o *HasPermissionParams) WithHTTPClient(client *http.Client) *HasPermissionParams
WithHTTPClient adds the HTTPClient to the has permission params
func (*HasPermissionParams) WithID ¶
func (o *HasPermissionParams) WithID(id string) *HasPermissionParams
WithID adds the id to the has permission params
func (*HasPermissionParams) WithTimeout ¶
func (o *HasPermissionParams) WithTimeout(timeout time.Duration) *HasPermissionParams
WithTimeout adds the timeout to the has permission params
func (*HasPermissionParams) WriteToRequest ¶
func (o *HasPermissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HasPermissionReader ¶
type HasPermissionReader struct {
// contains filtered or unexported fields
}
HasPermissionReader is a Reader for the HasPermission structure.
func (*HasPermissionReader) ReadResponse ¶
func (o *HasPermissionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HasPermissionUnauthorized ¶
type HasPermissionUnauthorized struct {
}
HasPermissionUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewHasPermissionUnauthorized ¶
func NewHasPermissionUnauthorized() *HasPermissionUnauthorized
NewHasPermissionUnauthorized creates a HasPermissionUnauthorized with default headers values
func (*HasPermissionUnauthorized) Code ¶
func (o *HasPermissionUnauthorized) Code() int
Code gets the status code for the has permission unauthorized response
func (*HasPermissionUnauthorized) Error ¶
func (o *HasPermissionUnauthorized) Error() string
func (*HasPermissionUnauthorized) IsClientError ¶
func (o *HasPermissionUnauthorized) IsClientError() bool
IsClientError returns true when this has permission unauthorized response has a 4xx status code
func (*HasPermissionUnauthorized) IsCode ¶
func (o *HasPermissionUnauthorized) IsCode(code int) bool
IsCode returns true when this has permission unauthorized response a status code equal to that given
func (*HasPermissionUnauthorized) IsRedirect ¶
func (o *HasPermissionUnauthorized) IsRedirect() bool
IsRedirect returns true when this has permission unauthorized response has a 3xx status code
func (*HasPermissionUnauthorized) IsServerError ¶
func (o *HasPermissionUnauthorized) IsServerError() bool
IsServerError returns true when this has permission unauthorized response has a 5xx status code
func (*HasPermissionUnauthorized) IsSuccess ¶
func (o *HasPermissionUnauthorized) IsSuccess() bool
IsSuccess returns true when this has permission unauthorized response has a 2xx status code
func (*HasPermissionUnauthorized) String ¶
func (o *HasPermissionUnauthorized) String() string
type HasPermissionUnprocessableEntity ¶
type HasPermissionUnprocessableEntity struct {
Payload *models.ErrorResponse
}
HasPermissionUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
func NewHasPermissionUnprocessableEntity ¶
func NewHasPermissionUnprocessableEntity() *HasPermissionUnprocessableEntity
NewHasPermissionUnprocessableEntity creates a HasPermissionUnprocessableEntity with default headers values
func (*HasPermissionUnprocessableEntity) Code ¶
func (o *HasPermissionUnprocessableEntity) Code() int
Code gets the status code for the has permission unprocessable entity response
func (*HasPermissionUnprocessableEntity) Error ¶
func (o *HasPermissionUnprocessableEntity) Error() string
func (*HasPermissionUnprocessableEntity) GetPayload ¶
func (o *HasPermissionUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*HasPermissionUnprocessableEntity) IsClientError ¶
func (o *HasPermissionUnprocessableEntity) IsClientError() bool
IsClientError returns true when this has permission unprocessable entity response has a 4xx status code
func (*HasPermissionUnprocessableEntity) IsCode ¶
func (o *HasPermissionUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this has permission unprocessable entity response a status code equal to that given
func (*HasPermissionUnprocessableEntity) IsRedirect ¶
func (o *HasPermissionUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this has permission unprocessable entity response has a 3xx status code
func (*HasPermissionUnprocessableEntity) IsServerError ¶
func (o *HasPermissionUnprocessableEntity) IsServerError() bool
IsServerError returns true when this has permission unprocessable entity response has a 5xx status code
func (*HasPermissionUnprocessableEntity) IsSuccess ¶
func (o *HasPermissionUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this has permission unprocessable entity response has a 2xx status code
func (*HasPermissionUnprocessableEntity) String ¶
func (o *HasPermissionUnprocessableEntity) String() string
type RemovePermissionsBadRequest ¶
type RemovePermissionsBadRequest struct {
Payload *models.ErrorResponse
}
RemovePermissionsBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewRemovePermissionsBadRequest ¶
func NewRemovePermissionsBadRequest() *RemovePermissionsBadRequest
NewRemovePermissionsBadRequest creates a RemovePermissionsBadRequest with default headers values
func (*RemovePermissionsBadRequest) Code ¶
func (o *RemovePermissionsBadRequest) Code() int
Code gets the status code for the remove permissions bad request response
func (*RemovePermissionsBadRequest) Error ¶
func (o *RemovePermissionsBadRequest) Error() string
func (*RemovePermissionsBadRequest) GetPayload ¶
func (o *RemovePermissionsBadRequest) GetPayload() *models.ErrorResponse
func (*RemovePermissionsBadRequest) IsClientError ¶
func (o *RemovePermissionsBadRequest) IsClientError() bool
IsClientError returns true when this remove permissions bad request response has a 4xx status code
func (*RemovePermissionsBadRequest) IsCode ¶
func (o *RemovePermissionsBadRequest) IsCode(code int) bool
IsCode returns true when this remove permissions bad request response a status code equal to that given
func (*RemovePermissionsBadRequest) IsRedirect ¶
func (o *RemovePermissionsBadRequest) IsRedirect() bool
IsRedirect returns true when this remove permissions bad request response has a 3xx status code
func (*RemovePermissionsBadRequest) IsServerError ¶
func (o *RemovePermissionsBadRequest) IsServerError() bool
IsServerError returns true when this remove permissions bad request response has a 5xx status code
func (*RemovePermissionsBadRequest) IsSuccess ¶
func (o *RemovePermissionsBadRequest) IsSuccess() bool
IsSuccess returns true when this remove permissions bad request response has a 2xx status code
func (*RemovePermissionsBadRequest) String ¶
func (o *RemovePermissionsBadRequest) String() string
type RemovePermissionsBody ¶
type RemovePermissionsBody struct {
// permissions to remove from the role
// Required: true
Permissions []*models.Permission `json:"permissions"`
}
RemovePermissionsBody remove permissions body swagger:model RemovePermissionsBody
func (*RemovePermissionsBody) ContextValidate ¶
ContextValidate validate this remove permissions body based on the context it is used
func (*RemovePermissionsBody) MarshalBinary ¶
func (o *RemovePermissionsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemovePermissionsBody) UnmarshalBinary ¶
func (o *RemovePermissionsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemovePermissionsForbidden ¶
type RemovePermissionsForbidden struct {
Payload *models.ErrorResponse
}
RemovePermissionsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRemovePermissionsForbidden ¶
func NewRemovePermissionsForbidden() *RemovePermissionsForbidden
NewRemovePermissionsForbidden creates a RemovePermissionsForbidden with default headers values
func (*RemovePermissionsForbidden) Code ¶
func (o *RemovePermissionsForbidden) Code() int
Code gets the status code for the remove permissions forbidden response
func (*RemovePermissionsForbidden) Error ¶
func (o *RemovePermissionsForbidden) Error() string
func (*RemovePermissionsForbidden) GetPayload ¶
func (o *RemovePermissionsForbidden) GetPayload() *models.ErrorResponse
func (*RemovePermissionsForbidden) IsClientError ¶
func (o *RemovePermissionsForbidden) IsClientError() bool
IsClientError returns true when this remove permissions forbidden response has a 4xx status code
func (*RemovePermissionsForbidden) IsCode ¶
func (o *RemovePermissionsForbidden) IsCode(code int) bool
IsCode returns true when this remove permissions forbidden response a status code equal to that given
func (*RemovePermissionsForbidden) IsRedirect ¶
func (o *RemovePermissionsForbidden) IsRedirect() bool
IsRedirect returns true when this remove permissions forbidden response has a 3xx status code
func (*RemovePermissionsForbidden) IsServerError ¶
func (o *RemovePermissionsForbidden) IsServerError() bool
IsServerError returns true when this remove permissions forbidden response has a 5xx status code
func (*RemovePermissionsForbidden) IsSuccess ¶
func (o *RemovePermissionsForbidden) IsSuccess() bool
IsSuccess returns true when this remove permissions forbidden response has a 2xx status code
func (*RemovePermissionsForbidden) String ¶
func (o *RemovePermissionsForbidden) String() string
type RemovePermissionsInternalServerError ¶
type RemovePermissionsInternalServerError struct {
Payload *models.ErrorResponse
}
RemovePermissionsInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewRemovePermissionsInternalServerError ¶
func NewRemovePermissionsInternalServerError() *RemovePermissionsInternalServerError
NewRemovePermissionsInternalServerError creates a RemovePermissionsInternalServerError with default headers values
func (*RemovePermissionsInternalServerError) Code ¶
func (o *RemovePermissionsInternalServerError) Code() int
Code gets the status code for the remove permissions internal server error response
func (*RemovePermissionsInternalServerError) Error ¶
func (o *RemovePermissionsInternalServerError) Error() string
func (*RemovePermissionsInternalServerError) GetPayload ¶
func (o *RemovePermissionsInternalServerError) GetPayload() *models.ErrorResponse
func (*RemovePermissionsInternalServerError) IsClientError ¶
func (o *RemovePermissionsInternalServerError) IsClientError() bool
IsClientError returns true when this remove permissions internal server error response has a 4xx status code
func (*RemovePermissionsInternalServerError) IsCode ¶
func (o *RemovePermissionsInternalServerError) IsCode(code int) bool
IsCode returns true when this remove permissions internal server error response a status code equal to that given
func (*RemovePermissionsInternalServerError) IsRedirect ¶
func (o *RemovePermissionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this remove permissions internal server error response has a 3xx status code
func (*RemovePermissionsInternalServerError) IsServerError ¶
func (o *RemovePermissionsInternalServerError) IsServerError() bool
IsServerError returns true when this remove permissions internal server error response has a 5xx status code
func (*RemovePermissionsInternalServerError) IsSuccess ¶
func (o *RemovePermissionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this remove permissions internal server error response has a 2xx status code
func (*RemovePermissionsInternalServerError) String ¶
func (o *RemovePermissionsInternalServerError) String() string
type RemovePermissionsNotFound ¶
type RemovePermissionsNotFound struct {
}
RemovePermissionsNotFound describes a response with status code 404, with default header values.
no role found
func NewRemovePermissionsNotFound ¶
func NewRemovePermissionsNotFound() *RemovePermissionsNotFound
NewRemovePermissionsNotFound creates a RemovePermissionsNotFound with default headers values
func (*RemovePermissionsNotFound) Code ¶
func (o *RemovePermissionsNotFound) Code() int
Code gets the status code for the remove permissions not found response
func (*RemovePermissionsNotFound) Error ¶
func (o *RemovePermissionsNotFound) Error() string
func (*RemovePermissionsNotFound) IsClientError ¶
func (o *RemovePermissionsNotFound) IsClientError() bool
IsClientError returns true when this remove permissions not found response has a 4xx status code
func (*RemovePermissionsNotFound) IsCode ¶
func (o *RemovePermissionsNotFound) IsCode(code int) bool
IsCode returns true when this remove permissions not found response a status code equal to that given
func (*RemovePermissionsNotFound) IsRedirect ¶
func (o *RemovePermissionsNotFound) IsRedirect() bool
IsRedirect returns true when this remove permissions not found response has a 3xx status code
func (*RemovePermissionsNotFound) IsServerError ¶
func (o *RemovePermissionsNotFound) IsServerError() bool
IsServerError returns true when this remove permissions not found response has a 5xx status code
func (*RemovePermissionsNotFound) IsSuccess ¶
func (o *RemovePermissionsNotFound) IsSuccess() bool
IsSuccess returns true when this remove permissions not found response has a 2xx status code
func (*RemovePermissionsNotFound) String ¶
func (o *RemovePermissionsNotFound) String() string
type RemovePermissionsOK ¶
type RemovePermissionsOK struct {
}
RemovePermissionsOK describes a response with status code 200, with default header values.
Permissions removed successfully
func NewRemovePermissionsOK ¶
func NewRemovePermissionsOK() *RemovePermissionsOK
NewRemovePermissionsOK creates a RemovePermissionsOK with default headers values
func (*RemovePermissionsOK) Code ¶
func (o *RemovePermissionsOK) Code() int
Code gets the status code for the remove permissions o k response
func (*RemovePermissionsOK) Error ¶
func (o *RemovePermissionsOK) Error() string
func (*RemovePermissionsOK) IsClientError ¶
func (o *RemovePermissionsOK) IsClientError() bool
IsClientError returns true when this remove permissions o k response has a 4xx status code
func (*RemovePermissionsOK) IsCode ¶
func (o *RemovePermissionsOK) IsCode(code int) bool
IsCode returns true when this remove permissions o k response a status code equal to that given
func (*RemovePermissionsOK) IsRedirect ¶
func (o *RemovePermissionsOK) IsRedirect() bool
IsRedirect returns true when this remove permissions o k response has a 3xx status code
func (*RemovePermissionsOK) IsServerError ¶
func (o *RemovePermissionsOK) IsServerError() bool
IsServerError returns true when this remove permissions o k response has a 5xx status code
func (*RemovePermissionsOK) IsSuccess ¶
func (o *RemovePermissionsOK) IsSuccess() bool
IsSuccess returns true when this remove permissions o k response has a 2xx status code
func (*RemovePermissionsOK) String ¶
func (o *RemovePermissionsOK) String() string
type RemovePermissionsParams ¶
type RemovePermissionsParams struct {
// Body.
Body RemovePermissionsBody
/* ID.
role name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RemovePermissionsParams contains all the parameters to send to the API endpoint
for the remove permissions operation. Typically these are written to a http.Request.
func NewRemovePermissionsParams ¶
func NewRemovePermissionsParams() *RemovePermissionsParams
NewRemovePermissionsParams creates a new RemovePermissionsParams 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 NewRemovePermissionsParamsWithContext ¶
func NewRemovePermissionsParamsWithContext(ctx context.Context) *RemovePermissionsParams
NewRemovePermissionsParamsWithContext creates a new RemovePermissionsParams object with the ability to set a context for a request.
func NewRemovePermissionsParamsWithHTTPClient ¶
func NewRemovePermissionsParamsWithHTTPClient(client *http.Client) *RemovePermissionsParams
NewRemovePermissionsParamsWithHTTPClient creates a new RemovePermissionsParams object with the ability to set a custom HTTPClient for a request.
func NewRemovePermissionsParamsWithTimeout ¶
func NewRemovePermissionsParamsWithTimeout(timeout time.Duration) *RemovePermissionsParams
NewRemovePermissionsParamsWithTimeout creates a new RemovePermissionsParams object with the ability to set a timeout on a request.
func (*RemovePermissionsParams) SetBody ¶
func (o *RemovePermissionsParams) SetBody(body RemovePermissionsBody)
SetBody adds the body to the remove permissions params
func (*RemovePermissionsParams) SetContext ¶
func (o *RemovePermissionsParams) SetContext(ctx context.Context)
SetContext adds the context to the remove permissions params
func (*RemovePermissionsParams) SetDefaults ¶
func (o *RemovePermissionsParams) SetDefaults()
SetDefaults hydrates default values in the remove permissions params (not the query body).
All values with no default are reset to their zero value.
func (*RemovePermissionsParams) SetHTTPClient ¶
func (o *RemovePermissionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove permissions params
func (*RemovePermissionsParams) SetID ¶
func (o *RemovePermissionsParams) SetID(id string)
SetID adds the id to the remove permissions params
func (*RemovePermissionsParams) SetTimeout ¶
func (o *RemovePermissionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove permissions params
func (*RemovePermissionsParams) WithBody ¶
func (o *RemovePermissionsParams) WithBody(body RemovePermissionsBody) *RemovePermissionsParams
WithBody adds the body to the remove permissions params
func (*RemovePermissionsParams) WithContext ¶
func (o *RemovePermissionsParams) WithContext(ctx context.Context) *RemovePermissionsParams
WithContext adds the context to the remove permissions params
func (*RemovePermissionsParams) WithDefaults ¶
func (o *RemovePermissionsParams) WithDefaults() *RemovePermissionsParams
WithDefaults hydrates default values in the remove permissions params (not the query body).
All values with no default are reset to their zero value.
func (*RemovePermissionsParams) WithHTTPClient ¶
func (o *RemovePermissionsParams) WithHTTPClient(client *http.Client) *RemovePermissionsParams
WithHTTPClient adds the HTTPClient to the remove permissions params
func (*RemovePermissionsParams) WithID ¶
func (o *RemovePermissionsParams) WithID(id string) *RemovePermissionsParams
WithID adds the id to the remove permissions params
func (*RemovePermissionsParams) WithTimeout ¶
func (o *RemovePermissionsParams) WithTimeout(timeout time.Duration) *RemovePermissionsParams
WithTimeout adds the timeout to the remove permissions params
func (*RemovePermissionsParams) WriteToRequest ¶
func (o *RemovePermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemovePermissionsReader ¶
type RemovePermissionsReader struct {
// contains filtered or unexported fields
}
RemovePermissionsReader is a Reader for the RemovePermissions structure.
func (*RemovePermissionsReader) ReadResponse ¶
func (o *RemovePermissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemovePermissionsUnauthorized ¶
type RemovePermissionsUnauthorized struct {
}
RemovePermissionsUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewRemovePermissionsUnauthorized ¶
func NewRemovePermissionsUnauthorized() *RemovePermissionsUnauthorized
NewRemovePermissionsUnauthorized creates a RemovePermissionsUnauthorized with default headers values
func (*RemovePermissionsUnauthorized) Code ¶
func (o *RemovePermissionsUnauthorized) Code() int
Code gets the status code for the remove permissions unauthorized response
func (*RemovePermissionsUnauthorized) Error ¶
func (o *RemovePermissionsUnauthorized) Error() string
func (*RemovePermissionsUnauthorized) IsClientError ¶
func (o *RemovePermissionsUnauthorized) IsClientError() bool
IsClientError returns true when this remove permissions unauthorized response has a 4xx status code
func (*RemovePermissionsUnauthorized) IsCode ¶
func (o *RemovePermissionsUnauthorized) IsCode(code int) bool
IsCode returns true when this remove permissions unauthorized response a status code equal to that given
func (*RemovePermissionsUnauthorized) IsRedirect ¶
func (o *RemovePermissionsUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove permissions unauthorized response has a 3xx status code
func (*RemovePermissionsUnauthorized) IsServerError ¶
func (o *RemovePermissionsUnauthorized) IsServerError() bool
IsServerError returns true when this remove permissions unauthorized response has a 5xx status code
func (*RemovePermissionsUnauthorized) IsSuccess ¶
func (o *RemovePermissionsUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove permissions unauthorized response has a 2xx status code
func (*RemovePermissionsUnauthorized) String ¶
func (o *RemovePermissionsUnauthorized) String() string
type RemovePermissionsUnprocessableEntity ¶
type RemovePermissionsUnprocessableEntity struct {
Payload *models.ErrorResponse
}
RemovePermissionsUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
func NewRemovePermissionsUnprocessableEntity ¶
func NewRemovePermissionsUnprocessableEntity() *RemovePermissionsUnprocessableEntity
NewRemovePermissionsUnprocessableEntity creates a RemovePermissionsUnprocessableEntity with default headers values
func (*RemovePermissionsUnprocessableEntity) Code ¶
func (o *RemovePermissionsUnprocessableEntity) Code() int
Code gets the status code for the remove permissions unprocessable entity response
func (*RemovePermissionsUnprocessableEntity) Error ¶
func (o *RemovePermissionsUnprocessableEntity) Error() string
func (*RemovePermissionsUnprocessableEntity) GetPayload ¶
func (o *RemovePermissionsUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*RemovePermissionsUnprocessableEntity) IsClientError ¶
func (o *RemovePermissionsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this remove permissions unprocessable entity response has a 4xx status code
func (*RemovePermissionsUnprocessableEntity) IsCode ¶
func (o *RemovePermissionsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this remove permissions unprocessable entity response a status code equal to that given
func (*RemovePermissionsUnprocessableEntity) IsRedirect ¶
func (o *RemovePermissionsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this remove permissions unprocessable entity response has a 3xx status code
func (*RemovePermissionsUnprocessableEntity) IsServerError ¶
func (o *RemovePermissionsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this remove permissions unprocessable entity response has a 5xx status code
func (*RemovePermissionsUnprocessableEntity) IsSuccess ¶
func (o *RemovePermissionsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this remove permissions unprocessable entity response has a 2xx status code
func (*RemovePermissionsUnprocessableEntity) String ¶
func (o *RemovePermissionsUnprocessableEntity) String() string
type RevokeRoleFromGroupBadRequest ¶ added in v1.28.5
type RevokeRoleFromGroupBadRequest struct {
Payload *models.ErrorResponse
}
RevokeRoleFromGroupBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRevokeRoleFromGroupBadRequest ¶ added in v1.28.5
func NewRevokeRoleFromGroupBadRequest() *RevokeRoleFromGroupBadRequest
NewRevokeRoleFromGroupBadRequest creates a RevokeRoleFromGroupBadRequest with default headers values
func (*RevokeRoleFromGroupBadRequest) Code ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBadRequest) Code() int
Code gets the status code for the revoke role from group bad request response
func (*RevokeRoleFromGroupBadRequest) Error ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBadRequest) Error() string
func (*RevokeRoleFromGroupBadRequest) GetPayload ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBadRequest) GetPayload() *models.ErrorResponse
func (*RevokeRoleFromGroupBadRequest) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBadRequest) IsClientError() bool
IsClientError returns true when this revoke role from group bad request response has a 4xx status code
func (*RevokeRoleFromGroupBadRequest) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBadRequest) IsCode(code int) bool
IsCode returns true when this revoke role from group bad request response a status code equal to that given
func (*RevokeRoleFromGroupBadRequest) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this revoke role from group bad request response has a 3xx status code
func (*RevokeRoleFromGroupBadRequest) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBadRequest) IsServerError() bool
IsServerError returns true when this revoke role from group bad request response has a 5xx status code
func (*RevokeRoleFromGroupBadRequest) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this revoke role from group bad request response has a 2xx status code
func (*RevokeRoleFromGroupBadRequest) String ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBadRequest) String() string
type RevokeRoleFromGroupBody ¶ added in v1.28.5
type RevokeRoleFromGroupBody struct {
// the roles that revoked from group
Roles []string `json:"roles"`
}
RevokeRoleFromGroupBody revoke role from group body swagger:model RevokeRoleFromGroupBody
func (*RevokeRoleFromGroupBody) ContextValidate ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this revoke role from group body based on context it is used
func (*RevokeRoleFromGroupBody) MarshalBinary ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RevokeRoleFromGroupBody) UnmarshalBinary ¶ added in v1.28.5
func (o *RevokeRoleFromGroupBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RevokeRoleFromGroupForbidden ¶ added in v1.28.5
type RevokeRoleFromGroupForbidden struct {
Payload *models.ErrorResponse
}
RevokeRoleFromGroupForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRevokeRoleFromGroupForbidden ¶ added in v1.28.5
func NewRevokeRoleFromGroupForbidden() *RevokeRoleFromGroupForbidden
NewRevokeRoleFromGroupForbidden creates a RevokeRoleFromGroupForbidden with default headers values
func (*RevokeRoleFromGroupForbidden) Code ¶ added in v1.28.5
func (o *RevokeRoleFromGroupForbidden) Code() int
Code gets the status code for the revoke role from group forbidden response
func (*RevokeRoleFromGroupForbidden) Error ¶ added in v1.28.5
func (o *RevokeRoleFromGroupForbidden) Error() string
func (*RevokeRoleFromGroupForbidden) GetPayload ¶ added in v1.28.5
func (o *RevokeRoleFromGroupForbidden) GetPayload() *models.ErrorResponse
func (*RevokeRoleFromGroupForbidden) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupForbidden) IsClientError() bool
IsClientError returns true when this revoke role from group forbidden response has a 4xx status code
func (*RevokeRoleFromGroupForbidden) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromGroupForbidden) IsCode(code int) bool
IsCode returns true when this revoke role from group forbidden response a status code equal to that given
func (*RevokeRoleFromGroupForbidden) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromGroupForbidden) IsRedirect() bool
IsRedirect returns true when this revoke role from group forbidden response has a 3xx status code
func (*RevokeRoleFromGroupForbidden) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupForbidden) IsServerError() bool
IsServerError returns true when this revoke role from group forbidden response has a 5xx status code
func (*RevokeRoleFromGroupForbidden) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromGroupForbidden) IsSuccess() bool
IsSuccess returns true when this revoke role from group forbidden response has a 2xx status code
func (*RevokeRoleFromGroupForbidden) String ¶ added in v1.28.5
func (o *RevokeRoleFromGroupForbidden) String() string
type RevokeRoleFromGroupInternalServerError ¶ added in v1.28.5
type RevokeRoleFromGroupInternalServerError struct {
Payload *models.ErrorResponse
}
RevokeRoleFromGroupInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewRevokeRoleFromGroupInternalServerError ¶ added in v1.28.5
func NewRevokeRoleFromGroupInternalServerError() *RevokeRoleFromGroupInternalServerError
NewRevokeRoleFromGroupInternalServerError creates a RevokeRoleFromGroupInternalServerError with default headers values
func (*RevokeRoleFromGroupInternalServerError) Code ¶ added in v1.28.5
func (o *RevokeRoleFromGroupInternalServerError) Code() int
Code gets the status code for the revoke role from group internal server error response
func (*RevokeRoleFromGroupInternalServerError) Error ¶ added in v1.28.5
func (o *RevokeRoleFromGroupInternalServerError) Error() string
func (*RevokeRoleFromGroupInternalServerError) GetPayload ¶ added in v1.28.5
func (o *RevokeRoleFromGroupInternalServerError) GetPayload() *models.ErrorResponse
func (*RevokeRoleFromGroupInternalServerError) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupInternalServerError) IsClientError() bool
IsClientError returns true when this revoke role from group internal server error response has a 4xx status code
func (*RevokeRoleFromGroupInternalServerError) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromGroupInternalServerError) IsCode(code int) bool
IsCode returns true when this revoke role from group internal server error response a status code equal to that given
func (*RevokeRoleFromGroupInternalServerError) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromGroupInternalServerError) IsRedirect() bool
IsRedirect returns true when this revoke role from group internal server error response has a 3xx status code
func (*RevokeRoleFromGroupInternalServerError) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupInternalServerError) IsServerError() bool
IsServerError returns true when this revoke role from group internal server error response has a 5xx status code
func (*RevokeRoleFromGroupInternalServerError) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromGroupInternalServerError) IsSuccess() bool
IsSuccess returns true when this revoke role from group internal server error response has a 2xx status code
func (*RevokeRoleFromGroupInternalServerError) String ¶ added in v1.28.5
func (o *RevokeRoleFromGroupInternalServerError) String() string
type RevokeRoleFromGroupNotFound ¶ added in v1.28.5
type RevokeRoleFromGroupNotFound struct {
}
RevokeRoleFromGroupNotFound describes a response with status code 404, with default header values.
role or group is not found.
func NewRevokeRoleFromGroupNotFound ¶ added in v1.28.5
func NewRevokeRoleFromGroupNotFound() *RevokeRoleFromGroupNotFound
NewRevokeRoleFromGroupNotFound creates a RevokeRoleFromGroupNotFound with default headers values
func (*RevokeRoleFromGroupNotFound) Code ¶ added in v1.28.5
func (o *RevokeRoleFromGroupNotFound) Code() int
Code gets the status code for the revoke role from group not found response
func (*RevokeRoleFromGroupNotFound) Error ¶ added in v1.28.5
func (o *RevokeRoleFromGroupNotFound) Error() string
func (*RevokeRoleFromGroupNotFound) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupNotFound) IsClientError() bool
IsClientError returns true when this revoke role from group not found response has a 4xx status code
func (*RevokeRoleFromGroupNotFound) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromGroupNotFound) IsCode(code int) bool
IsCode returns true when this revoke role from group not found response a status code equal to that given
func (*RevokeRoleFromGroupNotFound) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromGroupNotFound) IsRedirect() bool
IsRedirect returns true when this revoke role from group not found response has a 3xx status code
func (*RevokeRoleFromGroupNotFound) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupNotFound) IsServerError() bool
IsServerError returns true when this revoke role from group not found response has a 5xx status code
func (*RevokeRoleFromGroupNotFound) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromGroupNotFound) IsSuccess() bool
IsSuccess returns true when this revoke role from group not found response has a 2xx status code
func (*RevokeRoleFromGroupNotFound) String ¶ added in v1.28.5
func (o *RevokeRoleFromGroupNotFound) String() string
type RevokeRoleFromGroupOK ¶ added in v1.28.5
type RevokeRoleFromGroupOK struct {
}
RevokeRoleFromGroupOK describes a response with status code 200, with default header values.
Role revoked successfully
func NewRevokeRoleFromGroupOK ¶ added in v1.28.5
func NewRevokeRoleFromGroupOK() *RevokeRoleFromGroupOK
NewRevokeRoleFromGroupOK creates a RevokeRoleFromGroupOK with default headers values
func (*RevokeRoleFromGroupOK) Code ¶ added in v1.28.5
func (o *RevokeRoleFromGroupOK) Code() int
Code gets the status code for the revoke role from group o k response
func (*RevokeRoleFromGroupOK) Error ¶ added in v1.28.5
func (o *RevokeRoleFromGroupOK) Error() string
func (*RevokeRoleFromGroupOK) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupOK) IsClientError() bool
IsClientError returns true when this revoke role from group o k response has a 4xx status code
func (*RevokeRoleFromGroupOK) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromGroupOK) IsCode(code int) bool
IsCode returns true when this revoke role from group o k response a status code equal to that given
func (*RevokeRoleFromGroupOK) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromGroupOK) IsRedirect() bool
IsRedirect returns true when this revoke role from group o k response has a 3xx status code
func (*RevokeRoleFromGroupOK) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupOK) IsServerError() bool
IsServerError returns true when this revoke role from group o k response has a 5xx status code
func (*RevokeRoleFromGroupOK) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromGroupOK) IsSuccess() bool
IsSuccess returns true when this revoke role from group o k response has a 2xx status code
func (*RevokeRoleFromGroupOK) String ¶ added in v1.28.5
func (o *RevokeRoleFromGroupOK) String() string
type RevokeRoleFromGroupParams ¶ added in v1.28.5
type RevokeRoleFromGroupParams struct {
// Body.
Body RevokeRoleFromGroupBody
/* ID.
group name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RevokeRoleFromGroupParams contains all the parameters to send to the API endpoint
for the revoke role from group operation. Typically these are written to a http.Request.
func NewRevokeRoleFromGroupParams ¶ added in v1.28.5
func NewRevokeRoleFromGroupParams() *RevokeRoleFromGroupParams
NewRevokeRoleFromGroupParams creates a new RevokeRoleFromGroupParams 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 NewRevokeRoleFromGroupParamsWithContext ¶ added in v1.28.5
func NewRevokeRoleFromGroupParamsWithContext(ctx context.Context) *RevokeRoleFromGroupParams
NewRevokeRoleFromGroupParamsWithContext creates a new RevokeRoleFromGroupParams object with the ability to set a context for a request.
func NewRevokeRoleFromGroupParamsWithHTTPClient ¶ added in v1.28.5
func NewRevokeRoleFromGroupParamsWithHTTPClient(client *http.Client) *RevokeRoleFromGroupParams
NewRevokeRoleFromGroupParamsWithHTTPClient creates a new RevokeRoleFromGroupParams object with the ability to set a custom HTTPClient for a request.
func NewRevokeRoleFromGroupParamsWithTimeout ¶ added in v1.28.5
func NewRevokeRoleFromGroupParamsWithTimeout(timeout time.Duration) *RevokeRoleFromGroupParams
NewRevokeRoleFromGroupParamsWithTimeout creates a new RevokeRoleFromGroupParams object with the ability to set a timeout on a request.
func (*RevokeRoleFromGroupParams) SetBody ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) SetBody(body RevokeRoleFromGroupBody)
SetBody adds the body to the revoke role from group params
func (*RevokeRoleFromGroupParams) SetContext ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke role from group params
func (*RevokeRoleFromGroupParams) SetDefaults ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) SetDefaults()
SetDefaults hydrates default values in the revoke role from group params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeRoleFromGroupParams) SetHTTPClient ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke role from group params
func (*RevokeRoleFromGroupParams) SetID ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) SetID(id string)
SetID adds the id to the revoke role from group params
func (*RevokeRoleFromGroupParams) SetTimeout ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke role from group params
func (*RevokeRoleFromGroupParams) WithBody ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) WithBody(body RevokeRoleFromGroupBody) *RevokeRoleFromGroupParams
WithBody adds the body to the revoke role from group params
func (*RevokeRoleFromGroupParams) WithContext ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) WithContext(ctx context.Context) *RevokeRoleFromGroupParams
WithContext adds the context to the revoke role from group params
func (*RevokeRoleFromGroupParams) WithDefaults ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) WithDefaults() *RevokeRoleFromGroupParams
WithDefaults hydrates default values in the revoke role from group params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeRoleFromGroupParams) WithHTTPClient ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) WithHTTPClient(client *http.Client) *RevokeRoleFromGroupParams
WithHTTPClient adds the HTTPClient to the revoke role from group params
func (*RevokeRoleFromGroupParams) WithID ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) WithID(id string) *RevokeRoleFromGroupParams
WithID adds the id to the revoke role from group params
func (*RevokeRoleFromGroupParams) WithTimeout ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) WithTimeout(timeout time.Duration) *RevokeRoleFromGroupParams
WithTimeout adds the timeout to the revoke role from group params
func (*RevokeRoleFromGroupParams) WriteToRequest ¶ added in v1.28.5
func (o *RevokeRoleFromGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeRoleFromGroupReader ¶ added in v1.28.5
type RevokeRoleFromGroupReader struct {
// contains filtered or unexported fields
}
RevokeRoleFromGroupReader is a Reader for the RevokeRoleFromGroup structure.
func (*RevokeRoleFromGroupReader) ReadResponse ¶ added in v1.28.5
func (o *RevokeRoleFromGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeRoleFromGroupUnauthorized ¶ added in v1.28.5
type RevokeRoleFromGroupUnauthorized struct {
}
RevokeRoleFromGroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewRevokeRoleFromGroupUnauthorized ¶ added in v1.28.5
func NewRevokeRoleFromGroupUnauthorized() *RevokeRoleFromGroupUnauthorized
NewRevokeRoleFromGroupUnauthorized creates a RevokeRoleFromGroupUnauthorized with default headers values
func (*RevokeRoleFromGroupUnauthorized) Code ¶ added in v1.28.5
func (o *RevokeRoleFromGroupUnauthorized) Code() int
Code gets the status code for the revoke role from group unauthorized response
func (*RevokeRoleFromGroupUnauthorized) Error ¶ added in v1.28.5
func (o *RevokeRoleFromGroupUnauthorized) Error() string
func (*RevokeRoleFromGroupUnauthorized) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupUnauthorized) IsClientError() bool
IsClientError returns true when this revoke role from group unauthorized response has a 4xx status code
func (*RevokeRoleFromGroupUnauthorized) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromGroupUnauthorized) IsCode(code int) bool
IsCode returns true when this revoke role from group unauthorized response a status code equal to that given
func (*RevokeRoleFromGroupUnauthorized) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromGroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this revoke role from group unauthorized response has a 3xx status code
func (*RevokeRoleFromGroupUnauthorized) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromGroupUnauthorized) IsServerError() bool
IsServerError returns true when this revoke role from group unauthorized response has a 5xx status code
func (*RevokeRoleFromGroupUnauthorized) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromGroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this revoke role from group unauthorized response has a 2xx status code
func (*RevokeRoleFromGroupUnauthorized) String ¶ added in v1.28.5
func (o *RevokeRoleFromGroupUnauthorized) String() string
type RevokeRoleFromUserBadRequest ¶ added in v1.28.5
type RevokeRoleFromUserBadRequest struct {
Payload *models.ErrorResponse
}
RevokeRoleFromUserBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRevokeRoleFromUserBadRequest ¶ added in v1.28.5
func NewRevokeRoleFromUserBadRequest() *RevokeRoleFromUserBadRequest
NewRevokeRoleFromUserBadRequest creates a RevokeRoleFromUserBadRequest with default headers values
func (*RevokeRoleFromUserBadRequest) Code ¶ added in v1.28.5
func (o *RevokeRoleFromUserBadRequest) Code() int
Code gets the status code for the revoke role from user bad request response
func (*RevokeRoleFromUserBadRequest) Error ¶ added in v1.28.5
func (o *RevokeRoleFromUserBadRequest) Error() string
func (*RevokeRoleFromUserBadRequest) GetPayload ¶ added in v1.28.5
func (o *RevokeRoleFromUserBadRequest) GetPayload() *models.ErrorResponse
func (*RevokeRoleFromUserBadRequest) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromUserBadRequest) IsClientError() bool
IsClientError returns true when this revoke role from user bad request response has a 4xx status code
func (*RevokeRoleFromUserBadRequest) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromUserBadRequest) IsCode(code int) bool
IsCode returns true when this revoke role from user bad request response a status code equal to that given
func (*RevokeRoleFromUserBadRequest) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromUserBadRequest) IsRedirect() bool
IsRedirect returns true when this revoke role from user bad request response has a 3xx status code
func (*RevokeRoleFromUserBadRequest) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromUserBadRequest) IsServerError() bool
IsServerError returns true when this revoke role from user bad request response has a 5xx status code
func (*RevokeRoleFromUserBadRequest) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromUserBadRequest) IsSuccess() bool
IsSuccess returns true when this revoke role from user bad request response has a 2xx status code
func (*RevokeRoleFromUserBadRequest) String ¶ added in v1.28.5
func (o *RevokeRoleFromUserBadRequest) String() string
type RevokeRoleFromUserBody ¶ added in v1.28.5
type RevokeRoleFromUserBody struct {
// the roles that revoked from the key or user
Roles []string `json:"roles"`
// user type
UserType models.UserTypeInput `json:"userType,omitempty"`
}
RevokeRoleFromUserBody revoke role from user body swagger:model RevokeRoleFromUserBody
func (*RevokeRoleFromUserBody) ContextValidate ¶ added in v1.28.5
func (o *RevokeRoleFromUserBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this revoke role from user body based on the context it is used
func (*RevokeRoleFromUserBody) MarshalBinary ¶ added in v1.28.5
func (o *RevokeRoleFromUserBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RevokeRoleFromUserBody) UnmarshalBinary ¶ added in v1.28.5
func (o *RevokeRoleFromUserBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RevokeRoleFromUserForbidden ¶ added in v1.28.5
type RevokeRoleFromUserForbidden struct {
Payload *models.ErrorResponse
}
RevokeRoleFromUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRevokeRoleFromUserForbidden ¶ added in v1.28.5
func NewRevokeRoleFromUserForbidden() *RevokeRoleFromUserForbidden
NewRevokeRoleFromUserForbidden creates a RevokeRoleFromUserForbidden with default headers values
func (*RevokeRoleFromUserForbidden) Code ¶ added in v1.28.5
func (o *RevokeRoleFromUserForbidden) Code() int
Code gets the status code for the revoke role from user forbidden response
func (*RevokeRoleFromUserForbidden) Error ¶ added in v1.28.5
func (o *RevokeRoleFromUserForbidden) Error() string
func (*RevokeRoleFromUserForbidden) GetPayload ¶ added in v1.28.5
func (o *RevokeRoleFromUserForbidden) GetPayload() *models.ErrorResponse
func (*RevokeRoleFromUserForbidden) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromUserForbidden) IsClientError() bool
IsClientError returns true when this revoke role from user forbidden response has a 4xx status code
func (*RevokeRoleFromUserForbidden) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromUserForbidden) IsCode(code int) bool
IsCode returns true when this revoke role from user forbidden response a status code equal to that given
func (*RevokeRoleFromUserForbidden) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromUserForbidden) IsRedirect() bool
IsRedirect returns true when this revoke role from user forbidden response has a 3xx status code
func (*RevokeRoleFromUserForbidden) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromUserForbidden) IsServerError() bool
IsServerError returns true when this revoke role from user forbidden response has a 5xx status code
func (*RevokeRoleFromUserForbidden) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromUserForbidden) IsSuccess() bool
IsSuccess returns true when this revoke role from user forbidden response has a 2xx status code
func (*RevokeRoleFromUserForbidden) String ¶ added in v1.28.5
func (o *RevokeRoleFromUserForbidden) String() string
type RevokeRoleFromUserInternalServerError ¶ added in v1.28.5
type RevokeRoleFromUserInternalServerError struct {
Payload *models.ErrorResponse
}
RevokeRoleFromUserInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewRevokeRoleFromUserInternalServerError ¶ added in v1.28.5
func NewRevokeRoleFromUserInternalServerError() *RevokeRoleFromUserInternalServerError
NewRevokeRoleFromUserInternalServerError creates a RevokeRoleFromUserInternalServerError with default headers values
func (*RevokeRoleFromUserInternalServerError) Code ¶ added in v1.28.5
func (o *RevokeRoleFromUserInternalServerError) Code() int
Code gets the status code for the revoke role from user internal server error response
func (*RevokeRoleFromUserInternalServerError) Error ¶ added in v1.28.5
func (o *RevokeRoleFromUserInternalServerError) Error() string
func (*RevokeRoleFromUserInternalServerError) GetPayload ¶ added in v1.28.5
func (o *RevokeRoleFromUserInternalServerError) GetPayload() *models.ErrorResponse
func (*RevokeRoleFromUserInternalServerError) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromUserInternalServerError) IsClientError() bool
IsClientError returns true when this revoke role from user internal server error response has a 4xx status code
func (*RevokeRoleFromUserInternalServerError) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromUserInternalServerError) IsCode(code int) bool
IsCode returns true when this revoke role from user internal server error response a status code equal to that given
func (*RevokeRoleFromUserInternalServerError) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this revoke role from user internal server error response has a 3xx status code
func (*RevokeRoleFromUserInternalServerError) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromUserInternalServerError) IsServerError() bool
IsServerError returns true when this revoke role from user internal server error response has a 5xx status code
func (*RevokeRoleFromUserInternalServerError) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this revoke role from user internal server error response has a 2xx status code
func (*RevokeRoleFromUserInternalServerError) String ¶ added in v1.28.5
func (o *RevokeRoleFromUserInternalServerError) String() string
type RevokeRoleFromUserNotFound ¶ added in v1.28.5
type RevokeRoleFromUserNotFound struct {
Payload *models.ErrorResponse
}
RevokeRoleFromUserNotFound describes a response with status code 404, with default header values.
role or user is not found.
func NewRevokeRoleFromUserNotFound ¶ added in v1.28.5
func NewRevokeRoleFromUserNotFound() *RevokeRoleFromUserNotFound
NewRevokeRoleFromUserNotFound creates a RevokeRoleFromUserNotFound with default headers values
func (*RevokeRoleFromUserNotFound) Code ¶ added in v1.28.5
func (o *RevokeRoleFromUserNotFound) Code() int
Code gets the status code for the revoke role from user not found response
func (*RevokeRoleFromUserNotFound) Error ¶ added in v1.28.5
func (o *RevokeRoleFromUserNotFound) Error() string
func (*RevokeRoleFromUserNotFound) GetPayload ¶ added in v1.28.5
func (o *RevokeRoleFromUserNotFound) GetPayload() *models.ErrorResponse
func (*RevokeRoleFromUserNotFound) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromUserNotFound) IsClientError() bool
IsClientError returns true when this revoke role from user not found response has a 4xx status code
func (*RevokeRoleFromUserNotFound) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromUserNotFound) IsCode(code int) bool
IsCode returns true when this revoke role from user not found response a status code equal to that given
func (*RevokeRoleFromUserNotFound) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromUserNotFound) IsRedirect() bool
IsRedirect returns true when this revoke role from user not found response has a 3xx status code
func (*RevokeRoleFromUserNotFound) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromUserNotFound) IsServerError() bool
IsServerError returns true when this revoke role from user not found response has a 5xx status code
func (*RevokeRoleFromUserNotFound) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromUserNotFound) IsSuccess() bool
IsSuccess returns true when this revoke role from user not found response has a 2xx status code
func (*RevokeRoleFromUserNotFound) String ¶ added in v1.28.5
func (o *RevokeRoleFromUserNotFound) String() string
type RevokeRoleFromUserOK ¶ added in v1.28.5
type RevokeRoleFromUserOK struct {
}
RevokeRoleFromUserOK describes a response with status code 200, with default header values.
Role revoked successfully
func NewRevokeRoleFromUserOK ¶ added in v1.28.5
func NewRevokeRoleFromUserOK() *RevokeRoleFromUserOK
NewRevokeRoleFromUserOK creates a RevokeRoleFromUserOK with default headers values
func (*RevokeRoleFromUserOK) Code ¶ added in v1.28.5
func (o *RevokeRoleFromUserOK) Code() int
Code gets the status code for the revoke role from user o k response
func (*RevokeRoleFromUserOK) Error ¶ added in v1.28.5
func (o *RevokeRoleFromUserOK) Error() string
func (*RevokeRoleFromUserOK) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromUserOK) IsClientError() bool
IsClientError returns true when this revoke role from user o k response has a 4xx status code
func (*RevokeRoleFromUserOK) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromUserOK) IsCode(code int) bool
IsCode returns true when this revoke role from user o k response a status code equal to that given
func (*RevokeRoleFromUserOK) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromUserOK) IsRedirect() bool
IsRedirect returns true when this revoke role from user o k response has a 3xx status code
func (*RevokeRoleFromUserOK) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromUserOK) IsServerError() bool
IsServerError returns true when this revoke role from user o k response has a 5xx status code
func (*RevokeRoleFromUserOK) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromUserOK) IsSuccess() bool
IsSuccess returns true when this revoke role from user o k response has a 2xx status code
func (*RevokeRoleFromUserOK) String ¶ added in v1.28.5
func (o *RevokeRoleFromUserOK) String() string
type RevokeRoleFromUserParams ¶ added in v1.28.5
type RevokeRoleFromUserParams struct {
// Body.
Body RevokeRoleFromUserBody
/* ID.
user name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RevokeRoleFromUserParams contains all the parameters to send to the API endpoint
for the revoke role from user operation. Typically these are written to a http.Request.
func NewRevokeRoleFromUserParams ¶ added in v1.28.5
func NewRevokeRoleFromUserParams() *RevokeRoleFromUserParams
NewRevokeRoleFromUserParams creates a new RevokeRoleFromUserParams 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 NewRevokeRoleFromUserParamsWithContext ¶ added in v1.28.5
func NewRevokeRoleFromUserParamsWithContext(ctx context.Context) *RevokeRoleFromUserParams
NewRevokeRoleFromUserParamsWithContext creates a new RevokeRoleFromUserParams object with the ability to set a context for a request.
func NewRevokeRoleFromUserParamsWithHTTPClient ¶ added in v1.28.5
func NewRevokeRoleFromUserParamsWithHTTPClient(client *http.Client) *RevokeRoleFromUserParams
NewRevokeRoleFromUserParamsWithHTTPClient creates a new RevokeRoleFromUserParams object with the ability to set a custom HTTPClient for a request.
func NewRevokeRoleFromUserParamsWithTimeout ¶ added in v1.28.5
func NewRevokeRoleFromUserParamsWithTimeout(timeout time.Duration) *RevokeRoleFromUserParams
NewRevokeRoleFromUserParamsWithTimeout creates a new RevokeRoleFromUserParams object with the ability to set a timeout on a request.
func (*RevokeRoleFromUserParams) SetBody ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) SetBody(body RevokeRoleFromUserBody)
SetBody adds the body to the revoke role from user params
func (*RevokeRoleFromUserParams) SetContext ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke role from user params
func (*RevokeRoleFromUserParams) SetDefaults ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) SetDefaults()
SetDefaults hydrates default values in the revoke role from user params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeRoleFromUserParams) SetHTTPClient ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke role from user params
func (*RevokeRoleFromUserParams) SetID ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) SetID(id string)
SetID adds the id to the revoke role from user params
func (*RevokeRoleFromUserParams) SetTimeout ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke role from user params
func (*RevokeRoleFromUserParams) WithBody ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) WithBody(body RevokeRoleFromUserBody) *RevokeRoleFromUserParams
WithBody adds the body to the revoke role from user params
func (*RevokeRoleFromUserParams) WithContext ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) WithContext(ctx context.Context) *RevokeRoleFromUserParams
WithContext adds the context to the revoke role from user params
func (*RevokeRoleFromUserParams) WithDefaults ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) WithDefaults() *RevokeRoleFromUserParams
WithDefaults hydrates default values in the revoke role from user params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeRoleFromUserParams) WithHTTPClient ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) WithHTTPClient(client *http.Client) *RevokeRoleFromUserParams
WithHTTPClient adds the HTTPClient to the revoke role from user params
func (*RevokeRoleFromUserParams) WithID ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) WithID(id string) *RevokeRoleFromUserParams
WithID adds the id to the revoke role from user params
func (*RevokeRoleFromUserParams) WithTimeout ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) WithTimeout(timeout time.Duration) *RevokeRoleFromUserParams
WithTimeout adds the timeout to the revoke role from user params
func (*RevokeRoleFromUserParams) WriteToRequest ¶ added in v1.28.5
func (o *RevokeRoleFromUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeRoleFromUserReader ¶ added in v1.28.5
type RevokeRoleFromUserReader struct {
// contains filtered or unexported fields
}
RevokeRoleFromUserReader is a Reader for the RevokeRoleFromUser structure.
func (*RevokeRoleFromUserReader) ReadResponse ¶ added in v1.28.5
func (o *RevokeRoleFromUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeRoleFromUserUnauthorized ¶ added in v1.28.5
type RevokeRoleFromUserUnauthorized struct {
}
RevokeRoleFromUserUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewRevokeRoleFromUserUnauthorized ¶ added in v1.28.5
func NewRevokeRoleFromUserUnauthorized() *RevokeRoleFromUserUnauthorized
NewRevokeRoleFromUserUnauthorized creates a RevokeRoleFromUserUnauthorized with default headers values
func (*RevokeRoleFromUserUnauthorized) Code ¶ added in v1.28.5
func (o *RevokeRoleFromUserUnauthorized) Code() int
Code gets the status code for the revoke role from user unauthorized response
func (*RevokeRoleFromUserUnauthorized) Error ¶ added in v1.28.5
func (o *RevokeRoleFromUserUnauthorized) Error() string
func (*RevokeRoleFromUserUnauthorized) IsClientError ¶ added in v1.28.5
func (o *RevokeRoleFromUserUnauthorized) IsClientError() bool
IsClientError returns true when this revoke role from user unauthorized response has a 4xx status code
func (*RevokeRoleFromUserUnauthorized) IsCode ¶ added in v1.28.5
func (o *RevokeRoleFromUserUnauthorized) IsCode(code int) bool
IsCode returns true when this revoke role from user unauthorized response a status code equal to that given
func (*RevokeRoleFromUserUnauthorized) IsRedirect ¶ added in v1.28.5
func (o *RevokeRoleFromUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this revoke role from user unauthorized response has a 3xx status code
func (*RevokeRoleFromUserUnauthorized) IsServerError ¶ added in v1.28.5
func (o *RevokeRoleFromUserUnauthorized) IsServerError() bool
IsServerError returns true when this revoke role from user unauthorized response has a 5xx status code
func (*RevokeRoleFromUserUnauthorized) IsSuccess ¶ added in v1.28.5
func (o *RevokeRoleFromUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this revoke role from user unauthorized response has a 2xx status code
func (*RevokeRoleFromUserUnauthorized) String ¶ added in v1.28.5
func (o *RevokeRoleFromUserUnauthorized) String() string
Source Files
¶
- add_permissions_parameters.go
- add_permissions_responses.go
- assign_role_to_group_parameters.go
- assign_role_to_group_responses.go
- assign_role_to_user_parameters.go
- assign_role_to_user_responses.go
- authz_client.go
- create_role_parameters.go
- create_role_responses.go
- delete_role_parameters.go
- delete_role_responses.go
- get_role_parameters.go
- get_role_responses.go
- get_roles_for_user_deprecated_parameters.go
- get_roles_for_user_deprecated_responses.go
- get_roles_for_user_parameters.go
- get_roles_for_user_responses.go
- get_roles_parameters.go
- get_roles_responses.go
- get_users_for_role_deprecated_parameters.go
- get_users_for_role_deprecated_responses.go
- get_users_for_role_parameters.go
- get_users_for_role_responses.go
- has_permission_parameters.go
- has_permission_responses.go
- remove_permissions_parameters.go
- remove_permissions_responses.go
- revoke_role_from_group_parameters.go
- revoke_role_from_group_responses.go
- revoke_role_from_user_parameters.go
- revoke_role_from_user_responses.go