C# Class hubiquitus4w8.hapi.hStructures.HCommand

Version 0.5 hAPI Command. For more info, see Hubiquitus reference
Inheritance: Newtonsoft.Json.Linq.JObject
Exibir arquivo Open project: hubiquitus-old/hubiquitus4w8 Class Usage Examples

Public Methods

Method Description
GetCmd ( ) : string

Get the command name. Mandatory.

GetFilter ( ) : HCondition
GetParams ( ) : JToken

Get params thrown to the hserver.

HCommand ( ) : System
HCommand ( Newtonsoft.Json.Linq.JObject jsonObj ) : System
HCommand ( string cmd, JToken @params, HCondition filter ) : System
SetCmd ( string cmd ) : void

Set the command name. Mandatory.

SetFilter ( HCondition filter ) : void
SetParams ( JToken @params ) : void

Set params thrown to the hserver.

Method Details

GetCmd() public method

Get the command name. Mandatory.
public GetCmd ( ) : string
return string

GetFilter() public method

public GetFilter ( ) : HCondition
return HCondition

GetParams() public method

Get params thrown to the hserver.
public GetParams ( ) : JToken
return JToken

HCommand() public method

public HCommand ( ) : System
return System

HCommand() public method

public HCommand ( Newtonsoft.Json.Linq.JObject jsonObj ) : System
jsonObj Newtonsoft.Json.Linq.JObject
return System

HCommand() public method

public HCommand ( string cmd, JToken @params, HCondition filter ) : System
cmd string
@params JToken
filter HCondition
return System

SetCmd() public method

Set the command name. Mandatory.
public SetCmd ( string cmd ) : void
cmd string
return void

SetFilter() public method

public SetFilter ( HCondition filter ) : void
filter HCondition
return void

SetParams() public method

Set params thrown to the hserver.
public SetParams ( JToken @params ) : void
@params JToken
return void