Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateUserCreated, error)
- func (a *Client) CreateUserGroup(params *CreateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateUserGroupCreated, error)
- func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserOK, error)
- func (a *Client) GetUserGroup(params *GetUserGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserGroupOK, error)
- func (a *Client) GetUserGroups(params *GetUserGroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserGroupsOK, error)
- func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUsersOK, error)
- func (a *Client) RemoveUser(params *RemoveUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveUserOK, error)
- func (a *Client) RemoveUserGroup(params *RemoveUserGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveUserGroupOK, error)
- func (a *Client) SearchTenants(params *SearchTenantsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchTenantsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserOK, error)
- func (a *Client) UpdateUserGroup(params *UpdateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserGroupOK, error)
- type ClientOption
- type ClientService
- type CreateUserBadRequest
- func (o *CreateUserBadRequest) Error() string
- func (o *CreateUserBadRequest) IsClientError() bool
- func (o *CreateUserBadRequest) IsCode(code int) bool
- func (o *CreateUserBadRequest) IsRedirect() bool
- func (o *CreateUserBadRequest) IsServerError() bool
- func (o *CreateUserBadRequest) IsSuccess() bool
- func (o *CreateUserBadRequest) String() string
- type CreateUserConflict
- func (o *CreateUserConflict) Error() string
- func (o *CreateUserConflict) IsClientError() bool
- func (o *CreateUserConflict) IsCode(code int) bool
- func (o *CreateUserConflict) IsRedirect() bool
- func (o *CreateUserConflict) IsServerError() bool
- func (o *CreateUserConflict) IsSuccess() bool
- func (o *CreateUserConflict) String() string
- type CreateUserCreated
- func (o *CreateUserCreated) Error() string
- func (o *CreateUserCreated) GetPayload() *models.UserEntity
- func (o *CreateUserCreated) IsClientError() bool
- func (o *CreateUserCreated) IsCode(code int) bool
- func (o *CreateUserCreated) IsRedirect() bool
- func (o *CreateUserCreated) IsServerError() bool
- func (o *CreateUserCreated) IsSuccess() bool
- func (o *CreateUserCreated) String() string
- type CreateUserForbidden
- func (o *CreateUserForbidden) Error() string
- func (o *CreateUserForbidden) IsClientError() bool
- func (o *CreateUserForbidden) IsCode(code int) bool
- func (o *CreateUserForbidden) IsRedirect() bool
- func (o *CreateUserForbidden) IsServerError() bool
- func (o *CreateUserForbidden) IsSuccess() bool
- func (o *CreateUserForbidden) String() string
- type CreateUserGroupBadRequest
- func (o *CreateUserGroupBadRequest) Error() string
- func (o *CreateUserGroupBadRequest) IsClientError() bool
- func (o *CreateUserGroupBadRequest) IsCode(code int) bool
- func (o *CreateUserGroupBadRequest) IsRedirect() bool
- func (o *CreateUserGroupBadRequest) IsServerError() bool
- func (o *CreateUserGroupBadRequest) IsSuccess() bool
- func (o *CreateUserGroupBadRequest) String() string
- type CreateUserGroupConflict
- func (o *CreateUserGroupConflict) Error() string
- func (o *CreateUserGroupConflict) IsClientError() bool
- func (o *CreateUserGroupConflict) IsCode(code int) bool
- func (o *CreateUserGroupConflict) IsRedirect() bool
- func (o *CreateUserGroupConflict) IsServerError() bool
- func (o *CreateUserGroupConflict) IsSuccess() bool
- func (o *CreateUserGroupConflict) String() string
- type CreateUserGroupCreated
- func (o *CreateUserGroupCreated) Error() string
- func (o *CreateUserGroupCreated) GetPayload() *models.UserGroupEntity
- func (o *CreateUserGroupCreated) IsClientError() bool
- func (o *CreateUserGroupCreated) IsCode(code int) bool
- func (o *CreateUserGroupCreated) IsRedirect() bool
- func (o *CreateUserGroupCreated) IsServerError() bool
- func (o *CreateUserGroupCreated) IsSuccess() bool
- func (o *CreateUserGroupCreated) String() string
- type CreateUserGroupForbidden
- func (o *CreateUserGroupForbidden) Error() string
- func (o *CreateUserGroupForbidden) IsClientError() bool
- func (o *CreateUserGroupForbidden) IsCode(code int) bool
- func (o *CreateUserGroupForbidden) IsRedirect() bool
- func (o *CreateUserGroupForbidden) IsServerError() bool
- func (o *CreateUserGroupForbidden) IsSuccess() bool
- func (o *CreateUserGroupForbidden) String() string
- type CreateUserGroupNotFound
- func (o *CreateUserGroupNotFound) Error() string
- func (o *CreateUserGroupNotFound) IsClientError() bool
- func (o *CreateUserGroupNotFound) IsCode(code int) bool
- func (o *CreateUserGroupNotFound) IsRedirect() bool
- func (o *CreateUserGroupNotFound) IsServerError() bool
- func (o *CreateUserGroupNotFound) IsSuccess() bool
- func (o *CreateUserGroupNotFound) String() string
- type CreateUserGroupParams
- func NewCreateUserGroupParams() *CreateUserGroupParams
- func NewCreateUserGroupParamsWithContext(ctx context.Context) *CreateUserGroupParams
- func NewCreateUserGroupParamsWithHTTPClient(client *http.Client) *CreateUserGroupParams
- func NewCreateUserGroupParamsWithTimeout(timeout time.Duration) *CreateUserGroupParams
- func (o *CreateUserGroupParams) SetBody(body *models.UserGroupEntity)
- func (o *CreateUserGroupParams) SetContext(ctx context.Context)
- func (o *CreateUserGroupParams) SetDefaults()
- func (o *CreateUserGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserGroupParams) WithBody(body *models.UserGroupEntity) *CreateUserGroupParams
- func (o *CreateUserGroupParams) WithContext(ctx context.Context) *CreateUserGroupParams
- func (o *CreateUserGroupParams) WithDefaults() *CreateUserGroupParams
- func (o *CreateUserGroupParams) WithHTTPClient(client *http.Client) *CreateUserGroupParams
- func (o *CreateUserGroupParams) WithTimeout(timeout time.Duration) *CreateUserGroupParams
- func (o *CreateUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserGroupReader
- type CreateUserGroupUnauthorized
- func (o *CreateUserGroupUnauthorized) Error() string
- func (o *CreateUserGroupUnauthorized) IsClientError() bool
- func (o *CreateUserGroupUnauthorized) IsCode(code int) bool
- func (o *CreateUserGroupUnauthorized) IsRedirect() bool
- func (o *CreateUserGroupUnauthorized) IsServerError() bool
- func (o *CreateUserGroupUnauthorized) IsSuccess() bool
- func (o *CreateUserGroupUnauthorized) String() string
- type CreateUserNotFound
- func (o *CreateUserNotFound) Error() string
- func (o *CreateUserNotFound) IsClientError() bool
- func (o *CreateUserNotFound) IsCode(code int) bool
- func (o *CreateUserNotFound) IsRedirect() bool
- func (o *CreateUserNotFound) IsServerError() bool
- func (o *CreateUserNotFound) IsSuccess() bool
- func (o *CreateUserNotFound) String() string
- type CreateUserParams
- func (o *CreateUserParams) SetBody(body *models.UserEntity)
- func (o *CreateUserParams) SetContext(ctx context.Context)
- func (o *CreateUserParams) SetDefaults()
- func (o *CreateUserParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserParams) WithBody(body *models.UserEntity) *CreateUserParams
- func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
- func (o *CreateUserParams) WithDefaults() *CreateUserParams
- func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
- func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
- func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserReader
- type CreateUserUnauthorized
- func (o *CreateUserUnauthorized) Error() string
- func (o *CreateUserUnauthorized) IsClientError() bool
- func (o *CreateUserUnauthorized) IsCode(code int) bool
- func (o *CreateUserUnauthorized) IsRedirect() bool
- func (o *CreateUserUnauthorized) IsServerError() bool
- func (o *CreateUserUnauthorized) IsSuccess() bool
- func (o *CreateUserUnauthorized) String() string
- type GetUserBadRequest
- func (o *GetUserBadRequest) Error() string
- func (o *GetUserBadRequest) IsClientError() bool
- func (o *GetUserBadRequest) IsCode(code int) bool
- func (o *GetUserBadRequest) IsRedirect() bool
- func (o *GetUserBadRequest) IsServerError() bool
- func (o *GetUserBadRequest) IsSuccess() bool
- func (o *GetUserBadRequest) String() string
- type GetUserConflict
- func (o *GetUserConflict) Error() string
- func (o *GetUserConflict) IsClientError() bool
- func (o *GetUserConflict) IsCode(code int) bool
- func (o *GetUserConflict) IsRedirect() bool
- func (o *GetUserConflict) IsServerError() bool
- func (o *GetUserConflict) IsSuccess() bool
- func (o *GetUserConflict) String() string
- type GetUserForbidden
- func (o *GetUserForbidden) Error() string
- func (o *GetUserForbidden) IsClientError() bool
- func (o *GetUserForbidden) IsCode(code int) bool
- func (o *GetUserForbidden) IsRedirect() bool
- func (o *GetUserForbidden) IsServerError() bool
- func (o *GetUserForbidden) IsSuccess() bool
- func (o *GetUserForbidden) String() string
- type GetUserGroupBadRequest
- func (o *GetUserGroupBadRequest) Error() string
- func (o *GetUserGroupBadRequest) IsClientError() bool
- func (o *GetUserGroupBadRequest) IsCode(code int) bool
- func (o *GetUserGroupBadRequest) IsRedirect() bool
- func (o *GetUserGroupBadRequest) IsServerError() bool
- func (o *GetUserGroupBadRequest) IsSuccess() bool
- func (o *GetUserGroupBadRequest) String() string
- type GetUserGroupConflict
- func (o *GetUserGroupConflict) Error() string
- func (o *GetUserGroupConflict) IsClientError() bool
- func (o *GetUserGroupConflict) IsCode(code int) bool
- func (o *GetUserGroupConflict) IsRedirect() bool
- func (o *GetUserGroupConflict) IsServerError() bool
- func (o *GetUserGroupConflict) IsSuccess() bool
- func (o *GetUserGroupConflict) String() string
- type GetUserGroupForbidden
- func (o *GetUserGroupForbidden) Error() string
- func (o *GetUserGroupForbidden) IsClientError() bool
- func (o *GetUserGroupForbidden) IsCode(code int) bool
- func (o *GetUserGroupForbidden) IsRedirect() bool
- func (o *GetUserGroupForbidden) IsServerError() bool
- func (o *GetUserGroupForbidden) IsSuccess() bool
- func (o *GetUserGroupForbidden) String() string
- type GetUserGroupNotFound
- func (o *GetUserGroupNotFound) Error() string
- func (o *GetUserGroupNotFound) IsClientError() bool
- func (o *GetUserGroupNotFound) IsCode(code int) bool
- func (o *GetUserGroupNotFound) IsRedirect() bool
- func (o *GetUserGroupNotFound) IsServerError() bool
- func (o *GetUserGroupNotFound) IsSuccess() bool
- func (o *GetUserGroupNotFound) String() string
- type GetUserGroupOK
- func (o *GetUserGroupOK) Error() string
- func (o *GetUserGroupOK) GetPayload() *models.UserGroupEntity
- func (o *GetUserGroupOK) IsClientError() bool
- func (o *GetUserGroupOK) IsCode(code int) bool
- func (o *GetUserGroupOK) IsRedirect() bool
- func (o *GetUserGroupOK) IsServerError() bool
- func (o *GetUserGroupOK) IsSuccess() bool
- func (o *GetUserGroupOK) String() string
- type GetUserGroupParams
- func (o *GetUserGroupParams) SetContext(ctx context.Context)
- func (o *GetUserGroupParams) SetDefaults()
- func (o *GetUserGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetUserGroupParams) SetID(id string)
- func (o *GetUserGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetUserGroupParams) WithContext(ctx context.Context) *GetUserGroupParams
- func (o *GetUserGroupParams) WithDefaults() *GetUserGroupParams
- func (o *GetUserGroupParams) WithHTTPClient(client *http.Client) *GetUserGroupParams
- func (o *GetUserGroupParams) WithID(id string) *GetUserGroupParams
- func (o *GetUserGroupParams) WithTimeout(timeout time.Duration) *GetUserGroupParams
- func (o *GetUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserGroupReader
- type GetUserGroupUnauthorized
- func (o *GetUserGroupUnauthorized) Error() string
- func (o *GetUserGroupUnauthorized) IsClientError() bool
- func (o *GetUserGroupUnauthorized) IsCode(code int) bool
- func (o *GetUserGroupUnauthorized) IsRedirect() bool
- func (o *GetUserGroupUnauthorized) IsServerError() bool
- func (o *GetUserGroupUnauthorized) IsSuccess() bool
- func (o *GetUserGroupUnauthorized) String() string
- type GetUserGroupsBadRequest
- func (o *GetUserGroupsBadRequest) Error() string
- func (o *GetUserGroupsBadRequest) IsClientError() bool
- func (o *GetUserGroupsBadRequest) IsCode(code int) bool
- func (o *GetUserGroupsBadRequest) IsRedirect() bool
- func (o *GetUserGroupsBadRequest) IsServerError() bool
- func (o *GetUserGroupsBadRequest) IsSuccess() bool
- func (o *GetUserGroupsBadRequest) String() string
- type GetUserGroupsConflict
- func (o *GetUserGroupsConflict) Error() string
- func (o *GetUserGroupsConflict) IsClientError() bool
- func (o *GetUserGroupsConflict) IsCode(code int) bool
- func (o *GetUserGroupsConflict) IsRedirect() bool
- func (o *GetUserGroupsConflict) IsServerError() bool
- func (o *GetUserGroupsConflict) IsSuccess() bool
- func (o *GetUserGroupsConflict) String() string
- type GetUserGroupsForbidden
- func (o *GetUserGroupsForbidden) Error() string
- func (o *GetUserGroupsForbidden) IsClientError() bool
- func (o *GetUserGroupsForbidden) IsCode(code int) bool
- func (o *GetUserGroupsForbidden) IsRedirect() bool
- func (o *GetUserGroupsForbidden) IsServerError() bool
- func (o *GetUserGroupsForbidden) IsSuccess() bool
- func (o *GetUserGroupsForbidden) String() string
- type GetUserGroupsNotFound
- func (o *GetUserGroupsNotFound) Error() string
- func (o *GetUserGroupsNotFound) IsClientError() bool
- func (o *GetUserGroupsNotFound) IsCode(code int) bool
- func (o *GetUserGroupsNotFound) IsRedirect() bool
- func (o *GetUserGroupsNotFound) IsServerError() bool
- func (o *GetUserGroupsNotFound) IsSuccess() bool
- func (o *GetUserGroupsNotFound) String() string
- type GetUserGroupsOK
- func (o *GetUserGroupsOK) Error() string
- func (o *GetUserGroupsOK) GetPayload() *models.UserGroupsEntity
- func (o *GetUserGroupsOK) IsClientError() bool
- func (o *GetUserGroupsOK) IsCode(code int) bool
- func (o *GetUserGroupsOK) IsRedirect() bool
- func (o *GetUserGroupsOK) IsServerError() bool
- func (o *GetUserGroupsOK) IsSuccess() bool
- func (o *GetUserGroupsOK) String() string
- type GetUserGroupsParams
- func (o *GetUserGroupsParams) SetContext(ctx context.Context)
- func (o *GetUserGroupsParams) SetDefaults()
- func (o *GetUserGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserGroupsParams) WithContext(ctx context.Context) *GetUserGroupsParams
- func (o *GetUserGroupsParams) WithDefaults() *GetUserGroupsParams
- func (o *GetUserGroupsParams) WithHTTPClient(client *http.Client) *GetUserGroupsParams
- func (o *GetUserGroupsParams) WithTimeout(timeout time.Duration) *GetUserGroupsParams
- func (o *GetUserGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserGroupsReader
- type GetUserGroupsUnauthorized
- func (o *GetUserGroupsUnauthorized) Error() string
- func (o *GetUserGroupsUnauthorized) IsClientError() bool
- func (o *GetUserGroupsUnauthorized) IsCode(code int) bool
- func (o *GetUserGroupsUnauthorized) IsRedirect() bool
- func (o *GetUserGroupsUnauthorized) IsServerError() bool
- func (o *GetUserGroupsUnauthorized) IsSuccess() bool
- func (o *GetUserGroupsUnauthorized) String() string
- type GetUserNotFound
- func (o *GetUserNotFound) Error() string
- func (o *GetUserNotFound) IsClientError() bool
- func (o *GetUserNotFound) IsCode(code int) bool
- func (o *GetUserNotFound) IsRedirect() bool
- func (o *GetUserNotFound) IsServerError() bool
- func (o *GetUserNotFound) IsSuccess() bool
- func (o *GetUserNotFound) String() string
- type GetUserOK
- func (o *GetUserOK) Error() string
- func (o *GetUserOK) GetPayload() *models.UserEntity
- func (o *GetUserOK) IsClientError() bool
- func (o *GetUserOK) IsCode(code int) bool
- func (o *GetUserOK) IsRedirect() bool
- func (o *GetUserOK) IsServerError() bool
- func (o *GetUserOK) IsSuccess() bool
- func (o *GetUserOK) String() string
- type GetUserParams
- func (o *GetUserParams) SetContext(ctx context.Context)
- func (o *GetUserParams) SetDefaults()
- func (o *GetUserParams) SetHTTPClient(client *http.Client)
- func (o *GetUserParams) SetID(id string)
- func (o *GetUserParams) SetTimeout(timeout time.Duration)
- func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
- func (o *GetUserParams) WithDefaults() *GetUserParams
- func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
- func (o *GetUserParams) WithID(id string) *GetUserParams
- func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
- func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserReader
- type GetUserUnauthorized
- func (o *GetUserUnauthorized) Error() string
- func (o *GetUserUnauthorized) IsClientError() bool
- func (o *GetUserUnauthorized) IsCode(code int) bool
- func (o *GetUserUnauthorized) IsRedirect() bool
- func (o *GetUserUnauthorized) IsServerError() bool
- func (o *GetUserUnauthorized) IsSuccess() bool
- func (o *GetUserUnauthorized) String() string
- type GetUsersBadRequest
- func (o *GetUsersBadRequest) Error() string
- func (o *GetUsersBadRequest) IsClientError() bool
- func (o *GetUsersBadRequest) IsCode(code int) bool
- func (o *GetUsersBadRequest) IsRedirect() bool
- func (o *GetUsersBadRequest) IsServerError() bool
- func (o *GetUsersBadRequest) IsSuccess() bool
- func (o *GetUsersBadRequest) String() string
- type GetUsersConflict
- func (o *GetUsersConflict) Error() string
- func (o *GetUsersConflict) IsClientError() bool
- func (o *GetUsersConflict) IsCode(code int) bool
- func (o *GetUsersConflict) IsRedirect() bool
- func (o *GetUsersConflict) IsServerError() bool
- func (o *GetUsersConflict) IsSuccess() bool
- func (o *GetUsersConflict) String() string
- type GetUsersForbidden
- func (o *GetUsersForbidden) Error() string
- func (o *GetUsersForbidden) IsClientError() bool
- func (o *GetUsersForbidden) IsCode(code int) bool
- func (o *GetUsersForbidden) IsRedirect() bool
- func (o *GetUsersForbidden) IsServerError() bool
- func (o *GetUsersForbidden) IsSuccess() bool
- func (o *GetUsersForbidden) String() string
- type GetUsersNotFound
- func (o *GetUsersNotFound) Error() string
- func (o *GetUsersNotFound) IsClientError() bool
- func (o *GetUsersNotFound) IsCode(code int) bool
- func (o *GetUsersNotFound) IsRedirect() bool
- func (o *GetUsersNotFound) IsServerError() bool
- func (o *GetUsersNotFound) IsSuccess() bool
- func (o *GetUsersNotFound) String() string
- type GetUsersOK
- func (o *GetUsersOK) Error() string
- func (o *GetUsersOK) GetPayload() *models.UsersEntity
- func (o *GetUsersOK) IsClientError() bool
- func (o *GetUsersOK) IsCode(code int) bool
- func (o *GetUsersOK) IsRedirect() bool
- func (o *GetUsersOK) IsServerError() bool
- func (o *GetUsersOK) IsSuccess() bool
- func (o *GetUsersOK) String() string
- type GetUsersParams
- func (o *GetUsersParams) SetContext(ctx context.Context)
- func (o *GetUsersParams) SetDefaults()
- func (o *GetUsersParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersParams) WithContext(ctx context.Context) *GetUsersParams
- func (o *GetUsersParams) WithDefaults() *GetUsersParams
- func (o *GetUsersParams) WithHTTPClient(client *http.Client) *GetUsersParams
- func (o *GetUsersParams) WithTimeout(timeout time.Duration) *GetUsersParams
- func (o *GetUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersReader
- type GetUsersUnauthorized
- func (o *GetUsersUnauthorized) Error() string
- func (o *GetUsersUnauthorized) IsClientError() bool
- func (o *GetUsersUnauthorized) IsCode(code int) bool
- func (o *GetUsersUnauthorized) IsRedirect() bool
- func (o *GetUsersUnauthorized) IsServerError() bool
- func (o *GetUsersUnauthorized) IsSuccess() bool
- func (o *GetUsersUnauthorized) String() string
- type RemoveUserBadRequest
- func (o *RemoveUserBadRequest) Error() string
- func (o *RemoveUserBadRequest) IsClientError() bool
- func (o *RemoveUserBadRequest) IsCode(code int) bool
- func (o *RemoveUserBadRequest) IsRedirect() bool
- func (o *RemoveUserBadRequest) IsServerError() bool
- func (o *RemoveUserBadRequest) IsSuccess() bool
- func (o *RemoveUserBadRequest) String() string
- type RemoveUserConflict
- func (o *RemoveUserConflict) Error() string
- func (o *RemoveUserConflict) IsClientError() bool
- func (o *RemoveUserConflict) IsCode(code int) bool
- func (o *RemoveUserConflict) IsRedirect() bool
- func (o *RemoveUserConflict) IsServerError() bool
- func (o *RemoveUserConflict) IsSuccess() bool
- func (o *RemoveUserConflict) String() string
- type RemoveUserForbidden
- func (o *RemoveUserForbidden) Error() string
- func (o *RemoveUserForbidden) IsClientError() bool
- func (o *RemoveUserForbidden) IsCode(code int) bool
- func (o *RemoveUserForbidden) IsRedirect() bool
- func (o *RemoveUserForbidden) IsServerError() bool
- func (o *RemoveUserForbidden) IsSuccess() bool
- func (o *RemoveUserForbidden) String() string
- type RemoveUserGroupBadRequest
- func (o *RemoveUserGroupBadRequest) Error() string
- func (o *RemoveUserGroupBadRequest) IsClientError() bool
- func (o *RemoveUserGroupBadRequest) IsCode(code int) bool
- func (o *RemoveUserGroupBadRequest) IsRedirect() bool
- func (o *RemoveUserGroupBadRequest) IsServerError() bool
- func (o *RemoveUserGroupBadRequest) IsSuccess() bool
- func (o *RemoveUserGroupBadRequest) String() string
- type RemoveUserGroupConflict
- func (o *RemoveUserGroupConflict) Error() string
- func (o *RemoveUserGroupConflict) IsClientError() bool
- func (o *RemoveUserGroupConflict) IsCode(code int) bool
- func (o *RemoveUserGroupConflict) IsRedirect() bool
- func (o *RemoveUserGroupConflict) IsServerError() bool
- func (o *RemoveUserGroupConflict) IsSuccess() bool
- func (o *RemoveUserGroupConflict) String() string
- type RemoveUserGroupForbidden
- func (o *RemoveUserGroupForbidden) Error() string
- func (o *RemoveUserGroupForbidden) IsClientError() bool
- func (o *RemoveUserGroupForbidden) IsCode(code int) bool
- func (o *RemoveUserGroupForbidden) IsRedirect() bool
- func (o *RemoveUserGroupForbidden) IsServerError() bool
- func (o *RemoveUserGroupForbidden) IsSuccess() bool
- func (o *RemoveUserGroupForbidden) String() string
- type RemoveUserGroupNotFound
- func (o *RemoveUserGroupNotFound) Error() string
- func (o *RemoveUserGroupNotFound) IsClientError() bool
- func (o *RemoveUserGroupNotFound) IsCode(code int) bool
- func (o *RemoveUserGroupNotFound) IsRedirect() bool
- func (o *RemoveUserGroupNotFound) IsServerError() bool
- func (o *RemoveUserGroupNotFound) IsSuccess() bool
- func (o *RemoveUserGroupNotFound) String() string
- type RemoveUserGroupOK
- func (o *RemoveUserGroupOK) Error() string
- func (o *RemoveUserGroupOK) GetPayload() *models.UserGroupEntity
- func (o *RemoveUserGroupOK) IsClientError() bool
- func (o *RemoveUserGroupOK) IsCode(code int) bool
- func (o *RemoveUserGroupOK) IsRedirect() bool
- func (o *RemoveUserGroupOK) IsServerError() bool
- func (o *RemoveUserGroupOK) IsSuccess() bool
- func (o *RemoveUserGroupOK) String() string
- type RemoveUserGroupParams
- func NewRemoveUserGroupParams() *RemoveUserGroupParams
- func NewRemoveUserGroupParamsWithContext(ctx context.Context) *RemoveUserGroupParams
- func NewRemoveUserGroupParamsWithHTTPClient(client *http.Client) *RemoveUserGroupParams
- func NewRemoveUserGroupParamsWithTimeout(timeout time.Duration) *RemoveUserGroupParams
- func (o *RemoveUserGroupParams) SetClientID(clientID *string)
- func (o *RemoveUserGroupParams) SetContext(ctx context.Context)
- func (o *RemoveUserGroupParams) SetDefaults()
- func (o *RemoveUserGroupParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)
- func (o *RemoveUserGroupParams) SetHTTPClient(client *http.Client)
- func (o *RemoveUserGroupParams) SetID(id string)
- func (o *RemoveUserGroupParams) SetTimeout(timeout time.Duration)
- func (o *RemoveUserGroupParams) SetVersion(version *string)
- func (o *RemoveUserGroupParams) WithClientID(clientID *string) *RemoveUserGroupParams
- func (o *RemoveUserGroupParams) WithContext(ctx context.Context) *RemoveUserGroupParams
- func (o *RemoveUserGroupParams) WithDefaults() *RemoveUserGroupParams
- func (o *RemoveUserGroupParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveUserGroupParams
- func (o *RemoveUserGroupParams) WithHTTPClient(client *http.Client) *RemoveUserGroupParams
- func (o *RemoveUserGroupParams) WithID(id string) *RemoveUserGroupParams
- func (o *RemoveUserGroupParams) WithTimeout(timeout time.Duration) *RemoveUserGroupParams
- func (o *RemoveUserGroupParams) WithVersion(version *string) *RemoveUserGroupParams
- func (o *RemoveUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveUserGroupReader
- type RemoveUserGroupUnauthorized
- func (o *RemoveUserGroupUnauthorized) Error() string
- func (o *RemoveUserGroupUnauthorized) IsClientError() bool
- func (o *RemoveUserGroupUnauthorized) IsCode(code int) bool
- func (o *RemoveUserGroupUnauthorized) IsRedirect() bool
- func (o *RemoveUserGroupUnauthorized) IsServerError() bool
- func (o *RemoveUserGroupUnauthorized) IsSuccess() bool
- func (o *RemoveUserGroupUnauthorized) String() string
- type RemoveUserNotFound
- func (o *RemoveUserNotFound) Error() string
- func (o *RemoveUserNotFound) IsClientError() bool
- func (o *RemoveUserNotFound) IsCode(code int) bool
- func (o *RemoveUserNotFound) IsRedirect() bool
- func (o *RemoveUserNotFound) IsServerError() bool
- func (o *RemoveUserNotFound) IsSuccess() bool
- func (o *RemoveUserNotFound) String() string
- type RemoveUserOK
- func (o *RemoveUserOK) Error() string
- func (o *RemoveUserOK) GetPayload() *models.UserEntity
- func (o *RemoveUserOK) IsClientError() bool
- func (o *RemoveUserOK) IsCode(code int) bool
- func (o *RemoveUserOK) IsRedirect() bool
- func (o *RemoveUserOK) IsServerError() bool
- func (o *RemoveUserOK) IsSuccess() bool
- func (o *RemoveUserOK) String() string
- type RemoveUserParams
- func (o *RemoveUserParams) SetClientID(clientID *string)
- func (o *RemoveUserParams) SetContext(ctx context.Context)
- func (o *RemoveUserParams) SetDefaults()
- func (o *RemoveUserParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)
- func (o *RemoveUserParams) SetHTTPClient(client *http.Client)
- func (o *RemoveUserParams) SetID(id string)
- func (o *RemoveUserParams) SetTimeout(timeout time.Duration)
- func (o *RemoveUserParams) SetVersion(version *string)
- func (o *RemoveUserParams) WithClientID(clientID *string) *RemoveUserParams
- func (o *RemoveUserParams) WithContext(ctx context.Context) *RemoveUserParams
- func (o *RemoveUserParams) WithDefaults() *RemoveUserParams
- func (o *RemoveUserParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveUserParams
- func (o *RemoveUserParams) WithHTTPClient(client *http.Client) *RemoveUserParams
- func (o *RemoveUserParams) WithID(id string) *RemoveUserParams
- func (o *RemoveUserParams) WithTimeout(timeout time.Duration) *RemoveUserParams
- func (o *RemoveUserParams) WithVersion(version *string) *RemoveUserParams
- func (o *RemoveUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveUserReader
- type RemoveUserUnauthorized
- func (o *RemoveUserUnauthorized) Error() string
- func (o *RemoveUserUnauthorized) IsClientError() bool
- func (o *RemoveUserUnauthorized) IsCode(code int) bool
- func (o *RemoveUserUnauthorized) IsRedirect() bool
- func (o *RemoveUserUnauthorized) IsServerError() bool
- func (o *RemoveUserUnauthorized) IsSuccess() bool
- func (o *RemoveUserUnauthorized) String() string
- type SearchTenantsBadRequest
- func (o *SearchTenantsBadRequest) Error() string
- func (o *SearchTenantsBadRequest) IsClientError() bool
- func (o *SearchTenantsBadRequest) IsCode(code int) bool
- func (o *SearchTenantsBadRequest) IsRedirect() bool
- func (o *SearchTenantsBadRequest) IsServerError() bool
- func (o *SearchTenantsBadRequest) IsSuccess() bool
- func (o *SearchTenantsBadRequest) String() string
- type SearchTenantsConflict
- func (o *SearchTenantsConflict) Error() string
- func (o *SearchTenantsConflict) IsClientError() bool
- func (o *SearchTenantsConflict) IsCode(code int) bool
- func (o *SearchTenantsConflict) IsRedirect() bool
- func (o *SearchTenantsConflict) IsServerError() bool
- func (o *SearchTenantsConflict) IsSuccess() bool
- func (o *SearchTenantsConflict) String() string
- type SearchTenantsForbidden
- func (o *SearchTenantsForbidden) Error() string
- func (o *SearchTenantsForbidden) IsClientError() bool
- func (o *SearchTenantsForbidden) IsCode(code int) bool
- func (o *SearchTenantsForbidden) IsRedirect() bool
- func (o *SearchTenantsForbidden) IsServerError() bool
- func (o *SearchTenantsForbidden) IsSuccess() bool
- func (o *SearchTenantsForbidden) String() string
- type SearchTenantsNotFound
- func (o *SearchTenantsNotFound) Error() string
- func (o *SearchTenantsNotFound) IsClientError() bool
- func (o *SearchTenantsNotFound) IsCode(code int) bool
- func (o *SearchTenantsNotFound) IsRedirect() bool
- func (o *SearchTenantsNotFound) IsServerError() bool
- func (o *SearchTenantsNotFound) IsSuccess() bool
- func (o *SearchTenantsNotFound) String() string
- type SearchTenantsOK
- func (o *SearchTenantsOK) Error() string
- func (o *SearchTenantsOK) GetPayload() *models.TenantsEntity
- func (o *SearchTenantsOK) IsClientError() bool
- func (o *SearchTenantsOK) IsCode(code int) bool
- func (o *SearchTenantsOK) IsRedirect() bool
- func (o *SearchTenantsOK) IsServerError() bool
- func (o *SearchTenantsOK) IsSuccess() bool
- func (o *SearchTenantsOK) String() string
- type SearchTenantsParams
- func (o *SearchTenantsParams) SetContext(ctx context.Context)
- func (o *SearchTenantsParams) SetDefaults()
- func (o *SearchTenantsParams) SetHTTPClient(client *http.Client)
- func (o *SearchTenantsParams) SetQ(q string)
- func (o *SearchTenantsParams) SetTimeout(timeout time.Duration)
- func (o *SearchTenantsParams) WithContext(ctx context.Context) *SearchTenantsParams
- func (o *SearchTenantsParams) WithDefaults() *SearchTenantsParams
- func (o *SearchTenantsParams) WithHTTPClient(client *http.Client) *SearchTenantsParams
- func (o *SearchTenantsParams) WithQ(q string) *SearchTenantsParams
- func (o *SearchTenantsParams) WithTimeout(timeout time.Duration) *SearchTenantsParams
- func (o *SearchTenantsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchTenantsReader
- type SearchTenantsUnauthorized
- func (o *SearchTenantsUnauthorized) Error() string
- func (o *SearchTenantsUnauthorized) IsClientError() bool
- func (o *SearchTenantsUnauthorized) IsCode(code int) bool
- func (o *SearchTenantsUnauthorized) IsRedirect() bool
- func (o *SearchTenantsUnauthorized) IsServerError() bool
- func (o *SearchTenantsUnauthorized) IsSuccess() bool
- func (o *SearchTenantsUnauthorized) String() string
- type UpdateUserBadRequest
- func (o *UpdateUserBadRequest) Error() string
- func (o *UpdateUserBadRequest) IsClientError() bool
- func (o *UpdateUserBadRequest) IsCode(code int) bool
- func (o *UpdateUserBadRequest) IsRedirect() bool
- func (o *UpdateUserBadRequest) IsServerError() bool
- func (o *UpdateUserBadRequest) IsSuccess() bool
- func (o *UpdateUserBadRequest) String() string
- type UpdateUserConflict
- func (o *UpdateUserConflict) Error() string
- func (o *UpdateUserConflict) IsClientError() bool
- func (o *UpdateUserConflict) IsCode(code int) bool
- func (o *UpdateUserConflict) IsRedirect() bool
- func (o *UpdateUserConflict) IsServerError() bool
- func (o *UpdateUserConflict) IsSuccess() bool
- func (o *UpdateUserConflict) String() string
- type UpdateUserForbidden
- func (o *UpdateUserForbidden) Error() string
- func (o *UpdateUserForbidden) IsClientError() bool
- func (o *UpdateUserForbidden) IsCode(code int) bool
- func (o *UpdateUserForbidden) IsRedirect() bool
- func (o *UpdateUserForbidden) IsServerError() bool
- func (o *UpdateUserForbidden) IsSuccess() bool
- func (o *UpdateUserForbidden) String() string
- type UpdateUserGroupBadRequest
- func (o *UpdateUserGroupBadRequest) Error() string
- func (o *UpdateUserGroupBadRequest) IsClientError() bool
- func (o *UpdateUserGroupBadRequest) IsCode(code int) bool
- func (o *UpdateUserGroupBadRequest) IsRedirect() bool
- func (o *UpdateUserGroupBadRequest) IsServerError() bool
- func (o *UpdateUserGroupBadRequest) IsSuccess() bool
- func (o *UpdateUserGroupBadRequest) String() string
- type UpdateUserGroupConflict
- func (o *UpdateUserGroupConflict) Error() string
- func (o *UpdateUserGroupConflict) IsClientError() bool
- func (o *UpdateUserGroupConflict) IsCode(code int) bool
- func (o *UpdateUserGroupConflict) IsRedirect() bool
- func (o *UpdateUserGroupConflict) IsServerError() bool
- func (o *UpdateUserGroupConflict) IsSuccess() bool
- func (o *UpdateUserGroupConflict) String() string
- type UpdateUserGroupForbidden
- func (o *UpdateUserGroupForbidden) Error() string
- func (o *UpdateUserGroupForbidden) IsClientError() bool
- func (o *UpdateUserGroupForbidden) IsCode(code int) bool
- func (o *UpdateUserGroupForbidden) IsRedirect() bool
- func (o *UpdateUserGroupForbidden) IsServerError() bool
- func (o *UpdateUserGroupForbidden) IsSuccess() bool
- func (o *UpdateUserGroupForbidden) String() string
- type UpdateUserGroupNotFound
- func (o *UpdateUserGroupNotFound) Error() string
- func (o *UpdateUserGroupNotFound) IsClientError() bool
- func (o *UpdateUserGroupNotFound) IsCode(code int) bool
- func (o *UpdateUserGroupNotFound) IsRedirect() bool
- func (o *UpdateUserGroupNotFound) IsServerError() bool
- func (o *UpdateUserGroupNotFound) IsSuccess() bool
- func (o *UpdateUserGroupNotFound) String() string
- type UpdateUserGroupOK
- func (o *UpdateUserGroupOK) Error() string
- func (o *UpdateUserGroupOK) GetPayload() *models.UserGroupEntity
- func (o *UpdateUserGroupOK) IsClientError() bool
- func (o *UpdateUserGroupOK) IsCode(code int) bool
- func (o *UpdateUserGroupOK) IsRedirect() bool
- func (o *UpdateUserGroupOK) IsServerError() bool
- func (o *UpdateUserGroupOK) IsSuccess() bool
- func (o *UpdateUserGroupOK) String() string
- type UpdateUserGroupParams
- func NewUpdateUserGroupParams() *UpdateUserGroupParams
- func NewUpdateUserGroupParamsWithContext(ctx context.Context) *UpdateUserGroupParams
- func NewUpdateUserGroupParamsWithHTTPClient(client *http.Client) *UpdateUserGroupParams
- func NewUpdateUserGroupParamsWithTimeout(timeout time.Duration) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) SetBody(body *models.UserGroupEntity)
- func (o *UpdateUserGroupParams) SetContext(ctx context.Context)
- func (o *UpdateUserGroupParams) SetDefaults()
- func (o *UpdateUserGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserGroupParams) SetID(id string)
- func (o *UpdateUserGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserGroupParams) WithBody(body *models.UserGroupEntity) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WithContext(ctx context.Context) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WithDefaults() *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WithHTTPClient(client *http.Client) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WithID(id string) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WithTimeout(timeout time.Duration) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserGroupReader
- type UpdateUserGroupUnauthorized
- func (o *UpdateUserGroupUnauthorized) Error() string
- func (o *UpdateUserGroupUnauthorized) IsClientError() bool
- func (o *UpdateUserGroupUnauthorized) IsCode(code int) bool
- func (o *UpdateUserGroupUnauthorized) IsRedirect() bool
- func (o *UpdateUserGroupUnauthorized) IsServerError() bool
- func (o *UpdateUserGroupUnauthorized) IsSuccess() bool
- func (o *UpdateUserGroupUnauthorized) String() string
- type UpdateUserNotFound
- func (o *UpdateUserNotFound) Error() string
- func (o *UpdateUserNotFound) IsClientError() bool
- func (o *UpdateUserNotFound) IsCode(code int) bool
- func (o *UpdateUserNotFound) IsRedirect() bool
- func (o *UpdateUserNotFound) IsServerError() bool
- func (o *UpdateUserNotFound) IsSuccess() bool
- func (o *UpdateUserNotFound) String() string
- type UpdateUserOK
- func (o *UpdateUserOK) Error() string
- func (o *UpdateUserOK) GetPayload() *models.UserEntity
- func (o *UpdateUserOK) IsClientError() bool
- func (o *UpdateUserOK) IsCode(code int) bool
- func (o *UpdateUserOK) IsRedirect() bool
- func (o *UpdateUserOK) IsServerError() bool
- func (o *UpdateUserOK) IsSuccess() bool
- func (o *UpdateUserOK) String() string
- type UpdateUserParams
- func (o *UpdateUserParams) SetBody(body *models.UserEntity)
- func (o *UpdateUserParams) SetContext(ctx context.Context)
- func (o *UpdateUserParams) SetDefaults()
- func (o *UpdateUserParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserParams) SetID(id string)
- func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserParams) WithBody(body *models.UserEntity) *UpdateUserParams
- func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams
- func (o *UpdateUserParams) WithDefaults() *UpdateUserParams
- func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams
- func (o *UpdateUserParams) WithID(id string) *UpdateUserParams
- func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams
- func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserReader
- type UpdateUserUnauthorized
- func (o *UpdateUserUnauthorized) Error() string
- func (o *UpdateUserUnauthorized) IsClientError() bool
- func (o *UpdateUserUnauthorized) IsCode(code int) bool
- func (o *UpdateUserUnauthorized) IsRedirect() bool
- func (o *UpdateUserUnauthorized) IsServerError() bool
- func (o *UpdateUserUnauthorized) IsSuccess() bool
- func (o *UpdateUserUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for tenants API
func (*Client) CreateUser ¶
func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCreated, error)
CreateUser creates a user
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
func (*Client) CreateUserGroup ¶
func (a *Client) CreateUserGroup(params *CreateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserGroupCreated, error)
CreateUserGroup creates a user group
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
func (*Client) GetUser ¶
func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)
GetUser gets a user
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
func (*Client) GetUserGroup ¶
func (a *Client) GetUserGroup(params *GetUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserGroupOK, error)
GetUserGroup gets a user group
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
func (*Client) GetUserGroups ¶
func (a *Client) GetUserGroups(params *GetUserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserGroupsOK, error)
GetUserGroups gets all user groups
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
func (*Client) GetUsers ¶
func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersOK, error)
GetUsers gets all users
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
func (*Client) RemoveUser ¶
func (a *Client) RemoveUser(params *RemoveUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveUserOK, error)
RemoveUser deletes a user
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
func (*Client) RemoveUserGroup ¶
func (a *Client) RemoveUserGroup(params *RemoveUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveUserGroupOK, error)
RemoveUserGroup deletes a user group
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
func (*Client) SearchTenants ¶
func (a *Client) SearchTenants(params *SearchTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchTenantsOK, error)
SearchTenants searches for a tenant with the specified identity
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUser ¶
func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error)
UpdateUser updates a user
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
func (*Client) UpdateUserGroup ¶
func (a *Client) UpdateUserGroup(params *UpdateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserGroupOK, error)
UpdateUserGroup updates a user group
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCreated, error) CreateUserGroup(params *CreateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserGroupCreated, error) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error) GetUserGroup(params *GetUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserGroupOK, error) GetUserGroups(params *GetUserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserGroupsOK, error) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersOK, error) RemoveUser(params *RemoveUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveUserOK, error) RemoveUserGroup(params *RemoveUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveUserGroupOK, error) SearchTenants(params *SearchTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchTenantsOK, error) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error) UpdateUserGroup(params *UpdateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserGroupOK, 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 tenants API client.
type CreateUserBadRequest ¶
type CreateUserBadRequest struct { }
CreateUserBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewCreateUserBadRequest ¶
func NewCreateUserBadRequest() *CreateUserBadRequest
NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values
func (*CreateUserBadRequest) Error ¶
func (o *CreateUserBadRequest) Error() string
func (*CreateUserBadRequest) IsClientError ¶ added in v1.19.1
func (o *CreateUserBadRequest) IsClientError() bool
IsClientError returns true when this create user bad request response has a 4xx status code
func (*CreateUserBadRequest) IsCode ¶ added in v1.19.1
func (o *CreateUserBadRequest) IsCode(code int) bool
IsCode returns true when this create user bad request response a status code equal to that given
func (*CreateUserBadRequest) IsRedirect ¶ added in v1.19.1
func (o *CreateUserBadRequest) IsRedirect() bool
IsRedirect returns true when this create user bad request response has a 3xx status code
func (*CreateUserBadRequest) IsServerError ¶ added in v1.19.1
func (o *CreateUserBadRequest) IsServerError() bool
IsServerError returns true when this create user bad request response has a 5xx status code
func (*CreateUserBadRequest) IsSuccess ¶ added in v1.19.1
func (o *CreateUserBadRequest) IsSuccess() bool
IsSuccess returns true when this create user bad request response has a 2xx status code
func (*CreateUserBadRequest) String ¶ added in v1.19.1
func (o *CreateUserBadRequest) String() string
type CreateUserConflict ¶
type CreateUserConflict struct { }
CreateUserConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewCreateUserConflict ¶
func NewCreateUserConflict() *CreateUserConflict
NewCreateUserConflict creates a CreateUserConflict with default headers values
func (*CreateUserConflict) Error ¶
func (o *CreateUserConflict) Error() string
func (*CreateUserConflict) IsClientError ¶ added in v1.19.1
func (o *CreateUserConflict) IsClientError() bool
IsClientError returns true when this create user conflict response has a 4xx status code
func (*CreateUserConflict) IsCode ¶ added in v1.19.1
func (o *CreateUserConflict) IsCode(code int) bool
IsCode returns true when this create user conflict response a status code equal to that given
func (*CreateUserConflict) IsRedirect ¶ added in v1.19.1
func (o *CreateUserConflict) IsRedirect() bool
IsRedirect returns true when this create user conflict response has a 3xx status code
func (*CreateUserConflict) IsServerError ¶ added in v1.19.1
func (o *CreateUserConflict) IsServerError() bool
IsServerError returns true when this create user conflict response has a 5xx status code
func (*CreateUserConflict) IsSuccess ¶ added in v1.19.1
func (o *CreateUserConflict) IsSuccess() bool
IsSuccess returns true when this create user conflict response has a 2xx status code
func (*CreateUserConflict) String ¶ added in v1.19.1
func (o *CreateUserConflict) String() string
type CreateUserCreated ¶ added in v1.19.1
type CreateUserCreated struct {
Payload *models.UserEntity
}
CreateUserCreated describes a response with status code 201, with default header values.
successful operation
func NewCreateUserCreated ¶ added in v1.19.1
func NewCreateUserCreated() *CreateUserCreated
NewCreateUserCreated creates a CreateUserCreated with default headers values
func (*CreateUserCreated) Error ¶ added in v1.19.1
func (o *CreateUserCreated) Error() string
func (*CreateUserCreated) GetPayload ¶ added in v1.19.1
func (o *CreateUserCreated) GetPayload() *models.UserEntity
func (*CreateUserCreated) IsClientError ¶ added in v1.19.1
func (o *CreateUserCreated) IsClientError() bool
IsClientError returns true when this create user created response has a 4xx status code
func (*CreateUserCreated) IsCode ¶ added in v1.19.1
func (o *CreateUserCreated) IsCode(code int) bool
IsCode returns true when this create user created response a status code equal to that given
func (*CreateUserCreated) IsRedirect ¶ added in v1.19.1
func (o *CreateUserCreated) IsRedirect() bool
IsRedirect returns true when this create user created response has a 3xx status code
func (*CreateUserCreated) IsServerError ¶ added in v1.19.1
func (o *CreateUserCreated) IsServerError() bool
IsServerError returns true when this create user created response has a 5xx status code
func (*CreateUserCreated) IsSuccess ¶ added in v1.19.1
func (o *CreateUserCreated) IsSuccess() bool
IsSuccess returns true when this create user created response has a 2xx status code
func (*CreateUserCreated) String ¶ added in v1.19.1
func (o *CreateUserCreated) String() string
type CreateUserForbidden ¶
type CreateUserForbidden struct { }
CreateUserForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewCreateUserForbidden ¶
func NewCreateUserForbidden() *CreateUserForbidden
NewCreateUserForbidden creates a CreateUserForbidden with default headers values
func (*CreateUserForbidden) Error ¶
func (o *CreateUserForbidden) Error() string
func (*CreateUserForbidden) IsClientError ¶ added in v1.19.1
func (o *CreateUserForbidden) IsClientError() bool
IsClientError returns true when this create user forbidden response has a 4xx status code
func (*CreateUserForbidden) IsCode ¶ added in v1.19.1
func (o *CreateUserForbidden) IsCode(code int) bool
IsCode returns true when this create user forbidden response a status code equal to that given
func (*CreateUserForbidden) IsRedirect ¶ added in v1.19.1
func (o *CreateUserForbidden) IsRedirect() bool
IsRedirect returns true when this create user forbidden response has a 3xx status code
func (*CreateUserForbidden) IsServerError ¶ added in v1.19.1
func (o *CreateUserForbidden) IsServerError() bool
IsServerError returns true when this create user forbidden response has a 5xx status code
func (*CreateUserForbidden) IsSuccess ¶ added in v1.19.1
func (o *CreateUserForbidden) IsSuccess() bool
IsSuccess returns true when this create user forbidden response has a 2xx status code
func (*CreateUserForbidden) String ¶ added in v1.19.1
func (o *CreateUserForbidden) String() string
type CreateUserGroupBadRequest ¶
type CreateUserGroupBadRequest struct { }
CreateUserGroupBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewCreateUserGroupBadRequest ¶
func NewCreateUserGroupBadRequest() *CreateUserGroupBadRequest
NewCreateUserGroupBadRequest creates a CreateUserGroupBadRequest with default headers values
func (*CreateUserGroupBadRequest) Error ¶
func (o *CreateUserGroupBadRequest) Error() string
func (*CreateUserGroupBadRequest) IsClientError ¶ added in v1.19.1
func (o *CreateUserGroupBadRequest) IsClientError() bool
IsClientError returns true when this create user group bad request response has a 4xx status code
func (*CreateUserGroupBadRequest) IsCode ¶ added in v1.19.1
func (o *CreateUserGroupBadRequest) IsCode(code int) bool
IsCode returns true when this create user group bad request response a status code equal to that given
func (*CreateUserGroupBadRequest) IsRedirect ¶ added in v1.19.1
func (o *CreateUserGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this create user group bad request response has a 3xx status code
func (*CreateUserGroupBadRequest) IsServerError ¶ added in v1.19.1
func (o *CreateUserGroupBadRequest) IsServerError() bool
IsServerError returns true when this create user group bad request response has a 5xx status code
func (*CreateUserGroupBadRequest) IsSuccess ¶ added in v1.19.1
func (o *CreateUserGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this create user group bad request response has a 2xx status code
func (*CreateUserGroupBadRequest) String ¶ added in v1.19.1
func (o *CreateUserGroupBadRequest) String() string
type CreateUserGroupConflict ¶
type CreateUserGroupConflict struct { }
CreateUserGroupConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewCreateUserGroupConflict ¶
func NewCreateUserGroupConflict() *CreateUserGroupConflict
NewCreateUserGroupConflict creates a CreateUserGroupConflict with default headers values
func (*CreateUserGroupConflict) Error ¶
func (o *CreateUserGroupConflict) Error() string
func (*CreateUserGroupConflict) IsClientError ¶ added in v1.19.1
func (o *CreateUserGroupConflict) IsClientError() bool
IsClientError returns true when this create user group conflict response has a 4xx status code
func (*CreateUserGroupConflict) IsCode ¶ added in v1.19.1
func (o *CreateUserGroupConflict) IsCode(code int) bool
IsCode returns true when this create user group conflict response a status code equal to that given
func (*CreateUserGroupConflict) IsRedirect ¶ added in v1.19.1
func (o *CreateUserGroupConflict) IsRedirect() bool
IsRedirect returns true when this create user group conflict response has a 3xx status code
func (*CreateUserGroupConflict) IsServerError ¶ added in v1.19.1
func (o *CreateUserGroupConflict) IsServerError() bool
IsServerError returns true when this create user group conflict response has a 5xx status code
func (*CreateUserGroupConflict) IsSuccess ¶ added in v1.19.1
func (o *CreateUserGroupConflict) IsSuccess() bool
IsSuccess returns true when this create user group conflict response has a 2xx status code
func (*CreateUserGroupConflict) String ¶ added in v1.19.1
func (o *CreateUserGroupConflict) String() string
type CreateUserGroupCreated ¶ added in v1.19.1
type CreateUserGroupCreated struct {
Payload *models.UserGroupEntity
}
CreateUserGroupCreated describes a response with status code 201, with default header values.
successful operation
func NewCreateUserGroupCreated ¶ added in v1.19.1
func NewCreateUserGroupCreated() *CreateUserGroupCreated
NewCreateUserGroupCreated creates a CreateUserGroupCreated with default headers values
func (*CreateUserGroupCreated) Error ¶ added in v1.19.1
func (o *CreateUserGroupCreated) Error() string
func (*CreateUserGroupCreated) GetPayload ¶ added in v1.19.1
func (o *CreateUserGroupCreated) GetPayload() *models.UserGroupEntity
func (*CreateUserGroupCreated) IsClientError ¶ added in v1.19.1
func (o *CreateUserGroupCreated) IsClientError() bool
IsClientError returns true when this create user group created response has a 4xx status code
func (*CreateUserGroupCreated) IsCode ¶ added in v1.19.1
func (o *CreateUserGroupCreated) IsCode(code int) bool
IsCode returns true when this create user group created response a status code equal to that given
func (*CreateUserGroupCreated) IsRedirect ¶ added in v1.19.1
func (o *CreateUserGroupCreated) IsRedirect() bool
IsRedirect returns true when this create user group created response has a 3xx status code
func (*CreateUserGroupCreated) IsServerError ¶ added in v1.19.1
func (o *CreateUserGroupCreated) IsServerError() bool
IsServerError returns true when this create user group created response has a 5xx status code
func (*CreateUserGroupCreated) IsSuccess ¶ added in v1.19.1
func (o *CreateUserGroupCreated) IsSuccess() bool
IsSuccess returns true when this create user group created response has a 2xx status code
func (*CreateUserGroupCreated) String ¶ added in v1.19.1
func (o *CreateUserGroupCreated) String() string
type CreateUserGroupForbidden ¶
type CreateUserGroupForbidden struct { }
CreateUserGroupForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewCreateUserGroupForbidden ¶
func NewCreateUserGroupForbidden() *CreateUserGroupForbidden
NewCreateUserGroupForbidden creates a CreateUserGroupForbidden with default headers values
func (*CreateUserGroupForbidden) Error ¶
func (o *CreateUserGroupForbidden) Error() string
func (*CreateUserGroupForbidden) IsClientError ¶ added in v1.19.1
func (o *CreateUserGroupForbidden) IsClientError() bool
IsClientError returns true when this create user group forbidden response has a 4xx status code
func (*CreateUserGroupForbidden) IsCode ¶ added in v1.19.1
func (o *CreateUserGroupForbidden) IsCode(code int) bool
IsCode returns true when this create user group forbidden response a status code equal to that given
func (*CreateUserGroupForbidden) IsRedirect ¶ added in v1.19.1
func (o *CreateUserGroupForbidden) IsRedirect() bool
IsRedirect returns true when this create user group forbidden response has a 3xx status code
func (*CreateUserGroupForbidden) IsServerError ¶ added in v1.19.1
func (o *CreateUserGroupForbidden) IsServerError() bool
IsServerError returns true when this create user group forbidden response has a 5xx status code
func (*CreateUserGroupForbidden) IsSuccess ¶ added in v1.19.1
func (o *CreateUserGroupForbidden) IsSuccess() bool
IsSuccess returns true when this create user group forbidden response has a 2xx status code
func (*CreateUserGroupForbidden) String ¶ added in v1.19.1
func (o *CreateUserGroupForbidden) String() string
type CreateUserGroupNotFound ¶
type CreateUserGroupNotFound struct { }
CreateUserGroupNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewCreateUserGroupNotFound ¶
func NewCreateUserGroupNotFound() *CreateUserGroupNotFound
NewCreateUserGroupNotFound creates a CreateUserGroupNotFound with default headers values
func (*CreateUserGroupNotFound) Error ¶
func (o *CreateUserGroupNotFound) Error() string
func (*CreateUserGroupNotFound) IsClientError ¶ added in v1.19.1
func (o *CreateUserGroupNotFound) IsClientError() bool
IsClientError returns true when this create user group not found response has a 4xx status code
func (*CreateUserGroupNotFound) IsCode ¶ added in v1.19.1
func (o *CreateUserGroupNotFound) IsCode(code int) bool
IsCode returns true when this create user group not found response a status code equal to that given
func (*CreateUserGroupNotFound) IsRedirect ¶ added in v1.19.1
func (o *CreateUserGroupNotFound) IsRedirect() bool
IsRedirect returns true when this create user group not found response has a 3xx status code
func (*CreateUserGroupNotFound) IsServerError ¶ added in v1.19.1
func (o *CreateUserGroupNotFound) IsServerError() bool
IsServerError returns true when this create user group not found response has a 5xx status code
func (*CreateUserGroupNotFound) IsSuccess ¶ added in v1.19.1
func (o *CreateUserGroupNotFound) IsSuccess() bool
IsSuccess returns true when this create user group not found response has a 2xx status code
func (*CreateUserGroupNotFound) String ¶ added in v1.19.1
func (o *CreateUserGroupNotFound) String() string
type CreateUserGroupParams ¶
type CreateUserGroupParams struct { /* Body. The user group configuration details. */ Body *models.UserGroupEntity Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserGroupParams contains all the parameters to send to the API endpoint
for the create user group operation. Typically these are written to a http.Request.
func NewCreateUserGroupParams ¶
func NewCreateUserGroupParams() *CreateUserGroupParams
NewCreateUserGroupParams creates a new CreateUserGroupParams 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 NewCreateUserGroupParamsWithContext ¶
func NewCreateUserGroupParamsWithContext(ctx context.Context) *CreateUserGroupParams
NewCreateUserGroupParamsWithContext creates a new CreateUserGroupParams object with the ability to set a context for a request.
func NewCreateUserGroupParamsWithHTTPClient ¶
func NewCreateUserGroupParamsWithHTTPClient(client *http.Client) *CreateUserGroupParams
NewCreateUserGroupParamsWithHTTPClient creates a new CreateUserGroupParams object with the ability to set a custom HTTPClient for a request.
func NewCreateUserGroupParamsWithTimeout ¶
func NewCreateUserGroupParamsWithTimeout(timeout time.Duration) *CreateUserGroupParams
NewCreateUserGroupParamsWithTimeout creates a new CreateUserGroupParams object with the ability to set a timeout on a request.
func (*CreateUserGroupParams) SetBody ¶
func (o *CreateUserGroupParams) SetBody(body *models.UserGroupEntity)
SetBody adds the body to the create user group params
func (*CreateUserGroupParams) SetContext ¶
func (o *CreateUserGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the create user group params
func (*CreateUserGroupParams) SetDefaults ¶
func (o *CreateUserGroupParams) SetDefaults()
SetDefaults hydrates default values in the create user group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserGroupParams) SetHTTPClient ¶
func (o *CreateUserGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user group params
func (*CreateUserGroupParams) SetTimeout ¶
func (o *CreateUserGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user group params
func (*CreateUserGroupParams) WithBody ¶
func (o *CreateUserGroupParams) WithBody(body *models.UserGroupEntity) *CreateUserGroupParams
WithBody adds the body to the create user group params
func (*CreateUserGroupParams) WithContext ¶
func (o *CreateUserGroupParams) WithContext(ctx context.Context) *CreateUserGroupParams
WithContext adds the context to the create user group params
func (*CreateUserGroupParams) WithDefaults ¶
func (o *CreateUserGroupParams) WithDefaults() *CreateUserGroupParams
WithDefaults hydrates default values in the create user group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserGroupParams) WithHTTPClient ¶
func (o *CreateUserGroupParams) WithHTTPClient(client *http.Client) *CreateUserGroupParams
WithHTTPClient adds the HTTPClient to the create user group params
func (*CreateUserGroupParams) WithTimeout ¶
func (o *CreateUserGroupParams) WithTimeout(timeout time.Duration) *CreateUserGroupParams
WithTimeout adds the timeout to the create user group params
func (*CreateUserGroupParams) WriteToRequest ¶
func (o *CreateUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserGroupReader ¶
type CreateUserGroupReader struct {
// contains filtered or unexported fields
}
CreateUserGroupReader is a Reader for the CreateUserGroup structure.
func (*CreateUserGroupReader) ReadResponse ¶
func (o *CreateUserGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserGroupUnauthorized ¶
type CreateUserGroupUnauthorized struct { }
CreateUserGroupUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewCreateUserGroupUnauthorized ¶
func NewCreateUserGroupUnauthorized() *CreateUserGroupUnauthorized
NewCreateUserGroupUnauthorized creates a CreateUserGroupUnauthorized with default headers values
func (*CreateUserGroupUnauthorized) Error ¶
func (o *CreateUserGroupUnauthorized) Error() string
func (*CreateUserGroupUnauthorized) IsClientError ¶ added in v1.19.1
func (o *CreateUserGroupUnauthorized) IsClientError() bool
IsClientError returns true when this create user group unauthorized response has a 4xx status code
func (*CreateUserGroupUnauthorized) IsCode ¶ added in v1.19.1
func (o *CreateUserGroupUnauthorized) IsCode(code int) bool
IsCode returns true when this create user group unauthorized response a status code equal to that given
func (*CreateUserGroupUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *CreateUserGroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this create user group unauthorized response has a 3xx status code
func (*CreateUserGroupUnauthorized) IsServerError ¶ added in v1.19.1
func (o *CreateUserGroupUnauthorized) IsServerError() bool
IsServerError returns true when this create user group unauthorized response has a 5xx status code
func (*CreateUserGroupUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *CreateUserGroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this create user group unauthorized response has a 2xx status code
func (*CreateUserGroupUnauthorized) String ¶ added in v1.19.1
func (o *CreateUserGroupUnauthorized) String() string
type CreateUserNotFound ¶
type CreateUserNotFound struct { }
CreateUserNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewCreateUserNotFound ¶
func NewCreateUserNotFound() *CreateUserNotFound
NewCreateUserNotFound creates a CreateUserNotFound with default headers values
func (*CreateUserNotFound) Error ¶
func (o *CreateUserNotFound) Error() string
func (*CreateUserNotFound) IsClientError ¶ added in v1.19.1
func (o *CreateUserNotFound) IsClientError() bool
IsClientError returns true when this create user not found response has a 4xx status code
func (*CreateUserNotFound) IsCode ¶ added in v1.19.1
func (o *CreateUserNotFound) IsCode(code int) bool
IsCode returns true when this create user not found response a status code equal to that given
func (*CreateUserNotFound) IsRedirect ¶ added in v1.19.1
func (o *CreateUserNotFound) IsRedirect() bool
IsRedirect returns true when this create user not found response has a 3xx status code
func (*CreateUserNotFound) IsServerError ¶ added in v1.19.1
func (o *CreateUserNotFound) IsServerError() bool
IsServerError returns true when this create user not found response has a 5xx status code
func (*CreateUserNotFound) IsSuccess ¶ added in v1.19.1
func (o *CreateUserNotFound) IsSuccess() bool
IsSuccess returns true when this create user not found response has a 2xx status code
func (*CreateUserNotFound) String ¶ added in v1.19.1
func (o *CreateUserNotFound) String() string
type CreateUserParams ¶
type CreateUserParams struct { /* Body. The user configuration details. */ Body *models.UserEntity Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserParams contains all the parameters to send to the API endpoint
for the create user operation. Typically these are written to a http.Request.
func NewCreateUserParams ¶
func NewCreateUserParams() *CreateUserParams
NewCreateUserParams creates a new CreateUserParams 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 NewCreateUserParamsWithContext ¶
func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams
NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.
func NewCreateUserParamsWithHTTPClient ¶
func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams
NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.
func NewCreateUserParamsWithTimeout ¶
func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams
NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.
func (*CreateUserParams) SetBody ¶
func (o *CreateUserParams) SetBody(body *models.UserEntity)
SetBody adds the body to the create user params
func (*CreateUserParams) SetContext ¶
func (o *CreateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the create user params
func (*CreateUserParams) SetDefaults ¶
func (o *CreateUserParams) SetDefaults()
SetDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) SetHTTPClient ¶
func (o *CreateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) SetTimeout ¶
func (o *CreateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user params
func (*CreateUserParams) WithBody ¶
func (o *CreateUserParams) WithBody(body *models.UserEntity) *CreateUserParams
WithBody adds the body to the create user params
func (*CreateUserParams) WithContext ¶
func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
WithContext adds the context to the create user params
func (*CreateUserParams) WithDefaults ¶
func (o *CreateUserParams) WithDefaults() *CreateUserParams
WithDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) WithHTTPClient ¶
func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
WithHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) WithTimeout ¶
func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
WithTimeout adds the timeout to the create user params
func (*CreateUserParams) WriteToRequest ¶
func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserReader ¶
type CreateUserReader struct {
// contains filtered or unexported fields
}
CreateUserReader is a Reader for the CreateUser structure.
func (*CreateUserReader) ReadResponse ¶
func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserUnauthorized ¶
type CreateUserUnauthorized struct { }
CreateUserUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewCreateUserUnauthorized ¶
func NewCreateUserUnauthorized() *CreateUserUnauthorized
NewCreateUserUnauthorized creates a CreateUserUnauthorized with default headers values
func (*CreateUserUnauthorized) Error ¶
func (o *CreateUserUnauthorized) Error() string
func (*CreateUserUnauthorized) IsClientError ¶ added in v1.19.1
func (o *CreateUserUnauthorized) IsClientError() bool
IsClientError returns true when this create user unauthorized response has a 4xx status code
func (*CreateUserUnauthorized) IsCode ¶ added in v1.19.1
func (o *CreateUserUnauthorized) IsCode(code int) bool
IsCode returns true when this create user unauthorized response a status code equal to that given
func (*CreateUserUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *CreateUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this create user unauthorized response has a 3xx status code
func (*CreateUserUnauthorized) IsServerError ¶ added in v1.19.1
func (o *CreateUserUnauthorized) IsServerError() bool
IsServerError returns true when this create user unauthorized response has a 5xx status code
func (*CreateUserUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *CreateUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this create user unauthorized response has a 2xx status code
func (*CreateUserUnauthorized) String ¶ added in v1.19.1
func (o *CreateUserUnauthorized) String() string
type GetUserBadRequest ¶
type GetUserBadRequest struct { }
GetUserBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewGetUserBadRequest ¶
func NewGetUserBadRequest() *GetUserBadRequest
NewGetUserBadRequest creates a GetUserBadRequest with default headers values
func (*GetUserBadRequest) Error ¶
func (o *GetUserBadRequest) Error() string
func (*GetUserBadRequest) IsClientError ¶ added in v1.19.1
func (o *GetUserBadRequest) IsClientError() bool
IsClientError returns true when this get user bad request response has a 4xx status code
func (*GetUserBadRequest) IsCode ¶ added in v1.19.1
func (o *GetUserBadRequest) IsCode(code int) bool
IsCode returns true when this get user bad request response a status code equal to that given
func (*GetUserBadRequest) IsRedirect ¶ added in v1.19.1
func (o *GetUserBadRequest) IsRedirect() bool
IsRedirect returns true when this get user bad request response has a 3xx status code
func (*GetUserBadRequest) IsServerError ¶ added in v1.19.1
func (o *GetUserBadRequest) IsServerError() bool
IsServerError returns true when this get user bad request response has a 5xx status code
func (*GetUserBadRequest) IsSuccess ¶ added in v1.19.1
func (o *GetUserBadRequest) IsSuccess() bool
IsSuccess returns true when this get user bad request response has a 2xx status code
func (*GetUserBadRequest) String ¶ added in v1.19.1
func (o *GetUserBadRequest) String() string
type GetUserConflict ¶
type GetUserConflict struct { }
GetUserConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewGetUserConflict ¶
func NewGetUserConflict() *GetUserConflict
NewGetUserConflict creates a GetUserConflict with default headers values
func (*GetUserConflict) Error ¶
func (o *GetUserConflict) Error() string
func (*GetUserConflict) IsClientError ¶ added in v1.19.1
func (o *GetUserConflict) IsClientError() bool
IsClientError returns true when this get user conflict response has a 4xx status code
func (*GetUserConflict) IsCode ¶ added in v1.19.1
func (o *GetUserConflict) IsCode(code int) bool
IsCode returns true when this get user conflict response a status code equal to that given
func (*GetUserConflict) IsRedirect ¶ added in v1.19.1
func (o *GetUserConflict) IsRedirect() bool
IsRedirect returns true when this get user conflict response has a 3xx status code
func (*GetUserConflict) IsServerError ¶ added in v1.19.1
func (o *GetUserConflict) IsServerError() bool
IsServerError returns true when this get user conflict response has a 5xx status code
func (*GetUserConflict) IsSuccess ¶ added in v1.19.1
func (o *GetUserConflict) IsSuccess() bool
IsSuccess returns true when this get user conflict response has a 2xx status code
func (*GetUserConflict) String ¶ added in v1.19.1
func (o *GetUserConflict) String() string
type GetUserForbidden ¶
type GetUserForbidden struct { }
GetUserForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetUserForbidden ¶
func NewGetUserForbidden() *GetUserForbidden
NewGetUserForbidden creates a GetUserForbidden with default headers values
func (*GetUserForbidden) Error ¶
func (o *GetUserForbidden) Error() string
func (*GetUserForbidden) IsClientError ¶ added in v1.19.1
func (o *GetUserForbidden) IsClientError() bool
IsClientError returns true when this get user forbidden response has a 4xx status code
func (*GetUserForbidden) IsCode ¶ added in v1.19.1
func (o *GetUserForbidden) IsCode(code int) bool
IsCode returns true when this get user forbidden response a status code equal to that given
func (*GetUserForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetUserForbidden) IsRedirect() bool
IsRedirect returns true when this get user forbidden response has a 3xx status code
func (*GetUserForbidden) IsServerError ¶ added in v1.19.1
func (o *GetUserForbidden) IsServerError() bool
IsServerError returns true when this get user forbidden response has a 5xx status code
func (*GetUserForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetUserForbidden) IsSuccess() bool
IsSuccess returns true when this get user forbidden response has a 2xx status code
func (*GetUserForbidden) String ¶ added in v1.19.1
func (o *GetUserForbidden) String() string
type GetUserGroupBadRequest ¶
type GetUserGroupBadRequest struct { }
GetUserGroupBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewGetUserGroupBadRequest ¶
func NewGetUserGroupBadRequest() *GetUserGroupBadRequest
NewGetUserGroupBadRequest creates a GetUserGroupBadRequest with default headers values
func (*GetUserGroupBadRequest) Error ¶
func (o *GetUserGroupBadRequest) Error() string
func (*GetUserGroupBadRequest) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupBadRequest) IsClientError() bool
IsClientError returns true when this get user group bad request response has a 4xx status code
func (*GetUserGroupBadRequest) IsCode ¶ added in v1.19.1
func (o *GetUserGroupBadRequest) IsCode(code int) bool
IsCode returns true when this get user group bad request response a status code equal to that given
func (*GetUserGroupBadRequest) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this get user group bad request response has a 3xx status code
func (*GetUserGroupBadRequest) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupBadRequest) IsServerError() bool
IsServerError returns true when this get user group bad request response has a 5xx status code
func (*GetUserGroupBadRequest) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this get user group bad request response has a 2xx status code
func (*GetUserGroupBadRequest) String ¶ added in v1.19.1
func (o *GetUserGroupBadRequest) String() string
type GetUserGroupConflict ¶
type GetUserGroupConflict struct { }
GetUserGroupConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewGetUserGroupConflict ¶
func NewGetUserGroupConflict() *GetUserGroupConflict
NewGetUserGroupConflict creates a GetUserGroupConflict with default headers values
func (*GetUserGroupConflict) Error ¶
func (o *GetUserGroupConflict) Error() string
func (*GetUserGroupConflict) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupConflict) IsClientError() bool
IsClientError returns true when this get user group conflict response has a 4xx status code
func (*GetUserGroupConflict) IsCode ¶ added in v1.19.1
func (o *GetUserGroupConflict) IsCode(code int) bool
IsCode returns true when this get user group conflict response a status code equal to that given
func (*GetUserGroupConflict) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupConflict) IsRedirect() bool
IsRedirect returns true when this get user group conflict response has a 3xx status code
func (*GetUserGroupConflict) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupConflict) IsServerError() bool
IsServerError returns true when this get user group conflict response has a 5xx status code
func (*GetUserGroupConflict) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupConflict) IsSuccess() bool
IsSuccess returns true when this get user group conflict response has a 2xx status code
func (*GetUserGroupConflict) String ¶ added in v1.19.1
func (o *GetUserGroupConflict) String() string
type GetUserGroupForbidden ¶
type GetUserGroupForbidden struct { }
GetUserGroupForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetUserGroupForbidden ¶
func NewGetUserGroupForbidden() *GetUserGroupForbidden
NewGetUserGroupForbidden creates a GetUserGroupForbidden with default headers values
func (*GetUserGroupForbidden) Error ¶
func (o *GetUserGroupForbidden) Error() string
func (*GetUserGroupForbidden) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupForbidden) IsClientError() bool
IsClientError returns true when this get user group forbidden response has a 4xx status code
func (*GetUserGroupForbidden) IsCode ¶ added in v1.19.1
func (o *GetUserGroupForbidden) IsCode(code int) bool
IsCode returns true when this get user group forbidden response a status code equal to that given
func (*GetUserGroupForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupForbidden) IsRedirect() bool
IsRedirect returns true when this get user group forbidden response has a 3xx status code
func (*GetUserGroupForbidden) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupForbidden) IsServerError() bool
IsServerError returns true when this get user group forbidden response has a 5xx status code
func (*GetUserGroupForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupForbidden) IsSuccess() bool
IsSuccess returns true when this get user group forbidden response has a 2xx status code
func (*GetUserGroupForbidden) String ¶ added in v1.19.1
func (o *GetUserGroupForbidden) String() string
type GetUserGroupNotFound ¶
type GetUserGroupNotFound struct { }
GetUserGroupNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewGetUserGroupNotFound ¶
func NewGetUserGroupNotFound() *GetUserGroupNotFound
NewGetUserGroupNotFound creates a GetUserGroupNotFound with default headers values
func (*GetUserGroupNotFound) Error ¶
func (o *GetUserGroupNotFound) Error() string
func (*GetUserGroupNotFound) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupNotFound) IsClientError() bool
IsClientError returns true when this get user group not found response has a 4xx status code
func (*GetUserGroupNotFound) IsCode ¶ added in v1.19.1
func (o *GetUserGroupNotFound) IsCode(code int) bool
IsCode returns true when this get user group not found response a status code equal to that given
func (*GetUserGroupNotFound) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupNotFound) IsRedirect() bool
IsRedirect returns true when this get user group not found response has a 3xx status code
func (*GetUserGroupNotFound) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupNotFound) IsServerError() bool
IsServerError returns true when this get user group not found response has a 5xx status code
func (*GetUserGroupNotFound) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupNotFound) IsSuccess() bool
IsSuccess returns true when this get user group not found response has a 2xx status code
func (*GetUserGroupNotFound) String ¶ added in v1.19.1
func (o *GetUserGroupNotFound) String() string
type GetUserGroupOK ¶
type GetUserGroupOK struct {
Payload *models.UserGroupEntity
}
GetUserGroupOK describes a response with status code 200, with default header values.
successful operation
func NewGetUserGroupOK ¶
func NewGetUserGroupOK() *GetUserGroupOK
NewGetUserGroupOK creates a GetUserGroupOK with default headers values
func (*GetUserGroupOK) Error ¶
func (o *GetUserGroupOK) Error() string
func (*GetUserGroupOK) GetPayload ¶
func (o *GetUserGroupOK) GetPayload() *models.UserGroupEntity
func (*GetUserGroupOK) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupOK) IsClientError() bool
IsClientError returns true when this get user group o k response has a 4xx status code
func (*GetUserGroupOK) IsCode ¶ added in v1.19.1
func (o *GetUserGroupOK) IsCode(code int) bool
IsCode returns true when this get user group o k response a status code equal to that given
func (*GetUserGroupOK) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupOK) IsRedirect() bool
IsRedirect returns true when this get user group o k response has a 3xx status code
func (*GetUserGroupOK) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupOK) IsServerError() bool
IsServerError returns true when this get user group o k response has a 5xx status code
func (*GetUserGroupOK) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupOK) IsSuccess() bool
IsSuccess returns true when this get user group o k response has a 2xx status code
func (*GetUserGroupOK) String ¶ added in v1.19.1
func (o *GetUserGroupOK) String() string
type GetUserGroupParams ¶
type GetUserGroupParams struct { /* ID. The user group id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserGroupParams contains all the parameters to send to the API endpoint
for the get user group operation. Typically these are written to a http.Request.
func NewGetUserGroupParams ¶
func NewGetUserGroupParams() *GetUserGroupParams
NewGetUserGroupParams creates a new GetUserGroupParams 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 NewGetUserGroupParamsWithContext ¶
func NewGetUserGroupParamsWithContext(ctx context.Context) *GetUserGroupParams
NewGetUserGroupParamsWithContext creates a new GetUserGroupParams object with the ability to set a context for a request.
func NewGetUserGroupParamsWithHTTPClient ¶
func NewGetUserGroupParamsWithHTTPClient(client *http.Client) *GetUserGroupParams
NewGetUserGroupParamsWithHTTPClient creates a new GetUserGroupParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserGroupParamsWithTimeout ¶
func NewGetUserGroupParamsWithTimeout(timeout time.Duration) *GetUserGroupParams
NewGetUserGroupParamsWithTimeout creates a new GetUserGroupParams object with the ability to set a timeout on a request.
func (*GetUserGroupParams) SetContext ¶
func (o *GetUserGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get user group params
func (*GetUserGroupParams) SetDefaults ¶
func (o *GetUserGroupParams) SetDefaults()
SetDefaults hydrates default values in the get user group params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserGroupParams) SetHTTPClient ¶
func (o *GetUserGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user group params
func (*GetUserGroupParams) SetID ¶
func (o *GetUserGroupParams) SetID(id string)
SetID adds the id to the get user group params
func (*GetUserGroupParams) SetTimeout ¶
func (o *GetUserGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user group params
func (*GetUserGroupParams) WithContext ¶
func (o *GetUserGroupParams) WithContext(ctx context.Context) *GetUserGroupParams
WithContext adds the context to the get user group params
func (*GetUserGroupParams) WithDefaults ¶
func (o *GetUserGroupParams) WithDefaults() *GetUserGroupParams
WithDefaults hydrates default values in the get user group params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserGroupParams) WithHTTPClient ¶
func (o *GetUserGroupParams) WithHTTPClient(client *http.Client) *GetUserGroupParams
WithHTTPClient adds the HTTPClient to the get user group params
func (*GetUserGroupParams) WithID ¶
func (o *GetUserGroupParams) WithID(id string) *GetUserGroupParams
WithID adds the id to the get user group params
func (*GetUserGroupParams) WithTimeout ¶
func (o *GetUserGroupParams) WithTimeout(timeout time.Duration) *GetUserGroupParams
WithTimeout adds the timeout to the get user group params
func (*GetUserGroupParams) WriteToRequest ¶
func (o *GetUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserGroupReader ¶
type GetUserGroupReader struct {
// contains filtered or unexported fields
}
GetUserGroupReader is a Reader for the GetUserGroup structure.
func (*GetUserGroupReader) ReadResponse ¶
func (o *GetUserGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserGroupUnauthorized ¶
type GetUserGroupUnauthorized struct { }
GetUserGroupUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetUserGroupUnauthorized ¶
func NewGetUserGroupUnauthorized() *GetUserGroupUnauthorized
NewGetUserGroupUnauthorized creates a GetUserGroupUnauthorized with default headers values
func (*GetUserGroupUnauthorized) Error ¶
func (o *GetUserGroupUnauthorized) Error() string
func (*GetUserGroupUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupUnauthorized) IsClientError() bool
IsClientError returns true when this get user group unauthorized response has a 4xx status code
func (*GetUserGroupUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetUserGroupUnauthorized) IsCode(code int) bool
IsCode returns true when this get user group unauthorized response a status code equal to that given
func (*GetUserGroupUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this get user group unauthorized response has a 3xx status code
func (*GetUserGroupUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupUnauthorized) IsServerError() bool
IsServerError returns true when this get user group unauthorized response has a 5xx status code
func (*GetUserGroupUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this get user group unauthorized response has a 2xx status code
func (*GetUserGroupUnauthorized) String ¶ added in v1.19.1
func (o *GetUserGroupUnauthorized) String() string
type GetUserGroupsBadRequest ¶
type GetUserGroupsBadRequest struct { }
GetUserGroupsBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewGetUserGroupsBadRequest ¶
func NewGetUserGroupsBadRequest() *GetUserGroupsBadRequest
NewGetUserGroupsBadRequest creates a GetUserGroupsBadRequest with default headers values
func (*GetUserGroupsBadRequest) Error ¶
func (o *GetUserGroupsBadRequest) Error() string
func (*GetUserGroupsBadRequest) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupsBadRequest) IsClientError() bool
IsClientError returns true when this get user groups bad request response has a 4xx status code
func (*GetUserGroupsBadRequest) IsCode ¶ added in v1.19.1
func (o *GetUserGroupsBadRequest) IsCode(code int) bool
IsCode returns true when this get user groups bad request response a status code equal to that given
func (*GetUserGroupsBadRequest) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupsBadRequest) IsRedirect() bool
IsRedirect returns true when this get user groups bad request response has a 3xx status code
func (*GetUserGroupsBadRequest) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupsBadRequest) IsServerError() bool
IsServerError returns true when this get user groups bad request response has a 5xx status code
func (*GetUserGroupsBadRequest) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupsBadRequest) IsSuccess() bool
IsSuccess returns true when this get user groups bad request response has a 2xx status code
func (*GetUserGroupsBadRequest) String ¶ added in v1.19.1
func (o *GetUserGroupsBadRequest) String() string
type GetUserGroupsConflict ¶
type GetUserGroupsConflict struct { }
GetUserGroupsConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewGetUserGroupsConflict ¶
func NewGetUserGroupsConflict() *GetUserGroupsConflict
NewGetUserGroupsConflict creates a GetUserGroupsConflict with default headers values
func (*GetUserGroupsConflict) Error ¶
func (o *GetUserGroupsConflict) Error() string
func (*GetUserGroupsConflict) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupsConflict) IsClientError() bool
IsClientError returns true when this get user groups conflict response has a 4xx status code
func (*GetUserGroupsConflict) IsCode ¶ added in v1.19.1
func (o *GetUserGroupsConflict) IsCode(code int) bool
IsCode returns true when this get user groups conflict response a status code equal to that given
func (*GetUserGroupsConflict) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupsConflict) IsRedirect() bool
IsRedirect returns true when this get user groups conflict response has a 3xx status code
func (*GetUserGroupsConflict) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupsConflict) IsServerError() bool
IsServerError returns true when this get user groups conflict response has a 5xx status code
func (*GetUserGroupsConflict) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupsConflict) IsSuccess() bool
IsSuccess returns true when this get user groups conflict response has a 2xx status code
func (*GetUserGroupsConflict) String ¶ added in v1.19.1
func (o *GetUserGroupsConflict) String() string
type GetUserGroupsForbidden ¶
type GetUserGroupsForbidden struct { }
GetUserGroupsForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetUserGroupsForbidden ¶
func NewGetUserGroupsForbidden() *GetUserGroupsForbidden
NewGetUserGroupsForbidden creates a GetUserGroupsForbidden with default headers values
func (*GetUserGroupsForbidden) Error ¶
func (o *GetUserGroupsForbidden) Error() string
func (*GetUserGroupsForbidden) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupsForbidden) IsClientError() bool
IsClientError returns true when this get user groups forbidden response has a 4xx status code
func (*GetUserGroupsForbidden) IsCode ¶ added in v1.19.1
func (o *GetUserGroupsForbidden) IsCode(code int) bool
IsCode returns true when this get user groups forbidden response a status code equal to that given
func (*GetUserGroupsForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupsForbidden) IsRedirect() bool
IsRedirect returns true when this get user groups forbidden response has a 3xx status code
func (*GetUserGroupsForbidden) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupsForbidden) IsServerError() bool
IsServerError returns true when this get user groups forbidden response has a 5xx status code
func (*GetUserGroupsForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupsForbidden) IsSuccess() bool
IsSuccess returns true when this get user groups forbidden response has a 2xx status code
func (*GetUserGroupsForbidden) String ¶ added in v1.19.1
func (o *GetUserGroupsForbidden) String() string
type GetUserGroupsNotFound ¶
type GetUserGroupsNotFound struct { }
GetUserGroupsNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewGetUserGroupsNotFound ¶
func NewGetUserGroupsNotFound() *GetUserGroupsNotFound
NewGetUserGroupsNotFound creates a GetUserGroupsNotFound with default headers values
func (*GetUserGroupsNotFound) Error ¶
func (o *GetUserGroupsNotFound) Error() string
func (*GetUserGroupsNotFound) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupsNotFound) IsClientError() bool
IsClientError returns true when this get user groups not found response has a 4xx status code
func (*GetUserGroupsNotFound) IsCode ¶ added in v1.19.1
func (o *GetUserGroupsNotFound) IsCode(code int) bool
IsCode returns true when this get user groups not found response a status code equal to that given
func (*GetUserGroupsNotFound) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupsNotFound) IsRedirect() bool
IsRedirect returns true when this get user groups not found response has a 3xx status code
func (*GetUserGroupsNotFound) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupsNotFound) IsServerError() bool
IsServerError returns true when this get user groups not found response has a 5xx status code
func (*GetUserGroupsNotFound) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupsNotFound) IsSuccess() bool
IsSuccess returns true when this get user groups not found response has a 2xx status code
func (*GetUserGroupsNotFound) String ¶ added in v1.19.1
func (o *GetUserGroupsNotFound) String() string
type GetUserGroupsOK ¶
type GetUserGroupsOK struct {
Payload *models.UserGroupsEntity
}
GetUserGroupsOK describes a response with status code 200, with default header values.
successful operation
func NewGetUserGroupsOK ¶
func NewGetUserGroupsOK() *GetUserGroupsOK
NewGetUserGroupsOK creates a GetUserGroupsOK with default headers values
func (*GetUserGroupsOK) Error ¶
func (o *GetUserGroupsOK) Error() string
func (*GetUserGroupsOK) GetPayload ¶
func (o *GetUserGroupsOK) GetPayload() *models.UserGroupsEntity
func (*GetUserGroupsOK) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupsOK) IsClientError() bool
IsClientError returns true when this get user groups o k response has a 4xx status code
func (*GetUserGroupsOK) IsCode ¶ added in v1.19.1
func (o *GetUserGroupsOK) IsCode(code int) bool
IsCode returns true when this get user groups o k response a status code equal to that given
func (*GetUserGroupsOK) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupsOK) IsRedirect() bool
IsRedirect returns true when this get user groups o k response has a 3xx status code
func (*GetUserGroupsOK) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupsOK) IsServerError() bool
IsServerError returns true when this get user groups o k response has a 5xx status code
func (*GetUserGroupsOK) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupsOK) IsSuccess() bool
IsSuccess returns true when this get user groups o k response has a 2xx status code
func (*GetUserGroupsOK) String ¶ added in v1.19.1
func (o *GetUserGroupsOK) String() string
type GetUserGroupsParams ¶
type GetUserGroupsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserGroupsParams contains all the parameters to send to the API endpoint
for the get user groups operation. Typically these are written to a http.Request.
func NewGetUserGroupsParams ¶
func NewGetUserGroupsParams() *GetUserGroupsParams
NewGetUserGroupsParams creates a new GetUserGroupsParams 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 NewGetUserGroupsParamsWithContext ¶
func NewGetUserGroupsParamsWithContext(ctx context.Context) *GetUserGroupsParams
NewGetUserGroupsParamsWithContext creates a new GetUserGroupsParams object with the ability to set a context for a request.
func NewGetUserGroupsParamsWithHTTPClient ¶
func NewGetUserGroupsParamsWithHTTPClient(client *http.Client) *GetUserGroupsParams
NewGetUserGroupsParamsWithHTTPClient creates a new GetUserGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserGroupsParamsWithTimeout ¶
func NewGetUserGroupsParamsWithTimeout(timeout time.Duration) *GetUserGroupsParams
NewGetUserGroupsParamsWithTimeout creates a new GetUserGroupsParams object with the ability to set a timeout on a request.
func (*GetUserGroupsParams) SetContext ¶
func (o *GetUserGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the get user groups params
func (*GetUserGroupsParams) SetDefaults ¶
func (o *GetUserGroupsParams) SetDefaults()
SetDefaults hydrates default values in the get user groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserGroupsParams) SetHTTPClient ¶
func (o *GetUserGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user groups params
func (*GetUserGroupsParams) SetTimeout ¶
func (o *GetUserGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user groups params
func (*GetUserGroupsParams) WithContext ¶
func (o *GetUserGroupsParams) WithContext(ctx context.Context) *GetUserGroupsParams
WithContext adds the context to the get user groups params
func (*GetUserGroupsParams) WithDefaults ¶
func (o *GetUserGroupsParams) WithDefaults() *GetUserGroupsParams
WithDefaults hydrates default values in the get user groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserGroupsParams) WithHTTPClient ¶
func (o *GetUserGroupsParams) WithHTTPClient(client *http.Client) *GetUserGroupsParams
WithHTTPClient adds the HTTPClient to the get user groups params
func (*GetUserGroupsParams) WithTimeout ¶
func (o *GetUserGroupsParams) WithTimeout(timeout time.Duration) *GetUserGroupsParams
WithTimeout adds the timeout to the get user groups params
func (*GetUserGroupsParams) WriteToRequest ¶
func (o *GetUserGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserGroupsReader ¶
type GetUserGroupsReader struct {
// contains filtered or unexported fields
}
GetUserGroupsReader is a Reader for the GetUserGroups structure.
func (*GetUserGroupsReader) ReadResponse ¶
func (o *GetUserGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserGroupsUnauthorized ¶
type GetUserGroupsUnauthorized struct { }
GetUserGroupsUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetUserGroupsUnauthorized ¶
func NewGetUserGroupsUnauthorized() *GetUserGroupsUnauthorized
NewGetUserGroupsUnauthorized creates a GetUserGroupsUnauthorized with default headers values
func (*GetUserGroupsUnauthorized) Error ¶
func (o *GetUserGroupsUnauthorized) Error() string
func (*GetUserGroupsUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetUserGroupsUnauthorized) IsClientError() bool
IsClientError returns true when this get user groups unauthorized response has a 4xx status code
func (*GetUserGroupsUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetUserGroupsUnauthorized) IsCode(code int) bool
IsCode returns true when this get user groups unauthorized response a status code equal to that given
func (*GetUserGroupsUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetUserGroupsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get user groups unauthorized response has a 3xx status code
func (*GetUserGroupsUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetUserGroupsUnauthorized) IsServerError() bool
IsServerError returns true when this get user groups unauthorized response has a 5xx status code
func (*GetUserGroupsUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetUserGroupsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get user groups unauthorized response has a 2xx status code
func (*GetUserGroupsUnauthorized) String ¶ added in v1.19.1
func (o *GetUserGroupsUnauthorized) String() string
type GetUserNotFound ¶
type GetUserNotFound struct { }
GetUserNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewGetUserNotFound ¶
func NewGetUserNotFound() *GetUserNotFound
NewGetUserNotFound creates a GetUserNotFound with default headers values
func (*GetUserNotFound) Error ¶
func (o *GetUserNotFound) Error() string
func (*GetUserNotFound) IsClientError ¶ added in v1.19.1
func (o *GetUserNotFound) IsClientError() bool
IsClientError returns true when this get user not found response has a 4xx status code
func (*GetUserNotFound) IsCode ¶ added in v1.19.1
func (o *GetUserNotFound) IsCode(code int) bool
IsCode returns true when this get user not found response a status code equal to that given
func (*GetUserNotFound) IsRedirect ¶ added in v1.19.1
func (o *GetUserNotFound) IsRedirect() bool
IsRedirect returns true when this get user not found response has a 3xx status code
func (*GetUserNotFound) IsServerError ¶ added in v1.19.1
func (o *GetUserNotFound) IsServerError() bool
IsServerError returns true when this get user not found response has a 5xx status code
func (*GetUserNotFound) IsSuccess ¶ added in v1.19.1
func (o *GetUserNotFound) IsSuccess() bool
IsSuccess returns true when this get user not found response has a 2xx status code
func (*GetUserNotFound) String ¶ added in v1.19.1
func (o *GetUserNotFound) String() string
type GetUserOK ¶
type GetUserOK struct {
Payload *models.UserEntity
}
GetUserOK describes a response with status code 200, with default header values.
successful operation
func NewGetUserOK ¶
func NewGetUserOK() *GetUserOK
NewGetUserOK creates a GetUserOK with default headers values
func (*GetUserOK) GetPayload ¶
func (o *GetUserOK) GetPayload() *models.UserEntity
func (*GetUserOK) IsClientError ¶ added in v1.19.1
IsClientError returns true when this get user o k response has a 4xx status code
func (*GetUserOK) IsCode ¶ added in v1.19.1
IsCode returns true when this get user o k response a status code equal to that given
func (*GetUserOK) IsRedirect ¶ added in v1.19.1
IsRedirect returns true when this get user o k response has a 3xx status code
func (*GetUserOK) IsServerError ¶ added in v1.19.1
IsServerError returns true when this get user o k response has a 5xx status code
type GetUserParams ¶
type GetUserParams struct { /* ID. The user id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserParams contains all the parameters to send to the API endpoint
for the get user operation. Typically these are written to a http.Request.
func NewGetUserParams ¶
func NewGetUserParams() *GetUserParams
NewGetUserParams creates a new GetUserParams 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 NewGetUserParamsWithContext ¶
func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams
NewGetUserParamsWithContext creates a new GetUserParams object with the ability to set a context for a request.
func NewGetUserParamsWithHTTPClient ¶
func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams
NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserParamsWithTimeout ¶
func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams
NewGetUserParamsWithTimeout creates a new GetUserParams object with the ability to set a timeout on a request.
func (*GetUserParams) SetContext ¶
func (o *GetUserParams) SetContext(ctx context.Context)
SetContext adds the context to the get user params
func (*GetUserParams) SetDefaults ¶
func (o *GetUserParams) SetDefaults()
SetDefaults hydrates default values in the get user params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserParams) SetHTTPClient ¶
func (o *GetUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) SetID ¶
func (o *GetUserParams) SetID(id string)
SetID adds the id to the get user params
func (*GetUserParams) SetTimeout ¶
func (o *GetUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user params
func (*GetUserParams) WithContext ¶
func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
WithContext adds the context to the get user params
func (*GetUserParams) WithDefaults ¶
func (o *GetUserParams) WithDefaults() *GetUserParams
WithDefaults hydrates default values in the get user params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserParams) WithHTTPClient ¶
func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
WithHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) WithID ¶
func (o *GetUserParams) WithID(id string) *GetUserParams
WithID adds the id to the get user params
func (*GetUserParams) WithTimeout ¶
func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
WithTimeout adds the timeout to the get user params
func (*GetUserParams) WriteToRequest ¶
func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserReader ¶
type GetUserReader struct {
// contains filtered or unexported fields
}
GetUserReader is a Reader for the GetUser structure.
func (*GetUserReader) ReadResponse ¶
func (o *GetUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserUnauthorized ¶
type GetUserUnauthorized struct { }
GetUserUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetUserUnauthorized ¶
func NewGetUserUnauthorized() *GetUserUnauthorized
NewGetUserUnauthorized creates a GetUserUnauthorized with default headers values
func (*GetUserUnauthorized) Error ¶
func (o *GetUserUnauthorized) Error() string
func (*GetUserUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetUserUnauthorized) IsClientError() bool
IsClientError returns true when this get user unauthorized response has a 4xx status code
func (*GetUserUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetUserUnauthorized) IsCode(code int) bool
IsCode returns true when this get user unauthorized response a status code equal to that given
func (*GetUserUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this get user unauthorized response has a 3xx status code
func (*GetUserUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetUserUnauthorized) IsServerError() bool
IsServerError returns true when this get user unauthorized response has a 5xx status code
func (*GetUserUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this get user unauthorized response has a 2xx status code
func (*GetUserUnauthorized) String ¶ added in v1.19.1
func (o *GetUserUnauthorized) String() string
type GetUsersBadRequest ¶
type GetUsersBadRequest struct { }
GetUsersBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewGetUsersBadRequest ¶
func NewGetUsersBadRequest() *GetUsersBadRequest
NewGetUsersBadRequest creates a GetUsersBadRequest with default headers values
func (*GetUsersBadRequest) Error ¶
func (o *GetUsersBadRequest) Error() string
func (*GetUsersBadRequest) IsClientError ¶ added in v1.19.1
func (o *GetUsersBadRequest) IsClientError() bool
IsClientError returns true when this get users bad request response has a 4xx status code
func (*GetUsersBadRequest) IsCode ¶ added in v1.19.1
func (o *GetUsersBadRequest) IsCode(code int) bool
IsCode returns true when this get users bad request response a status code equal to that given
func (*GetUsersBadRequest) IsRedirect ¶ added in v1.19.1
func (o *GetUsersBadRequest) IsRedirect() bool
IsRedirect returns true when this get users bad request response has a 3xx status code
func (*GetUsersBadRequest) IsServerError ¶ added in v1.19.1
func (o *GetUsersBadRequest) IsServerError() bool
IsServerError returns true when this get users bad request response has a 5xx status code
func (*GetUsersBadRequest) IsSuccess ¶ added in v1.19.1
func (o *GetUsersBadRequest) IsSuccess() bool
IsSuccess returns true when this get users bad request response has a 2xx status code
func (*GetUsersBadRequest) String ¶ added in v1.19.1
func (o *GetUsersBadRequest) String() string
type GetUsersConflict ¶
type GetUsersConflict struct { }
GetUsersConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewGetUsersConflict ¶
func NewGetUsersConflict() *GetUsersConflict
NewGetUsersConflict creates a GetUsersConflict with default headers values
func (*GetUsersConflict) Error ¶
func (o *GetUsersConflict) Error() string
func (*GetUsersConflict) IsClientError ¶ added in v1.19.1
func (o *GetUsersConflict) IsClientError() bool
IsClientError returns true when this get users conflict response has a 4xx status code
func (*GetUsersConflict) IsCode ¶ added in v1.19.1
func (o *GetUsersConflict) IsCode(code int) bool
IsCode returns true when this get users conflict response a status code equal to that given
func (*GetUsersConflict) IsRedirect ¶ added in v1.19.1
func (o *GetUsersConflict) IsRedirect() bool
IsRedirect returns true when this get users conflict response has a 3xx status code
func (*GetUsersConflict) IsServerError ¶ added in v1.19.1
func (o *GetUsersConflict) IsServerError() bool
IsServerError returns true when this get users conflict response has a 5xx status code
func (*GetUsersConflict) IsSuccess ¶ added in v1.19.1
func (o *GetUsersConflict) IsSuccess() bool
IsSuccess returns true when this get users conflict response has a 2xx status code
func (*GetUsersConflict) String ¶ added in v1.19.1
func (o *GetUsersConflict) String() string
type GetUsersForbidden ¶
type GetUsersForbidden struct { }
GetUsersForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewGetUsersForbidden ¶
func NewGetUsersForbidden() *GetUsersForbidden
NewGetUsersForbidden creates a GetUsersForbidden with default headers values
func (*GetUsersForbidden) Error ¶
func (o *GetUsersForbidden) Error() string
func (*GetUsersForbidden) IsClientError ¶ added in v1.19.1
func (o *GetUsersForbidden) IsClientError() bool
IsClientError returns true when this get users forbidden response has a 4xx status code
func (*GetUsersForbidden) IsCode ¶ added in v1.19.1
func (o *GetUsersForbidden) IsCode(code int) bool
IsCode returns true when this get users forbidden response a status code equal to that given
func (*GetUsersForbidden) IsRedirect ¶ added in v1.19.1
func (o *GetUsersForbidden) IsRedirect() bool
IsRedirect returns true when this get users forbidden response has a 3xx status code
func (*GetUsersForbidden) IsServerError ¶ added in v1.19.1
func (o *GetUsersForbidden) IsServerError() bool
IsServerError returns true when this get users forbidden response has a 5xx status code
func (*GetUsersForbidden) IsSuccess ¶ added in v1.19.1
func (o *GetUsersForbidden) IsSuccess() bool
IsSuccess returns true when this get users forbidden response has a 2xx status code
func (*GetUsersForbidden) String ¶ added in v1.19.1
func (o *GetUsersForbidden) String() string
type GetUsersNotFound ¶
type GetUsersNotFound struct { }
GetUsersNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewGetUsersNotFound ¶
func NewGetUsersNotFound() *GetUsersNotFound
NewGetUsersNotFound creates a GetUsersNotFound with default headers values
func (*GetUsersNotFound) Error ¶
func (o *GetUsersNotFound) Error() string
func (*GetUsersNotFound) IsClientError ¶ added in v1.19.1
func (o *GetUsersNotFound) IsClientError() bool
IsClientError returns true when this get users not found response has a 4xx status code
func (*GetUsersNotFound) IsCode ¶ added in v1.19.1
func (o *GetUsersNotFound) IsCode(code int) bool
IsCode returns true when this get users not found response a status code equal to that given
func (*GetUsersNotFound) IsRedirect ¶ added in v1.19.1
func (o *GetUsersNotFound) IsRedirect() bool
IsRedirect returns true when this get users not found response has a 3xx status code
func (*GetUsersNotFound) IsServerError ¶ added in v1.19.1
func (o *GetUsersNotFound) IsServerError() bool
IsServerError returns true when this get users not found response has a 5xx status code
func (*GetUsersNotFound) IsSuccess ¶ added in v1.19.1
func (o *GetUsersNotFound) IsSuccess() bool
IsSuccess returns true when this get users not found response has a 2xx status code
func (*GetUsersNotFound) String ¶ added in v1.19.1
func (o *GetUsersNotFound) String() string
type GetUsersOK ¶
type GetUsersOK struct {
Payload *models.UsersEntity
}
GetUsersOK describes a response with status code 200, with default header values.
successful operation
func NewGetUsersOK ¶
func NewGetUsersOK() *GetUsersOK
NewGetUsersOK creates a GetUsersOK with default headers values
func (*GetUsersOK) Error ¶
func (o *GetUsersOK) Error() string
func (*GetUsersOK) GetPayload ¶
func (o *GetUsersOK) GetPayload() *models.UsersEntity
func (*GetUsersOK) IsClientError ¶ added in v1.19.1
func (o *GetUsersOK) IsClientError() bool
IsClientError returns true when this get users o k response has a 4xx status code
func (*GetUsersOK) IsCode ¶ added in v1.19.1
func (o *GetUsersOK) IsCode(code int) bool
IsCode returns true when this get users o k response a status code equal to that given
func (*GetUsersOK) IsRedirect ¶ added in v1.19.1
func (o *GetUsersOK) IsRedirect() bool
IsRedirect returns true when this get users o k response has a 3xx status code
func (*GetUsersOK) IsServerError ¶ added in v1.19.1
func (o *GetUsersOK) IsServerError() bool
IsServerError returns true when this get users o k response has a 5xx status code
func (*GetUsersOK) IsSuccess ¶ added in v1.19.1
func (o *GetUsersOK) IsSuccess() bool
IsSuccess returns true when this get users o k response has a 2xx status code
func (*GetUsersOK) String ¶ added in v1.19.1
func (o *GetUsersOK) String() string
type GetUsersParams ¶
type GetUsersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsersParams contains all the parameters to send to the API endpoint
for the get users operation. Typically these are written to a http.Request.
func NewGetUsersParams ¶
func NewGetUsersParams() *GetUsersParams
NewGetUsersParams creates a new GetUsersParams 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 NewGetUsersParamsWithContext ¶
func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams
NewGetUsersParamsWithContext creates a new GetUsersParams object with the ability to set a context for a request.
func NewGetUsersParamsWithHTTPClient ¶
func NewGetUsersParamsWithHTTPClient(client *http.Client) *GetUsersParams
NewGetUsersParamsWithHTTPClient creates a new GetUsersParams object with the ability to set a custom HTTPClient for a request.
func NewGetUsersParamsWithTimeout ¶
func NewGetUsersParamsWithTimeout(timeout time.Duration) *GetUsersParams
NewGetUsersParamsWithTimeout creates a new GetUsersParams object with the ability to set a timeout on a request.
func (*GetUsersParams) SetContext ¶
func (o *GetUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the get users params
func (*GetUsersParams) SetDefaults ¶
func (o *GetUsersParams) SetDefaults()
SetDefaults hydrates default values in the get users params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersParams) SetHTTPClient ¶
func (o *GetUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users params
func (*GetUsersParams) SetTimeout ¶
func (o *GetUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users params
func (*GetUsersParams) WithContext ¶
func (o *GetUsersParams) WithContext(ctx context.Context) *GetUsersParams
WithContext adds the context to the get users params
func (*GetUsersParams) WithDefaults ¶
func (o *GetUsersParams) WithDefaults() *GetUsersParams
WithDefaults hydrates default values in the get users params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersParams) WithHTTPClient ¶
func (o *GetUsersParams) WithHTTPClient(client *http.Client) *GetUsersParams
WithHTTPClient adds the HTTPClient to the get users params
func (*GetUsersParams) WithTimeout ¶
func (o *GetUsersParams) WithTimeout(timeout time.Duration) *GetUsersParams
WithTimeout adds the timeout to the get users params
func (*GetUsersParams) WriteToRequest ¶
func (o *GetUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersReader ¶
type GetUsersReader struct {
// contains filtered or unexported fields
}
GetUsersReader is a Reader for the GetUsers structure.
func (*GetUsersReader) ReadResponse ¶
func (o *GetUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersUnauthorized ¶
type GetUsersUnauthorized struct { }
GetUsersUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewGetUsersUnauthorized ¶
func NewGetUsersUnauthorized() *GetUsersUnauthorized
NewGetUsersUnauthorized creates a GetUsersUnauthorized with default headers values
func (*GetUsersUnauthorized) Error ¶
func (o *GetUsersUnauthorized) Error() string
func (*GetUsersUnauthorized) IsClientError ¶ added in v1.19.1
func (o *GetUsersUnauthorized) IsClientError() bool
IsClientError returns true when this get users unauthorized response has a 4xx status code
func (*GetUsersUnauthorized) IsCode ¶ added in v1.19.1
func (o *GetUsersUnauthorized) IsCode(code int) bool
IsCode returns true when this get users unauthorized response a status code equal to that given
func (*GetUsersUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *GetUsersUnauthorized) IsRedirect() bool
IsRedirect returns true when this get users unauthorized response has a 3xx status code
func (*GetUsersUnauthorized) IsServerError ¶ added in v1.19.1
func (o *GetUsersUnauthorized) IsServerError() bool
IsServerError returns true when this get users unauthorized response has a 5xx status code
func (*GetUsersUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *GetUsersUnauthorized) IsSuccess() bool
IsSuccess returns true when this get users unauthorized response has a 2xx status code
func (*GetUsersUnauthorized) String ¶ added in v1.19.1
func (o *GetUsersUnauthorized) String() string
type RemoveUserBadRequest ¶
type RemoveUserBadRequest struct { }
RemoveUserBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewRemoveUserBadRequest ¶
func NewRemoveUserBadRequest() *RemoveUserBadRequest
NewRemoveUserBadRequest creates a RemoveUserBadRequest with default headers values
func (*RemoveUserBadRequest) Error ¶
func (o *RemoveUserBadRequest) Error() string
func (*RemoveUserBadRequest) IsClientError ¶ added in v1.19.1
func (o *RemoveUserBadRequest) IsClientError() bool
IsClientError returns true when this remove user bad request response has a 4xx status code
func (*RemoveUserBadRequest) IsCode ¶ added in v1.19.1
func (o *RemoveUserBadRequest) IsCode(code int) bool
IsCode returns true when this remove user bad request response a status code equal to that given
func (*RemoveUserBadRequest) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserBadRequest) IsRedirect() bool
IsRedirect returns true when this remove user bad request response has a 3xx status code
func (*RemoveUserBadRequest) IsServerError ¶ added in v1.19.1
func (o *RemoveUserBadRequest) IsServerError() bool
IsServerError returns true when this remove user bad request response has a 5xx status code
func (*RemoveUserBadRequest) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserBadRequest) IsSuccess() bool
IsSuccess returns true when this remove user bad request response has a 2xx status code
func (*RemoveUserBadRequest) String ¶ added in v1.19.1
func (o *RemoveUserBadRequest) String() string
type RemoveUserConflict ¶
type RemoveUserConflict struct { }
RemoveUserConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewRemoveUserConflict ¶
func NewRemoveUserConflict() *RemoveUserConflict
NewRemoveUserConflict creates a RemoveUserConflict with default headers values
func (*RemoveUserConflict) Error ¶
func (o *RemoveUserConflict) Error() string
func (*RemoveUserConflict) IsClientError ¶ added in v1.19.1
func (o *RemoveUserConflict) IsClientError() bool
IsClientError returns true when this remove user conflict response has a 4xx status code
func (*RemoveUserConflict) IsCode ¶ added in v1.19.1
func (o *RemoveUserConflict) IsCode(code int) bool
IsCode returns true when this remove user conflict response a status code equal to that given
func (*RemoveUserConflict) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserConflict) IsRedirect() bool
IsRedirect returns true when this remove user conflict response has a 3xx status code
func (*RemoveUserConflict) IsServerError ¶ added in v1.19.1
func (o *RemoveUserConflict) IsServerError() bool
IsServerError returns true when this remove user conflict response has a 5xx status code
func (*RemoveUserConflict) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserConflict) IsSuccess() bool
IsSuccess returns true when this remove user conflict response has a 2xx status code
func (*RemoveUserConflict) String ¶ added in v1.19.1
func (o *RemoveUserConflict) String() string
type RemoveUserForbidden ¶
type RemoveUserForbidden struct { }
RemoveUserForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewRemoveUserForbidden ¶
func NewRemoveUserForbidden() *RemoveUserForbidden
NewRemoveUserForbidden creates a RemoveUserForbidden with default headers values
func (*RemoveUserForbidden) Error ¶
func (o *RemoveUserForbidden) Error() string
func (*RemoveUserForbidden) IsClientError ¶ added in v1.19.1
func (o *RemoveUserForbidden) IsClientError() bool
IsClientError returns true when this remove user forbidden response has a 4xx status code
func (*RemoveUserForbidden) IsCode ¶ added in v1.19.1
func (o *RemoveUserForbidden) IsCode(code int) bool
IsCode returns true when this remove user forbidden response a status code equal to that given
func (*RemoveUserForbidden) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserForbidden) IsRedirect() bool
IsRedirect returns true when this remove user forbidden response has a 3xx status code
func (*RemoveUserForbidden) IsServerError ¶ added in v1.19.1
func (o *RemoveUserForbidden) IsServerError() bool
IsServerError returns true when this remove user forbidden response has a 5xx status code
func (*RemoveUserForbidden) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserForbidden) IsSuccess() bool
IsSuccess returns true when this remove user forbidden response has a 2xx status code
func (*RemoveUserForbidden) String ¶ added in v1.19.1
func (o *RemoveUserForbidden) String() string
type RemoveUserGroupBadRequest ¶
type RemoveUserGroupBadRequest struct { }
RemoveUserGroupBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewRemoveUserGroupBadRequest ¶
func NewRemoveUserGroupBadRequest() *RemoveUserGroupBadRequest
NewRemoveUserGroupBadRequest creates a RemoveUserGroupBadRequest with default headers values
func (*RemoveUserGroupBadRequest) Error ¶
func (o *RemoveUserGroupBadRequest) Error() string
func (*RemoveUserGroupBadRequest) IsClientError ¶ added in v1.19.1
func (o *RemoveUserGroupBadRequest) IsClientError() bool
IsClientError returns true when this remove user group bad request response has a 4xx status code
func (*RemoveUserGroupBadRequest) IsCode ¶ added in v1.19.1
func (o *RemoveUserGroupBadRequest) IsCode(code int) bool
IsCode returns true when this remove user group bad request response a status code equal to that given
func (*RemoveUserGroupBadRequest) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this remove user group bad request response has a 3xx status code
func (*RemoveUserGroupBadRequest) IsServerError ¶ added in v1.19.1
func (o *RemoveUserGroupBadRequest) IsServerError() bool
IsServerError returns true when this remove user group bad request response has a 5xx status code
func (*RemoveUserGroupBadRequest) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this remove user group bad request response has a 2xx status code
func (*RemoveUserGroupBadRequest) String ¶ added in v1.19.1
func (o *RemoveUserGroupBadRequest) String() string
type RemoveUserGroupConflict ¶
type RemoveUserGroupConflict struct { }
RemoveUserGroupConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewRemoveUserGroupConflict ¶
func NewRemoveUserGroupConflict() *RemoveUserGroupConflict
NewRemoveUserGroupConflict creates a RemoveUserGroupConflict with default headers values
func (*RemoveUserGroupConflict) Error ¶
func (o *RemoveUserGroupConflict) Error() string
func (*RemoveUserGroupConflict) IsClientError ¶ added in v1.19.1
func (o *RemoveUserGroupConflict) IsClientError() bool
IsClientError returns true when this remove user group conflict response has a 4xx status code
func (*RemoveUserGroupConflict) IsCode ¶ added in v1.19.1
func (o *RemoveUserGroupConflict) IsCode(code int) bool
IsCode returns true when this remove user group conflict response a status code equal to that given
func (*RemoveUserGroupConflict) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserGroupConflict) IsRedirect() bool
IsRedirect returns true when this remove user group conflict response has a 3xx status code
func (*RemoveUserGroupConflict) IsServerError ¶ added in v1.19.1
func (o *RemoveUserGroupConflict) IsServerError() bool
IsServerError returns true when this remove user group conflict response has a 5xx status code
func (*RemoveUserGroupConflict) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserGroupConflict) IsSuccess() bool
IsSuccess returns true when this remove user group conflict response has a 2xx status code
func (*RemoveUserGroupConflict) String ¶ added in v1.19.1
func (o *RemoveUserGroupConflict) String() string
type RemoveUserGroupForbidden ¶
type RemoveUserGroupForbidden struct { }
RemoveUserGroupForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewRemoveUserGroupForbidden ¶
func NewRemoveUserGroupForbidden() *RemoveUserGroupForbidden
NewRemoveUserGroupForbidden creates a RemoveUserGroupForbidden with default headers values
func (*RemoveUserGroupForbidden) Error ¶
func (o *RemoveUserGroupForbidden) Error() string
func (*RemoveUserGroupForbidden) IsClientError ¶ added in v1.19.1
func (o *RemoveUserGroupForbidden) IsClientError() bool
IsClientError returns true when this remove user group forbidden response has a 4xx status code
func (*RemoveUserGroupForbidden) IsCode ¶ added in v1.19.1
func (o *RemoveUserGroupForbidden) IsCode(code int) bool
IsCode returns true when this remove user group forbidden response a status code equal to that given
func (*RemoveUserGroupForbidden) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserGroupForbidden) IsRedirect() bool
IsRedirect returns true when this remove user group forbidden response has a 3xx status code
func (*RemoveUserGroupForbidden) IsServerError ¶ added in v1.19.1
func (o *RemoveUserGroupForbidden) IsServerError() bool
IsServerError returns true when this remove user group forbidden response has a 5xx status code
func (*RemoveUserGroupForbidden) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserGroupForbidden) IsSuccess() bool
IsSuccess returns true when this remove user group forbidden response has a 2xx status code
func (*RemoveUserGroupForbidden) String ¶ added in v1.19.1
func (o *RemoveUserGroupForbidden) String() string
type RemoveUserGroupNotFound ¶
type RemoveUserGroupNotFound struct { }
RemoveUserGroupNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewRemoveUserGroupNotFound ¶
func NewRemoveUserGroupNotFound() *RemoveUserGroupNotFound
NewRemoveUserGroupNotFound creates a RemoveUserGroupNotFound with default headers values
func (*RemoveUserGroupNotFound) Error ¶
func (o *RemoveUserGroupNotFound) Error() string
func (*RemoveUserGroupNotFound) IsClientError ¶ added in v1.19.1
func (o *RemoveUserGroupNotFound) IsClientError() bool
IsClientError returns true when this remove user group not found response has a 4xx status code
func (*RemoveUserGroupNotFound) IsCode ¶ added in v1.19.1
func (o *RemoveUserGroupNotFound) IsCode(code int) bool
IsCode returns true when this remove user group not found response a status code equal to that given
func (*RemoveUserGroupNotFound) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserGroupNotFound) IsRedirect() bool
IsRedirect returns true when this remove user group not found response has a 3xx status code
func (*RemoveUserGroupNotFound) IsServerError ¶ added in v1.19.1
func (o *RemoveUserGroupNotFound) IsServerError() bool
IsServerError returns true when this remove user group not found response has a 5xx status code
func (*RemoveUserGroupNotFound) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserGroupNotFound) IsSuccess() bool
IsSuccess returns true when this remove user group not found response has a 2xx status code
func (*RemoveUserGroupNotFound) String ¶ added in v1.19.1
func (o *RemoveUserGroupNotFound) String() string
type RemoveUserGroupOK ¶
type RemoveUserGroupOK struct {
Payload *models.UserGroupEntity
}
RemoveUserGroupOK describes a response with status code 200, with default header values.
successful operation
func NewRemoveUserGroupOK ¶
func NewRemoveUserGroupOK() *RemoveUserGroupOK
NewRemoveUserGroupOK creates a RemoveUserGroupOK with default headers values
func (*RemoveUserGroupOK) Error ¶
func (o *RemoveUserGroupOK) Error() string
func (*RemoveUserGroupOK) GetPayload ¶
func (o *RemoveUserGroupOK) GetPayload() *models.UserGroupEntity
func (*RemoveUserGroupOK) IsClientError ¶ added in v1.19.1
func (o *RemoveUserGroupOK) IsClientError() bool
IsClientError returns true when this remove user group o k response has a 4xx status code
func (*RemoveUserGroupOK) IsCode ¶ added in v1.19.1
func (o *RemoveUserGroupOK) IsCode(code int) bool
IsCode returns true when this remove user group o k response a status code equal to that given
func (*RemoveUserGroupOK) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserGroupOK) IsRedirect() bool
IsRedirect returns true when this remove user group o k response has a 3xx status code
func (*RemoveUserGroupOK) IsServerError ¶ added in v1.19.1
func (o *RemoveUserGroupOK) IsServerError() bool
IsServerError returns true when this remove user group o k response has a 5xx status code
func (*RemoveUserGroupOK) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserGroupOK) IsSuccess() bool
IsSuccess returns true when this remove user group o k response has a 2xx status code
func (*RemoveUserGroupOK) String ¶ added in v1.19.1
func (o *RemoveUserGroupOK) String() string
type RemoveUserGroupParams ¶
type RemoveUserGroupParams struct { /* ClientID. If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. */ ClientID *string /* DisconnectedNodeAcknowledged. Acknowledges that this node is disconnected to allow for mutable requests to proceed. */ DisconnectedNodeAcknowledged *bool /* ID. The user group id. */ ID string /* Version. The revision is used to verify the client is working with the latest version of the flow. */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveUserGroupParams contains all the parameters to send to the API endpoint
for the remove user group operation. Typically these are written to a http.Request.
func NewRemoveUserGroupParams ¶
func NewRemoveUserGroupParams() *RemoveUserGroupParams
NewRemoveUserGroupParams creates a new RemoveUserGroupParams 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 NewRemoveUserGroupParamsWithContext ¶
func NewRemoveUserGroupParamsWithContext(ctx context.Context) *RemoveUserGroupParams
NewRemoveUserGroupParamsWithContext creates a new RemoveUserGroupParams object with the ability to set a context for a request.
func NewRemoveUserGroupParamsWithHTTPClient ¶
func NewRemoveUserGroupParamsWithHTTPClient(client *http.Client) *RemoveUserGroupParams
NewRemoveUserGroupParamsWithHTTPClient creates a new RemoveUserGroupParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveUserGroupParamsWithTimeout ¶
func NewRemoveUserGroupParamsWithTimeout(timeout time.Duration) *RemoveUserGroupParams
NewRemoveUserGroupParamsWithTimeout creates a new RemoveUserGroupParams object with the ability to set a timeout on a request.
func (*RemoveUserGroupParams) SetClientID ¶
func (o *RemoveUserGroupParams) SetClientID(clientID *string)
SetClientID adds the clientId to the remove user group params
func (*RemoveUserGroupParams) SetContext ¶
func (o *RemoveUserGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the remove user group params
func (*RemoveUserGroupParams) SetDefaults ¶
func (o *RemoveUserGroupParams) SetDefaults()
SetDefaults hydrates default values in the remove user group params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveUserGroupParams) SetDisconnectedNodeAcknowledged ¶
func (o *RemoveUserGroupParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)
SetDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove user group params
func (*RemoveUserGroupParams) SetHTTPClient ¶
func (o *RemoveUserGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove user group params
func (*RemoveUserGroupParams) SetID ¶
func (o *RemoveUserGroupParams) SetID(id string)
SetID adds the id to the remove user group params
func (*RemoveUserGroupParams) SetTimeout ¶
func (o *RemoveUserGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove user group params
func (*RemoveUserGroupParams) SetVersion ¶
func (o *RemoveUserGroupParams) SetVersion(version *string)
SetVersion adds the version to the remove user group params
func (*RemoveUserGroupParams) WithClientID ¶
func (o *RemoveUserGroupParams) WithClientID(clientID *string) *RemoveUserGroupParams
WithClientID adds the clientID to the remove user group params
func (*RemoveUserGroupParams) WithContext ¶
func (o *RemoveUserGroupParams) WithContext(ctx context.Context) *RemoveUserGroupParams
WithContext adds the context to the remove user group params
func (*RemoveUserGroupParams) WithDefaults ¶
func (o *RemoveUserGroupParams) WithDefaults() *RemoveUserGroupParams
WithDefaults hydrates default values in the remove user group params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveUserGroupParams) WithDisconnectedNodeAcknowledged ¶
func (o *RemoveUserGroupParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveUserGroupParams
WithDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove user group params
func (*RemoveUserGroupParams) WithHTTPClient ¶
func (o *RemoveUserGroupParams) WithHTTPClient(client *http.Client) *RemoveUserGroupParams
WithHTTPClient adds the HTTPClient to the remove user group params
func (*RemoveUserGroupParams) WithID ¶
func (o *RemoveUserGroupParams) WithID(id string) *RemoveUserGroupParams
WithID adds the id to the remove user group params
func (*RemoveUserGroupParams) WithTimeout ¶
func (o *RemoveUserGroupParams) WithTimeout(timeout time.Duration) *RemoveUserGroupParams
WithTimeout adds the timeout to the remove user group params
func (*RemoveUserGroupParams) WithVersion ¶
func (o *RemoveUserGroupParams) WithVersion(version *string) *RemoveUserGroupParams
WithVersion adds the version to the remove user group params
func (*RemoveUserGroupParams) WriteToRequest ¶
func (o *RemoveUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveUserGroupReader ¶
type RemoveUserGroupReader struct {
// contains filtered or unexported fields
}
RemoveUserGroupReader is a Reader for the RemoveUserGroup structure.
func (*RemoveUserGroupReader) ReadResponse ¶
func (o *RemoveUserGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveUserGroupUnauthorized ¶
type RemoveUserGroupUnauthorized struct { }
RemoveUserGroupUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewRemoveUserGroupUnauthorized ¶
func NewRemoveUserGroupUnauthorized() *RemoveUserGroupUnauthorized
NewRemoveUserGroupUnauthorized creates a RemoveUserGroupUnauthorized with default headers values
func (*RemoveUserGroupUnauthorized) Error ¶
func (o *RemoveUserGroupUnauthorized) Error() string
func (*RemoveUserGroupUnauthorized) IsClientError ¶ added in v1.19.1
func (o *RemoveUserGroupUnauthorized) IsClientError() bool
IsClientError returns true when this remove user group unauthorized response has a 4xx status code
func (*RemoveUserGroupUnauthorized) IsCode ¶ added in v1.19.1
func (o *RemoveUserGroupUnauthorized) IsCode(code int) bool
IsCode returns true when this remove user group unauthorized response a status code equal to that given
func (*RemoveUserGroupUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserGroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove user group unauthorized response has a 3xx status code
func (*RemoveUserGroupUnauthorized) IsServerError ¶ added in v1.19.1
func (o *RemoveUserGroupUnauthorized) IsServerError() bool
IsServerError returns true when this remove user group unauthorized response has a 5xx status code
func (*RemoveUserGroupUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserGroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove user group unauthorized response has a 2xx status code
func (*RemoveUserGroupUnauthorized) String ¶ added in v1.19.1
func (o *RemoveUserGroupUnauthorized) String() string
type RemoveUserNotFound ¶
type RemoveUserNotFound struct { }
RemoveUserNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewRemoveUserNotFound ¶
func NewRemoveUserNotFound() *RemoveUserNotFound
NewRemoveUserNotFound creates a RemoveUserNotFound with default headers values
func (*RemoveUserNotFound) Error ¶
func (o *RemoveUserNotFound) Error() string
func (*RemoveUserNotFound) IsClientError ¶ added in v1.19.1
func (o *RemoveUserNotFound) IsClientError() bool
IsClientError returns true when this remove user not found response has a 4xx status code
func (*RemoveUserNotFound) IsCode ¶ added in v1.19.1
func (o *RemoveUserNotFound) IsCode(code int) bool
IsCode returns true when this remove user not found response a status code equal to that given
func (*RemoveUserNotFound) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserNotFound) IsRedirect() bool
IsRedirect returns true when this remove user not found response has a 3xx status code
func (*RemoveUserNotFound) IsServerError ¶ added in v1.19.1
func (o *RemoveUserNotFound) IsServerError() bool
IsServerError returns true when this remove user not found response has a 5xx status code
func (*RemoveUserNotFound) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserNotFound) IsSuccess() bool
IsSuccess returns true when this remove user not found response has a 2xx status code
func (*RemoveUserNotFound) String ¶ added in v1.19.1
func (o *RemoveUserNotFound) String() string
type RemoveUserOK ¶
type RemoveUserOK struct {
Payload *models.UserEntity
}
RemoveUserOK describes a response with status code 200, with default header values.
successful operation
func NewRemoveUserOK ¶
func NewRemoveUserOK() *RemoveUserOK
NewRemoveUserOK creates a RemoveUserOK with default headers values
func (*RemoveUserOK) Error ¶
func (o *RemoveUserOK) Error() string
func (*RemoveUserOK) GetPayload ¶
func (o *RemoveUserOK) GetPayload() *models.UserEntity
func (*RemoveUserOK) IsClientError ¶ added in v1.19.1
func (o *RemoveUserOK) IsClientError() bool
IsClientError returns true when this remove user o k response has a 4xx status code
func (*RemoveUserOK) IsCode ¶ added in v1.19.1
func (o *RemoveUserOK) IsCode(code int) bool
IsCode returns true when this remove user o k response a status code equal to that given
func (*RemoveUserOK) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserOK) IsRedirect() bool
IsRedirect returns true when this remove user o k response has a 3xx status code
func (*RemoveUserOK) IsServerError ¶ added in v1.19.1
func (o *RemoveUserOK) IsServerError() bool
IsServerError returns true when this remove user o k response has a 5xx status code
func (*RemoveUserOK) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserOK) IsSuccess() bool
IsSuccess returns true when this remove user o k response has a 2xx status code
func (*RemoveUserOK) String ¶ added in v1.19.1
func (o *RemoveUserOK) String() string
type RemoveUserParams ¶
type RemoveUserParams struct { /* ClientID. If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. */ ClientID *string /* DisconnectedNodeAcknowledged. Acknowledges that this node is disconnected to allow for mutable requests to proceed. */ DisconnectedNodeAcknowledged *bool /* ID. The user id. */ ID string /* Version. The revision is used to verify the client is working with the latest version of the flow. */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveUserParams contains all the parameters to send to the API endpoint
for the remove user operation. Typically these are written to a http.Request.
func NewRemoveUserParams ¶
func NewRemoveUserParams() *RemoveUserParams
NewRemoveUserParams creates a new RemoveUserParams 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 NewRemoveUserParamsWithContext ¶
func NewRemoveUserParamsWithContext(ctx context.Context) *RemoveUserParams
NewRemoveUserParamsWithContext creates a new RemoveUserParams object with the ability to set a context for a request.
func NewRemoveUserParamsWithHTTPClient ¶
func NewRemoveUserParamsWithHTTPClient(client *http.Client) *RemoveUserParams
NewRemoveUserParamsWithHTTPClient creates a new RemoveUserParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveUserParamsWithTimeout ¶
func NewRemoveUserParamsWithTimeout(timeout time.Duration) *RemoveUserParams
NewRemoveUserParamsWithTimeout creates a new RemoveUserParams object with the ability to set a timeout on a request.
func (*RemoveUserParams) SetClientID ¶
func (o *RemoveUserParams) SetClientID(clientID *string)
SetClientID adds the clientId to the remove user params
func (*RemoveUserParams) SetContext ¶
func (o *RemoveUserParams) SetContext(ctx context.Context)
SetContext adds the context to the remove user params
func (*RemoveUserParams) SetDefaults ¶
func (o *RemoveUserParams) SetDefaults()
SetDefaults hydrates default values in the remove user params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveUserParams) SetDisconnectedNodeAcknowledged ¶
func (o *RemoveUserParams) SetDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool)
SetDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove user params
func (*RemoveUserParams) SetHTTPClient ¶
func (o *RemoveUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove user params
func (*RemoveUserParams) SetID ¶
func (o *RemoveUserParams) SetID(id string)
SetID adds the id to the remove user params
func (*RemoveUserParams) SetTimeout ¶
func (o *RemoveUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove user params
func (*RemoveUserParams) SetVersion ¶
func (o *RemoveUserParams) SetVersion(version *string)
SetVersion adds the version to the remove user params
func (*RemoveUserParams) WithClientID ¶
func (o *RemoveUserParams) WithClientID(clientID *string) *RemoveUserParams
WithClientID adds the clientID to the remove user params
func (*RemoveUserParams) WithContext ¶
func (o *RemoveUserParams) WithContext(ctx context.Context) *RemoveUserParams
WithContext adds the context to the remove user params
func (*RemoveUserParams) WithDefaults ¶
func (o *RemoveUserParams) WithDefaults() *RemoveUserParams
WithDefaults hydrates default values in the remove user params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveUserParams) WithDisconnectedNodeAcknowledged ¶
func (o *RemoveUserParams) WithDisconnectedNodeAcknowledged(disconnectedNodeAcknowledged *bool) *RemoveUserParams
WithDisconnectedNodeAcknowledged adds the disconnectedNodeAcknowledged to the remove user params
func (*RemoveUserParams) WithHTTPClient ¶
func (o *RemoveUserParams) WithHTTPClient(client *http.Client) *RemoveUserParams
WithHTTPClient adds the HTTPClient to the remove user params
func (*RemoveUserParams) WithID ¶
func (o *RemoveUserParams) WithID(id string) *RemoveUserParams
WithID adds the id to the remove user params
func (*RemoveUserParams) WithTimeout ¶
func (o *RemoveUserParams) WithTimeout(timeout time.Duration) *RemoveUserParams
WithTimeout adds the timeout to the remove user params
func (*RemoveUserParams) WithVersion ¶
func (o *RemoveUserParams) WithVersion(version *string) *RemoveUserParams
WithVersion adds the version to the remove user params
func (*RemoveUserParams) WriteToRequest ¶
func (o *RemoveUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveUserReader ¶
type RemoveUserReader struct {
// contains filtered or unexported fields
}
RemoveUserReader is a Reader for the RemoveUser structure.
func (*RemoveUserReader) ReadResponse ¶
func (o *RemoveUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveUserUnauthorized ¶
type RemoveUserUnauthorized struct { }
RemoveUserUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewRemoveUserUnauthorized ¶
func NewRemoveUserUnauthorized() *RemoveUserUnauthorized
NewRemoveUserUnauthorized creates a RemoveUserUnauthorized with default headers values
func (*RemoveUserUnauthorized) Error ¶
func (o *RemoveUserUnauthorized) Error() string
func (*RemoveUserUnauthorized) IsClientError ¶ added in v1.19.1
func (o *RemoveUserUnauthorized) IsClientError() bool
IsClientError returns true when this remove user unauthorized response has a 4xx status code
func (*RemoveUserUnauthorized) IsCode ¶ added in v1.19.1
func (o *RemoveUserUnauthorized) IsCode(code int) bool
IsCode returns true when this remove user unauthorized response a status code equal to that given
func (*RemoveUserUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *RemoveUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove user unauthorized response has a 3xx status code
func (*RemoveUserUnauthorized) IsServerError ¶ added in v1.19.1
func (o *RemoveUserUnauthorized) IsServerError() bool
IsServerError returns true when this remove user unauthorized response has a 5xx status code
func (*RemoveUserUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *RemoveUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove user unauthorized response has a 2xx status code
func (*RemoveUserUnauthorized) String ¶ added in v1.19.1
func (o *RemoveUserUnauthorized) String() string
type SearchTenantsBadRequest ¶
type SearchTenantsBadRequest struct { }
SearchTenantsBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewSearchTenantsBadRequest ¶
func NewSearchTenantsBadRequest() *SearchTenantsBadRequest
NewSearchTenantsBadRequest creates a SearchTenantsBadRequest with default headers values
func (*SearchTenantsBadRequest) Error ¶
func (o *SearchTenantsBadRequest) Error() string
func (*SearchTenantsBadRequest) IsClientError ¶ added in v1.19.1
func (o *SearchTenantsBadRequest) IsClientError() bool
IsClientError returns true when this search tenants bad request response has a 4xx status code
func (*SearchTenantsBadRequest) IsCode ¶ added in v1.19.1
func (o *SearchTenantsBadRequest) IsCode(code int) bool
IsCode returns true when this search tenants bad request response a status code equal to that given
func (*SearchTenantsBadRequest) IsRedirect ¶ added in v1.19.1
func (o *SearchTenantsBadRequest) IsRedirect() bool
IsRedirect returns true when this search tenants bad request response has a 3xx status code
func (*SearchTenantsBadRequest) IsServerError ¶ added in v1.19.1
func (o *SearchTenantsBadRequest) IsServerError() bool
IsServerError returns true when this search tenants bad request response has a 5xx status code
func (*SearchTenantsBadRequest) IsSuccess ¶ added in v1.19.1
func (o *SearchTenantsBadRequest) IsSuccess() bool
IsSuccess returns true when this search tenants bad request response has a 2xx status code
func (*SearchTenantsBadRequest) String ¶ added in v1.19.1
func (o *SearchTenantsBadRequest) String() string
type SearchTenantsConflict ¶
type SearchTenantsConflict struct { }
SearchTenantsConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewSearchTenantsConflict ¶
func NewSearchTenantsConflict() *SearchTenantsConflict
NewSearchTenantsConflict creates a SearchTenantsConflict with default headers values
func (*SearchTenantsConflict) Error ¶
func (o *SearchTenantsConflict) Error() string
func (*SearchTenantsConflict) IsClientError ¶ added in v1.19.1
func (o *SearchTenantsConflict) IsClientError() bool
IsClientError returns true when this search tenants conflict response has a 4xx status code
func (*SearchTenantsConflict) IsCode ¶ added in v1.19.1
func (o *SearchTenantsConflict) IsCode(code int) bool
IsCode returns true when this search tenants conflict response a status code equal to that given
func (*SearchTenantsConflict) IsRedirect ¶ added in v1.19.1
func (o *SearchTenantsConflict) IsRedirect() bool
IsRedirect returns true when this search tenants conflict response has a 3xx status code
func (*SearchTenantsConflict) IsServerError ¶ added in v1.19.1
func (o *SearchTenantsConflict) IsServerError() bool
IsServerError returns true when this search tenants conflict response has a 5xx status code
func (*SearchTenantsConflict) IsSuccess ¶ added in v1.19.1
func (o *SearchTenantsConflict) IsSuccess() bool
IsSuccess returns true when this search tenants conflict response has a 2xx status code
func (*SearchTenantsConflict) String ¶ added in v1.19.1
func (o *SearchTenantsConflict) String() string
type SearchTenantsForbidden ¶
type SearchTenantsForbidden struct { }
SearchTenantsForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewSearchTenantsForbidden ¶
func NewSearchTenantsForbidden() *SearchTenantsForbidden
NewSearchTenantsForbidden creates a SearchTenantsForbidden with default headers values
func (*SearchTenantsForbidden) Error ¶
func (o *SearchTenantsForbidden) Error() string
func (*SearchTenantsForbidden) IsClientError ¶ added in v1.19.1
func (o *SearchTenantsForbidden) IsClientError() bool
IsClientError returns true when this search tenants forbidden response has a 4xx status code
func (*SearchTenantsForbidden) IsCode ¶ added in v1.19.1
func (o *SearchTenantsForbidden) IsCode(code int) bool
IsCode returns true when this search tenants forbidden response a status code equal to that given
func (*SearchTenantsForbidden) IsRedirect ¶ added in v1.19.1
func (o *SearchTenantsForbidden) IsRedirect() bool
IsRedirect returns true when this search tenants forbidden response has a 3xx status code
func (*SearchTenantsForbidden) IsServerError ¶ added in v1.19.1
func (o *SearchTenantsForbidden) IsServerError() bool
IsServerError returns true when this search tenants forbidden response has a 5xx status code
func (*SearchTenantsForbidden) IsSuccess ¶ added in v1.19.1
func (o *SearchTenantsForbidden) IsSuccess() bool
IsSuccess returns true when this search tenants forbidden response has a 2xx status code
func (*SearchTenantsForbidden) String ¶ added in v1.19.1
func (o *SearchTenantsForbidden) String() string
type SearchTenantsNotFound ¶
type SearchTenantsNotFound struct { }
SearchTenantsNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewSearchTenantsNotFound ¶
func NewSearchTenantsNotFound() *SearchTenantsNotFound
NewSearchTenantsNotFound creates a SearchTenantsNotFound with default headers values
func (*SearchTenantsNotFound) Error ¶
func (o *SearchTenantsNotFound) Error() string
func (*SearchTenantsNotFound) IsClientError ¶ added in v1.19.1
func (o *SearchTenantsNotFound) IsClientError() bool
IsClientError returns true when this search tenants not found response has a 4xx status code
func (*SearchTenantsNotFound) IsCode ¶ added in v1.19.1
func (o *SearchTenantsNotFound) IsCode(code int) bool
IsCode returns true when this search tenants not found response a status code equal to that given
func (*SearchTenantsNotFound) IsRedirect ¶ added in v1.19.1
func (o *SearchTenantsNotFound) IsRedirect() bool
IsRedirect returns true when this search tenants not found response has a 3xx status code
func (*SearchTenantsNotFound) IsServerError ¶ added in v1.19.1
func (o *SearchTenantsNotFound) IsServerError() bool
IsServerError returns true when this search tenants not found response has a 5xx status code
func (*SearchTenantsNotFound) IsSuccess ¶ added in v1.19.1
func (o *SearchTenantsNotFound) IsSuccess() bool
IsSuccess returns true when this search tenants not found response has a 2xx status code
func (*SearchTenantsNotFound) String ¶ added in v1.19.1
func (o *SearchTenantsNotFound) String() string
type SearchTenantsOK ¶
type SearchTenantsOK struct {
Payload *models.TenantsEntity
}
SearchTenantsOK describes a response with status code 200, with default header values.
successful operation
func NewSearchTenantsOK ¶
func NewSearchTenantsOK() *SearchTenantsOK
NewSearchTenantsOK creates a SearchTenantsOK with default headers values
func (*SearchTenantsOK) Error ¶
func (o *SearchTenantsOK) Error() string
func (*SearchTenantsOK) GetPayload ¶
func (o *SearchTenantsOK) GetPayload() *models.TenantsEntity
func (*SearchTenantsOK) IsClientError ¶ added in v1.19.1
func (o *SearchTenantsOK) IsClientError() bool
IsClientError returns true when this search tenants o k response has a 4xx status code
func (*SearchTenantsOK) IsCode ¶ added in v1.19.1
func (o *SearchTenantsOK) IsCode(code int) bool
IsCode returns true when this search tenants o k response a status code equal to that given
func (*SearchTenantsOK) IsRedirect ¶ added in v1.19.1
func (o *SearchTenantsOK) IsRedirect() bool
IsRedirect returns true when this search tenants o k response has a 3xx status code
func (*SearchTenantsOK) IsServerError ¶ added in v1.19.1
func (o *SearchTenantsOK) IsServerError() bool
IsServerError returns true when this search tenants o k response has a 5xx status code
func (*SearchTenantsOK) IsSuccess ¶ added in v1.19.1
func (o *SearchTenantsOK) IsSuccess() bool
IsSuccess returns true when this search tenants o k response has a 2xx status code
func (*SearchTenantsOK) String ¶ added in v1.19.1
func (o *SearchTenantsOK) String() string
type SearchTenantsParams ¶
type SearchTenantsParams struct { /* Q. Identity to search for. */ Q string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchTenantsParams contains all the parameters to send to the API endpoint
for the search tenants operation. Typically these are written to a http.Request.
func NewSearchTenantsParams ¶
func NewSearchTenantsParams() *SearchTenantsParams
NewSearchTenantsParams creates a new SearchTenantsParams 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 NewSearchTenantsParamsWithContext ¶
func NewSearchTenantsParamsWithContext(ctx context.Context) *SearchTenantsParams
NewSearchTenantsParamsWithContext creates a new SearchTenantsParams object with the ability to set a context for a request.
func NewSearchTenantsParamsWithHTTPClient ¶
func NewSearchTenantsParamsWithHTTPClient(client *http.Client) *SearchTenantsParams
NewSearchTenantsParamsWithHTTPClient creates a new SearchTenantsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchTenantsParamsWithTimeout ¶
func NewSearchTenantsParamsWithTimeout(timeout time.Duration) *SearchTenantsParams
NewSearchTenantsParamsWithTimeout creates a new SearchTenantsParams object with the ability to set a timeout on a request.
func (*SearchTenantsParams) SetContext ¶
func (o *SearchTenantsParams) SetContext(ctx context.Context)
SetContext adds the context to the search tenants params
func (*SearchTenantsParams) SetDefaults ¶
func (o *SearchTenantsParams) SetDefaults()
SetDefaults hydrates default values in the search tenants params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTenantsParams) SetHTTPClient ¶
func (o *SearchTenantsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search tenants params
func (*SearchTenantsParams) SetQ ¶
func (o *SearchTenantsParams) SetQ(q string)
SetQ adds the q to the search tenants params
func (*SearchTenantsParams) SetTimeout ¶
func (o *SearchTenantsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search tenants params
func (*SearchTenantsParams) WithContext ¶
func (o *SearchTenantsParams) WithContext(ctx context.Context) *SearchTenantsParams
WithContext adds the context to the search tenants params
func (*SearchTenantsParams) WithDefaults ¶
func (o *SearchTenantsParams) WithDefaults() *SearchTenantsParams
WithDefaults hydrates default values in the search tenants params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTenantsParams) WithHTTPClient ¶
func (o *SearchTenantsParams) WithHTTPClient(client *http.Client) *SearchTenantsParams
WithHTTPClient adds the HTTPClient to the search tenants params
func (*SearchTenantsParams) WithQ ¶
func (o *SearchTenantsParams) WithQ(q string) *SearchTenantsParams
WithQ adds the q to the search tenants params
func (*SearchTenantsParams) WithTimeout ¶
func (o *SearchTenantsParams) WithTimeout(timeout time.Duration) *SearchTenantsParams
WithTimeout adds the timeout to the search tenants params
func (*SearchTenantsParams) WriteToRequest ¶
func (o *SearchTenantsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchTenantsReader ¶
type SearchTenantsReader struct {
// contains filtered or unexported fields
}
SearchTenantsReader is a Reader for the SearchTenants structure.
func (*SearchTenantsReader) ReadResponse ¶
func (o *SearchTenantsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchTenantsUnauthorized ¶
type SearchTenantsUnauthorized struct { }
SearchTenantsUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewSearchTenantsUnauthorized ¶
func NewSearchTenantsUnauthorized() *SearchTenantsUnauthorized
NewSearchTenantsUnauthorized creates a SearchTenantsUnauthorized with default headers values
func (*SearchTenantsUnauthorized) Error ¶
func (o *SearchTenantsUnauthorized) Error() string
func (*SearchTenantsUnauthorized) IsClientError ¶ added in v1.19.1
func (o *SearchTenantsUnauthorized) IsClientError() bool
IsClientError returns true when this search tenants unauthorized response has a 4xx status code
func (*SearchTenantsUnauthorized) IsCode ¶ added in v1.19.1
func (o *SearchTenantsUnauthorized) IsCode(code int) bool
IsCode returns true when this search tenants unauthorized response a status code equal to that given
func (*SearchTenantsUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *SearchTenantsUnauthorized) IsRedirect() bool
IsRedirect returns true when this search tenants unauthorized response has a 3xx status code
func (*SearchTenantsUnauthorized) IsServerError ¶ added in v1.19.1
func (o *SearchTenantsUnauthorized) IsServerError() bool
IsServerError returns true when this search tenants unauthorized response has a 5xx status code
func (*SearchTenantsUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *SearchTenantsUnauthorized) IsSuccess() bool
IsSuccess returns true when this search tenants unauthorized response has a 2xx status code
func (*SearchTenantsUnauthorized) String ¶ added in v1.19.1
func (o *SearchTenantsUnauthorized) String() string
type UpdateUserBadRequest ¶
type UpdateUserBadRequest struct { }
UpdateUserBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewUpdateUserBadRequest ¶
func NewUpdateUserBadRequest() *UpdateUserBadRequest
NewUpdateUserBadRequest creates a UpdateUserBadRequest with default headers values
func (*UpdateUserBadRequest) Error ¶
func (o *UpdateUserBadRequest) Error() string
func (*UpdateUserBadRequest) IsClientError ¶ added in v1.19.1
func (o *UpdateUserBadRequest) IsClientError() bool
IsClientError returns true when this update user bad request response has a 4xx status code
func (*UpdateUserBadRequest) IsCode ¶ added in v1.19.1
func (o *UpdateUserBadRequest) IsCode(code int) bool
IsCode returns true when this update user bad request response a status code equal to that given
func (*UpdateUserBadRequest) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserBadRequest) IsRedirect() bool
IsRedirect returns true when this update user bad request response has a 3xx status code
func (*UpdateUserBadRequest) IsServerError ¶ added in v1.19.1
func (o *UpdateUserBadRequest) IsServerError() bool
IsServerError returns true when this update user bad request response has a 5xx status code
func (*UpdateUserBadRequest) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserBadRequest) IsSuccess() bool
IsSuccess returns true when this update user bad request response has a 2xx status code
func (*UpdateUserBadRequest) String ¶ added in v1.19.1
func (o *UpdateUserBadRequest) String() string
type UpdateUserConflict ¶
type UpdateUserConflict struct { }
UpdateUserConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewUpdateUserConflict ¶
func NewUpdateUserConflict() *UpdateUserConflict
NewUpdateUserConflict creates a UpdateUserConflict with default headers values
func (*UpdateUserConflict) Error ¶
func (o *UpdateUserConflict) Error() string
func (*UpdateUserConflict) IsClientError ¶ added in v1.19.1
func (o *UpdateUserConflict) IsClientError() bool
IsClientError returns true when this update user conflict response has a 4xx status code
func (*UpdateUserConflict) IsCode ¶ added in v1.19.1
func (o *UpdateUserConflict) IsCode(code int) bool
IsCode returns true when this update user conflict response a status code equal to that given
func (*UpdateUserConflict) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserConflict) IsRedirect() bool
IsRedirect returns true when this update user conflict response has a 3xx status code
func (*UpdateUserConflict) IsServerError ¶ added in v1.19.1
func (o *UpdateUserConflict) IsServerError() bool
IsServerError returns true when this update user conflict response has a 5xx status code
func (*UpdateUserConflict) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserConflict) IsSuccess() bool
IsSuccess returns true when this update user conflict response has a 2xx status code
func (*UpdateUserConflict) String ¶ added in v1.19.1
func (o *UpdateUserConflict) String() string
type UpdateUserForbidden ¶
type UpdateUserForbidden struct { }
UpdateUserForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewUpdateUserForbidden ¶
func NewUpdateUserForbidden() *UpdateUserForbidden
NewUpdateUserForbidden creates a UpdateUserForbidden with default headers values
func (*UpdateUserForbidden) Error ¶
func (o *UpdateUserForbidden) Error() string
func (*UpdateUserForbidden) IsClientError ¶ added in v1.19.1
func (o *UpdateUserForbidden) IsClientError() bool
IsClientError returns true when this update user forbidden response has a 4xx status code
func (*UpdateUserForbidden) IsCode ¶ added in v1.19.1
func (o *UpdateUserForbidden) IsCode(code int) bool
IsCode returns true when this update user forbidden response a status code equal to that given
func (*UpdateUserForbidden) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserForbidden) IsRedirect() bool
IsRedirect returns true when this update user forbidden response has a 3xx status code
func (*UpdateUserForbidden) IsServerError ¶ added in v1.19.1
func (o *UpdateUserForbidden) IsServerError() bool
IsServerError returns true when this update user forbidden response has a 5xx status code
func (*UpdateUserForbidden) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserForbidden) IsSuccess() bool
IsSuccess returns true when this update user forbidden response has a 2xx status code
func (*UpdateUserForbidden) String ¶ added in v1.19.1
func (o *UpdateUserForbidden) String() string
type UpdateUserGroupBadRequest ¶
type UpdateUserGroupBadRequest struct { }
UpdateUserGroupBadRequest describes a response with status code 400, with default header values.
NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.
func NewUpdateUserGroupBadRequest ¶
func NewUpdateUserGroupBadRequest() *UpdateUserGroupBadRequest
NewUpdateUserGroupBadRequest creates a UpdateUserGroupBadRequest with default headers values
func (*UpdateUserGroupBadRequest) Error ¶
func (o *UpdateUserGroupBadRequest) Error() string
func (*UpdateUserGroupBadRequest) IsClientError ¶ added in v1.19.1
func (o *UpdateUserGroupBadRequest) IsClientError() bool
IsClientError returns true when this update user group bad request response has a 4xx status code
func (*UpdateUserGroupBadRequest) IsCode ¶ added in v1.19.1
func (o *UpdateUserGroupBadRequest) IsCode(code int) bool
IsCode returns true when this update user group bad request response a status code equal to that given
func (*UpdateUserGroupBadRequest) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this update user group bad request response has a 3xx status code
func (*UpdateUserGroupBadRequest) IsServerError ¶ added in v1.19.1
func (o *UpdateUserGroupBadRequest) IsServerError() bool
IsServerError returns true when this update user group bad request response has a 5xx status code
func (*UpdateUserGroupBadRequest) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this update user group bad request response has a 2xx status code
func (*UpdateUserGroupBadRequest) String ¶ added in v1.19.1
func (o *UpdateUserGroupBadRequest) String() string
type UpdateUserGroupConflict ¶
type UpdateUserGroupConflict struct { }
UpdateUserGroupConflict describes a response with status code 409, with default header values.
The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.
func NewUpdateUserGroupConflict ¶
func NewUpdateUserGroupConflict() *UpdateUserGroupConflict
NewUpdateUserGroupConflict creates a UpdateUserGroupConflict with default headers values
func (*UpdateUserGroupConflict) Error ¶
func (o *UpdateUserGroupConflict) Error() string
func (*UpdateUserGroupConflict) IsClientError ¶ added in v1.19.1
func (o *UpdateUserGroupConflict) IsClientError() bool
IsClientError returns true when this update user group conflict response has a 4xx status code
func (*UpdateUserGroupConflict) IsCode ¶ added in v1.19.1
func (o *UpdateUserGroupConflict) IsCode(code int) bool
IsCode returns true when this update user group conflict response a status code equal to that given
func (*UpdateUserGroupConflict) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserGroupConflict) IsRedirect() bool
IsRedirect returns true when this update user group conflict response has a 3xx status code
func (*UpdateUserGroupConflict) IsServerError ¶ added in v1.19.1
func (o *UpdateUserGroupConflict) IsServerError() bool
IsServerError returns true when this update user group conflict response has a 5xx status code
func (*UpdateUserGroupConflict) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserGroupConflict) IsSuccess() bool
IsSuccess returns true when this update user group conflict response has a 2xx status code
func (*UpdateUserGroupConflict) String ¶ added in v1.19.1
func (o *UpdateUserGroupConflict) String() string
type UpdateUserGroupForbidden ¶
type UpdateUserGroupForbidden struct { }
UpdateUserGroupForbidden describes a response with status code 403, with default header values.
Client is not authorized to make this request.
func NewUpdateUserGroupForbidden ¶
func NewUpdateUserGroupForbidden() *UpdateUserGroupForbidden
NewUpdateUserGroupForbidden creates a UpdateUserGroupForbidden with default headers values
func (*UpdateUserGroupForbidden) Error ¶
func (o *UpdateUserGroupForbidden) Error() string
func (*UpdateUserGroupForbidden) IsClientError ¶ added in v1.19.1
func (o *UpdateUserGroupForbidden) IsClientError() bool
IsClientError returns true when this update user group forbidden response has a 4xx status code
func (*UpdateUserGroupForbidden) IsCode ¶ added in v1.19.1
func (o *UpdateUserGroupForbidden) IsCode(code int) bool
IsCode returns true when this update user group forbidden response a status code equal to that given
func (*UpdateUserGroupForbidden) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserGroupForbidden) IsRedirect() bool
IsRedirect returns true when this update user group forbidden response has a 3xx status code
func (*UpdateUserGroupForbidden) IsServerError ¶ added in v1.19.1
func (o *UpdateUserGroupForbidden) IsServerError() bool
IsServerError returns true when this update user group forbidden response has a 5xx status code
func (*UpdateUserGroupForbidden) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserGroupForbidden) IsSuccess() bool
IsSuccess returns true when this update user group forbidden response has a 2xx status code
func (*UpdateUserGroupForbidden) String ¶ added in v1.19.1
func (o *UpdateUserGroupForbidden) String() string
type UpdateUserGroupNotFound ¶
type UpdateUserGroupNotFound struct { }
UpdateUserGroupNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewUpdateUserGroupNotFound ¶
func NewUpdateUserGroupNotFound() *UpdateUserGroupNotFound
NewUpdateUserGroupNotFound creates a UpdateUserGroupNotFound with default headers values
func (*UpdateUserGroupNotFound) Error ¶
func (o *UpdateUserGroupNotFound) Error() string
func (*UpdateUserGroupNotFound) IsClientError ¶ added in v1.19.1
func (o *UpdateUserGroupNotFound) IsClientError() bool
IsClientError returns true when this update user group not found response has a 4xx status code
func (*UpdateUserGroupNotFound) IsCode ¶ added in v1.19.1
func (o *UpdateUserGroupNotFound) IsCode(code int) bool
IsCode returns true when this update user group not found response a status code equal to that given
func (*UpdateUserGroupNotFound) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserGroupNotFound) IsRedirect() bool
IsRedirect returns true when this update user group not found response has a 3xx status code
func (*UpdateUserGroupNotFound) IsServerError ¶ added in v1.19.1
func (o *UpdateUserGroupNotFound) IsServerError() bool
IsServerError returns true when this update user group not found response has a 5xx status code
func (*UpdateUserGroupNotFound) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserGroupNotFound) IsSuccess() bool
IsSuccess returns true when this update user group not found response has a 2xx status code
func (*UpdateUserGroupNotFound) String ¶ added in v1.19.1
func (o *UpdateUserGroupNotFound) String() string
type UpdateUserGroupOK ¶
type UpdateUserGroupOK struct {
Payload *models.UserGroupEntity
}
UpdateUserGroupOK describes a response with status code 200, with default header values.
successful operation
func NewUpdateUserGroupOK ¶
func NewUpdateUserGroupOK() *UpdateUserGroupOK
NewUpdateUserGroupOK creates a UpdateUserGroupOK with default headers values
func (*UpdateUserGroupOK) Error ¶
func (o *UpdateUserGroupOK) Error() string
func (*UpdateUserGroupOK) GetPayload ¶
func (o *UpdateUserGroupOK) GetPayload() *models.UserGroupEntity
func (*UpdateUserGroupOK) IsClientError ¶ added in v1.19.1
func (o *UpdateUserGroupOK) IsClientError() bool
IsClientError returns true when this update user group o k response has a 4xx status code
func (*UpdateUserGroupOK) IsCode ¶ added in v1.19.1
func (o *UpdateUserGroupOK) IsCode(code int) bool
IsCode returns true when this update user group o k response a status code equal to that given
func (*UpdateUserGroupOK) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserGroupOK) IsRedirect() bool
IsRedirect returns true when this update user group o k response has a 3xx status code
func (*UpdateUserGroupOK) IsServerError ¶ added in v1.19.1
func (o *UpdateUserGroupOK) IsServerError() bool
IsServerError returns true when this update user group o k response has a 5xx status code
func (*UpdateUserGroupOK) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserGroupOK) IsSuccess() bool
IsSuccess returns true when this update user group o k response has a 2xx status code
func (*UpdateUserGroupOK) String ¶ added in v1.19.1
func (o *UpdateUserGroupOK) String() string
type UpdateUserGroupParams ¶
type UpdateUserGroupParams struct { /* Body. The user group configuration details. */ Body *models.UserGroupEntity /* ID. The user group id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserGroupParams contains all the parameters to send to the API endpoint
for the update user group operation. Typically these are written to a http.Request.
func NewUpdateUserGroupParams ¶
func NewUpdateUserGroupParams() *UpdateUserGroupParams
NewUpdateUserGroupParams creates a new UpdateUserGroupParams 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 NewUpdateUserGroupParamsWithContext ¶
func NewUpdateUserGroupParamsWithContext(ctx context.Context) *UpdateUserGroupParams
NewUpdateUserGroupParamsWithContext creates a new UpdateUserGroupParams object with the ability to set a context for a request.
func NewUpdateUserGroupParamsWithHTTPClient ¶
func NewUpdateUserGroupParamsWithHTTPClient(client *http.Client) *UpdateUserGroupParams
NewUpdateUserGroupParamsWithHTTPClient creates a new UpdateUserGroupParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserGroupParamsWithTimeout ¶
func NewUpdateUserGroupParamsWithTimeout(timeout time.Duration) *UpdateUserGroupParams
NewUpdateUserGroupParamsWithTimeout creates a new UpdateUserGroupParams object with the ability to set a timeout on a request.
func (*UpdateUserGroupParams) SetBody ¶
func (o *UpdateUserGroupParams) SetBody(body *models.UserGroupEntity)
SetBody adds the body to the update user group params
func (*UpdateUserGroupParams) SetContext ¶
func (o *UpdateUserGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the update user group params
func (*UpdateUserGroupParams) SetDefaults ¶
func (o *UpdateUserGroupParams) SetDefaults()
SetDefaults hydrates default values in the update user group params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserGroupParams) SetHTTPClient ¶
func (o *UpdateUserGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user group params
func (*UpdateUserGroupParams) SetID ¶
func (o *UpdateUserGroupParams) SetID(id string)
SetID adds the id to the update user group params
func (*UpdateUserGroupParams) SetTimeout ¶
func (o *UpdateUserGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user group params
func (*UpdateUserGroupParams) WithBody ¶
func (o *UpdateUserGroupParams) WithBody(body *models.UserGroupEntity) *UpdateUserGroupParams
WithBody adds the body to the update user group params
func (*UpdateUserGroupParams) WithContext ¶
func (o *UpdateUserGroupParams) WithContext(ctx context.Context) *UpdateUserGroupParams
WithContext adds the context to the update user group params
func (*UpdateUserGroupParams) WithDefaults ¶
func (o *UpdateUserGroupParams) WithDefaults() *UpdateUserGroupParams
WithDefaults hydrates default values in the update user group params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserGroupParams) WithHTTPClient ¶
func (o *UpdateUserGroupParams) WithHTTPClient(client *http.Client) *UpdateUserGroupParams
WithHTTPClient adds the HTTPClient to the update user group params
func (*UpdateUserGroupParams) WithID ¶
func (o *UpdateUserGroupParams) WithID(id string) *UpdateUserGroupParams
WithID adds the id to the update user group params
func (*UpdateUserGroupParams) WithTimeout ¶
func (o *UpdateUserGroupParams) WithTimeout(timeout time.Duration) *UpdateUserGroupParams
WithTimeout adds the timeout to the update user group params
func (*UpdateUserGroupParams) WriteToRequest ¶
func (o *UpdateUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserGroupReader ¶
type UpdateUserGroupReader struct {
// contains filtered or unexported fields
}
UpdateUserGroupReader is a Reader for the UpdateUserGroup structure.
func (*UpdateUserGroupReader) ReadResponse ¶
func (o *UpdateUserGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserGroupUnauthorized ¶
type UpdateUserGroupUnauthorized struct { }
UpdateUserGroupUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewUpdateUserGroupUnauthorized ¶
func NewUpdateUserGroupUnauthorized() *UpdateUserGroupUnauthorized
NewUpdateUserGroupUnauthorized creates a UpdateUserGroupUnauthorized with default headers values
func (*UpdateUserGroupUnauthorized) Error ¶
func (o *UpdateUserGroupUnauthorized) Error() string
func (*UpdateUserGroupUnauthorized) IsClientError ¶ added in v1.19.1
func (o *UpdateUserGroupUnauthorized) IsClientError() bool
IsClientError returns true when this update user group unauthorized response has a 4xx status code
func (*UpdateUserGroupUnauthorized) IsCode ¶ added in v1.19.1
func (o *UpdateUserGroupUnauthorized) IsCode(code int) bool
IsCode returns true when this update user group unauthorized response a status code equal to that given
func (*UpdateUserGroupUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserGroupUnauthorized) IsRedirect() bool
IsRedirect returns true when this update user group unauthorized response has a 3xx status code
func (*UpdateUserGroupUnauthorized) IsServerError ¶ added in v1.19.1
func (o *UpdateUserGroupUnauthorized) IsServerError() bool
IsServerError returns true when this update user group unauthorized response has a 5xx status code
func (*UpdateUserGroupUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserGroupUnauthorized) IsSuccess() bool
IsSuccess returns true when this update user group unauthorized response has a 2xx status code
func (*UpdateUserGroupUnauthorized) String ¶ added in v1.19.1
func (o *UpdateUserGroupUnauthorized) String() string
type UpdateUserNotFound ¶
type UpdateUserNotFound struct { }
UpdateUserNotFound describes a response with status code 404, with default header values.
The specified resource could not be found.
func NewUpdateUserNotFound ¶
func NewUpdateUserNotFound() *UpdateUserNotFound
NewUpdateUserNotFound creates a UpdateUserNotFound with default headers values
func (*UpdateUserNotFound) Error ¶
func (o *UpdateUserNotFound) Error() string
func (*UpdateUserNotFound) IsClientError ¶ added in v1.19.1
func (o *UpdateUserNotFound) IsClientError() bool
IsClientError returns true when this update user not found response has a 4xx status code
func (*UpdateUserNotFound) IsCode ¶ added in v1.19.1
func (o *UpdateUserNotFound) IsCode(code int) bool
IsCode returns true when this update user not found response a status code equal to that given
func (*UpdateUserNotFound) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserNotFound) IsRedirect() bool
IsRedirect returns true when this update user not found response has a 3xx status code
func (*UpdateUserNotFound) IsServerError ¶ added in v1.19.1
func (o *UpdateUserNotFound) IsServerError() bool
IsServerError returns true when this update user not found response has a 5xx status code
func (*UpdateUserNotFound) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserNotFound) IsSuccess() bool
IsSuccess returns true when this update user not found response has a 2xx status code
func (*UpdateUserNotFound) String ¶ added in v1.19.1
func (o *UpdateUserNotFound) String() string
type UpdateUserOK ¶
type UpdateUserOK struct {
Payload *models.UserEntity
}
UpdateUserOK describes a response with status code 200, with default header values.
successful operation
func NewUpdateUserOK ¶
func NewUpdateUserOK() *UpdateUserOK
NewUpdateUserOK creates a UpdateUserOK with default headers values
func (*UpdateUserOK) Error ¶
func (o *UpdateUserOK) Error() string
func (*UpdateUserOK) GetPayload ¶
func (o *UpdateUserOK) GetPayload() *models.UserEntity
func (*UpdateUserOK) IsClientError ¶ added in v1.19.1
func (o *UpdateUserOK) IsClientError() bool
IsClientError returns true when this update user o k response has a 4xx status code
func (*UpdateUserOK) IsCode ¶ added in v1.19.1
func (o *UpdateUserOK) IsCode(code int) bool
IsCode returns true when this update user o k response a status code equal to that given
func (*UpdateUserOK) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserOK) IsRedirect() bool
IsRedirect returns true when this update user o k response has a 3xx status code
func (*UpdateUserOK) IsServerError ¶ added in v1.19.1
func (o *UpdateUserOK) IsServerError() bool
IsServerError returns true when this update user o k response has a 5xx status code
func (*UpdateUserOK) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserOK) IsSuccess() bool
IsSuccess returns true when this update user o k response has a 2xx status code
func (*UpdateUserOK) String ¶ added in v1.19.1
func (o *UpdateUserOK) String() string
type UpdateUserParams ¶
type UpdateUserParams struct { /* Body. The user configuration details. */ Body *models.UserEntity /* ID. The user id. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserParams contains all the parameters to send to the API endpoint
for the update user operation. Typically these are written to a http.Request.
func NewUpdateUserParams ¶
func NewUpdateUserParams() *UpdateUserParams
NewUpdateUserParams creates a new UpdateUserParams 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 NewUpdateUserParamsWithContext ¶
func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams
NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the ability to set a context for a request.
func NewUpdateUserParamsWithHTTPClient ¶
func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams
NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserParamsWithTimeout ¶
func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams
NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the ability to set a timeout on a request.
func (*UpdateUserParams) SetBody ¶
func (o *UpdateUserParams) SetBody(body *models.UserEntity)
SetBody adds the body to the update user params
func (*UpdateUserParams) SetContext ¶
func (o *UpdateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the update user params
func (*UpdateUserParams) SetDefaults ¶
func (o *UpdateUserParams) SetDefaults()
SetDefaults hydrates default values in the update user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserParams) SetHTTPClient ¶
func (o *UpdateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user params
func (*UpdateUserParams) SetID ¶
func (o *UpdateUserParams) SetID(id string)
SetID adds the id to the update user params
func (*UpdateUserParams) SetTimeout ¶
func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user params
func (*UpdateUserParams) WithBody ¶
func (o *UpdateUserParams) WithBody(body *models.UserEntity) *UpdateUserParams
WithBody adds the body to the update user params
func (*UpdateUserParams) WithContext ¶
func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams
WithContext adds the context to the update user params
func (*UpdateUserParams) WithDefaults ¶
func (o *UpdateUserParams) WithDefaults() *UpdateUserParams
WithDefaults hydrates default values in the update user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserParams) WithHTTPClient ¶
func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams
WithHTTPClient adds the HTTPClient to the update user params
func (*UpdateUserParams) WithID ¶
func (o *UpdateUserParams) WithID(id string) *UpdateUserParams
WithID adds the id to the update user params
func (*UpdateUserParams) WithTimeout ¶
func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams
WithTimeout adds the timeout to the update user params
func (*UpdateUserParams) WriteToRequest ¶
func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserReader ¶
type UpdateUserReader struct {
// contains filtered or unexported fields
}
UpdateUserReader is a Reader for the UpdateUser structure.
func (*UpdateUserReader) ReadResponse ¶
func (o *UpdateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserUnauthorized ¶
type UpdateUserUnauthorized struct { }
UpdateUserUnauthorized describes a response with status code 401, with default header values.
Client could not be authenticated.
func NewUpdateUserUnauthorized ¶
func NewUpdateUserUnauthorized() *UpdateUserUnauthorized
NewUpdateUserUnauthorized creates a UpdateUserUnauthorized with default headers values
func (*UpdateUserUnauthorized) Error ¶
func (o *UpdateUserUnauthorized) Error() string
func (*UpdateUserUnauthorized) IsClientError ¶ added in v1.19.1
func (o *UpdateUserUnauthorized) IsClientError() bool
IsClientError returns true when this update user unauthorized response has a 4xx status code
func (*UpdateUserUnauthorized) IsCode ¶ added in v1.19.1
func (o *UpdateUserUnauthorized) IsCode(code int) bool
IsCode returns true when this update user unauthorized response a status code equal to that given
func (*UpdateUserUnauthorized) IsRedirect ¶ added in v1.19.1
func (o *UpdateUserUnauthorized) IsRedirect() bool
IsRedirect returns true when this update user unauthorized response has a 3xx status code
func (*UpdateUserUnauthorized) IsServerError ¶ added in v1.19.1
func (o *UpdateUserUnauthorized) IsServerError() bool
IsServerError returns true when this update user unauthorized response has a 5xx status code
func (*UpdateUserUnauthorized) IsSuccess ¶ added in v1.19.1
func (o *UpdateUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this update user unauthorized response has a 2xx status code
func (*UpdateUserUnauthorized) String ¶ added in v1.19.1
func (o *UpdateUserUnauthorized) String() string
Source Files ¶
- create_user_group_parameters.go
- create_user_group_responses.go
- create_user_parameters.go
- create_user_responses.go
- get_user_group_parameters.go
- get_user_group_responses.go
- get_user_groups_parameters.go
- get_user_groups_responses.go
- get_user_parameters.go
- get_user_responses.go
- get_users_parameters.go
- get_users_responses.go
- remove_user_group_parameters.go
- remove_user_group_responses.go
- remove_user_parameters.go
- remove_user_responses.go
- search_tenants_parameters.go
- search_tenants_responses.go
- tenants_client.go
- update_user_group_parameters.go
- update_user_group_responses.go
- update_user_parameters.go
- update_user_responses.go