/// <summary> /// Get the AssetLifecycleReference for the Children of provided asset, if /// Guid.Empty will get the functional Roots children /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='client'> /// </param> /// <param name='assetId'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <AssetLifecycleReference> > GetAssetLifecycleReferencesForChildrenAsync(this IAssets operations, string client, string assetId, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetAssetLifecycleReferencesForChildrenWithHttpMessagesAsync(client, assetId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }