/// <param name='operations'>
        /// Reference to the DXNewsApp.IDXNewsAppClient.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <NewsItem> LatestNewsItemAsync(this IDXNewsAppClient operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <DXNewsApp.Models.NewsItem> result = await operations.LatestNewsItemWithOperationResponseAsync(cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }