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

The executions API.
Inheritance: IExecutionsApi
Datei anzeigen Open project: tonybaloney/St2Client

Public Methods

Method Description
ExecuteActionAsync ( string actionName, object>.Dictionary parameters ) : Task

Executes the action.

ExecuteActionAsync ( string actionName, string>.Dictionary parameters ) : Task

Executes the action.

ExecutionsApi ( ISt2Client host ) : System

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

GetExecutionAsync ( string id ) : Task

Gets execution.

GetExecutionsAsync ( int limit = 5 ) : Task>

Gets a list of executions.

GetExecutionsForActionAsync ( string actionName, int limit = 5 ) : Task>

Gets executions for action.

Method Details

ExecuteActionAsync() public method

Executes the action.
public ExecuteActionAsync ( string actionName, object>.Dictionary parameters ) : Task
actionName string Name of the action.
parameters object>.Dictionary The parameters for the given action.
return Task

ExecuteActionAsync() public method

Executes the action.
public ExecuteActionAsync ( string actionName, string>.Dictionary parameters ) : Task
actionName string Name of the action.
parameters string>.Dictionary The parameters for the given action.
return Task

ExecutionsApi() public method

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

GetExecutionAsync() public method

Gets execution.
public GetExecutionAsync ( string id ) : Task
id string The identifier.
return Task

GetExecutionsAsync() public method

Gets a list of executions.
public GetExecutionsAsync ( int limit = 5 ) : Task>
limit int The number of items to return (default 5).
return Task>

GetExecutionsForActionAsync() public method

Gets executions for action.
public GetExecutionsForActionAsync ( string actionName, int limit = 5 ) : Task>
actionName string Name of the action.
limit int The number of items to return (default 5).
return Task>