Class AvaConversionClient
Inheritance
Inherited Members
Namespace: Dangl.AVACloud.Client
Assembly: Dangl.AVACloud.Client.dll
Syntax
public class AvaConversionClient
Constructors
| Improve this Doc View SourceAvaConversionClient(String, HttpClient)
Declaration
public AvaConversionClient(string baseUrl, HttpClient httpClient)
Parameters
Type | Name | Description |
---|---|---|
System.String | baseUrl | |
System.Net.Http.HttpClient | httpClient |
Properties
| Improve this Doc View SourceBaseUrl
Declaration
public string BaseUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
JsonSerializerSettings
Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
Type | Description |
---|---|
Newtonsoft.Json.JsonSerializerSettings |
ReadResponseAsString
Declaration
public bool ReadResponseAsString { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceConvertToAvaAsync(ProjectDto, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)
Converts Dangl.AVA projects to Dangl.AVA. This is useful when
you want to generate the calculated properties.
Declaration
public virtual Task<ProjectDto> ConvertToAvaAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, bool? removePlainTextLongTexts, bool? removeHtmlLongTexts)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<System.Boolean> | removePlainTextLongTexts | If set to true, plain text long texts will be removed from the output to reduce response sizes |
System.Nullable<System.Boolean> | removeHtmlLongTexts | If set to true, html long texts will be removed from the output to reduce response sizes |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Dangl.AVA.IO.Dto.v1.ProjectDto> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToAvaAsync(ProjectDto, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)
Converts Dangl.AVA projects to Dangl.AVA. This is useful when
you want to generate the calculated properties.
Declaration
public virtual async Task<ProjectDto> ConvertToAvaAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, bool? removePlainTextLongTexts, bool? removeHtmlLongTexts, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<System.Boolean> | removePlainTextLongTexts | If set to true, plain text long texts will be removed from the output to reduce response sizes |
System.Nullable<System.Boolean> | removeHtmlLongTexts | If set to true, html long texts will be removed from the output to reduce response sizes |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Dangl.AVA.IO.Dto.v1.ProjectDto> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToDatanormAsync(ProjectDto, Nullable<Boolean>, Nullable<DatanormDestinationVersion>)
Converts Dangl.AVA projects to Datanorm
Declaration
public virtual Task<FileResponse> ConvertToDatanormAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, DatanormDestinationVersion? datanormDestinationVersion)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<DatanormDestinationVersion> | datanormDestinationVersion | The Datanorm version to convert to. Defaults to V4. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToDatanormAsync(ProjectDto, Nullable<Boolean>, Nullable<DatanormDestinationVersion>, CancellationToken)
Converts Dangl.AVA projects to Datanorm
Declaration
public virtual async Task<FileResponse> ConvertToDatanormAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, DatanormDestinationVersion? datanormDestinationVersion, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<DatanormDestinationVersion> | datanormDestinationVersion | The Datanorm version to convert to. Defaults to V4. |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToExcelAsync(ProjectDto, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>)
Converts Dangl.AVA projects to Excel
Declaration
public virtual Task<FileResponse> ConvertToExcelAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, bool? writePrices, bool? writeLongTexts, string conversionCulture, bool? includeArticleNumbers)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<System.Boolean> | writePrices | Defaults to true |
System.Nullable<System.Boolean> | writeLongTexts | Defaults to true |
System.String | conversionCulture | The culture that should be used for the conversion process, to have
|
System.Nullable<System.Boolean> | includeArticleNumbers | If this is enabled, then a new column will be created in the overview worksheet
|
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToExcelAsync(ProjectDto, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>, CancellationToken)
Converts Dangl.AVA projects to Excel
Declaration
public virtual async Task<FileResponse> ConvertToExcelAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, bool? writePrices, bool? writeLongTexts, string conversionCulture, bool? includeArticleNumbers, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<System.Boolean> | writePrices | Defaults to true |
System.Nullable<System.Boolean> | writeLongTexts | Defaults to true |
System.String | conversionCulture | The culture that should be used for the conversion process, to have
|
System.Nullable<System.Boolean> | includeArticleNumbers | If this is enabled, then a new column will be created in the overview worksheet
|
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToGaebAsync(ProjectDto, Nullable<Boolean>, Nullable<DestinationGaebType>, Nullable<DestinationGaebExchangePhase>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)
Converts Dangl.AVA projects to GAEB
Declaration
public virtual Task<FileResponse> ConvertToGaebAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, DestinationGaebType? destinationGaebType, DestinationGaebExchangePhase? targetExchangePhaseTransform, bool? enforceStrictOfferPhaseLongTextOutput, bool? exportQuantityDetermination, bool? removeUnprintableCharactersFromTexts, bool? forceIncludeDescriptions, bool? treatNullItemNumberSchemaAsInvalid)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<DestinationGaebType> | destinationGaebType | Defaults to GAEB XML V3.2 |
System.Nullable<DestinationGaebExchangePhase> | targetExchangePhaseTransform | Defaults to none, meaning no transformation will be done. The phases are:
|
System.Nullable<System.Boolean> | enforceStrictOfferPhaseLongTextOutput | Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will
|
System.Nullable<System.Boolean> | exportQuantityDetermination | Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the
|
System.Nullable<System.Boolean> | removeUnprintableCharactersFromTexts | If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion
|
System.Nullable<System.Boolean> | forceIncludeDescriptions | If this is enabled, all description elements like texts and execution descriptions will be output
|
System.Nullable<System.Boolean> | treatNullItemNumberSchemaAsInvalid | When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas.
|
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToGaebAsync(ProjectDto, Nullable<Boolean>, Nullable<DestinationGaebType>, Nullable<DestinationGaebExchangePhase>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)
Converts Dangl.AVA projects to GAEB
Declaration
public virtual async Task<FileResponse> ConvertToGaebAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, DestinationGaebType? destinationGaebType, DestinationGaebExchangePhase? targetExchangePhaseTransform, bool? enforceStrictOfferPhaseLongTextOutput, bool? exportQuantityDetermination, bool? removeUnprintableCharactersFromTexts, bool? forceIncludeDescriptions, bool? treatNullItemNumberSchemaAsInvalid, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<DestinationGaebType> | destinationGaebType | Defaults to GAEB XML V3.2 |
System.Nullable<DestinationGaebExchangePhase> | targetExchangePhaseTransform | Defaults to none, meaning no transformation will be done. The phases are:
|
System.Nullable<System.Boolean> | enforceStrictOfferPhaseLongTextOutput | Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will
|
System.Nullable<System.Boolean> | exportQuantityDetermination | Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the
|
System.Nullable<System.Boolean> | removeUnprintableCharactersFromTexts | If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion
|
System.Nullable<System.Boolean> | forceIncludeDescriptions | If this is enabled, all description elements like texts and execution descriptions will be output
|
System.Nullable<System.Boolean> | treatNullItemNumberSchemaAsInvalid | When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas.
|
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToIdsConnectAsync(ProjectDto, Nullable<Boolean>, Nullable<IdsConnectVersion>)
Converts Dangl.AVA projects to IDS Connect files
Declaration
public virtual Task<FileResponse> ConvertToIdsConnectAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, IdsConnectVersion? version)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<IdsConnectVersion> | version | The IDS Connect version to convert to. Defaults to V2_5. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToIdsConnectAsync(ProjectDto, Nullable<Boolean>, Nullable<IdsConnectVersion>, CancellationToken)
Converts Dangl.AVA projects to IDS Connect files
Declaration
public virtual async Task<FileResponse> ConvertToIdsConnectAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, IdsConnectVersion? version, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<IdsConnectVersion> | version | The IDS Connect version to convert to. Defaults to V2_5. |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToOenormAsync(ProjectDto, Nullable<Boolean>, Nullable<DestinationOenormType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)
Converts Dangl.AVA projects to Oenorm
Declaration
public virtual Task<FileResponse> ConvertToOenormAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, DestinationOenormType? destinationOenormType, bool? tryRepairProjectStructure, bool? skipTryEnforceSchemaCompliantXmlOutput, bool? removeUnprintableCharactersFromTexts)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<DestinationOenormType> | destinationOenormType | Defaults to Lv2015 |
System.Nullable<System.Boolean> | tryRepairProjectStructure | Defaults to false. If this is enabled, the converter will try to ensure that the project structure
|
System.Nullable<System.Boolean> | skipTryEnforceSchemaCompliantXmlOutput | If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml
|
System.Nullable<System.Boolean> | removeUnprintableCharactersFromTexts | If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion
|
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToOenormAsync(ProjectDto, Nullable<Boolean>, Nullable<DestinationOenormType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)
Converts Dangl.AVA projects to Oenorm
Declaration
public virtual async Task<FileResponse> ConvertToOenormAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, DestinationOenormType? destinationOenormType, bool? tryRepairProjectStructure, bool? skipTryEnforceSchemaCompliantXmlOutput, bool? removeUnprintableCharactersFromTexts, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<DestinationOenormType> | destinationOenormType | Defaults to Lv2015 |
System.Nullable<System.Boolean> | tryRepairProjectStructure | Defaults to false. If this is enabled, the converter will try to ensure that the project structure
|
System.Nullable<System.Boolean> | skipTryEnforceSchemaCompliantXmlOutput | If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml
|
System.Nullable<System.Boolean> | removeUnprintableCharactersFromTexts | If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion
|
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToRebAsync(ProjectDto, Nullable<Boolean>, Nullable<DestinationRebType>)
Converts Dangl.AVA projects to REB
Declaration
public virtual Task<FileResponse> ConvertToRebAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, DestinationRebType? destinationRebType)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<DestinationRebType> | destinationRebType | Defaults to D11 |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToRebAsync(ProjectDto, Nullable<Boolean>, Nullable<DestinationRebType>, CancellationToken)
Converts Dangl.AVA projects to REB
Declaration
public virtual async Task<FileResponse> ConvertToRebAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, DestinationRebType? destinationRebType, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<DestinationRebType> | destinationRebType | Defaults to D11 |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToSiaAsync(ProjectDto, Nullable<Boolean>, Nullable<SiaDestinationType>)
Converts Dangl.AVA projects to SIA 451
Declaration
public virtual Task<FileResponse> ConvertToSiaAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, SiaDestinationType? siaDestinationType)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<SiaDestinationType> | siaDestinationType | Defaults to Sia451 |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToSiaAsync(ProjectDto, Nullable<Boolean>, Nullable<SiaDestinationType>, CancellationToken)
Converts Dangl.AVA projects to SIA 451
Declaration
public virtual async Task<FileResponse> ConvertToSiaAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, SiaDestinationType? siaDestinationType, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<SiaDestinationType> | siaDestinationType | Defaults to Sia451 |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToUglAsync(ProjectDto, Nullable<Boolean>, Nullable<UglDestinationVersion>)
Converts Dangl.AVA projects to UGL
Declaration
public virtual Task<FileResponse> ConvertToUglAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, UglDestinationVersion? uglDestinationVersion)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<UglDestinationVersion> | uglDestinationVersion | The UGL version to convert to. Defaults to V1. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ConvertToUglAsync(ProjectDto, Nullable<Boolean>, Nullable<UglDestinationVersion>, CancellationToken)
Converts Dangl.AVA projects to UGL
Declaration
public virtual async Task<FileResponse> ConvertToUglAsync(ProjectDto avaProject, bool? tryAutoGenerateItemNumbersAndSchema, UglDestinationVersion? uglDestinationVersion, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Dangl.AVA.IO.Dto.v1.ProjectDto | avaProject | The Dangl.AVA project |
System.Nullable<System.Boolean> | tryAutoGenerateItemNumbersAndSchema | If this is set to true, AVACloud will try to generate item numbers
|
System.Nullable<UglDestinationVersion> | uglDestinationVersion | The UGL version to convert to. Defaults to V1. |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FileResponse> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<String, IEnumerable<String>>, CancellationToken)
Declaration
protected virtual async Task<AvaConversionClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Net.Http.HttpResponseMessage | response | |
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.IEnumerable<System.String>> | headers | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<AvaConversionClient.ObjectResponseResult<T>> |
Type Parameters
Name | Description |
---|---|
T |