C# Класс Com.Wordnik.Petstore.Api.UserApi

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

createUser() публичный Метод

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
Результат void

createUsersWithArrayInput() публичный Метод

Creates list of users with given input array
public createUsersWithArrayInput ( array body ) : void
body array List of user object
Результат void

createUsersWithListInput() публичный Метод

Creates list of users with given list input
public createUsersWithListInput ( array body ) : void
body array List of user object
Результат void

deleteUser() публичный Метод

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
Результат void

getBasePath() публичный Метод

public getBasePath ( ) : String
Результат String

getInvoker() публичный Метод

public getInvoker ( ) : Com.Wordnik.Petstore.ApiInvoker
Результат Com.Wordnik.Petstore.ApiInvoker

getUserByName() публичный Метод

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.
Результат Com.Wordnik.Petstore.Model.User

loginUser() публичный Метод

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
Результат string

logoutUser() публичный Метод

Logs out current logged in user session
public logoutUser ( ) : void
Результат void

setBasePath() публичный Метод

public setBasePath ( string basePath ) : void
basePath string
Результат void

updateUser() публичный Метод

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
Результат void