C# Class j64.Harmony.Web.Repository.SmartAppRepository

Mostra file Open project: joejarvis64/j64.Harmony Class Usage Examples

Public Methods

Method Description
Create ( string newCode ) : Task
CreateOrReplace ( string appName, string fileName ) : Task
EnableOauth ( ) : Task
Find ( string smartAppName ) : Task
Publish ( ) : Task
SmartAppRepository ( SmartThingsConnection smartThingsConnection ) : System
SmartAppRepository ( SmartThingsConnection smartThingsConnection, string appName, string fileName ) : System
Update ( string newCode ) : Task

Private Methods

Method Description
FindVarInSrc ( string varname ) : string

Method Details

Create() public method

public Create ( string newCode ) : Task
newCode string
return Task

CreateOrReplace() public method

public CreateOrReplace ( string appName, string fileName ) : Task
appName string
fileName string
return Task

EnableOauth() public method

public EnableOauth ( ) : Task
return Task

Find() public method

public Find ( string smartAppName ) : Task
smartAppName string
return Task

Publish() public method

public Publish ( ) : Task
return Task

SmartAppRepository() public method

public SmartAppRepository ( SmartThingsConnection smartThingsConnection ) : System
smartThingsConnection SmartThingsConnection
return System

SmartAppRepository() public method

public SmartAppRepository ( SmartThingsConnection smartThingsConnection, string appName, string fileName ) : System
smartThingsConnection SmartThingsConnection
appName string
fileName string
return System

Update() public method

public Update ( string newCode ) : Task
newCode string
return Task