C# 클래스 Com.Wordnik.Petstore.Api.UserApi

파일 보기 프로젝트 열기: hike/swagger-codegen

공개 메소드들

메소드 설명
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