Class SimpleTasksData
- Namespace
- DocuWare.Platform.Bpw.Schemas
- Assembly
- DocuWare.Platform.ServerClient.dll
public class SimpleTasksData : IRelationsWithProxy
- Inheritance
-
SimpleTasksData
Properties
AccessDateTime
public System.DateTime AccessDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
Count
public int Count { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Links
public Link[] Links { get; set; }
Property Value
| Type | Description |
|---|---|
| Link[] |
SingleItemRelationLink
Gets the Uri of the link for the relation “singleItem”.
public string SingleItemRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Returns the uri of the link for the relation “singleItem” if it exists, or
TasksRelationLink
Gets the Uri of the link for the relation “tasks”.
public string TasksRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Returns the uri of the link for the relation “tasks” if it exists, or
Methods
GetSimpleTaskListItemsFromTasksRelation()
Calls the HTTP Get method on the link for the relation “tasks”.
public SimpleTaskListItems GetSimpleTaskListItemsFromTasksRelation()
Returns
| Type | Description |
|---|---|
| SimpleTaskListItems | The content of the response. |
GetSimpleTaskListItemsFromTasksRelationAsync()
Calls the HTTP Get method on the link for the relation “tasks” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItems>> GetSimpleTaskListItemsFromTasksRelationAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItems>> | A task which runs the request. |
Remarks
This method follows the link for the relation “tasks”.
GetSimpleTaskListItemsFromTasksRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “tasks” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItems>> GetSimpleTaskListItemsFromTasksRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItems>> | A task which runs the request. |
Remarks
This method follows the link for the relation “tasks”.
PostToSingleItemRelationForSimpleTaskListItem(String)
Calls the HTTP Post method on the link for the relation “singleItem”.
public SimpleTaskListItem PostToSingleItemRelationForSimpleTaskListItem(string dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| String | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| SimpleTaskListItem | The content of the response. |
PostToSingleItemRelationForSimpleTaskListItemAsync(String)
Calls the HTTP Post method on the link for the relation “singleItem” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItem>> PostToSingleItemRelationForSimpleTaskListItemAsync(string dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| String | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItem>> | A task which runs the request. |
Remarks
This method follows the link for the relation “singleItem”.
PostToSingleItemRelationForSimpleTaskListItemAsync(System.Threading.CancellationToken, String)
Calls the HTTP Post method on the link for the relation “singleItem” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItem>> PostToSingleItemRelationForSimpleTaskListItemAsync(System.Threading.CancellationToken cancellationToken, string dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
| String | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItem>> | A task which runs the request. |
Remarks
This method follows the link for the relation “singleItem”.
PostToTasksRelationForSimpleTaskListItems(TaskQuery)
Calls the HTTP Post method on the link for the relation “tasks”.
public SimpleTaskListItems PostToTasksRelationForSimpleTaskListItems(TaskQuery dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| TaskQuery | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| SimpleTaskListItems | The content of the response. |
PostToTasksRelationForSimpleTaskListItemsAsync(TaskQuery)
Calls the HTTP Post method on the link for the relation “tasks” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItems>> PostToTasksRelationForSimpleTaskListItemsAsync(TaskQuery dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| TaskQuery | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItems>> | A task which runs the request. |
Remarks
This method follows the link for the relation “tasks”.
PostToTasksRelationForSimpleTaskListItemsAsync(System.Threading.CancellationToken, TaskQuery)
Calls the HTTP Post method on the link for the relation “tasks” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItems>> PostToTasksRelationForSimpleTaskListItemsAsync(System.Threading.CancellationToken cancellationToken, TaskQuery dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
| TaskQuery | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItems>> | A task which runs the request. |
Remarks
This method follows the link for the relation “tasks”.
SetProxy(HttpClientProxy)
Sets the HTTP communication proxy which is used in further HTTP communication.
public void SetProxy(HttpClientProxy proxy)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpClientProxy | proxy | The |
Remarks
The HTTP proxy is used to handle the HTTP requests which are created by this instance. The proxy is used in case a request is sent to a URL which is resolved from a link.