public class CollectionApiExample extends ExampleRunner
ApiManagerCollectionService through the ApiManagerCollection resourcesCollection resourcesCollection resourcesCollection resourceThng resources to a specific CollectionCollection resource| Constructor and Description |
|---|
CollectionApiExample(ApiConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
createThngReferences(ApiManager apiManager,
int count)
Creates
Thng resources and return their references. |
protected void |
doRun()
Concrete implementation.
|
static void |
main(String[] args) |
echo, echo, extractConfig, getConfig, run, usagepublic CollectionApiExample(ApiConfiguration config)
public static void main(String[] args) throws EvrythngException
EvrythngExceptionprotected void doRun()
throws EvrythngException
ExampleRunnerdoRun in class ExampleRunnerEvrythngExceptionprotected List<String> createThngReferences(ApiManager apiManager, int count) throws EvrythngException
Thng resources and return their references.apiManager - the configured ApiManagercount - the number of Thng resources to createList of Thng references (ID)EvrythngExceptionEvrythngClientExceptionCopyright © 2016 EVRYTHNG Ltd London / Zurich. All rights reserved.