UserApi
class UserApi
UserApi Class Doc Comment
Properties
protected ClientInterface | $client | ||
protected Configuration | $config | ||
protected HeaderSelector | $headerSelector | ||
protected int | $hostIndex |
Methods
No description
Set the host index
Get the host index
No description
Operation createUsersWithArrayInputAsyncWithHttpInfo
Create request for operation 'createUsersWithArrayInput'
Operation createUsersWithListInputAsyncWithHttpInfo
Create request for operation 'createUsersWithListInput'
Operation deleteUser
Operation deleteUserWithHttpInfo
Operation deleteUserAsync
Operation deleteUserAsyncWithHttpInfo
Create request for operation 'deleteUser'
Operation getUserByName
Operation getUserByNameWithHttpInfo
Operation getUserByNameAsync
Operation getUserByNameAsyncWithHttpInfo
Create request for operation 'getUserByName'
Operation loginUser
Operation loginUserWithHttpInfo
Operation loginUserAsync
Operation loginUserAsyncWithHttpInfo
Create request for operation 'loginUser'
Operation logoutUser
Operation logoutUserWithHttpInfo
Operation logoutUserAsync
Operation logoutUserAsyncWithHttpInfo
Create request for operation 'logoutUser'
Create http client option
Details
at line 78
__construct(ClientInterface $client = null, Configuration $config = null, HeaderSelector $selector = null, int $hostIndex = 0)
No description
at line 95
void
setHostIndex(int $hostIndex)
Set the host index
at line 105
int
getHostIndex()
Get the host index
at line 113
Configuration
getConfig()
No description
at line 129
void
createUser(User $user)
Operation createUser
Create user
at line 145
array
createUserWithHttpInfo(User $user)
Operation createUserWithHttpInfo
Create user
at line 203
PromiseInterface
createUserAsync(User $user)
Operation createUserAsync
Create user
at line 223
PromiseInterface
createUserAsyncWithHttpInfo(User $user)
Operation createUserAsyncWithHttpInfo
Create user
at line 259
Request
createUserRequest(User $user)
Create request for operation 'createUser'
at line 360
void
createUsersWithArrayInput(User[] $user)
Operation createUsersWithArrayInput
Creates list of users with given input array
at line 376
array
createUsersWithArrayInputWithHttpInfo(User[] $user)
Operation createUsersWithArrayInputWithHttpInfo
Creates list of users with given input array
at line 434
PromiseInterface
createUsersWithArrayInputAsync(User[] $user)
Operation createUsersWithArrayInputAsync
Creates list of users with given input array
at line 454
PromiseInterface
createUsersWithArrayInputAsyncWithHttpInfo(User[] $user)
Operation createUsersWithArrayInputAsyncWithHttpInfo
Creates list of users with given input array
at line 490
Request
createUsersWithArrayInputRequest(User[] $user)
Create request for operation 'createUsersWithArrayInput'
at line 591
void
createUsersWithListInput(User[] $user)
Operation createUsersWithListInput
Creates list of users with given input array
at line 607
array
createUsersWithListInputWithHttpInfo(User[] $user)
Operation createUsersWithListInputWithHttpInfo
Creates list of users with given input array
at line 665
PromiseInterface
createUsersWithListInputAsync(User[] $user)
Operation createUsersWithListInputAsync
Creates list of users with given input array
at line 685
PromiseInterface
createUsersWithListInputAsyncWithHttpInfo(User[] $user)
Operation createUsersWithListInputAsyncWithHttpInfo
Creates list of users with given input array
at line 721
Request
createUsersWithListInputRequest(User[] $user)
Create request for operation 'createUsersWithListInput'
at line 822
void
deleteUser(string $username)
Operation deleteUser
Delete user
at line 838
array
deleteUserWithHttpInfo(string $username)
Operation deleteUserWithHttpInfo
Delete user
at line 896
PromiseInterface
deleteUserAsync(string $username)
Operation deleteUserAsync
Delete user
at line 916
PromiseInterface
deleteUserAsyncWithHttpInfo(string $username)
Operation deleteUserAsyncWithHttpInfo
Delete user
at line 952
Request
deleteUserRequest(string $username)
Create request for operation 'deleteUser'
at line 1055
User
getUserByName(string $username)
Operation getUserByName
Get user by user name
at line 1072
array
getUserByNameWithHttpInfo(string $username)
Operation getUserByNameWithHttpInfo
Get user by user name
at line 1170
PromiseInterface
getUserByNameAsync(string $username)
Operation getUserByNameAsync
Get user by user name
at line 1190
PromiseInterface
getUserByNameAsyncWithHttpInfo(string $username)
Operation getUserByNameAsyncWithHttpInfo
Get user by user name
at line 1239
Request
getUserByNameRequest(string $username)
Create request for operation 'getUserByName'
at line 1338
string
loginUser(string $username, string $password)
Operation loginUser
Logs user into the system
at line 1356
array
loginUserWithHttpInfo(string $username, string $password)
Operation loginUserWithHttpInfo
Logs user into the system
at line 1455
PromiseInterface
loginUserAsync(string $username, string $password)
Operation loginUserAsync
Logs user into the system
at line 1476
PromiseInterface
loginUserAsyncWithHttpInfo(string $username, string $password)
Operation loginUserAsyncWithHttpInfo
Logs user into the system
at line 1526
Request
loginUserRequest(string $username, string $password)
Create request for operation 'loginUser'
at line 1644
void
logoutUser()
Operation logoutUser
Logs out current logged in user session
at line 1659
array
logoutUserWithHttpInfo()
Operation logoutUserWithHttpInfo
Logs out current logged in user session
at line 1716
PromiseInterface
logoutUserAsync()
Operation logoutUserAsync
Logs out current logged in user session
at line 1735
PromiseInterface
logoutUserAsyncWithHttpInfo()
Operation logoutUserAsyncWithHttpInfo
Logs out current logged in user session
at line 1770
Request
logoutUserRequest()
Create request for operation 'logoutUser'
at line 1859
void
updateUser(string $username, User $user)
Operation updateUser
Updated user
at line 1876
array
updateUserWithHttpInfo(string $username, User $user)
Operation updateUserWithHttpInfo
Updated user
at line 1935
PromiseInterface
updateUserAsync(string $username, User $user)
Operation updateUserAsync
Updated user
at line 1956
PromiseInterface
updateUserAsyncWithHttpInfo(string $username, User $user)
Operation updateUserAsyncWithHttpInfo
Updated user
at line 1993
Request
updateUserRequest(string $username, User $user)
Create request for operation 'updateUser'
at line 2104
protected array
createHttpClientOption()
Create http client option