C# Class TonyBaloney.St2.Client.Apis.PacksApi

The packs api.
Inheritance: IPacksApi
显示文件 Open project: tonybaloney/St2Client

Public Methods

Method Description
GetPacksAsync ( ) : Task>

Get a list of packs.

GetPacksByIdAsync ( string packId ) : Task>

Gets packs by identifier.

GetPacksByNameAsync ( string packName ) : Task>

Gets packs by name.

PacksApi ( ISt2Client host ) : System

Initializes a new instance of the TonyBaloney.St2.Client.Apis.PacksApi class.

Method Details

GetPacksAsync() public method

Get a list of packs.
public GetPacksAsync ( ) : Task>
return Task>

GetPacksByIdAsync() public method

Gets packs by identifier.
public GetPacksByIdAsync ( string packId ) : Task>
packId string Identifier for the pack.
return Task>

GetPacksByNameAsync() public method

Gets packs by name.
public GetPacksByNameAsync ( string packName ) : Task>
packName string Name of the pack.
return Task>

PacksApi() public method

Initializes a new instance of the TonyBaloney.St2.Client.Apis.PacksApi class.
Thrown when one or more required arguments are null.
public PacksApi ( ISt2Client host ) : System
host ISt2Client The host.
return System