Method | Description | |
---|---|---|
AddResource ( |
Add resource Adds a single resource
|
|
AddResourceAsync ( |
Add resource Adds a single resource
|
|
GetBasePath ( ) : String |
Gets the base path of the API client.
|
|
GetResource ( string resourceId ) : |
Find resource by ID Returns a single resource
|
|
GetResourceAsync ( string resourceId ) : System.Threading.Tasks.Task |
Find resource by ID Returns a single resource
|
|
ResourceApi ( |
Initializes a new instance of the ResourceApi class.
|
|
ResourceApi ( String basePath ) : System |
Initializes a new instance of the ResourceApi class.
|
|
SetBasePath ( String basePath ) : void |
Sets the base path of the API client.
|
public AddResource ( |
||
body | Resource object that needs to be added to the datastorage | |
return | void |
public AddResourceAsync ( |
||
body | Resource object that needs to be added to the datastorage | |
return | System.Threading.Tasks.Task |
public GetResource ( string resourceId ) : |
||
resourceId | string | ID of the resource to be returned |
return |
public GetResourceAsync ( string resourceId ) : System.Threading.Tasks.Task |
||
resourceId | string | ID of the resource to be returned |
return | System.Threading.Tasks.Task |
public ResourceApi ( |
||
apiClient | an instance of ApiClient (optional) | |
return | System |
public ResourceApi ( String basePath ) : System | ||
basePath | String | |
return | System |
public SetBasePath ( String basePath ) : void | ||
basePath | String | The base path |
return | void |