/// <summary> /// Retrieve a single asset by Guid /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='client'> /// The name of the client account. /// </param> /// <param name='id'> /// The asset Guid to retrieve. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Asset> GetAssetAsync(this IAssets operations, string client, string id, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetAssetWithHttpMessagesAsync(client, id, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }