C# 클래스 IO.Swagger.Api.StoreApi

Represents a collection of functions to interact with the API endpoints
상속: IStoreApi
파일 보기 프로젝트 열기: QualityUnit/swagger-codegen 1 사용 예제들

공개 메소드들

메소드 설명
DeleteOrder ( string orderId ) : void

Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors

DeleteOrderAsync ( string orderId ) : System.Threading.Tasks.Task

Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors

DeleteOrderAsyncWithHttpInfo ( string orderId ) : System.Threading.Tasks.Task>

Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors

DeleteOrderWithHttpInfo ( string orderId ) : ApiResponse

Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors

GetBasePath ( ) : String

Gets the base path of the API client.

GetInventory ( ) : int?>.Dictionary

Returns pet inventories by status Returns a map of status codes to quantities

GetInventoryAsync ( ) : int?>>.System.Threading.Tasks.Task

Returns pet inventories by status Returns a map of status codes to quantities

GetInventoryAsyncWithHttpInfo ( ) : int?>>>.System.Threading.Tasks.Task

Returns pet inventories by status Returns a map of status codes to quantities

GetInventoryWithHttpInfo ( ) : int?>>.ApiResponse

Returns pet inventories by status Returns a map of status codes to quantities

GetOrderById ( long orderId ) : Order

Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions

GetOrderByIdAsync ( long orderId ) : System.Threading.Tasks.Task

Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions

GetOrderByIdAsyncWithHttpInfo ( long orderId ) : System.Threading.Tasks.Task>

Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions

GetOrderByIdWithHttpInfo ( long orderId ) : ApiResponse

Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions

PlaceOrder ( Order body ) : Order

Place an order for a pet

PlaceOrderAsync ( Order body ) : System.Threading.Tasks.Task

Place an order for a pet

PlaceOrderAsyncWithHttpInfo ( Order body ) : System.Threading.Tasks.Task>

Place an order for a pet

PlaceOrderWithHttpInfo ( Order body ) : ApiResponse

Place an order for a pet

StoreApi ( Configuration configuration = null ) : System

Initializes a new instance of the StoreApi class using Configuration object

StoreApi ( String basePath ) : System

Initializes a new instance of the StoreApi class.

비공개 메소드들

메소드 설명
AddDefaultHeader ( string key, string value ) : void
DefaultHeader ( ) : String>.Dictionary
SetBasePath ( String basePath ) : void

메소드 상세

DeleteOrder() 공개 메소드

Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
Thrown when fails to make API call
public DeleteOrder ( string orderId ) : void
orderId string ID of the order that needs to be deleted
리턴 void

DeleteOrderAsync() 공개 메소드

Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
Thrown when fails to make API call
public DeleteOrderAsync ( string orderId ) : System.Threading.Tasks.Task
orderId string ID of the order that needs to be deleted
리턴 System.Threading.Tasks.Task

DeleteOrderAsyncWithHttpInfo() 공개 메소드

Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
Thrown when fails to make API call
public DeleteOrderAsyncWithHttpInfo ( string orderId ) : System.Threading.Tasks.Task>
orderId string ID of the order that needs to be deleted
리턴 System.Threading.Tasks.Task>

DeleteOrderWithHttpInfo() 공개 메소드

Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
Thrown when fails to make API call
public DeleteOrderWithHttpInfo ( string orderId ) : ApiResponse
orderId string ID of the order that needs to be deleted
리턴 ApiResponse

GetBasePath() 공개 메소드

Gets the base path of the API client.
public GetBasePath ( ) : String
리턴 String

GetInventory() 공개 메소드

Returns pet inventories by status Returns a map of status codes to quantities
Thrown when fails to make API call
public GetInventory ( ) : int?>.Dictionary
리턴 int?>.Dictionary

GetInventoryAsync() 공개 메소드

Returns pet inventories by status Returns a map of status codes to quantities
Thrown when fails to make API call
public GetInventoryAsync ( ) : int?>>.System.Threading.Tasks.Task
리턴 int?>>.System.Threading.Tasks.Task

GetInventoryAsyncWithHttpInfo() 공개 메소드

Returns pet inventories by status Returns a map of status codes to quantities
Thrown when fails to make API call
public GetInventoryAsyncWithHttpInfo ( ) : int?>>>.System.Threading.Tasks.Task
리턴 int?>>>.System.Threading.Tasks.Task

GetInventoryWithHttpInfo() 공개 메소드

Returns pet inventories by status Returns a map of status codes to quantities
Thrown when fails to make API call
public GetInventoryWithHttpInfo ( ) : int?>>.ApiResponse
리턴 int?>>.ApiResponse

GetOrderById() 공개 메소드

Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
Thrown when fails to make API call
public GetOrderById ( long orderId ) : Order
orderId long ID of pet that needs to be fetched
리턴 IO.Swagger.Model.Order

GetOrderByIdAsync() 공개 메소드

Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
Thrown when fails to make API call
public GetOrderByIdAsync ( long orderId ) : System.Threading.Tasks.Task
orderId long ID of pet that needs to be fetched
리턴 System.Threading.Tasks.Task

GetOrderByIdAsyncWithHttpInfo() 공개 메소드

Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
Thrown when fails to make API call
public GetOrderByIdAsyncWithHttpInfo ( long orderId ) : System.Threading.Tasks.Task>
orderId long ID of pet that needs to be fetched
리턴 System.Threading.Tasks.Task>

GetOrderByIdWithHttpInfo() 공개 메소드

Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
Thrown when fails to make API call
public GetOrderByIdWithHttpInfo ( long orderId ) : ApiResponse
orderId long ID of pet that needs to be fetched
리턴 ApiResponse

PlaceOrder() 공개 메소드

Place an order for a pet
Thrown when fails to make API call
public PlaceOrder ( Order body ) : Order
body IO.Swagger.Model.Order order placed for purchasing the pet
리턴 IO.Swagger.Model.Order

PlaceOrderAsync() 공개 메소드

Place an order for a pet
Thrown when fails to make API call
public PlaceOrderAsync ( Order body ) : System.Threading.Tasks.Task
body IO.Swagger.Model.Order order placed for purchasing the pet
리턴 System.Threading.Tasks.Task

PlaceOrderAsyncWithHttpInfo() 공개 메소드

Place an order for a pet
Thrown when fails to make API call
public PlaceOrderAsyncWithHttpInfo ( Order body ) : System.Threading.Tasks.Task>
body IO.Swagger.Model.Order order placed for purchasing the pet
리턴 System.Threading.Tasks.Task>

PlaceOrderWithHttpInfo() 공개 메소드

Place an order for a pet
Thrown when fails to make API call
public PlaceOrderWithHttpInfo ( Order body ) : ApiResponse
body IO.Swagger.Model.Order order placed for purchasing the pet
리턴 ApiResponse

StoreApi() 공개 메소드

Initializes a new instance of the StoreApi class using Configuration object
public StoreApi ( Configuration configuration = null ) : System
configuration IO.Swagger.Client.Configuration An instance of Configuration
리턴 System

StoreApi() 공개 메소드

Initializes a new instance of the StoreApi class.
public StoreApi ( String basePath ) : System
basePath String
리턴 System