Class BusinessProcessClient
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NSwag", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class BusinessProcessClient : ClientBase, IBusinessProcessClient
Constructors
BusinessProcessClient(ICloudManagerServiceSettings, HttpClient)
Declaration
public BusinessProcessClient(ICloudManagerServiceSettings configuration, HttpClient httpClient)
Parameters
| ICloudManagerServiceSettings configuration |
| HttpClient httpClient |
Properties
JsonSerializerSettings
Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
| JsonSerializerSettings |
ReadResponseAsString
Methods
GetAsync(string, string, CancellationToken)
Declaration
public virtual Task<BusinessProcess> GetAsync(string alias, string id, CancellationToken cancellationToken = default)
Parameters
| string alias |
| string id |
|
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
| Task<BusinessProcess> |
Implements
Exceptions
|
ApiException
A server side error occurred. |
|
PictureparkValidationException
Validation exception |
|
PictureparkForbiddenException
Forbidden |
|
PictureparkConflictException
Version conflict |
|
PictureparkTooManyRequestsException
Too many requests |
|
PictureparkException
Internal server error |
|
PictureparkException
Entity not found |
|
PictureparkNotFoundException
Entity not found |
ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<string, IEnumerable<string>>, CancellationToken)
Declaration
protected virtual Task<BusinessProcessClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Parameters
| HttpResponseMessage response |
| IReadOnlyDictionary<string, IEnumerable<string>> headers |
| CancellationToken cancellationToken |
Returns
| Task<BusinessProcessClient.ObjectResponseResult<T>> |
Type Parameters
| T |
SearchAsync(BusinessProcessSearchRequest, CancellationToken)
Declaration
public virtual Task<BusinessProcessSearchResult> SearchAsync(BusinessProcessSearchRequest request, CancellationToken cancellationToken = default)
Parameters
| BusinessProcessSearchRequest request |
|
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
| Task<BusinessProcessSearchResult> |
Implements
Exceptions
|
ApiException
A server side error occurred. |
|
PictureparkValidationException
Validation exception |
|
PictureparkForbiddenException
Forbidden |
|
PictureparkConflictException
Version conflict |
|
PictureparkTooManyRequestsException
Too many requests |
|
PictureparkException
Internal server error |
|
PictureparkException
Entity not found |
|
PictureparkNotFoundException
Entity not found |
WaitForCompletionAsync(string, string, TimeSpan?, bool?, CancellationToken)
Declaration
public virtual Task<BusinessProcessWaitForLifeCycleResult> WaitForCompletionAsync(string alias, string id, TimeSpan? timeout = null, bool? waitForContinuationCompletion = null, CancellationToken cancellationToken = default)
Parameters
| string alias |
| string id |
| TimeSpan? timeout |
| bool? waitForContinuationCompletion |
|
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
| Task<BusinessProcessWaitForLifeCycleResult> |
Implements
Exceptions
|
ApiException
A server side error occurred. |
|
PictureparkValidationException
Validation exception |
|
PictureparkForbiddenException
Forbidden |
|
PictureparkConflictException
Version conflict |
|
PictureparkTooManyRequestsException
Too many requests |
|
PictureparkException
Internal server error |
|
PictureparkException
Entity not found |
|
PictureparkNotFoundException
Entity not found |