Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateUser() *CreateUserRequest
- func (c *Client) CreateUserCredentials() *CreateUserCredentialsRequest
- func (c *Client) CreateUserRole() *CreateUserRoleRequest
- func (c *Client) DeleteUser() *DeleteUserRequest
- func (c *Client) DeleteUserCredential() *DeleteUserCredentialRequest
- func (c *Client) DeleteUserRole() *DeleteUserRoleRequest
- func (c *Client) FetchPublicKeyForUser() *FetchPublicKeyForUserRequest
- func (c *Client) GetUser() *GetUserRequest
- func (c *Client) GetUserAces() *GetUserAcesRequest
- func (c *Client) ListPublicKeysForUser() *ListPublicKeysForUserRequest
- func (c *Client) ListUserCredentials() *ListUserCredentialsRequest
- func (c *Client) ListUserRoles() *ListUserRolesRequest
- func (c *Client) ListUsers() *ListUsersRequest
- func (c *Client) ModifyUser() *ModifyUserRequest
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateUserBadRequest
- func (o *CreateUserBadRequest) Code() int
- 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
- type CreateUserConflict
- func (o *CreateUserConflict) Code() int
- 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
- type CreateUserCreated
- func (o *CreateUserCreated) Code() int
- func (o *CreateUserCreated) Error() string
- 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
- type CreateUserCredentialsCreated
- func (o *CreateUserCredentialsCreated) Code() int
- func (o *CreateUserCredentialsCreated) Error() string
- func (o *CreateUserCredentialsCreated) IsClientError() bool
- func (o *CreateUserCredentialsCreated) IsCode(code int) bool
- func (o *CreateUserCredentialsCreated) IsRedirect() bool
- func (o *CreateUserCredentialsCreated) IsServerError() bool
- func (o *CreateUserCredentialsCreated) IsSuccess() bool
- type CreateUserCredentialsNotFound
- func (o *CreateUserCredentialsNotFound) Code() int
- func (o *CreateUserCredentialsNotFound) Error() string
- func (o *CreateUserCredentialsNotFound) IsClientError() bool
- func (o *CreateUserCredentialsNotFound) IsCode(code int) bool
- func (o *CreateUserCredentialsNotFound) IsRedirect() bool
- func (o *CreateUserCredentialsNotFound) IsServerError() bool
- func (o *CreateUserCredentialsNotFound) IsSuccess() bool
- type CreateUserCredentialsReader
- type CreateUserCredentialsRequest
- func (a *CreateUserCredentialsRequest) Do() (*CreateUserCredentialsCreated, error)
- func (o *CreateUserCredentialsRequest) FromJson(j string) (*CreateUserCredentialsRequest, error)
- func (a *CreateUserCredentialsRequest) MustDo() *CreateUserCredentialsCreated
- func (o *CreateUserCredentialsRequest) WithContext(ctx context.Context) *CreateUserCredentialsRequest
- func (o *CreateUserCredentialsRequest) WithHTTPClient(client *http.Client) *CreateUserCredentialsRequest
- func (o *CreateUserCredentialsRequest) WithUserID(userID strfmt.UUID) *CreateUserCredentialsRequest
- func (o *CreateUserCredentialsRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserReader
- type CreateUserRequest
- func (a *CreateUserRequest) Do() (*CreateUserCreated, error)
- func (o *CreateUserRequest) FromJson(j string) (*CreateUserRequest, error)
- func (a *CreateUserRequest) MustDo() *CreateUserCreated
- func (o *CreateUserRequest) WithContext(ctx context.Context) *CreateUserRequest
- func (o *CreateUserRequest) WithHTTPClient(client *http.Client) *CreateUserRequest
- func (o *CreateUserRequest) WithUserCreationRequest(userCreationRequest models.UserCreation) *CreateUserRequest
- func (o *CreateUserRequest) WithoutUserCreationRequest() *CreateUserRequest
- func (o *CreateUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserRoleCreated
- func (o *CreateUserRoleCreated) Code() int
- func (o *CreateUserRoleCreated) Error() string
- func (o *CreateUserRoleCreated) IsClientError() bool
- func (o *CreateUserRoleCreated) IsCode(code int) bool
- func (o *CreateUserRoleCreated) IsRedirect() bool
- func (o *CreateUserRoleCreated) IsServerError() bool
- func (o *CreateUserRoleCreated) IsSuccess() bool
- type CreateUserRoleNotFound
- func (o *CreateUserRoleNotFound) Code() int
- func (o *CreateUserRoleNotFound) Error() string
- func (o *CreateUserRoleNotFound) IsClientError() bool
- func (o *CreateUserRoleNotFound) IsCode(code int) bool
- func (o *CreateUserRoleNotFound) IsRedirect() bool
- func (o *CreateUserRoleNotFound) IsServerError() bool
- func (o *CreateUserRoleNotFound) IsSuccess() bool
- type CreateUserRoleReader
- type CreateUserRoleRequest
- func (a *CreateUserRoleRequest) Do() (*CreateUserRoleCreated, error)
- func (o *CreateUserRoleRequest) FromJson(j string) (*CreateUserRoleRequest, error)
- func (a *CreateUserRoleRequest) MustDo() *CreateUserRoleCreated
- func (o *CreateUserRoleRequest) WithContext(ctx context.Context) *CreateUserRoleRequest
- func (o *CreateUserRoleRequest) WithHTTPClient(client *http.Client) *CreateUserRoleRequest
- func (o *CreateUserRoleRequest) WithRoleID(roleID strfmt.UUID) *CreateUserRoleRequest
- func (o *CreateUserRoleRequest) WithUserID(userID strfmt.UUID) *CreateUserRoleRequest
- func (o *CreateUserRoleRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserConflict
- func (o *DeleteUserConflict) Code() int
- func (o *DeleteUserConflict) Error() string
- func (o *DeleteUserConflict) IsClientError() bool
- func (o *DeleteUserConflict) IsCode(code int) bool
- func (o *DeleteUserConflict) IsRedirect() bool
- func (o *DeleteUserConflict) IsServerError() bool
- func (o *DeleteUserConflict) IsSuccess() bool
- type DeleteUserCredentialNoContent
- func (o *DeleteUserCredentialNoContent) Code() int
- func (o *DeleteUserCredentialNoContent) Error() string
- func (o *DeleteUserCredentialNoContent) IsClientError() bool
- func (o *DeleteUserCredentialNoContent) IsCode(code int) bool
- func (o *DeleteUserCredentialNoContent) IsRedirect() bool
- func (o *DeleteUserCredentialNoContent) IsServerError() bool
- func (o *DeleteUserCredentialNoContent) IsSuccess() bool
- type DeleteUserCredentialNotFound
- func (o *DeleteUserCredentialNotFound) Code() int
- func (o *DeleteUserCredentialNotFound) Error() string
- func (o *DeleteUserCredentialNotFound) IsClientError() bool
- func (o *DeleteUserCredentialNotFound) IsCode(code int) bool
- func (o *DeleteUserCredentialNotFound) IsRedirect() bool
- func (o *DeleteUserCredentialNotFound) IsServerError() bool
- func (o *DeleteUserCredentialNotFound) IsSuccess() bool
- type DeleteUserCredentialReader
- type DeleteUserCredentialRequest
- func (a *DeleteUserCredentialRequest) Do() (*DeleteUserCredentialNoContent, error)
- func (o *DeleteUserCredentialRequest) FromJson(j string) (*DeleteUserCredentialRequest, error)
- func (a *DeleteUserCredentialRequest) MustDo() *DeleteUserCredentialNoContent
- func (o *DeleteUserCredentialRequest) WithClientID(clientID string) *DeleteUserCredentialRequest
- func (o *DeleteUserCredentialRequest) WithContext(ctx context.Context) *DeleteUserCredentialRequest
- func (o *DeleteUserCredentialRequest) WithHTTPClient(client *http.Client) *DeleteUserCredentialRequest
- func (o *DeleteUserCredentialRequest) WithUserID(userID strfmt.UUID) *DeleteUserCredentialRequest
- func (o *DeleteUserCredentialRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserNoContent
- func (o *DeleteUserNoContent) Code() int
- func (o *DeleteUserNoContent) Error() string
- func (o *DeleteUserNoContent) IsClientError() bool
- func (o *DeleteUserNoContent) IsCode(code int) bool
- func (o *DeleteUserNoContent) IsRedirect() bool
- func (o *DeleteUserNoContent) IsServerError() bool
- func (o *DeleteUserNoContent) IsSuccess() bool
- type DeleteUserNotFound
- func (o *DeleteUserNotFound) Code() int
- func (o *DeleteUserNotFound) Error() string
- func (o *DeleteUserNotFound) IsClientError() bool
- func (o *DeleteUserNotFound) IsCode(code int) bool
- func (o *DeleteUserNotFound) IsRedirect() bool
- func (o *DeleteUserNotFound) IsServerError() bool
- func (o *DeleteUserNotFound) IsSuccess() bool
- type DeleteUserReader
- type DeleteUserRequest
- func (a *DeleteUserRequest) Do() (*DeleteUserNoContent, error)
- func (o *DeleteUserRequest) FromJson(j string) (*DeleteUserRequest, error)
- func (a *DeleteUserRequest) MustDo() *DeleteUserNoContent
- func (o *DeleteUserRequest) WithContext(ctx context.Context) *DeleteUserRequest
- func (o *DeleteUserRequest) WithHTTPClient(client *http.Client) *DeleteUserRequest
- func (o *DeleteUserRequest) WithUserID(userID strfmt.UUID) *DeleteUserRequest
- func (o *DeleteUserRequest) WithVersion(version int64) *DeleteUserRequest
- func (o *DeleteUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserRoleNoContent
- func (o *DeleteUserRoleNoContent) Code() int
- func (o *DeleteUserRoleNoContent) Error() string
- func (o *DeleteUserRoleNoContent) IsClientError() bool
- func (o *DeleteUserRoleNoContent) IsCode(code int) bool
- func (o *DeleteUserRoleNoContent) IsRedirect() bool
- func (o *DeleteUserRoleNoContent) IsServerError() bool
- func (o *DeleteUserRoleNoContent) IsSuccess() bool
- type DeleteUserRoleNotFound
- func (o *DeleteUserRoleNotFound) Code() int
- func (o *DeleteUserRoleNotFound) Error() string
- func (o *DeleteUserRoleNotFound) IsClientError() bool
- func (o *DeleteUserRoleNotFound) IsCode(code int) bool
- func (o *DeleteUserRoleNotFound) IsRedirect() bool
- func (o *DeleteUserRoleNotFound) IsServerError() bool
- func (o *DeleteUserRoleNotFound) IsSuccess() bool
- type DeleteUserRoleReader
- type DeleteUserRoleRequest
- func (a *DeleteUserRoleRequest) Do() (*DeleteUserRoleNoContent, error)
- func (o *DeleteUserRoleRequest) FromJson(j string) (*DeleteUserRoleRequest, error)
- func (a *DeleteUserRoleRequest) MustDo() *DeleteUserRoleNoContent
- func (o *DeleteUserRoleRequest) WithContext(ctx context.Context) *DeleteUserRoleRequest
- func (o *DeleteUserRoleRequest) WithHTTPClient(client *http.Client) *DeleteUserRoleRequest
- func (o *DeleteUserRoleRequest) WithRoleID(roleID strfmt.UUID) *DeleteUserRoleRequest
- func (o *DeleteUserRoleRequest) WithUserID(userID strfmt.UUID) *DeleteUserRoleRequest
- func (o *DeleteUserRoleRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FetchPublicKeyForUserNotFound
- func (o *FetchPublicKeyForUserNotFound) Code() int
- func (o *FetchPublicKeyForUserNotFound) Error() string
- func (o *FetchPublicKeyForUserNotFound) IsClientError() bool
- func (o *FetchPublicKeyForUserNotFound) IsCode(code int) bool
- func (o *FetchPublicKeyForUserNotFound) IsRedirect() bool
- func (o *FetchPublicKeyForUserNotFound) IsServerError() bool
- func (o *FetchPublicKeyForUserNotFound) IsSuccess() bool
- type FetchPublicKeyForUserOK
- func (o *FetchPublicKeyForUserOK) Code() int
- func (o *FetchPublicKeyForUserOK) Error() string
- func (o *FetchPublicKeyForUserOK) IsClientError() bool
- func (o *FetchPublicKeyForUserOK) IsCode(code int) bool
- func (o *FetchPublicKeyForUserOK) IsRedirect() bool
- func (o *FetchPublicKeyForUserOK) IsServerError() bool
- func (o *FetchPublicKeyForUserOK) IsSuccess() bool
- type FetchPublicKeyForUserReader
- type FetchPublicKeyForUserRequest
- func (a *FetchPublicKeyForUserRequest) Do() (*FetchPublicKeyForUserOK, error)
- func (o *FetchPublicKeyForUserRequest) FromJson(j string) (*FetchPublicKeyForUserRequest, error)
- func (a *FetchPublicKeyForUserRequest) MustDo() *FetchPublicKeyForUserOK
- func (o *FetchPublicKeyForUserRequest) WithContext(ctx context.Context) *FetchPublicKeyForUserRequest
- func (o *FetchPublicKeyForUserRequest) WithHTTPClient(client *http.Client) *FetchPublicKeyForUserRequest
- func (o *FetchPublicKeyForUserRequest) WithPublicKeyID(publicKeyID strfmt.UUID) *FetchPublicKeyForUserRequest
- func (o *FetchPublicKeyForUserRequest) WithUserID(userID strfmt.UUID) *FetchPublicKeyForUserRequest
- func (o *FetchPublicKeyForUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserAcesNotFound
- func (o *GetUserAcesNotFound) Code() int
- func (o *GetUserAcesNotFound) Error() string
- func (o *GetUserAcesNotFound) IsClientError() bool
- func (o *GetUserAcesNotFound) IsCode(code int) bool
- func (o *GetUserAcesNotFound) IsRedirect() bool
- func (o *GetUserAcesNotFound) IsServerError() bool
- func (o *GetUserAcesNotFound) IsSuccess() bool
- type GetUserAcesOK
- type GetUserAcesReader
- type GetUserAcesRequest
- func (a *GetUserAcesRequest) Do() (*GetUserAcesOK, error)
- func (o *GetUserAcesRequest) FromJson(j string) (*GetUserAcesRequest, error)
- func (a *GetUserAcesRequest) MustDo() *GetUserAcesOK
- func (o *GetUserAcesRequest) WithContext(ctx context.Context) *GetUserAcesRequest
- func (o *GetUserAcesRequest) WithFilterAction(filterAction string) *GetUserAcesRequest
- func (o *GetUserAcesRequest) WithFilterRecordType(filterRecordType string) *GetUserAcesRequest
- func (o *GetUserAcesRequest) WithHTTPClient(client *http.Client) *GetUserAcesRequest
- func (o *GetUserAcesRequest) WithUserID(userID strfmt.UUID) *GetUserAcesRequest
- func (o *GetUserAcesRequest) WithoutFilterAction() *GetUserAcesRequest
- func (o *GetUserAcesRequest) WithoutFilterRecordType() *GetUserAcesRequest
- func (o *GetUserAcesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserNotFound
- func (o *GetUserNotFound) Code() int
- 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
- type GetUserOK
- type GetUserReader
- type GetUserRequest
- func (a *GetUserRequest) Do() (*GetUserOK, error)
- func (o *GetUserRequest) FromJson(j string) (*GetUserRequest, error)
- func (a *GetUserRequest) MustDo() *GetUserOK
- func (o *GetUserRequest) WithContext(ctx context.Context) *GetUserRequest
- func (o *GetUserRequest) WithHTTPClient(client *http.Client) *GetUserRequest
- func (o *GetUserRequest) WithUserID(userID strfmt.UUID) *GetUserRequest
- func (o *GetUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPublicKeysForUserNotFound
- func (o *ListPublicKeysForUserNotFound) Code() int
- func (o *ListPublicKeysForUserNotFound) Error() string
- func (o *ListPublicKeysForUserNotFound) IsClientError() bool
- func (o *ListPublicKeysForUserNotFound) IsCode(code int) bool
- func (o *ListPublicKeysForUserNotFound) IsRedirect() bool
- func (o *ListPublicKeysForUserNotFound) IsServerError() bool
- func (o *ListPublicKeysForUserNotFound) IsSuccess() bool
- type ListPublicKeysForUserOK
- func (o *ListPublicKeysForUserOK) Code() int
- func (o *ListPublicKeysForUserOK) Error() string
- func (o *ListPublicKeysForUserOK) IsClientError() bool
- func (o *ListPublicKeysForUserOK) IsCode(code int) bool
- func (o *ListPublicKeysForUserOK) IsRedirect() bool
- func (o *ListPublicKeysForUserOK) IsServerError() bool
- func (o *ListPublicKeysForUserOK) IsSuccess() bool
- type ListPublicKeysForUserReader
- type ListPublicKeysForUserRequest
- func (a *ListPublicKeysForUserRequest) Do() (*ListPublicKeysForUserOK, error)
- func (o *ListPublicKeysForUserRequest) FromJson(j string) (*ListPublicKeysForUserRequest, error)
- func (a *ListPublicKeysForUserRequest) MustDo() *ListPublicKeysForUserOK
- func (o *ListPublicKeysForUserRequest) WithContext(ctx context.Context) *ListPublicKeysForUserRequest
- func (o *ListPublicKeysForUserRequest) WithHTTPClient(client *http.Client) *ListPublicKeysForUserRequest
- func (o *ListPublicKeysForUserRequest) WithUserID(userID strfmt.UUID) *ListPublicKeysForUserRequest
- func (o *ListPublicKeysForUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserCredentialsNotFound
- func (o *ListUserCredentialsNotFound) Code() int
- func (o *ListUserCredentialsNotFound) Error() string
- func (o *ListUserCredentialsNotFound) IsClientError() bool
- func (o *ListUserCredentialsNotFound) IsCode(code int) bool
- func (o *ListUserCredentialsNotFound) IsRedirect() bool
- func (o *ListUserCredentialsNotFound) IsServerError() bool
- func (o *ListUserCredentialsNotFound) IsSuccess() bool
- type ListUserCredentialsOK
- func (o *ListUserCredentialsOK) Code() int
- func (o *ListUserCredentialsOK) Error() string
- func (o *ListUserCredentialsOK) IsClientError() bool
- func (o *ListUserCredentialsOK) IsCode(code int) bool
- func (o *ListUserCredentialsOK) IsRedirect() bool
- func (o *ListUserCredentialsOK) IsServerError() bool
- func (o *ListUserCredentialsOK) IsSuccess() bool
- type ListUserCredentialsReader
- type ListUserCredentialsRequest
- func (a *ListUserCredentialsRequest) Do() (*ListUserCredentialsOK, error)
- func (o *ListUserCredentialsRequest) FromJson(j string) (*ListUserCredentialsRequest, error)
- func (a *ListUserCredentialsRequest) MustDo() *ListUserCredentialsOK
- func (o *ListUserCredentialsRequest) WithContext(ctx context.Context) *ListUserCredentialsRequest
- func (o *ListUserCredentialsRequest) WithHTTPClient(client *http.Client) *ListUserCredentialsRequest
- func (o *ListUserCredentialsRequest) WithUserID(userID strfmt.UUID) *ListUserCredentialsRequest
- func (o *ListUserCredentialsRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserRolesNotFound
- func (o *ListUserRolesNotFound) Code() int
- func (o *ListUserRolesNotFound) Error() string
- func (o *ListUserRolesNotFound) IsClientError() bool
- func (o *ListUserRolesNotFound) IsCode(code int) bool
- func (o *ListUserRolesNotFound) IsRedirect() bool
- func (o *ListUserRolesNotFound) IsServerError() bool
- func (o *ListUserRolesNotFound) IsSuccess() bool
- type ListUserRolesOK
- func (o *ListUserRolesOK) Code() int
- func (o *ListUserRolesOK) Error() string
- func (o *ListUserRolesOK) IsClientError() bool
- func (o *ListUserRolesOK) IsCode(code int) bool
- func (o *ListUserRolesOK) IsRedirect() bool
- func (o *ListUserRolesOK) IsServerError() bool
- func (o *ListUserRolesOK) IsSuccess() bool
- type ListUserRolesReader
- type ListUserRolesRequest
- func (a *ListUserRolesRequest) Do() (*ListUserRolesOK, error)
- func (o *ListUserRolesRequest) FromJson(j string) (*ListUserRolesRequest, error)
- func (a *ListUserRolesRequest) MustDo() *ListUserRolesOK
- func (o *ListUserRolesRequest) WithContext(ctx context.Context) *ListUserRolesRequest
- func (o *ListUserRolesRequest) WithHTTPClient(client *http.Client) *ListUserRolesRequest
- func (o *ListUserRolesRequest) WithUserID(userID strfmt.UUID) *ListUserRolesRequest
- func (o *ListUserRolesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUsersOK
- type ListUsersReader
- type ListUsersRequest
- func (a *ListUsersRequest) Do() (*ListUsersOK, error)
- func (o *ListUsersRequest) FromJson(j string) (*ListUsersRequest, error)
- func (a *ListUsersRequest) MustDo() *ListUsersOK
- func (o *ListUsersRequest) WithContext(ctx context.Context) *ListUsersRequest
- func (o *ListUsersRequest) WithHTTPClient(client *http.Client) *ListUsersRequest
- func (o *ListUsersRequest) WithPageNumber(pageNumber int64) *ListUsersRequest
- func (o *ListUsersRequest) WithPageSize(pageSize int64) *ListUsersRequest
- func (o *ListUsersRequest) WithoutPageNumber() *ListUsersRequest
- func (o *ListUsersRequest) WithoutPageSize() *ListUsersRequest
- func (o *ListUsersRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyUserBadRequest
- func (o *ModifyUserBadRequest) Code() int
- func (o *ModifyUserBadRequest) Error() string
- func (o *ModifyUserBadRequest) IsClientError() bool
- func (o *ModifyUserBadRequest) IsCode(code int) bool
- func (o *ModifyUserBadRequest) IsRedirect() bool
- func (o *ModifyUserBadRequest) IsServerError() bool
- func (o *ModifyUserBadRequest) IsSuccess() bool
- type ModifyUserNotFound
- func (o *ModifyUserNotFound) Code() int
- func (o *ModifyUserNotFound) Error() string
- func (o *ModifyUserNotFound) IsClientError() bool
- func (o *ModifyUserNotFound) IsCode(code int) bool
- func (o *ModifyUserNotFound) IsRedirect() bool
- func (o *ModifyUserNotFound) IsServerError() bool
- func (o *ModifyUserNotFound) IsSuccess() bool
- type ModifyUserOK
- type ModifyUserReader
- type ModifyUserRequest
- func (a *ModifyUserRequest) Do() (*ModifyUserOK, error)
- func (o *ModifyUserRequest) FromJson(j string) (*ModifyUserRequest, error)
- func (a *ModifyUserRequest) MustDo() *ModifyUserOK
- func (o *ModifyUserRequest) WithContext(ctx context.Context) *ModifyUserRequest
- func (o *ModifyUserRequest) WithHTTPClient(client *http.Client) *ModifyUserRequest
- func (o *ModifyUserRequest) WithUserID(userID strfmt.UUID) *ModifyUserRequest
- func (o *ModifyUserRequest) WithUserUpdateRequest(userUpdateRequest models.UserCreation) *ModifyUserRequest
- func (o *ModifyUserRequest) WithoutUserUpdateRequest() *ModifyUserRequest
- func (o *ModifyUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for users API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, defaults client.Defaults) *Client
New creates a new users API client.
func (*Client) CreateUser ¶
func (c *Client) CreateUser() *CreateUserRequest
Client.CreateUser creates a new CreateUserRequest object with the default values initialized.
func (*Client) CreateUserCredentials ¶
func (c *Client) CreateUserCredentials() *CreateUserCredentialsRequest
Client.CreateUserCredentials creates a new CreateUserCredentialsRequest object with the default values initialized.
func (*Client) CreateUserRole ¶
func (c *Client) CreateUserRole() *CreateUserRoleRequest
Client.CreateUserRole creates a new CreateUserRoleRequest object with the default values initialized.
func (*Client) DeleteUser ¶
func (c *Client) DeleteUser() *DeleteUserRequest
Client.DeleteUser creates a new DeleteUserRequest object with the default values initialized.
func (*Client) DeleteUserCredential ¶
func (c *Client) DeleteUserCredential() *DeleteUserCredentialRequest
Client.DeleteUserCredential creates a new DeleteUserCredentialRequest object with the default values initialized.
func (*Client) DeleteUserRole ¶
func (c *Client) DeleteUserRole() *DeleteUserRoleRequest
Client.DeleteUserRole creates a new DeleteUserRoleRequest object with the default values initialized.
func (*Client) FetchPublicKeyForUser ¶
func (c *Client) FetchPublicKeyForUser() *FetchPublicKeyForUserRequest
Client.FetchPublicKeyForUser creates a new FetchPublicKeyForUserRequest object with the default values initialized.
func (*Client) GetUser ¶
func (c *Client) GetUser() *GetUserRequest
Client.GetUser creates a new GetUserRequest object with the default values initialized.
func (*Client) GetUserAces ¶
func (c *Client) GetUserAces() *GetUserAcesRequest
Client.GetUserAces creates a new GetUserAcesRequest object with the default values initialized.
func (*Client) ListPublicKeysForUser ¶
func (c *Client) ListPublicKeysForUser() *ListPublicKeysForUserRequest
Client.ListPublicKeysForUser creates a new ListPublicKeysForUserRequest object with the default values initialized.
func (*Client) ListUserCredentials ¶
func (c *Client) ListUserCredentials() *ListUserCredentialsRequest
Client.ListUserCredentials creates a new ListUserCredentialsRequest object with the default values initialized.
func (*Client) ListUserRoles ¶
func (c *Client) ListUserRoles() *ListUserRolesRequest
Client.ListUserRoles creates a new ListUserRolesRequest object with the default values initialized.
func (*Client) ListUsers ¶
func (c *Client) ListUsers() *ListUsersRequest
Client.ListUsers creates a new ListUsersRequest object with the default values initialized.
func (*Client) ModifyUser ¶
func (c *Client) ModifyUser() *ModifyUserRequest
Client.ModifyUser creates a new ModifyUserRequest object with the default values initialized.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateUserBadRequest ¶
CreateUserBadRequest handles this case with default header values.
Bad request
func NewCreateUserBadRequest ¶
func NewCreateUserBadRequest() *CreateUserBadRequest
NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values
func (*CreateUserBadRequest) Code ¶
func (o *CreateUserBadRequest) Code() int
Code gets the status code for the create user bad request response
func (*CreateUserBadRequest) Error ¶
func (o *CreateUserBadRequest) Error() string
func (*CreateUserBadRequest) IsClientError ¶
func (o *CreateUserBadRequest) IsClientError() bool
IsClientError returns true when this create user bad request response has a 4xx status code
func (*CreateUserBadRequest) IsCode ¶
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 ¶
func (o *CreateUserBadRequest) IsRedirect() bool
IsRedirect returns true when this create user bad request response has a 3xx status code
func (*CreateUserBadRequest) IsServerError ¶
func (o *CreateUserBadRequest) IsServerError() bool
IsServerError returns true when this create user bad request response has a 5xx status code
func (*CreateUserBadRequest) IsSuccess ¶
func (o *CreateUserBadRequest) IsSuccess() bool
IsSuccess returns true when this create user bad request response has a 2xx status code
type CreateUserConflict ¶
CreateUserConflict handles this case with default header values.
Conflict
func NewCreateUserConflict ¶
func NewCreateUserConflict() *CreateUserConflict
NewCreateUserConflict creates a CreateUserConflict with default headers values
func (*CreateUserConflict) Code ¶
func (o *CreateUserConflict) Code() int
Code gets the status code for the create user conflict response
func (*CreateUserConflict) Error ¶
func (o *CreateUserConflict) Error() string
func (*CreateUserConflict) IsClientError ¶
func (o *CreateUserConflict) IsClientError() bool
IsClientError returns true when this create user conflict response has a 4xx status code
func (*CreateUserConflict) IsCode ¶
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 ¶
func (o *CreateUserConflict) IsRedirect() bool
IsRedirect returns true when this create user conflict response has a 3xx status code
func (*CreateUserConflict) IsServerError ¶
func (o *CreateUserConflict) IsServerError() bool
IsServerError returns true when this create user conflict response has a 5xx status code
func (*CreateUserConflict) IsSuccess ¶
func (o *CreateUserConflict) IsSuccess() bool
IsSuccess returns true when this create user conflict response has a 2xx status code
type CreateUserCreated ¶
type CreateUserCreated struct { // isStream: false *models.UserCreationResponse }
CreateUserCreated handles this case with default header values.
User creation response
func NewCreateUserCreated ¶
func NewCreateUserCreated() *CreateUserCreated
NewCreateUserCreated creates a CreateUserCreated with default headers values
func (*CreateUserCreated) Code ¶
func (o *CreateUserCreated) Code() int
Code gets the status code for the create user created response
func (*CreateUserCreated) Error ¶
func (o *CreateUserCreated) Error() string
func (*CreateUserCreated) IsClientError ¶
func (o *CreateUserCreated) IsClientError() bool
IsClientError returns true when this create user created response has a 4xx status code
func (*CreateUserCreated) IsCode ¶
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 ¶
func (o *CreateUserCreated) IsRedirect() bool
IsRedirect returns true when this create user created response has a 3xx status code
func (*CreateUserCreated) IsServerError ¶
func (o *CreateUserCreated) IsServerError() bool
IsServerError returns true when this create user created response has a 5xx status code
func (*CreateUserCreated) IsSuccess ¶
func (o *CreateUserCreated) IsSuccess() bool
IsSuccess returns true when this create user created response has a 2xx status code
type CreateUserCredentialsCreated ¶
type CreateUserCredentialsCreated struct { // isStream: false *models.CredentialCreationResponse }
CreateUserCredentialsCreated handles this case with default header values.
Credential creation response
func NewCreateUserCredentialsCreated ¶
func NewCreateUserCredentialsCreated() *CreateUserCredentialsCreated
NewCreateUserCredentialsCreated creates a CreateUserCredentialsCreated with default headers values
func (*CreateUserCredentialsCreated) Code ¶
func (o *CreateUserCredentialsCreated) Code() int
Code gets the status code for the create user credentials created response
func (*CreateUserCredentialsCreated) Error ¶
func (o *CreateUserCredentialsCreated) Error() string
func (*CreateUserCredentialsCreated) IsClientError ¶
func (o *CreateUserCredentialsCreated) IsClientError() bool
IsClientError returns true when this create user credentials created response has a 4xx status code
func (*CreateUserCredentialsCreated) IsCode ¶
func (o *CreateUserCredentialsCreated) IsCode(code int) bool
IsCode returns true when this create user credentials created response a status code equal to that given
func (*CreateUserCredentialsCreated) IsRedirect ¶
func (o *CreateUserCredentialsCreated) IsRedirect() bool
IsRedirect returns true when this create user credentials created response has a 3xx status code
func (*CreateUserCredentialsCreated) IsServerError ¶
func (o *CreateUserCredentialsCreated) IsServerError() bool
IsServerError returns true when this create user credentials created response has a 5xx status code
func (*CreateUserCredentialsCreated) IsSuccess ¶
func (o *CreateUserCredentialsCreated) IsSuccess() bool
IsSuccess returns true when this create user credentials created response has a 2xx status code
type CreateUserCredentialsNotFound ¶
CreateUserCredentialsNotFound handles this case with default header values.
Not Found
func NewCreateUserCredentialsNotFound ¶
func NewCreateUserCredentialsNotFound() *CreateUserCredentialsNotFound
NewCreateUserCredentialsNotFound creates a CreateUserCredentialsNotFound with default headers values
func (*CreateUserCredentialsNotFound) Code ¶
func (o *CreateUserCredentialsNotFound) Code() int
Code gets the status code for the create user credentials not found response
func (*CreateUserCredentialsNotFound) Error ¶
func (o *CreateUserCredentialsNotFound) Error() string
func (*CreateUserCredentialsNotFound) IsClientError ¶
func (o *CreateUserCredentialsNotFound) IsClientError() bool
IsClientError returns true when this create user credentials not found response has a 4xx status code
func (*CreateUserCredentialsNotFound) IsCode ¶
func (o *CreateUserCredentialsNotFound) IsCode(code int) bool
IsCode returns true when this create user credentials not found response a status code equal to that given
func (*CreateUserCredentialsNotFound) IsRedirect ¶
func (o *CreateUserCredentialsNotFound) IsRedirect() bool
IsRedirect returns true when this create user credentials not found response has a 3xx status code
func (*CreateUserCredentialsNotFound) IsServerError ¶
func (o *CreateUserCredentialsNotFound) IsServerError() bool
IsServerError returns true when this create user credentials not found response has a 5xx status code
func (*CreateUserCredentialsNotFound) IsSuccess ¶
func (o *CreateUserCredentialsNotFound) IsSuccess() bool
IsSuccess returns true when this create user credentials not found response has a 2xx status code
type CreateUserCredentialsReader ¶
type CreateUserCredentialsReader struct {
// contains filtered or unexported fields
}
CreateUserCredentialsReader is a Reader for the CreateUserCredentials structure.
func (*CreateUserCredentialsReader) ReadResponse ¶
func (o *CreateUserCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserCredentialsRequest ¶
type CreateUserCredentialsRequest struct { UserID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*CreateUserCredentialsRequest) Do ¶
func (a *CreateUserCredentialsRequest) Do() (*CreateUserCredentialsCreated, error)
create user credentials API
func (*CreateUserCredentialsRequest) FromJson ¶
func (o *CreateUserCredentialsRequest) FromJson(j string) (*CreateUserCredentialsRequest, error)
func (*CreateUserCredentialsRequest) MustDo ¶
func (a *CreateUserCredentialsRequest) MustDo() *CreateUserCredentialsCreated
func (*CreateUserCredentialsRequest) WithContext ¶
func (o *CreateUserCredentialsRequest) WithContext(ctx context.Context) *CreateUserCredentialsRequest
//////////////// WithContext adds the context to the create user credentials Request
func (*CreateUserCredentialsRequest) WithHTTPClient ¶
func (o *CreateUserCredentialsRequest) WithHTTPClient(client *http.Client) *CreateUserCredentialsRequest
WithHTTPClient adds the HTTPClient to the create user credentials Request
func (*CreateUserCredentialsRequest) WithUserID ¶
func (o *CreateUserCredentialsRequest) WithUserID(userID strfmt.UUID) *CreateUserCredentialsRequest
func (*CreateUserCredentialsRequest) WriteToRequest ¶
func (o *CreateUserCredentialsRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request 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 CreateUserRequest ¶
type CreateUserRequest struct { *models.UserCreation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*CreateUserRequest) Do ¶
func (a *CreateUserRequest) Do() (*CreateUserCreated, error)
create user API
func (*CreateUserRequest) FromJson ¶
func (o *CreateUserRequest) FromJson(j string) (*CreateUserRequest, error)
func (*CreateUserRequest) MustDo ¶
func (a *CreateUserRequest) MustDo() *CreateUserCreated
func (*CreateUserRequest) WithContext ¶
func (o *CreateUserRequest) WithContext(ctx context.Context) *CreateUserRequest
//////////////// WithContext adds the context to the create user Request
func (*CreateUserRequest) WithHTTPClient ¶
func (o *CreateUserRequest) WithHTTPClient(client *http.Client) *CreateUserRequest
WithHTTPClient adds the HTTPClient to the create user Request
func (*CreateUserRequest) WithUserCreationRequest ¶
func (o *CreateUserRequest) WithUserCreationRequest(userCreationRequest models.UserCreation) *CreateUserRequest
func (*CreateUserRequest) WithoutUserCreationRequest ¶
func (o *CreateUserRequest) WithoutUserCreationRequest() *CreateUserRequest
func (*CreateUserRequest) WriteToRequest ¶
func (o *CreateUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type CreateUserRoleCreated ¶
type CreateUserRoleCreated struct { }
CreateUserRoleCreated handles this case with default header values.
Role set OK
func NewCreateUserRoleCreated ¶
func NewCreateUserRoleCreated() *CreateUserRoleCreated
NewCreateUserRoleCreated creates a CreateUserRoleCreated with default headers values
func (*CreateUserRoleCreated) Code ¶
func (o *CreateUserRoleCreated) Code() int
Code gets the status code for the create user role created response
func (*CreateUserRoleCreated) Error ¶
func (o *CreateUserRoleCreated) Error() string
func (*CreateUserRoleCreated) IsClientError ¶
func (o *CreateUserRoleCreated) IsClientError() bool
IsClientError returns true when this create user role created response has a 4xx status code
func (*CreateUserRoleCreated) IsCode ¶
func (o *CreateUserRoleCreated) IsCode(code int) bool
IsCode returns true when this create user role created response a status code equal to that given
func (*CreateUserRoleCreated) IsRedirect ¶
func (o *CreateUserRoleCreated) IsRedirect() bool
IsRedirect returns true when this create user role created response has a 3xx status code
func (*CreateUserRoleCreated) IsServerError ¶
func (o *CreateUserRoleCreated) IsServerError() bool
IsServerError returns true when this create user role created response has a 5xx status code
func (*CreateUserRoleCreated) IsSuccess ¶
func (o *CreateUserRoleCreated) IsSuccess() bool
IsSuccess returns true when this create user role created response has a 2xx status code
type CreateUserRoleNotFound ¶
CreateUserRoleNotFound handles this case with default header values.
Not Found
func NewCreateUserRoleNotFound ¶
func NewCreateUserRoleNotFound() *CreateUserRoleNotFound
NewCreateUserRoleNotFound creates a CreateUserRoleNotFound with default headers values
func (*CreateUserRoleNotFound) Code ¶
func (o *CreateUserRoleNotFound) Code() int
Code gets the status code for the create user role not found response
func (*CreateUserRoleNotFound) Error ¶
func (o *CreateUserRoleNotFound) Error() string
func (*CreateUserRoleNotFound) IsClientError ¶
func (o *CreateUserRoleNotFound) IsClientError() bool
IsClientError returns true when this create user role not found response has a 4xx status code
func (*CreateUserRoleNotFound) IsCode ¶
func (o *CreateUserRoleNotFound) IsCode(code int) bool
IsCode returns true when this create user role not found response a status code equal to that given
func (*CreateUserRoleNotFound) IsRedirect ¶
func (o *CreateUserRoleNotFound) IsRedirect() bool
IsRedirect returns true when this create user role not found response has a 3xx status code
func (*CreateUserRoleNotFound) IsServerError ¶
func (o *CreateUserRoleNotFound) IsServerError() bool
IsServerError returns true when this create user role not found response has a 5xx status code
func (*CreateUserRoleNotFound) IsSuccess ¶
func (o *CreateUserRoleNotFound) IsSuccess() bool
IsSuccess returns true when this create user role not found response has a 2xx status code
type CreateUserRoleReader ¶
type CreateUserRoleReader struct {
// contains filtered or unexported fields
}
CreateUserRoleReader is a Reader for the CreateUserRole structure.
func (*CreateUserRoleReader) ReadResponse ¶
func (o *CreateUserRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserRoleRequest ¶
type CreateUserRoleRequest struct { RoleID strfmt.UUID UserID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*CreateUserRoleRequest) Do ¶
func (a *CreateUserRoleRequest) Do() (*CreateUserRoleCreated, error)
create user role API
func (*CreateUserRoleRequest) FromJson ¶
func (o *CreateUserRoleRequest) FromJson(j string) (*CreateUserRoleRequest, error)
func (*CreateUserRoleRequest) MustDo ¶
func (a *CreateUserRoleRequest) MustDo() *CreateUserRoleCreated
func (*CreateUserRoleRequest) WithContext ¶
func (o *CreateUserRoleRequest) WithContext(ctx context.Context) *CreateUserRoleRequest
//////////////// WithContext adds the context to the create user role Request
func (*CreateUserRoleRequest) WithHTTPClient ¶
func (o *CreateUserRoleRequest) WithHTTPClient(client *http.Client) *CreateUserRoleRequest
WithHTTPClient adds the HTTPClient to the create user role Request
func (*CreateUserRoleRequest) WithRoleID ¶
func (o *CreateUserRoleRequest) WithRoleID(roleID strfmt.UUID) *CreateUserRoleRequest
func (*CreateUserRoleRequest) WithUserID ¶
func (o *CreateUserRoleRequest) WithUserID(userID strfmt.UUID) *CreateUserRoleRequest
func (*CreateUserRoleRequest) WriteToRequest ¶
func (o *CreateUserRoleRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type DeleteUserConflict ¶
DeleteUserConflict handles this case with default header values.
Conflict
func NewDeleteUserConflict ¶
func NewDeleteUserConflict() *DeleteUserConflict
NewDeleteUserConflict creates a DeleteUserConflict with default headers values
func (*DeleteUserConflict) Code ¶
func (o *DeleteUserConflict) Code() int
Code gets the status code for the delete user conflict response
func (*DeleteUserConflict) Error ¶
func (o *DeleteUserConflict) Error() string
func (*DeleteUserConflict) IsClientError ¶
func (o *DeleteUserConflict) IsClientError() bool
IsClientError returns true when this delete user conflict response has a 4xx status code
func (*DeleteUserConflict) IsCode ¶
func (o *DeleteUserConflict) IsCode(code int) bool
IsCode returns true when this delete user conflict response a status code equal to that given
func (*DeleteUserConflict) IsRedirect ¶
func (o *DeleteUserConflict) IsRedirect() bool
IsRedirect returns true when this delete user conflict response has a 3xx status code
func (*DeleteUserConflict) IsServerError ¶
func (o *DeleteUserConflict) IsServerError() bool
IsServerError returns true when this delete user conflict response has a 5xx status code
func (*DeleteUserConflict) IsSuccess ¶
func (o *DeleteUserConflict) IsSuccess() bool
IsSuccess returns true when this delete user conflict response has a 2xx status code
type DeleteUserCredentialNoContent ¶
type DeleteUserCredentialNoContent struct { }
DeleteUserCredentialNoContent handles this case with default header values.
Credential deleted
func NewDeleteUserCredentialNoContent ¶
func NewDeleteUserCredentialNoContent() *DeleteUserCredentialNoContent
NewDeleteUserCredentialNoContent creates a DeleteUserCredentialNoContent with default headers values
func (*DeleteUserCredentialNoContent) Code ¶
func (o *DeleteUserCredentialNoContent) Code() int
Code gets the status code for the delete user credential no content response
func (*DeleteUserCredentialNoContent) Error ¶
func (o *DeleteUserCredentialNoContent) Error() string
func (*DeleteUserCredentialNoContent) IsClientError ¶
func (o *DeleteUserCredentialNoContent) IsClientError() bool
IsClientError returns true when this delete user credential no content response has a 4xx status code
func (*DeleteUserCredentialNoContent) IsCode ¶
func (o *DeleteUserCredentialNoContent) IsCode(code int) bool
IsCode returns true when this delete user credential no content response a status code equal to that given
func (*DeleteUserCredentialNoContent) IsRedirect ¶
func (o *DeleteUserCredentialNoContent) IsRedirect() bool
IsRedirect returns true when this delete user credential no content response has a 3xx status code
func (*DeleteUserCredentialNoContent) IsServerError ¶
func (o *DeleteUserCredentialNoContent) IsServerError() bool
IsServerError returns true when this delete user credential no content response has a 5xx status code
func (*DeleteUserCredentialNoContent) IsSuccess ¶
func (o *DeleteUserCredentialNoContent) IsSuccess() bool
IsSuccess returns true when this delete user credential no content response has a 2xx status code
type DeleteUserCredentialNotFound ¶
DeleteUserCredentialNotFound handles this case with default header values.
Not Found
func NewDeleteUserCredentialNotFound ¶
func NewDeleteUserCredentialNotFound() *DeleteUserCredentialNotFound
NewDeleteUserCredentialNotFound creates a DeleteUserCredentialNotFound with default headers values
func (*DeleteUserCredentialNotFound) Code ¶
func (o *DeleteUserCredentialNotFound) Code() int
Code gets the status code for the delete user credential not found response
func (*DeleteUserCredentialNotFound) Error ¶
func (o *DeleteUserCredentialNotFound) Error() string
func (*DeleteUserCredentialNotFound) IsClientError ¶
func (o *DeleteUserCredentialNotFound) IsClientError() bool
IsClientError returns true when this delete user credential not found response has a 4xx status code
func (*DeleteUserCredentialNotFound) IsCode ¶
func (o *DeleteUserCredentialNotFound) IsCode(code int) bool
IsCode returns true when this delete user credential not found response a status code equal to that given
func (*DeleteUserCredentialNotFound) IsRedirect ¶
func (o *DeleteUserCredentialNotFound) IsRedirect() bool
IsRedirect returns true when this delete user credential not found response has a 3xx status code
func (*DeleteUserCredentialNotFound) IsServerError ¶
func (o *DeleteUserCredentialNotFound) IsServerError() bool
IsServerError returns true when this delete user credential not found response has a 5xx status code
func (*DeleteUserCredentialNotFound) IsSuccess ¶
func (o *DeleteUserCredentialNotFound) IsSuccess() bool
IsSuccess returns true when this delete user credential not found response has a 2xx status code
type DeleteUserCredentialReader ¶
type DeleteUserCredentialReader struct {
// contains filtered or unexported fields
}
DeleteUserCredentialReader is a Reader for the DeleteUserCredential structure.
func (*DeleteUserCredentialReader) ReadResponse ¶
func (o *DeleteUserCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserCredentialRequest ¶
type DeleteUserCredentialRequest struct { ClientID string UserID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*DeleteUserCredentialRequest) Do ¶
func (a *DeleteUserCredentialRequest) Do() (*DeleteUserCredentialNoContent, error)
delete user credential API
func (*DeleteUserCredentialRequest) FromJson ¶
func (o *DeleteUserCredentialRequest) FromJson(j string) (*DeleteUserCredentialRequest, error)
func (*DeleteUserCredentialRequest) MustDo ¶
func (a *DeleteUserCredentialRequest) MustDo() *DeleteUserCredentialNoContent
func (*DeleteUserCredentialRequest) WithClientID ¶
func (o *DeleteUserCredentialRequest) WithClientID(clientID string) *DeleteUserCredentialRequest
func (*DeleteUserCredentialRequest) WithContext ¶
func (o *DeleteUserCredentialRequest) WithContext(ctx context.Context) *DeleteUserCredentialRequest
//////////////// WithContext adds the context to the delete user credential Request
func (*DeleteUserCredentialRequest) WithHTTPClient ¶
func (o *DeleteUserCredentialRequest) WithHTTPClient(client *http.Client) *DeleteUserCredentialRequest
WithHTTPClient adds the HTTPClient to the delete user credential Request
func (*DeleteUserCredentialRequest) WithUserID ¶
func (o *DeleteUserCredentialRequest) WithUserID(userID strfmt.UUID) *DeleteUserCredentialRequest
func (*DeleteUserCredentialRequest) WriteToRequest ¶
func (o *DeleteUserCredentialRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type DeleteUserNoContent ¶
type DeleteUserNoContent struct { }
DeleteUserNoContent handles this case with default header values.
User deleted
func NewDeleteUserNoContent ¶
func NewDeleteUserNoContent() *DeleteUserNoContent
NewDeleteUserNoContent creates a DeleteUserNoContent with default headers values
func (*DeleteUserNoContent) Code ¶
func (o *DeleteUserNoContent) Code() int
Code gets the status code for the delete user no content response
func (*DeleteUserNoContent) Error ¶
func (o *DeleteUserNoContent) Error() string
func (*DeleteUserNoContent) IsClientError ¶
func (o *DeleteUserNoContent) IsClientError() bool
IsClientError returns true when this delete user no content response has a 4xx status code
func (*DeleteUserNoContent) IsCode ¶
func (o *DeleteUserNoContent) IsCode(code int) bool
IsCode returns true when this delete user no content response a status code equal to that given
func (*DeleteUserNoContent) IsRedirect ¶
func (o *DeleteUserNoContent) IsRedirect() bool
IsRedirect returns true when this delete user no content response has a 3xx status code
func (*DeleteUserNoContent) IsServerError ¶
func (o *DeleteUserNoContent) IsServerError() bool
IsServerError returns true when this delete user no content response has a 5xx status code
func (*DeleteUserNoContent) IsSuccess ¶
func (o *DeleteUserNoContent) IsSuccess() bool
IsSuccess returns true when this delete user no content response has a 2xx status code
type DeleteUserNotFound ¶
DeleteUserNotFound handles this case with default header values.
Not Found
func NewDeleteUserNotFound ¶
func NewDeleteUserNotFound() *DeleteUserNotFound
NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values
func (*DeleteUserNotFound) Code ¶
func (o *DeleteUserNotFound) Code() int
Code gets the status code for the delete user not found response
func (*DeleteUserNotFound) Error ¶
func (o *DeleteUserNotFound) Error() string
func (*DeleteUserNotFound) IsClientError ¶
func (o *DeleteUserNotFound) IsClientError() bool
IsClientError returns true when this delete user not found response has a 4xx status code
func (*DeleteUserNotFound) IsCode ¶
func (o *DeleteUserNotFound) IsCode(code int) bool
IsCode returns true when this delete user not found response a status code equal to that given
func (*DeleteUserNotFound) IsRedirect ¶
func (o *DeleteUserNotFound) IsRedirect() bool
IsRedirect returns true when this delete user not found response has a 3xx status code
func (*DeleteUserNotFound) IsServerError ¶
func (o *DeleteUserNotFound) IsServerError() bool
IsServerError returns true when this delete user not found response has a 5xx status code
func (*DeleteUserNotFound) IsSuccess ¶
func (o *DeleteUserNotFound) IsSuccess() bool
IsSuccess returns true when this delete user not found response has a 2xx status code
type DeleteUserReader ¶
type DeleteUserReader struct {
// contains filtered or unexported fields
}
DeleteUserReader is a Reader for the DeleteUser structure.
func (*DeleteUserReader) ReadResponse ¶
func (o *DeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserRequest ¶
type DeleteUserRequest struct { UserID strfmt.UUID Version int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*DeleteUserRequest) Do ¶
func (a *DeleteUserRequest) Do() (*DeleteUserNoContent, error)
delete user API
func (*DeleteUserRequest) FromJson ¶
func (o *DeleteUserRequest) FromJson(j string) (*DeleteUserRequest, error)
func (*DeleteUserRequest) MustDo ¶
func (a *DeleteUserRequest) MustDo() *DeleteUserNoContent
func (*DeleteUserRequest) WithContext ¶
func (o *DeleteUserRequest) WithContext(ctx context.Context) *DeleteUserRequest
//////////////// WithContext adds the context to the delete user Request
func (*DeleteUserRequest) WithHTTPClient ¶
func (o *DeleteUserRequest) WithHTTPClient(client *http.Client) *DeleteUserRequest
WithHTTPClient adds the HTTPClient to the delete user Request
func (*DeleteUserRequest) WithUserID ¶
func (o *DeleteUserRequest) WithUserID(userID strfmt.UUID) *DeleteUserRequest
func (*DeleteUserRequest) WithVersion ¶
func (o *DeleteUserRequest) WithVersion(version int64) *DeleteUserRequest
func (*DeleteUserRequest) WriteToRequest ¶
func (o *DeleteUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type DeleteUserRoleNoContent ¶
type DeleteUserRoleNoContent struct { }
DeleteUserRoleNoContent handles this case with default header values.
User role deleted OK
func NewDeleteUserRoleNoContent ¶
func NewDeleteUserRoleNoContent() *DeleteUserRoleNoContent
NewDeleteUserRoleNoContent creates a DeleteUserRoleNoContent with default headers values
func (*DeleteUserRoleNoContent) Code ¶
func (o *DeleteUserRoleNoContent) Code() int
Code gets the status code for the delete user role no content response
func (*DeleteUserRoleNoContent) Error ¶
func (o *DeleteUserRoleNoContent) Error() string
func (*DeleteUserRoleNoContent) IsClientError ¶
func (o *DeleteUserRoleNoContent) IsClientError() bool
IsClientError returns true when this delete user role no content response has a 4xx status code
func (*DeleteUserRoleNoContent) IsCode ¶
func (o *DeleteUserRoleNoContent) IsCode(code int) bool
IsCode returns true when this delete user role no content response a status code equal to that given
func (*DeleteUserRoleNoContent) IsRedirect ¶
func (o *DeleteUserRoleNoContent) IsRedirect() bool
IsRedirect returns true when this delete user role no content response has a 3xx status code
func (*DeleteUserRoleNoContent) IsServerError ¶
func (o *DeleteUserRoleNoContent) IsServerError() bool
IsServerError returns true when this delete user role no content response has a 5xx status code
func (*DeleteUserRoleNoContent) IsSuccess ¶
func (o *DeleteUserRoleNoContent) IsSuccess() bool
IsSuccess returns true when this delete user role no content response has a 2xx status code
type DeleteUserRoleNotFound ¶
DeleteUserRoleNotFound handles this case with default header values.
Not Found
func NewDeleteUserRoleNotFound ¶
func NewDeleteUserRoleNotFound() *DeleteUserRoleNotFound
NewDeleteUserRoleNotFound creates a DeleteUserRoleNotFound with default headers values
func (*DeleteUserRoleNotFound) Code ¶
func (o *DeleteUserRoleNotFound) Code() int
Code gets the status code for the delete user role not found response
func (*DeleteUserRoleNotFound) Error ¶
func (o *DeleteUserRoleNotFound) Error() string
func (*DeleteUserRoleNotFound) IsClientError ¶
func (o *DeleteUserRoleNotFound) IsClientError() bool
IsClientError returns true when this delete user role not found response has a 4xx status code
func (*DeleteUserRoleNotFound) IsCode ¶
func (o *DeleteUserRoleNotFound) IsCode(code int) bool
IsCode returns true when this delete user role not found response a status code equal to that given
func (*DeleteUserRoleNotFound) IsRedirect ¶
func (o *DeleteUserRoleNotFound) IsRedirect() bool
IsRedirect returns true when this delete user role not found response has a 3xx status code
func (*DeleteUserRoleNotFound) IsServerError ¶
func (o *DeleteUserRoleNotFound) IsServerError() bool
IsServerError returns true when this delete user role not found response has a 5xx status code
func (*DeleteUserRoleNotFound) IsSuccess ¶
func (o *DeleteUserRoleNotFound) IsSuccess() bool
IsSuccess returns true when this delete user role not found response has a 2xx status code
type DeleteUserRoleReader ¶
type DeleteUserRoleReader struct {
// contains filtered or unexported fields
}
DeleteUserRoleReader is a Reader for the DeleteUserRole structure.
func (*DeleteUserRoleReader) ReadResponse ¶
func (o *DeleteUserRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserRoleRequest ¶
type DeleteUserRoleRequest struct { RoleID strfmt.UUID UserID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*DeleteUserRoleRequest) Do ¶
func (a *DeleteUserRoleRequest) Do() (*DeleteUserRoleNoContent, error)
delete user role API
func (*DeleteUserRoleRequest) FromJson ¶
func (o *DeleteUserRoleRequest) FromJson(j string) (*DeleteUserRoleRequest, error)
func (*DeleteUserRoleRequest) MustDo ¶
func (a *DeleteUserRoleRequest) MustDo() *DeleteUserRoleNoContent
func (*DeleteUserRoleRequest) WithContext ¶
func (o *DeleteUserRoleRequest) WithContext(ctx context.Context) *DeleteUserRoleRequest
//////////////// WithContext adds the context to the delete user role Request
func (*DeleteUserRoleRequest) WithHTTPClient ¶
func (o *DeleteUserRoleRequest) WithHTTPClient(client *http.Client) *DeleteUserRoleRequest
WithHTTPClient adds the HTTPClient to the delete user role Request
func (*DeleteUserRoleRequest) WithRoleID ¶
func (o *DeleteUserRoleRequest) WithRoleID(roleID strfmt.UUID) *DeleteUserRoleRequest
func (*DeleteUserRoleRequest) WithUserID ¶
func (o *DeleteUserRoleRequest) WithUserID(userID strfmt.UUID) *DeleteUserRoleRequest
func (*DeleteUserRoleRequest) WriteToRequest ¶
func (o *DeleteUserRoleRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type FetchPublicKeyForUserNotFound ¶
FetchPublicKeyForUserNotFound handles this case with default header values.
Not Found
func NewFetchPublicKeyForUserNotFound ¶
func NewFetchPublicKeyForUserNotFound() *FetchPublicKeyForUserNotFound
NewFetchPublicKeyForUserNotFound creates a FetchPublicKeyForUserNotFound with default headers values
func (*FetchPublicKeyForUserNotFound) Code ¶
func (o *FetchPublicKeyForUserNotFound) Code() int
Code gets the status code for the fetch public key for user not found response
func (*FetchPublicKeyForUserNotFound) Error ¶
func (o *FetchPublicKeyForUserNotFound) Error() string
func (*FetchPublicKeyForUserNotFound) IsClientError ¶
func (o *FetchPublicKeyForUserNotFound) IsClientError() bool
IsClientError returns true when this fetch public key for user not found response has a 4xx status code
func (*FetchPublicKeyForUserNotFound) IsCode ¶
func (o *FetchPublicKeyForUserNotFound) IsCode(code int) bool
IsCode returns true when this fetch public key for user not found response a status code equal to that given
func (*FetchPublicKeyForUserNotFound) IsRedirect ¶
func (o *FetchPublicKeyForUserNotFound) IsRedirect() bool
IsRedirect returns true when this fetch public key for user not found response has a 3xx status code
func (*FetchPublicKeyForUserNotFound) IsServerError ¶
func (o *FetchPublicKeyForUserNotFound) IsServerError() bool
IsServerError returns true when this fetch public key for user not found response has a 5xx status code
func (*FetchPublicKeyForUserNotFound) IsSuccess ¶
func (o *FetchPublicKeyForUserNotFound) IsSuccess() bool
IsSuccess returns true when this fetch public key for user not found response has a 2xx status code
type FetchPublicKeyForUserOK ¶
type FetchPublicKeyForUserOK struct { // isStream: false *models.PublicKeyResponse }
FetchPublicKeyForUserOK handles this case with default header values.
Public key
func NewFetchPublicKeyForUserOK ¶
func NewFetchPublicKeyForUserOK() *FetchPublicKeyForUserOK
NewFetchPublicKeyForUserOK creates a FetchPublicKeyForUserOK with default headers values
func (*FetchPublicKeyForUserOK) Code ¶
func (o *FetchPublicKeyForUserOK) Code() int
Code gets the status code for the fetch public key for user o k response
func (*FetchPublicKeyForUserOK) Error ¶
func (o *FetchPublicKeyForUserOK) Error() string
func (*FetchPublicKeyForUserOK) IsClientError ¶
func (o *FetchPublicKeyForUserOK) IsClientError() bool
IsClientError returns true when this fetch public key for user o k response has a 4xx status code
func (*FetchPublicKeyForUserOK) IsCode ¶
func (o *FetchPublicKeyForUserOK) IsCode(code int) bool
IsCode returns true when this fetch public key for user o k response a status code equal to that given
func (*FetchPublicKeyForUserOK) IsRedirect ¶
func (o *FetchPublicKeyForUserOK) IsRedirect() bool
IsRedirect returns true when this fetch public key for user o k response has a 3xx status code
func (*FetchPublicKeyForUserOK) IsServerError ¶
func (o *FetchPublicKeyForUserOK) IsServerError() bool
IsServerError returns true when this fetch public key for user o k response has a 5xx status code
func (*FetchPublicKeyForUserOK) IsSuccess ¶
func (o *FetchPublicKeyForUserOK) IsSuccess() bool
IsSuccess returns true when this fetch public key for user o k response has a 2xx status code
type FetchPublicKeyForUserReader ¶
type FetchPublicKeyForUserReader struct {
// contains filtered or unexported fields
}
FetchPublicKeyForUserReader is a Reader for the FetchPublicKeyForUser structure.
func (*FetchPublicKeyForUserReader) ReadResponse ¶
func (o *FetchPublicKeyForUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FetchPublicKeyForUserRequest ¶
type FetchPublicKeyForUserRequest struct { PublicKeyID strfmt.UUID UserID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*FetchPublicKeyForUserRequest) Do ¶
func (a *FetchPublicKeyForUserRequest) Do() (*FetchPublicKeyForUserOK, error)
fetch public key for user API
func (*FetchPublicKeyForUserRequest) FromJson ¶
func (o *FetchPublicKeyForUserRequest) FromJson(j string) (*FetchPublicKeyForUserRequest, error)
func (*FetchPublicKeyForUserRequest) MustDo ¶
func (a *FetchPublicKeyForUserRequest) MustDo() *FetchPublicKeyForUserOK
func (*FetchPublicKeyForUserRequest) WithContext ¶
func (o *FetchPublicKeyForUserRequest) WithContext(ctx context.Context) *FetchPublicKeyForUserRequest
//////////////// WithContext adds the context to the fetch public key for user Request
func (*FetchPublicKeyForUserRequest) WithHTTPClient ¶
func (o *FetchPublicKeyForUserRequest) WithHTTPClient(client *http.Client) *FetchPublicKeyForUserRequest
WithHTTPClient adds the HTTPClient to the fetch public key for user Request
func (*FetchPublicKeyForUserRequest) WithPublicKeyID ¶
func (o *FetchPublicKeyForUserRequest) WithPublicKeyID(publicKeyID strfmt.UUID) *FetchPublicKeyForUserRequest
func (*FetchPublicKeyForUserRequest) WithUserID ¶
func (o *FetchPublicKeyForUserRequest) WithUserID(userID strfmt.UUID) *FetchPublicKeyForUserRequest
func (*FetchPublicKeyForUserRequest) WriteToRequest ¶
func (o *FetchPublicKeyForUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type GetUserAcesNotFound ¶
GetUserAcesNotFound handles this case with default header values.
Not Found
func NewGetUserAcesNotFound ¶
func NewGetUserAcesNotFound() *GetUserAcesNotFound
NewGetUserAcesNotFound creates a GetUserAcesNotFound with default headers values
func (*GetUserAcesNotFound) Code ¶
func (o *GetUserAcesNotFound) Code() int
Code gets the status code for the get user aces not found response
func (*GetUserAcesNotFound) Error ¶
func (o *GetUserAcesNotFound) Error() string
func (*GetUserAcesNotFound) IsClientError ¶
func (o *GetUserAcesNotFound) IsClientError() bool
IsClientError returns true when this get user aces not found response has a 4xx status code
func (*GetUserAcesNotFound) IsCode ¶
func (o *GetUserAcesNotFound) IsCode(code int) bool
IsCode returns true when this get user aces not found response a status code equal to that given
func (*GetUserAcesNotFound) IsRedirect ¶
func (o *GetUserAcesNotFound) IsRedirect() bool
IsRedirect returns true when this get user aces not found response has a 3xx status code
func (*GetUserAcesNotFound) IsServerError ¶
func (o *GetUserAcesNotFound) IsServerError() bool
IsServerError returns true when this get user aces not found response has a 5xx status code
func (*GetUserAcesNotFound) IsSuccess ¶
func (o *GetUserAcesNotFound) IsSuccess() bool
IsSuccess returns true when this get user aces not found response has a 2xx status code
type GetUserAcesOK ¶
type GetUserAcesOK struct { // isStream: false *models.AceDetailsListResponse }
GetUserAcesOK handles this case with default header values.
List of access control entries for this user
func NewGetUserAcesOK ¶
func NewGetUserAcesOK() *GetUserAcesOK
NewGetUserAcesOK creates a GetUserAcesOK with default headers values
func (*GetUserAcesOK) Code ¶
func (o *GetUserAcesOK) Code() int
Code gets the status code for the get user aces o k response
func (*GetUserAcesOK) Error ¶
func (o *GetUserAcesOK) Error() string
func (*GetUserAcesOK) IsClientError ¶
func (o *GetUserAcesOK) IsClientError() bool
IsClientError returns true when this get user aces o k response has a 4xx status code
func (*GetUserAcesOK) IsCode ¶
func (o *GetUserAcesOK) IsCode(code int) bool
IsCode returns true when this get user aces o k response a status code equal to that given
func (*GetUserAcesOK) IsRedirect ¶
func (o *GetUserAcesOK) IsRedirect() bool
IsRedirect returns true when this get user aces o k response has a 3xx status code
func (*GetUserAcesOK) IsServerError ¶
func (o *GetUserAcesOK) IsServerError() bool
IsServerError returns true when this get user aces o k response has a 5xx status code
func (*GetUserAcesOK) IsSuccess ¶
func (o *GetUserAcesOK) IsSuccess() bool
IsSuccess returns true when this get user aces o k response has a 2xx status code
type GetUserAcesReader ¶
type GetUserAcesReader struct {
// contains filtered or unexported fields
}
GetUserAcesReader is a Reader for the GetUserAces structure.
func (*GetUserAcesReader) ReadResponse ¶
func (o *GetUserAcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserAcesRequest ¶
type GetUserAcesRequest struct { FilterAction *string FilterRecordType *string UserID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*GetUserAcesRequest) Do ¶
func (a *GetUserAcesRequest) Do() (*GetUserAcesOK, error)
get user aces API
func (*GetUserAcesRequest) FromJson ¶
func (o *GetUserAcesRequest) FromJson(j string) (*GetUserAcesRequest, error)
func (*GetUserAcesRequest) MustDo ¶
func (a *GetUserAcesRequest) MustDo() *GetUserAcesOK
func (*GetUserAcesRequest) WithContext ¶
func (o *GetUserAcesRequest) WithContext(ctx context.Context) *GetUserAcesRequest
//////////////// WithContext adds the context to the get user aces Request
func (*GetUserAcesRequest) WithFilterAction ¶
func (o *GetUserAcesRequest) WithFilterAction(filterAction string) *GetUserAcesRequest
func (*GetUserAcesRequest) WithFilterRecordType ¶
func (o *GetUserAcesRequest) WithFilterRecordType(filterRecordType string) *GetUserAcesRequest
func (*GetUserAcesRequest) WithHTTPClient ¶
func (o *GetUserAcesRequest) WithHTTPClient(client *http.Client) *GetUserAcesRequest
WithHTTPClient adds the HTTPClient to the get user aces Request
func (*GetUserAcesRequest) WithUserID ¶
func (o *GetUserAcesRequest) WithUserID(userID strfmt.UUID) *GetUserAcesRequest
func (*GetUserAcesRequest) WithoutFilterAction ¶
func (o *GetUserAcesRequest) WithoutFilterAction() *GetUserAcesRequest
func (*GetUserAcesRequest) WithoutFilterRecordType ¶
func (o *GetUserAcesRequest) WithoutFilterRecordType() *GetUserAcesRequest
func (*GetUserAcesRequest) WriteToRequest ¶
func (o *GetUserAcesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type GetUserNotFound ¶
GetUserNotFound handles this case with default header values.
Not Found
func NewGetUserNotFound ¶
func NewGetUserNotFound() *GetUserNotFound
NewGetUserNotFound creates a GetUserNotFound with default headers values
func (*GetUserNotFound) Code ¶
func (o *GetUserNotFound) Code() int
Code gets the status code for the get user not found response
func (*GetUserNotFound) Error ¶
func (o *GetUserNotFound) Error() string
func (*GetUserNotFound) IsClientError ¶
func (o *GetUserNotFound) IsClientError() bool
IsClientError returns true when this get user not found response has a 4xx status code
func (*GetUserNotFound) IsCode ¶
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 ¶
func (o *GetUserNotFound) IsRedirect() bool
IsRedirect returns true when this get user not found response has a 3xx status code
func (*GetUserNotFound) IsServerError ¶
func (o *GetUserNotFound) IsServerError() bool
IsServerError returns true when this get user not found response has a 5xx status code
func (*GetUserNotFound) IsSuccess ¶
func (o *GetUserNotFound) IsSuccess() bool
IsSuccess returns true when this get user not found response has a 2xx status code
type GetUserOK ¶
type GetUserOK struct { // isStream: false *models.UserDetailsResponse }
GetUserOK handles this case with default header values.
User details
func NewGetUserOK ¶
func NewGetUserOK() *GetUserOK
NewGetUserOK creates a GetUserOK with default headers values
func (*GetUserOK) IsClientError ¶
IsClientError returns true when this get user o k response has a 4xx status code
func (*GetUserOK) IsCode ¶
IsCode returns true when this get user o k response a status code equal to that given
func (*GetUserOK) IsRedirect ¶
IsRedirect returns true when this get user o k response has a 3xx status code
func (*GetUserOK) IsServerError ¶
IsServerError returns true when this get user o k response has a 5xx status code
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 GetUserRequest ¶
type GetUserRequest struct { UserID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*GetUserRequest) FromJson ¶
func (o *GetUserRequest) FromJson(j string) (*GetUserRequest, error)
func (*GetUserRequest) MustDo ¶
func (a *GetUserRequest) MustDo() *GetUserOK
func (*GetUserRequest) WithContext ¶
func (o *GetUserRequest) WithContext(ctx context.Context) *GetUserRequest
//////////////// WithContext adds the context to the get user Request
func (*GetUserRequest) WithHTTPClient ¶
func (o *GetUserRequest) WithHTTPClient(client *http.Client) *GetUserRequest
WithHTTPClient adds the HTTPClient to the get user Request
func (*GetUserRequest) WithUserID ¶
func (o *GetUserRequest) WithUserID(userID strfmt.UUID) *GetUserRequest
func (*GetUserRequest) WriteToRequest ¶
func (o *GetUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ListPublicKeysForUserNotFound ¶
ListPublicKeysForUserNotFound handles this case with default header values.
Not Found
func NewListPublicKeysForUserNotFound ¶
func NewListPublicKeysForUserNotFound() *ListPublicKeysForUserNotFound
NewListPublicKeysForUserNotFound creates a ListPublicKeysForUserNotFound with default headers values
func (*ListPublicKeysForUserNotFound) Code ¶
func (o *ListPublicKeysForUserNotFound) Code() int
Code gets the status code for the list public keys for user not found response
func (*ListPublicKeysForUserNotFound) Error ¶
func (o *ListPublicKeysForUserNotFound) Error() string
func (*ListPublicKeysForUserNotFound) IsClientError ¶
func (o *ListPublicKeysForUserNotFound) IsClientError() bool
IsClientError returns true when this list public keys for user not found response has a 4xx status code
func (*ListPublicKeysForUserNotFound) IsCode ¶
func (o *ListPublicKeysForUserNotFound) IsCode(code int) bool
IsCode returns true when this list public keys for user not found response a status code equal to that given
func (*ListPublicKeysForUserNotFound) IsRedirect ¶
func (o *ListPublicKeysForUserNotFound) IsRedirect() bool
IsRedirect returns true when this list public keys for user not found response has a 3xx status code
func (*ListPublicKeysForUserNotFound) IsServerError ¶
func (o *ListPublicKeysForUserNotFound) IsServerError() bool
IsServerError returns true when this list public keys for user not found response has a 5xx status code
func (*ListPublicKeysForUserNotFound) IsSuccess ¶
func (o *ListPublicKeysForUserNotFound) IsSuccess() bool
IsSuccess returns true when this list public keys for user not found response has a 2xx status code
type ListPublicKeysForUserOK ¶
type ListPublicKeysForUserOK struct { // isStream: false *models.PublicKeysListResponse }
ListPublicKeysForUserOK handles this case with default header values.
List of all public keys for given user
func NewListPublicKeysForUserOK ¶
func NewListPublicKeysForUserOK() *ListPublicKeysForUserOK
NewListPublicKeysForUserOK creates a ListPublicKeysForUserOK with default headers values
func (*ListPublicKeysForUserOK) Code ¶
func (o *ListPublicKeysForUserOK) Code() int
Code gets the status code for the list public keys for user o k response
func (*ListPublicKeysForUserOK) Error ¶
func (o *ListPublicKeysForUserOK) Error() string
func (*ListPublicKeysForUserOK) IsClientError ¶
func (o *ListPublicKeysForUserOK) IsClientError() bool
IsClientError returns true when this list public keys for user o k response has a 4xx status code
func (*ListPublicKeysForUserOK) IsCode ¶
func (o *ListPublicKeysForUserOK) IsCode(code int) bool
IsCode returns true when this list public keys for user o k response a status code equal to that given
func (*ListPublicKeysForUserOK) IsRedirect ¶
func (o *ListPublicKeysForUserOK) IsRedirect() bool
IsRedirect returns true when this list public keys for user o k response has a 3xx status code
func (*ListPublicKeysForUserOK) IsServerError ¶
func (o *ListPublicKeysForUserOK) IsServerError() bool
IsServerError returns true when this list public keys for user o k response has a 5xx status code
func (*ListPublicKeysForUserOK) IsSuccess ¶
func (o *ListPublicKeysForUserOK) IsSuccess() bool
IsSuccess returns true when this list public keys for user o k response has a 2xx status code
type ListPublicKeysForUserReader ¶
type ListPublicKeysForUserReader struct {
// contains filtered or unexported fields
}
ListPublicKeysForUserReader is a Reader for the ListPublicKeysForUser structure.
func (*ListPublicKeysForUserReader) ReadResponse ¶
func (o *ListPublicKeysForUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPublicKeysForUserRequest ¶
type ListPublicKeysForUserRequest struct { UserID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*ListPublicKeysForUserRequest) Do ¶
func (a *ListPublicKeysForUserRequest) Do() (*ListPublicKeysForUserOK, error)
list public keys for user API
func (*ListPublicKeysForUserRequest) FromJson ¶
func (o *ListPublicKeysForUserRequest) FromJson(j string) (*ListPublicKeysForUserRequest, error)
func (*ListPublicKeysForUserRequest) MustDo ¶
func (a *ListPublicKeysForUserRequest) MustDo() *ListPublicKeysForUserOK
func (*ListPublicKeysForUserRequest) WithContext ¶
func (o *ListPublicKeysForUserRequest) WithContext(ctx context.Context) *ListPublicKeysForUserRequest
//////////////// WithContext adds the context to the list public keys for user Request
func (*ListPublicKeysForUserRequest) WithHTTPClient ¶
func (o *ListPublicKeysForUserRequest) WithHTTPClient(client *http.Client) *ListPublicKeysForUserRequest
WithHTTPClient adds the HTTPClient to the list public keys for user Request
func (*ListPublicKeysForUserRequest) WithUserID ¶
func (o *ListPublicKeysForUserRequest) WithUserID(userID strfmt.UUID) *ListPublicKeysForUserRequest
func (*ListPublicKeysForUserRequest) WriteToRequest ¶
func (o *ListPublicKeysForUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ListUserCredentialsNotFound ¶
ListUserCredentialsNotFound handles this case with default header values.
Not Found
func NewListUserCredentialsNotFound ¶
func NewListUserCredentialsNotFound() *ListUserCredentialsNotFound
NewListUserCredentialsNotFound creates a ListUserCredentialsNotFound with default headers values
func (*ListUserCredentialsNotFound) Code ¶
func (o *ListUserCredentialsNotFound) Code() int
Code gets the status code for the list user credentials not found response
func (*ListUserCredentialsNotFound) Error ¶
func (o *ListUserCredentialsNotFound) Error() string
func (*ListUserCredentialsNotFound) IsClientError ¶
func (o *ListUserCredentialsNotFound) IsClientError() bool
IsClientError returns true when this list user credentials not found response has a 4xx status code
func (*ListUserCredentialsNotFound) IsCode ¶
func (o *ListUserCredentialsNotFound) IsCode(code int) bool
IsCode returns true when this list user credentials not found response a status code equal to that given
func (*ListUserCredentialsNotFound) IsRedirect ¶
func (o *ListUserCredentialsNotFound) IsRedirect() bool
IsRedirect returns true when this list user credentials not found response has a 3xx status code
func (*ListUserCredentialsNotFound) IsServerError ¶
func (o *ListUserCredentialsNotFound) IsServerError() bool
IsServerError returns true when this list user credentials not found response has a 5xx status code
func (*ListUserCredentialsNotFound) IsSuccess ¶
func (o *ListUserCredentialsNotFound) IsSuccess() bool
IsSuccess returns true when this list user credentials not found response has a 2xx status code
type ListUserCredentialsOK ¶
type ListUserCredentialsOK struct { // isStream: false *models.UserCredentialListResponse }
ListUserCredentialsOK handles this case with default header values.
List of credentials for user
func NewListUserCredentialsOK ¶
func NewListUserCredentialsOK() *ListUserCredentialsOK
NewListUserCredentialsOK creates a ListUserCredentialsOK with default headers values
func (*ListUserCredentialsOK) Code ¶
func (o *ListUserCredentialsOK) Code() int
Code gets the status code for the list user credentials o k response
func (*ListUserCredentialsOK) Error ¶
func (o *ListUserCredentialsOK) Error() string
func (*ListUserCredentialsOK) IsClientError ¶
func (o *ListUserCredentialsOK) IsClientError() bool
IsClientError returns true when this list user credentials o k response has a 4xx status code
func (*ListUserCredentialsOK) IsCode ¶
func (o *ListUserCredentialsOK) IsCode(code int) bool
IsCode returns true when this list user credentials o k response a status code equal to that given
func (*ListUserCredentialsOK) IsRedirect ¶
func (o *ListUserCredentialsOK) IsRedirect() bool
IsRedirect returns true when this list user credentials o k response has a 3xx status code
func (*ListUserCredentialsOK) IsServerError ¶
func (o *ListUserCredentialsOK) IsServerError() bool
IsServerError returns true when this list user credentials o k response has a 5xx status code
func (*ListUserCredentialsOK) IsSuccess ¶
func (o *ListUserCredentialsOK) IsSuccess() bool
IsSuccess returns true when this list user credentials o k response has a 2xx status code
type ListUserCredentialsReader ¶
type ListUserCredentialsReader struct {
// contains filtered or unexported fields
}
ListUserCredentialsReader is a Reader for the ListUserCredentials structure.
func (*ListUserCredentialsReader) ReadResponse ¶
func (o *ListUserCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserCredentialsRequest ¶
type ListUserCredentialsRequest struct { UserID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*ListUserCredentialsRequest) Do ¶
func (a *ListUserCredentialsRequest) Do() (*ListUserCredentialsOK, error)
list user credentials API
func (*ListUserCredentialsRequest) FromJson ¶
func (o *ListUserCredentialsRequest) FromJson(j string) (*ListUserCredentialsRequest, error)
func (*ListUserCredentialsRequest) MustDo ¶
func (a *ListUserCredentialsRequest) MustDo() *ListUserCredentialsOK
func (*ListUserCredentialsRequest) WithContext ¶
func (o *ListUserCredentialsRequest) WithContext(ctx context.Context) *ListUserCredentialsRequest
//////////////// WithContext adds the context to the list user credentials Request
func (*ListUserCredentialsRequest) WithHTTPClient ¶
func (o *ListUserCredentialsRequest) WithHTTPClient(client *http.Client) *ListUserCredentialsRequest
WithHTTPClient adds the HTTPClient to the list user credentials Request
func (*ListUserCredentialsRequest) WithUserID ¶
func (o *ListUserCredentialsRequest) WithUserID(userID strfmt.UUID) *ListUserCredentialsRequest
func (*ListUserCredentialsRequest) WriteToRequest ¶
func (o *ListUserCredentialsRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ListUserRolesNotFound ¶
ListUserRolesNotFound handles this case with default header values.
Not Found
func NewListUserRolesNotFound ¶
func NewListUserRolesNotFound() *ListUserRolesNotFound
NewListUserRolesNotFound creates a ListUserRolesNotFound with default headers values
func (*ListUserRolesNotFound) Code ¶
func (o *ListUserRolesNotFound) Code() int
Code gets the status code for the list user roles not found response
func (*ListUserRolesNotFound) Error ¶
func (o *ListUserRolesNotFound) Error() string
func (*ListUserRolesNotFound) IsClientError ¶
func (o *ListUserRolesNotFound) IsClientError() bool
IsClientError returns true when this list user roles not found response has a 4xx status code
func (*ListUserRolesNotFound) IsCode ¶
func (o *ListUserRolesNotFound) IsCode(code int) bool
IsCode returns true when this list user roles not found response a status code equal to that given
func (*ListUserRolesNotFound) IsRedirect ¶
func (o *ListUserRolesNotFound) IsRedirect() bool
IsRedirect returns true when this list user roles not found response has a 3xx status code
func (*ListUserRolesNotFound) IsServerError ¶
func (o *ListUserRolesNotFound) IsServerError() bool
IsServerError returns true when this list user roles not found response has a 5xx status code
func (*ListUserRolesNotFound) IsSuccess ¶
func (o *ListUserRolesNotFound) IsSuccess() bool
IsSuccess returns true when this list user roles not found response has a 2xx status code
type ListUserRolesOK ¶
type ListUserRolesOK struct { // isStream: false *models.UserRoleListResponse }
ListUserRolesOK handles this case with default header values.
List of roles for user
func NewListUserRolesOK ¶
func NewListUserRolesOK() *ListUserRolesOK
NewListUserRolesOK creates a ListUserRolesOK with default headers values
func (*ListUserRolesOK) Code ¶
func (o *ListUserRolesOK) Code() int
Code gets the status code for the list user roles o k response
func (*ListUserRolesOK) Error ¶
func (o *ListUserRolesOK) Error() string
func (*ListUserRolesOK) IsClientError ¶
func (o *ListUserRolesOK) IsClientError() bool
IsClientError returns true when this list user roles o k response has a 4xx status code
func (*ListUserRolesOK) IsCode ¶
func (o *ListUserRolesOK) IsCode(code int) bool
IsCode returns true when this list user roles o k response a status code equal to that given
func (*ListUserRolesOK) IsRedirect ¶
func (o *ListUserRolesOK) IsRedirect() bool
IsRedirect returns true when this list user roles o k response has a 3xx status code
func (*ListUserRolesOK) IsServerError ¶
func (o *ListUserRolesOK) IsServerError() bool
IsServerError returns true when this list user roles o k response has a 5xx status code
func (*ListUserRolesOK) IsSuccess ¶
func (o *ListUserRolesOK) IsSuccess() bool
IsSuccess returns true when this list user roles o k response has a 2xx status code
type ListUserRolesReader ¶
type ListUserRolesReader struct {
// contains filtered or unexported fields
}
ListUserRolesReader is a Reader for the ListUserRoles structure.
func (*ListUserRolesReader) ReadResponse ¶
func (o *ListUserRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserRolesRequest ¶
type ListUserRolesRequest struct { UserID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*ListUserRolesRequest) Do ¶
func (a *ListUserRolesRequest) Do() (*ListUserRolesOK, error)
list user roles API
func (*ListUserRolesRequest) FromJson ¶
func (o *ListUserRolesRequest) FromJson(j string) (*ListUserRolesRequest, error)
func (*ListUserRolesRequest) MustDo ¶
func (a *ListUserRolesRequest) MustDo() *ListUserRolesOK
func (*ListUserRolesRequest) WithContext ¶
func (o *ListUserRolesRequest) WithContext(ctx context.Context) *ListUserRolesRequest
//////////////// WithContext adds the context to the list user roles Request
func (*ListUserRolesRequest) WithHTTPClient ¶
func (o *ListUserRolesRequest) WithHTTPClient(client *http.Client) *ListUserRolesRequest
WithHTTPClient adds the HTTPClient to the list user roles Request
func (*ListUserRolesRequest) WithUserID ¶
func (o *ListUserRolesRequest) WithUserID(userID strfmt.UUID) *ListUserRolesRequest
func (*ListUserRolesRequest) WriteToRequest ¶
func (o *ListUserRolesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ListUsersOK ¶
type ListUsersOK struct { // isStream: false *models.UserDetailsListResponse }
ListUsersOK handles this case with default header values.
List of user details
func NewListUsersOK ¶
func NewListUsersOK() *ListUsersOK
NewListUsersOK creates a ListUsersOK with default headers values
func (*ListUsersOK) Code ¶
func (o *ListUsersOK) Code() int
Code gets the status code for the list users o k response
func (*ListUsersOK) Error ¶
func (o *ListUsersOK) Error() string
func (*ListUsersOK) IsClientError ¶
func (o *ListUsersOK) IsClientError() bool
IsClientError returns true when this list users o k response has a 4xx status code
func (*ListUsersOK) IsCode ¶
func (o *ListUsersOK) IsCode(code int) bool
IsCode returns true when this list users o k response a status code equal to that given
func (*ListUsersOK) IsRedirect ¶
func (o *ListUsersOK) IsRedirect() bool
IsRedirect returns true when this list users o k response has a 3xx status code
func (*ListUsersOK) IsServerError ¶
func (o *ListUsersOK) IsServerError() bool
IsServerError returns true when this list users o k response has a 5xx status code
func (*ListUsersOK) IsSuccess ¶
func (o *ListUsersOK) IsSuccess() bool
IsSuccess returns true when this list users o k response has a 2xx status code
type ListUsersReader ¶
type ListUsersReader struct {
// contains filtered or unexported fields
}
ListUsersReader is a Reader for the ListUsers structure.
func (*ListUsersReader) ReadResponse ¶
func (o *ListUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUsersRequest ¶
type ListUsersRequest struct { PageNumber *int64 PageSize *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*ListUsersRequest) FromJson ¶
func (o *ListUsersRequest) FromJson(j string) (*ListUsersRequest, error)
func (*ListUsersRequest) MustDo ¶
func (a *ListUsersRequest) MustDo() *ListUsersOK
func (*ListUsersRequest) WithContext ¶
func (o *ListUsersRequest) WithContext(ctx context.Context) *ListUsersRequest
//////////////// WithContext adds the context to the list users Request
func (*ListUsersRequest) WithHTTPClient ¶
func (o *ListUsersRequest) WithHTTPClient(client *http.Client) *ListUsersRequest
WithHTTPClient adds the HTTPClient to the list users Request
func (*ListUsersRequest) WithPageNumber ¶
func (o *ListUsersRequest) WithPageNumber(pageNumber int64) *ListUsersRequest
func (*ListUsersRequest) WithPageSize ¶
func (o *ListUsersRequest) WithPageSize(pageSize int64) *ListUsersRequest
func (*ListUsersRequest) WithoutPageNumber ¶
func (o *ListUsersRequest) WithoutPageNumber() *ListUsersRequest
func (*ListUsersRequest) WithoutPageSize ¶
func (o *ListUsersRequest) WithoutPageSize() *ListUsersRequest
func (*ListUsersRequest) WriteToRequest ¶
func (o *ListUsersRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ModifyUserBadRequest ¶
ModifyUserBadRequest handles this case with default header values.
Bad request
func NewModifyUserBadRequest ¶
func NewModifyUserBadRequest() *ModifyUserBadRequest
NewModifyUserBadRequest creates a ModifyUserBadRequest with default headers values
func (*ModifyUserBadRequest) Code ¶
func (o *ModifyUserBadRequest) Code() int
Code gets the status code for the modify user bad request response
func (*ModifyUserBadRequest) Error ¶
func (o *ModifyUserBadRequest) Error() string
func (*ModifyUserBadRequest) IsClientError ¶
func (o *ModifyUserBadRequest) IsClientError() bool
IsClientError returns true when this modify user bad request response has a 4xx status code
func (*ModifyUserBadRequest) IsCode ¶
func (o *ModifyUserBadRequest) IsCode(code int) bool
IsCode returns true when this modify user bad request response a status code equal to that given
func (*ModifyUserBadRequest) IsRedirect ¶
func (o *ModifyUserBadRequest) IsRedirect() bool
IsRedirect returns true when this modify user bad request response has a 3xx status code
func (*ModifyUserBadRequest) IsServerError ¶
func (o *ModifyUserBadRequest) IsServerError() bool
IsServerError returns true when this modify user bad request response has a 5xx status code
func (*ModifyUserBadRequest) IsSuccess ¶
func (o *ModifyUserBadRequest) IsSuccess() bool
IsSuccess returns true when this modify user bad request response has a 2xx status code
type ModifyUserNotFound ¶
ModifyUserNotFound handles this case with default header values.
Not Found
func NewModifyUserNotFound ¶
func NewModifyUserNotFound() *ModifyUserNotFound
NewModifyUserNotFound creates a ModifyUserNotFound with default headers values
func (*ModifyUserNotFound) Code ¶
func (o *ModifyUserNotFound) Code() int
Code gets the status code for the modify user not found response
func (*ModifyUserNotFound) Error ¶
func (o *ModifyUserNotFound) Error() string
func (*ModifyUserNotFound) IsClientError ¶
func (o *ModifyUserNotFound) IsClientError() bool
IsClientError returns true when this modify user not found response has a 4xx status code
func (*ModifyUserNotFound) IsCode ¶
func (o *ModifyUserNotFound) IsCode(code int) bool
IsCode returns true when this modify user not found response a status code equal to that given
func (*ModifyUserNotFound) IsRedirect ¶
func (o *ModifyUserNotFound) IsRedirect() bool
IsRedirect returns true when this modify user not found response has a 3xx status code
func (*ModifyUserNotFound) IsServerError ¶
func (o *ModifyUserNotFound) IsServerError() bool
IsServerError returns true when this modify user not found response has a 5xx status code
func (*ModifyUserNotFound) IsSuccess ¶
func (o *ModifyUserNotFound) IsSuccess() bool
IsSuccess returns true when this modify user not found response has a 2xx status code
type ModifyUserOK ¶
type ModifyUserOK struct { // isStream: false *models.UserDetailsResponse }
ModifyUserOK handles this case with default header values.
User details
func NewModifyUserOK ¶
func NewModifyUserOK() *ModifyUserOK
NewModifyUserOK creates a ModifyUserOK with default headers values
func (*ModifyUserOK) Code ¶
func (o *ModifyUserOK) Code() int
Code gets the status code for the modify user o k response
func (*ModifyUserOK) Error ¶
func (o *ModifyUserOK) Error() string
func (*ModifyUserOK) IsClientError ¶
func (o *ModifyUserOK) IsClientError() bool
IsClientError returns true when this modify user o k response has a 4xx status code
func (*ModifyUserOK) IsCode ¶
func (o *ModifyUserOK) IsCode(code int) bool
IsCode returns true when this modify user o k response a status code equal to that given
func (*ModifyUserOK) IsRedirect ¶
func (o *ModifyUserOK) IsRedirect() bool
IsRedirect returns true when this modify user o k response has a 3xx status code
func (*ModifyUserOK) IsServerError ¶
func (o *ModifyUserOK) IsServerError() bool
IsServerError returns true when this modify user o k response has a 5xx status code
func (*ModifyUserOK) IsSuccess ¶
func (o *ModifyUserOK) IsSuccess() bool
IsSuccess returns true when this modify user o k response has a 2xx status code
type ModifyUserReader ¶
type ModifyUserReader struct {
// contains filtered or unexported fields
}
ModifyUserReader is a Reader for the ModifyUser structure.
func (*ModifyUserReader) ReadResponse ¶
func (o *ModifyUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyUserRequest ¶
type ModifyUserRequest struct { *models.UserCreation UserID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*ModifyUserRequest) Do ¶
func (a *ModifyUserRequest) Do() (*ModifyUserOK, error)
modify user API
func (*ModifyUserRequest) FromJson ¶
func (o *ModifyUserRequest) FromJson(j string) (*ModifyUserRequest, error)
func (*ModifyUserRequest) MustDo ¶
func (a *ModifyUserRequest) MustDo() *ModifyUserOK
func (*ModifyUserRequest) WithContext ¶
func (o *ModifyUserRequest) WithContext(ctx context.Context) *ModifyUserRequest
//////////////// WithContext adds the context to the modify user Request
func (*ModifyUserRequest) WithHTTPClient ¶
func (o *ModifyUserRequest) WithHTTPClient(client *http.Client) *ModifyUserRequest
WithHTTPClient adds the HTTPClient to the modify user Request
func (*ModifyUserRequest) WithUserID ¶
func (o *ModifyUserRequest) WithUserID(userID strfmt.UUID) *ModifyUserRequest
func (*ModifyUserRequest) WithUserUpdateRequest ¶
func (o *ModifyUserRequest) WithUserUpdateRequest(userUpdateRequest models.UserCreation) *ModifyUserRequest
func (*ModifyUserRequest) WithoutUserUpdateRequest ¶
func (o *ModifyUserRequest) WithoutUserUpdateRequest() *ModifyUserRequest
func (*ModifyUserRequest) WriteToRequest ¶
func (o *ModifyUserRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
Source Files
¶
- create_user_credentials_requests.go
- create_user_credentials_responses.go
- create_user_requests.go
- create_user_responses.go
- create_user_role_requests.go
- create_user_role_responses.go
- delete_user_credential_requests.go
- delete_user_credential_responses.go
- delete_user_requests.go
- delete_user_responses.go
- delete_user_role_requests.go
- delete_user_role_responses.go
- fetch_public_key_for_user_requests.go
- fetch_public_key_for_user_responses.go
- get_user_aces_requests.go
- get_user_aces_responses.go
- get_user_requests.go
- get_user_responses.go
- list_public_keys_for_user_requests.go
- list_public_keys_for_user_responses.go
- list_user_credentials_requests.go
- list_user_credentials_responses.go
- list_user_roles_requests.go
- list_user_roles_responses.go
- list_users_requests.go
- list_users_responses.go
- modify_user_requests.go
- modify_user_responses.go
- users_client.go