Interface IUserClient
Represents a function to interact with the API endpoints. The function perform action such as invite the user and so on.
public interface IUserClient : IApiAccessor
- Inherited Members
Methods
CancelInvitation(string)
Cancel Invitation.
void CancelInvitation(string userId)
Parameters
userId
stringuserId.
Exceptions
- ApiException
Thrown when fails to make API call.
CancelInvitationAsync(string)
Cancel Invitation.
Task CancelInvitationAsync(string userId)
Parameters
userId
stringuserId.
Returns
- Task
CancelInvite.
Exceptions
- ApiException
Thrown when fails to make API call.
CancelInvitationAsyncWithHttpInfo(string)
Cancel Invitation.
Task<ApiResponse<object>> CancelInvitationAsyncWithHttpInfo(string userId)
Parameters
userId
stringuserId.
Returns
- Task<ApiResponse<object>>
ApiResponse of Object(CancelInvite).
Exceptions
- ApiException
Thrown when fails to make API call.
CancelInvitationWithHttpInfo(string)
Cancel Invitation.
ApiResponse<object> CancelInvitationWithHttpInfo(string userId)
Parameters
userId
stringuserId.
Returns
- ApiResponse<object>
ApiResponse of Object(void).
Exceptions
- ApiException
Thrown when fails to make API call.
CreateUser(List<CreateUserRequest>)
Create the user.
CreateUserResponse CreateUser(List<CreateUserRequest> createUserRequest = null)
Parameters
createUserRequest
List<CreateUserRequest>The create user details.
Returns
- CreateUserResponse
CreateUserResponse.
Exceptions
- ApiException
Thrown when fails to make API call.
CreateUserAsync(List<CreateUserRequest>)
Create the user.
Task<CreateUserResponse> CreateUserAsync(List<CreateUserRequest> createUserRequest = null)
Parameters
createUserRequest
List<CreateUserRequest>The create user details.
Returns
- Task<CreateUserResponse>
Task.
Exceptions
- ApiException
Thrown when fails to make API call.
CreateUserAsyncWithHttpInfo(List<CreateUserRequest>)
Gets Create the user.
Task<ApiResponse<CreateUserResponse>> CreateUserAsyncWithHttpInfo(List<CreateUserRequest> createUserRequest = null)
Parameters
createUserRequest
List<CreateUserRequest>The create user details.
Returns
- Task<ApiResponse<CreateUserResponse>>
ApiResponse of Object(CreateUserResponse).
Exceptions
- ApiException
Thrown when fails to make API call.
CreateUserWithHttpInfo(List<CreateUserRequest>)
Gets Create the user.
ApiResponse<CreateUserResponse> CreateUserWithHttpInfo(List<CreateUserRequest> createUserRequest = null)
Parameters
createUserRequest
List<CreateUserRequest>The create user details.
Returns
- ApiResponse<CreateUserResponse>
ApiResponse of Object(CreateUserResponse).
Exceptions
- ApiException
Thrown when fails to make API call.
GetUserDetails(string)
Get summary of the user details for the given user ID.
UserProperties GetUserDetails(string userId)
Parameters
userId
stringThe User Id.
Returns
- UserProperties
A Task.
GetUserDetailsAsync(string)
Get summary of the user details for the given user ID.
Task<UserProperties> GetUserDetailsAsync(string userId)
Parameters
userId
stringUser Id.
Returns
- Task<UserProperties>
UserProperties.
Exceptions
- ApiException
Thrown when fails to make API call.
GetUserDetailsAsyncWithHttpInfo(string)
Get summary of the user details for the given user ID.
Task<ApiResponse<UserProperties>> GetUserDetailsAsyncWithHttpInfo(string userId)
Parameters
userId
stringUser Id.
Returns
- Task<ApiResponse<UserProperties>>
ApiResponse of UserProperties.
Exceptions
- ApiException
Thrown when fails to make API call.
GetUserDetailsWithHttpInfo(string)
Get summary of the user details for the given user ID.
ApiResponse<UserProperties> GetUserDetailsWithHttpInfo(string userId)
Parameters
userId
stringThe User Id.
Returns
- ApiResponse<UserProperties>
A Task.
ListUsers(int, int?, string)
Gets the user list.
UserRecords ListUsers(int page, int? pageSize = null, string search = null)
Parameters
Returns
- UserRecords
A Task.
ListUsersAsync(int, int?, string)
Gets the user list.
Task<UserRecords> ListUsersAsync(int page, int? pageSize = null, string search = null)
Parameters
Returns
- Task<UserRecords>
A Task.
ListUsersAsyncWithHttpInfo(int, int?, string)
Gets the user list.
Task<ApiResponse<UserRecords>> ListUsersAsyncWithHttpInfo(int page, int? pageSize = null, string search = null)
Parameters
Returns
- Task<ApiResponse<UserRecords>>
A Task.
ListUsersWithHttpInfo(int, int?, string)
Gets the user list.
ApiResponse<UserRecords> ListUsersWithHttpInfo(int page, int? pageSize = null, string search = null)
Parameters
Returns
- ApiResponse<UserRecords>
A Task.
ResendInvitation(string)
Resend Invitation.
void ResendInvitation(string userId)
Parameters
userId
stringuserId.
Exceptions
- ApiException
Thrown when fails to make API call.
ResendInvitationAsync(string)
Resend Invitation.
Task ResendInvitationAsync(string userId)
Parameters
userId
stringuserId.
Returns
- Task
ResendInvite.
Exceptions
- ApiException
Thrown when fails to make API call.
ResendInvitationAsyncWithHttpInfo(string)
Resend Invitation.
Task<ApiResponse<object>> ResendInvitationAsyncWithHttpInfo(string userId)
Parameters
userId
stringuserId.
Returns
- Task<ApiResponse<object>>
ApiResponse of Object(ResendInvite).
Exceptions
- ApiException
Thrown when fails to make API call.
ResendInvitationWithHttpInfo(string)
Resend Invitation.
ApiResponse<object> ResendInvitationWithHttpInfo(string userId)
Parameters
userId
stringuserId.
Returns
- ApiResponse<object>
ApiResponse of Object(void).
Exceptions
- ApiException
Thrown when fails to make API call.
UpdateUser(UpdateUser)
Updates user role.
void UpdateUser(UpdateUser updateUserQuery)
Parameters
updateUserQuery
UpdateUserupdate User Query.
Exceptions
- ApiException
Thrown when fails to make API call.
UpdateUserAsync(UpdateUser)
Updates user role.
Task UpdateUserAsync(UpdateUser updateUserQuery)
Parameters
updateUserQuery
UpdateUserupdateUserQuery.
Returns
- Task
UpdateUserRole.
Exceptions
- ApiException
Thrown when fails to make API call.
UpdateUserAsyncWithHttpInfo(UpdateUser)
Updates user role.
Task<ApiResponse<object>> UpdateUserAsyncWithHttpInfo(UpdateUser updateUserQuery)
Parameters
updateUserQuery
UpdateUserupdateUserQuery.
Returns
- Task<ApiResponse<object>>
ApiResponse of Object(UpdateUserRole).
Exceptions
- ApiException
Thrown when fails to make API call.
UpdateUserWithHttpInfo(UpdateUser)
Updates user role.
ApiResponse<object> UpdateUserWithHttpInfo(UpdateUser updateUserQuery)
Parameters
updateUserQuery
UpdateUserupdate User Query.
Returns
- ApiResponse<object>
ApiResponse of Object(void).
Exceptions
- ApiException
Thrown when fails to make API call.