Class OwnWorkflows
List of requests for the initiator.
Inheritance
Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class OwnWorkflows : IRelationsWithProxy
Properties
Count
Total number of items.
Declaration
public int Count { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FirstRelationLink
Gets the Uri of the link for the relation “first”.
Declaration
public string FirstRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “first” if it exists, or
Links
Declaration
public Link[] Links { get; set; }
Property Value
Type | Description |
---|---|
Link[] |
NextRelationLink
Gets the Uri of the link for the relation “next”.
Declaration
public string NextRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “next” if it exists, or
PrevRelationLink
Gets the Uri of the link for the relation “prev”.
Declaration
public string PrevRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “prev” if it exists, or
SelfRelationLink
Gets the Uri of the link for the relation “self”.
Declaration
public string SelfRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “self” if it exists, or
TimeStamp
TimeStamp of the result.
Declaration
public System.DateTime TimeStamp { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Workflow
List of requests created by current user.
Declaration
public List<OwnWorkflow> Workflow { get; set; }
Property Value
Type | Description |
---|---|
List<OwnWorkflow> |
Methods
GetOwnWorkflowsFromFirstRelation()
Calls the HTTP Get method on the link for the relation “first”.
Declaration
public OwnWorkflows GetOwnWorkflowsFromFirstRelation()
Returns
Type | Description |
---|---|
OwnWorkflows | The content of the response. |
GetOwnWorkflowsFromFirstRelationAsync()
Calls the HTTP Get method on the link for the relation “first” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromFirstRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> | A task which runs the request. |
Remarks
This method follows the link for the relation “first”.
GetOwnWorkflowsFromFirstRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “first” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromFirstRelationAsync(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<OwnWorkflows>> | A task which runs the request. |
Remarks
This method follows the link for the relation “first”.
GetOwnWorkflowsFromNextRelation()
Calls the HTTP Get method on the link for the relation “next”.
Declaration
public OwnWorkflows GetOwnWorkflowsFromNextRelation()
Returns
Type | Description |
---|---|
OwnWorkflows | The content of the response. |
GetOwnWorkflowsFromNextRelationAsync()
Calls the HTTP Get method on the link for the relation “next” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromNextRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> | A task which runs the request. |
Remarks
This method follows the link for the relation “next”.
GetOwnWorkflowsFromNextRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “next” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromNextRelationAsync(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<OwnWorkflows>> | A task which runs the request. |
Remarks
This method follows the link for the relation “next”.
GetOwnWorkflowsFromPrevRelation()
Calls the HTTP Get method on the link for the relation “prev”.
Declaration
public OwnWorkflows GetOwnWorkflowsFromPrevRelation()
Returns
Type | Description |
---|---|
OwnWorkflows | The content of the response. |
GetOwnWorkflowsFromPrevRelationAsync()
Calls the HTTP Get method on the link for the relation “prev” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromPrevRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> | A task which runs the request. |
Remarks
This method follows the link for the relation “prev”.
GetOwnWorkflowsFromPrevRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “prev” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromPrevRelationAsync(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<OwnWorkflows>> | A task which runs the request. |
Remarks
This method follows the link for the relation “prev”.
GetOwnWorkflowsFromSelfRelation()
Calls the HTTP Get method on the link for the relation “self”.
Declaration
public OwnWorkflows GetOwnWorkflowsFromSelfRelation()
Returns
Type | Description |
---|---|
OwnWorkflows | The content of the response. |
GetOwnWorkflowsFromSelfRelationAsync()
Calls the HTTP Get method on the link for the relation “self” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromSelfRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> | A task which runs the request. |
Remarks
This method follows the link for the relation “self”.
GetOwnWorkflowsFromSelfRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “self” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromSelfRelationAsync(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<OwnWorkflows>> | A task which runs the request. |
Remarks
This method follows the link for the relation “self”.
SetProxy(HttpClientProxy)
Sets the HTTP communication proxy which is used in further HTTP communication.
Declaration
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.