/// <param name='operations'>
        /// Reference to the ZtherApiIntegration.API.IImages.
        /// </param>
        /// <param name='filename'>
        /// Required.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <string> GetThumbnailImageAsync(this IImages operations, string filename, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <string> result = await operations.GetThumbnailImageWithOperationResponseAsync(filename, cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }