/// <summary> /// [EARLY ACCESS] Search: Search for a file or folder with a given name and path /// </summary> /// <exception cref="Lusid.Drive.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchBody">Search parameters</param> /// <param name="page"> (optional)</param> /// <param name="sortBy"> (optional)</param> /// <param name="limit"> (optional)</param> /// <param name="filter"> (optional, default to "")</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of PagedResourceListOfStorageObject</returns> public async System.Threading.Tasks.Task <PagedResourceListOfStorageObject> SearchAsync(SearchBody searchBody, string page = default(string), List <string> sortBy = default(List <string>), int?limit = default(int?), string filter = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Lusid.Drive.Sdk.Client.ApiResponse <PagedResourceListOfStorageObject> localVarResponse = await SearchWithHttpInfoAsync(searchBody, page, sortBy, limit, filter, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// [EARLY ACCESS] ListAccessControlledResources: Get resources available for access control Get the comprehensive set of resources that are available for access control /// </summary> /// <exception cref="Lusid.Drive.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ResourceListOfAccessControlledResource</returns> public async System.Threading.Tasks.Task <ResourceListOfAccessControlledResource> ListAccessControlledResourcesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Lusid.Drive.Sdk.Client.ApiResponse <ResourceListOfAccessControlledResource> localVarResponse = await ListAccessControlledResourcesWithHttpInfoAsync(cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// [EARLY ACCESS] Search: Search for a file or folder with a given name and path /// </summary> /// <exception cref="Lusid.Drive.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="searchBody">Search parameters</param> /// <param name="page"> (optional)</param> /// <param name="sortBy"> (optional)</param> /// <param name="limit"> (optional)</param> /// <param name="filter"> (optional, default to "")</param> /// <returns>PagedResourceListOfStorageObject</returns> public PagedResourceListOfStorageObject Search(SearchBody searchBody, string page = default(string), List <string> sortBy = default(List <string>), int?limit = default(int?), string filter = default(string)) { Lusid.Drive.Sdk.Client.ApiResponse <PagedResourceListOfStorageObject> localVarResponse = SearchWithHttpInfo(searchBody, page, sortBy, limit, filter); return(localVarResponse.Data); }
/// <summary> /// [EARLY ACCESS] ListAccessControlledResources: Get resources available for access control Get the comprehensive set of resources that are available for access control /// </summary> /// <exception cref="Lusid.Drive.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>ResourceListOfAccessControlledResource</returns> public ResourceListOfAccessControlledResource ListAccessControlledResources() { Lusid.Drive.Sdk.Client.ApiResponse <ResourceListOfAccessControlledResource> localVarResponse = ListAccessControlledResourcesWithHttpInfo(); return(localVarResponse.Data); }