Class BpwSettings
Inheritance
Namespace: DocuWare.Platform.Bpw.Schemas
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class BpwSettings : IRelationsWithProxy
Properties
Links
Declaration
public Link[] Links { get; set; }
Property Value
Type | Description |
---|---|
Link[] |
SimpleWorkflowDefinitionsRelationLink
Gets the Uri of the link for the relation “simpleWorkflowDefinitions”.
Declaration
public string SimpleWorkflowDefinitionsRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “simpleWorkflowDefinitions” if it exists, or
SubstitutionListsRelationLink
Gets the Uri of the link for the relation “substitutionLists”.
Declaration
public string SubstitutionListsRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “substitutionLists” if it exists, or
Methods
GetSimpleWorkflowDefinitionsDataFromSimpleWorkflowDefinitionsRelation()
Calls the HTTP Get method on the link for the relation “simpleWorkflowDefinitions”.
Declaration
public SimpleWorkflowDefinitionsData GetSimpleWorkflowDefinitionsDataFromSimpleWorkflowDefinitionsRelation()
Returns
Type | Description |
---|---|
SimpleWorkflowDefinitionsData | The content of the response. |
GetSimpleWorkflowDefinitionsDataFromSimpleWorkflowDefinitionsRelationAsync()
Calls the HTTP Get method on the link for the relation “simpleWorkflowDefinitions” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleWorkflowDefinitionsData>> GetSimpleWorkflowDefinitionsDataFromSimpleWorkflowDefinitionsRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleWorkflowDefinitionsData>> | A task which runs the request. |
Remarks
This method follows the link for the relation “simpleWorkflowDefinitions”.
GetSimpleWorkflowDefinitionsDataFromSimpleWorkflowDefinitionsRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “simpleWorkflowDefinitions” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleWorkflowDefinitionsData>> GetSimpleWorkflowDefinitionsDataFromSimpleWorkflowDefinitionsRelationAsync(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<SimpleWorkflowDefinitionsData>> | A task which runs the request. |
Remarks
This method follows the link for the relation “simpleWorkflowDefinitions”.
GetSubstitutionListsFromSubstitutionListsRelation()
Calls the HTTP Get method on the link for the relation “substitutionLists”.
Declaration
public SubstitutionLists GetSubstitutionListsFromSubstitutionListsRelation()
Returns
Type | Description |
---|---|
SubstitutionLists | The content of the response. |
GetSubstitutionListsFromSubstitutionListsRelationAsync()
Calls the HTTP Get method on the link for the relation “substitutionLists” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SubstitutionLists>> GetSubstitutionListsFromSubstitutionListsRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<SubstitutionLists>> | A task which runs the request. |
Remarks
This method follows the link for the relation “substitutionLists”.
GetSubstitutionListsFromSubstitutionListsRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “substitutionLists” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SubstitutionLists>> GetSubstitutionListsFromSubstitutionListsRelationAsync(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<SubstitutionLists>> | A task which runs the request. |
Remarks
This method follows the link for the relation “substitutionLists”.
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.