def list_by_time(resource_group_name, service_name, filter, interval, top:nil, skip:nil, orderby:nil, custom_headers:nil)
      first_page = list_by_time_as_lazy(resource_group_name, service_name, filter, interval, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_time(resource_group_name, service_name, filter, interval, top:nil, skip:nil, orderby:nil, custom_headers:nil)
      first_page = list_by_time_as_lazy(resource_group_name, service_name, filter, interval, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers)
      first_page.get_all_items
    end
Lists report records by Time.

 @param resource_group_name [String] The name of the resource group.
 @param service_name [String] The name of the API Management service.
 @param filter [String] |   Field     |     Usage     |     Supported
 operators     |     Supported functions
 |</br>|-------------|-------------|-------------|-------------|</br>|
 timestamp | filter, select | ge, le |     | </br>| interval | select |     |
 | </br>| apiRegion | filter | eq |     | </br>| userId | filter | eq |     |
 </br>| productId | filter | eq |     | </br>| subscriptionId | filter | eq |
 | </br>| apiId | filter | eq |     | </br>| operationId | filter | eq |     |
 </br>| callCountSuccess | select |     |     | </br>| callCountBlocked |
 select |     |     | </br>| callCountFailed | select |     |     | </br>|
 callCountOther | select |     |     | </br>| bandwidth | select, orderBy |
 |     | </br>| cacheHitsCount | select |     |     | </br>| cacheMissCount |
 select |     |     | </br>| apiTimeAvg | select |     |     | </br>|
 apiTimeMin | select |     |     | </br>| apiTimeMax | select |     |     |
 </br>| serviceTimeAvg | select |     |     | </br>| serviceTimeMin | select |
 |     | </br>| serviceTimeMax | select |     |     | </br>
 @param interval [Duration] By time interval. Interval must be multiple of 15
 minutes and may not be zero. The value should be in ISO  8601 format
 (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to
 convert TimeSpan to a valid interval string: XmlConvert.ToString(new
 TimeSpan(hours, minutes, seconds)).
 @param top [Integer] Number of records to return.
 @param skip [Integer] Number of records to skip.
 @param orderby [String] OData order by query option.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<ReportRecordContract>] operation results.