Method | Description | |
---|---|---|
createUser ( Com.Wordnik.Petstore.Model.User body ) : void |
Create user This can only be done by the logged in user.
|
|
createUsersWithArrayInput ( array |
Creates list of users with given input array
|
|
createUsersWithListInput ( array |
Creates list of users with given list input
|
|
deleteUser ( string username ) : void |
Delete user This can only be done by the logged in user.
|
|
getBasePath ( ) : String | ||
getInvoker ( ) : Com.Wordnik.Petstore.ApiInvoker | ||
getUserByName ( string username ) : Com.Wordnik.Petstore.Model.User |
Get user by user name
|
|
loginUser ( string username, string password ) : string |
Logs user into the system
|
|
logoutUser ( ) : void |
Logs out current logged in user session
|
|
setBasePath ( string basePath ) : void | ||
updateUser ( string username, Com.Wordnik.Petstore.Model.User body ) : void |
Updated user This can only be done by the logged in user.
|
public createUser ( Com.Wordnik.Petstore.Model.User body ) : void | ||
body | Com.Wordnik.Petstore.Model.User | Created user object |
return | void |
public createUsersWithArrayInput ( array |
||
body | array |
List of user object |
return | void |
public createUsersWithListInput ( array |
||
body | array |
List of user object |
return | void |
public deleteUser ( string username ) : void | ||
username | string | The name that needs to be deleted |
return | void |
public getInvoker ( ) : Com.Wordnik.Petstore.ApiInvoker | ||
return | Com.Wordnik.Petstore.ApiInvoker |
public getUserByName ( string username ) : Com.Wordnik.Petstore.Model.User | ||
username | string | The name that needs to be fetched. Use user1 for testing. |
return | Com.Wordnik.Petstore.Model.User |
public loginUser ( string username, string password ) : string | ||
username | string | The user name for login |
password | string | The password for login in clear text |
return | string |
public setBasePath ( string basePath ) : void | ||
basePath | string | |
return | void |
public updateUser ( string username, Com.Wordnik.Petstore.Model.User body ) : void | ||
username | string | name that need to be deleted |
body | Com.Wordnik.Petstore.Model.User | Updated user object |
return | void |