def list_by_hub_with_http_info(resource_group_name, hub_name, user_id, custom_headers:nil)
      list_by_hub_async(resource_group_name, hub_name, user_id, custom_headers:custom_headers).value!
    end
def list_by_hub_with_http_info(resource_group_name, hub_name, user_id, custom_headers:nil)
      list_by_hub_async(resource_group_name, hub_name, user_id, custom_headers:custom_headers).value!
    end
Gets all available views for given user in the specified hub.

 @param resource_group_name [String] The name of the resource group.
 @param hub_name [String] The name of the hub.
 @param user_id [String] The user ID. Use * to retreive hub level views.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.