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) GetUser() *GetUserRequest
- func (c *Client) GetUserAces() *GetUserAcesRequest
- 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 CreateUserCreated
- type CreateUserCredentialsCreated
- 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
- 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 DeleteUserCredentialNoContent
- 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
- 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
- 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 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 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 ListUserCredentialsOK
- 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 ListUserRolesOK
- 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 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) 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) 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 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) Error ¶
func (o *CreateUserCreated) Error() string
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) Error ¶
func (o *CreateUserCredentialsCreated) Error() string
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) Error ¶
func (o *CreateUserRoleCreated) Error() string
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 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) Error ¶
func (o *DeleteUserCredentialNoContent) Error() string
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) Error ¶
func (o *DeleteUserNoContent) Error() string
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) Error ¶
func (o *DeleteUserRoleNoContent) Error() string
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 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) Error ¶
func (o *GetUserAcesOK) Error() string
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 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
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 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) Error ¶
func (o *ListUserCredentialsOK) Error() string
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 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) Error ¶
func (o *ListUserRolesOK) Error() string
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) Error ¶
func (o *ListUsersOK) Error() string
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 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) Error ¶
func (o *ModifyUserOK) Error() string
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
- get_user_aces_requests.go
- get_user_aces_responses.go
- get_user_requests.go
- get_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