Méthode | 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 | |
Résultat | void |
public AddResourceAsync ( |
||
body | Resource object that needs to be added to the datastorage | |
Résultat | System.Threading.Tasks.Task |
public GetResource ( string resourceId ) : |
||
resourceId | string | ID of the resource to be returned |
Résultat |
public GetResourceAsync ( string resourceId ) : System.Threading.Tasks.Task |
||
resourceId | string | ID of the resource to be returned |
Résultat | System.Threading.Tasks.Task |
public ResourceApi ( |
||
apiClient | an instance of ApiClient (optional) | |
Résultat | System |
public ResourceApi ( String basePath ) : System | ||
basePath | String | |
Résultat | System |
public SetBasePath ( String basePath ) : void | ||
basePath | String | The base path |
Résultat | void |