/// <param name='operations'> /// Reference to the APIApp.Client.IArticle. /// </param> /// <param name='code'> /// Required. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <ArticleDTO> GetArticleDTOAsync(this IArticle operations, string code, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <APIApp.Client.Models.ArticleDTO> result = await operations.GetArticleDTOWithOperationResponseAsync(code, cancellationToken).ConfigureAwait(false); return(result.Body); }