Method | Description | |
---|---|---|
Client ( string base_url, string access_key, string secret_key ) : System.Collections.Generic |
Creates a new Client.
|
|
create ( string collectionType, |
Creates a new Resource.
|
|
delete ( string collectionType, |
Deletes a Resource
|
|
doAction ( string actionUrl ) : |
Performs an action from a Resource and returns the resulting Resource.
|
|
doAction ( string actionUrl, |
Performs an action from an action url and an input resource and returns the resulting Resource
|
|
fetchLinkAsCollection ( |
Fetches a link from the API as a Collection.
|
|
fetchLinkAsResource ( |
Fetches a link from the API as a Resource.
|
|
getBaseUrl ( ) : string |
Gets the base url of the Client
|
|
getCollection ( string resourceType ) : |
Returns an unfiltered Collection from the API
|
|
getCollection ( string resourceType, |
Returns a filtered Collection from the API
|
|
getNetworkCredential ( ) : |
Returns the current NetworkCredentials used by the Client
|
|
getResourceById ( string collectionType, string resourceId ) : |
Returns a Resource by an id.
|
|
save ( string collectionType, |
Saves a Resource
|
Method | Description | |
---|---|---|
getCollectionByRequest ( gdapi webRequest ) : |
Returns a Collection from a WebRequest.
|
|
getResourceByRequest ( gdapi webRequest ) : |
Returns a Resource from a WebRequest
|
public Client ( string base_url, string access_key, string secret_key ) : System.Collections.Generic | ||
base_url | string | Base Url of the API |
access_key | string | Access Key to the API |
secret_key | string | Secret Key to the API |
return | System.Collections.Generic |
public create ( string collectionType, |
||
collectionType | string | Collection type to add the resource to |
resource | Resource to add to the Collection | |
return |
public delete ( string collectionType, |
||
collectionType | string | Collection type to delete the resource from |
resource | Resource to delete | |
return |
public doAction ( string actionUrl ) : |
||
actionUrl | string | Action URL to perform. |
return |
public doAction ( string actionUrl, |
||
actionUrl | string | Action URL to perform. |
inputResource | Input Resource to use send with the action URL. | |
return |
public fetchLinkAsCollection ( |
||
resource | Resource object which contains links. | |
linkName | string | Link name to return. |
return |
public fetchLinkAsResource ( |
||
resource | Resource object which contains links. | |
linkName | string | Link name to return. |
return |
public getCollection ( string resourceType ) : |
||
resourceType | string | Type of the Collection to return. |
return |
public getCollection ( string resourceType, |
||
resourceType | string | Type of the Collection to return. |
collectionFilter | ||
return |
public getNetworkCredential ( ) : |
||
return |
public getResourceById ( string collectionType, string resourceId ) : |
||
collectionType | string | Collection to pull the Resource from |
resourceId | string | Id of the Resource to pull |
return |
public save ( string collectionType, |
||
collectionType | string | Collection type to save the resource to |
resource | Resource to save | |
return |