/// <summary>
 /// Returns a list of imports from **"My Workspace"**.
 /// </summary>
 /// <remarks>
 /// &lt;br/&gt;**Required scope**: Dataset.ReadWrite.All or Dataset.Read.All
 /// &lt;br/&gt;To set the permissions scope, see [Register an
 /// app](https://docs.microsoft.com/power-bi/developer/register-app).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static ODataResponseListImport GetImports(this IImports operations)
 {
     return(operations.GetImportsAsync().GetAwaiter().GetResult());
 }
 /// <summary>
 /// Returns a list of imports for the specified workspace
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='collectionName'>
 /// The workspace collection name
 /// </param>
 /// <param name='workspaceId'>
 /// The workspace id
 /// </param>
 public static ODataResponseListImport GetImports(this IImports operations, string collectionName, string workspaceId)
 {
     return(operations.GetImportsAsync(collectionName, workspaceId).GetAwaiter().GetResult());
 }