Method | Description | |
---|---|---|
ActionsApi ( ISt2Client host ) : System |
Initializes a new instance of the TonyBaloney.St2.Client.Apis.ActionsApi class.
|
|
CreateActionAsync ( |
Creates a new action.
|
|
DeleteActionAsync ( string actionId ) : System.Threading.Tasks.Task |
Deletes the action described by actionId.
|
|
GetActionsAsync ( ) : Task |
Get all available Actions.
|
|
GetActionsByNameAsync ( string name ) : Task |
Gets actions by name.
|
|
GetActionsForPackAsync ( string pack ) : Task |
Gets actions for pack.
|
|
GetActionsForPackByNameAsync ( string pack, string name ) : Task |
public ActionsApi ( ISt2Client host ) : System | ||
host | ISt2Client | The host. |
return | System |
public CreateActionAsync ( |
||
action | The |
|
return | Task |
public DeleteActionAsync ( string actionId ) : System.Threading.Tasks.Task | ||
actionId | string | can be either the ID (e.g. 1 or the ref e.g. mypack.myaction). |
return | System.Threading.Tasks.Task |
public GetActionsByNameAsync ( string name ) : Task |
||
name | string | The action name. |
return | Task |
public GetActionsForPackAsync ( string pack ) : Task |
||
pack | string | The pack name. |
return | Task |
public GetActionsForPackByNameAsync ( string pack, string name ) : Task |
||
pack | string | |
name | string | |
return | Task |