Class OutputFormatClient
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 OutputFormatClient : ClientBase, IOutputFormatClient
Constructors
OutputFormatClient(ICloudManagerServiceSettings, HttpClient)
Declaration
public OutputFormatClient(ICloudManagerServiceSettings configuration, HttpClient httpClient)
Parameters
| ICloudManagerServiceSettings configuration |
| HttpClient httpClient |
Properties
JsonSerializerSettings
Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
| JsonSerializerSettings |
ReadResponseAsString
Methods
CreateAsync(string, StaticOutputFormat, CancellationToken)
Declaration
public virtual Task<BusinessProcess> CreateAsync(string customerId, StaticOutputFormat format, CancellationToken cancellationToken = default)
Parameters
| string customerId |
| StaticOutputFormat format |
|
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 |
DeleteAsync(string, string, CancellationToken)
Declaration
public virtual Task<BusinessProcess> DeleteAsync(string customerId, string id, CancellationToken cancellationToken = default)
Parameters
| string customerId |
| 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 |
GetAsync(string, string, CancellationToken)
Declaration
public virtual Task<StaticOutputFormatDetail> GetAsync(string customerId, string id, CancellationToken cancellationToken = default)
Parameters
| string customerId |
| string id |
|
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
| Task<StaticOutputFormatDetail> |
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<OutputFormatClient.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<OutputFormatClient.ObjectResponseResult<T>> |
Type Parameters
| T |
UpdateAsync(string, string, StaticOutputFormatEditable, CancellationToken)
Declaration
public virtual Task<BusinessProcess> UpdateAsync(string customerId, string id, StaticOutputFormatEditable format, CancellationToken cancellationToken = default)
Parameters
| string customerId |
| string id |
| StaticOutputFormatEditable format |
|
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 |