C# Class Com.Wordnik.Petstore.Api.UserApi

Afficher le fichier Open project: hike/swagger-codegen

Méthodes publiques

Méthode Description
createUser ( Com.Wordnik.Petstore.Model.User body ) : void

Create user This can only be done by the logged in user.

createUsersWithArrayInput ( array body ) : void

Creates list of users with given input array

createUsersWithListInput ( array body ) : void

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.

Method Details

createUser() public méthode

Create 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
Résultat void

createUsersWithArrayInput() public méthode

Creates list of users with given input array
public createUsersWithArrayInput ( array body ) : void
body array List of user object
Résultat void

createUsersWithListInput() public méthode

Creates list of users with given list input
public createUsersWithListInput ( array body ) : void
body array List of user object
Résultat void

deleteUser() public méthode

Delete user This can only be done by the logged in user.
public deleteUser ( string username ) : void
username string The name that needs to be deleted
Résultat void

getBasePath() public méthode

public getBasePath ( ) : String
Résultat String

getInvoker() public méthode

public getInvoker ( ) : Com.Wordnik.Petstore.ApiInvoker
Résultat Com.Wordnik.Petstore.ApiInvoker

getUserByName() public méthode

Get user by user name
public getUserByName ( string username ) : Com.Wordnik.Petstore.Model.User
username string The name that needs to be fetched. Use user1 for testing.
Résultat Com.Wordnik.Petstore.Model.User

loginUser() public méthode

Logs user into the system
public loginUser ( string username, string password ) : string
username string The user name for login
password string The password for login in clear text
Résultat string

logoutUser() public méthode

Logs out current logged in user session
public logoutUser ( ) : void
Résultat void

setBasePath() public méthode

public setBasePath ( string basePath ) : void
basePath string
Résultat void

updateUser() public méthode

Updated user This can only be done by the logged in user.
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
Résultat void