def list_by_domain(resource_group_name, domain_name, filter:nil, top:nil, custom_headers:nil)
      first_page = list_by_domain_as_lazy(resource_group_name, domain_name, filter:filter, top:top, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_domain(resource_group_name, domain_name, filter:nil, top:nil, custom_headers:nil)
      first_page = list_by_domain_as_lazy(resource_group_name, domain_name, filter:filter, top:top, custom_headers:custom_headers)
      first_page.get_all_items
    end
List domain topics.

 List all the topics in a domain.

 @param resource_group_name [String] The name of the resource group within the
 user's subscription.
 @param domain_name [String] Domain name.
 @param filter [String] Filter the results using OData syntax.
 @param top [Integer] The number of results to return.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<DomainTopic>] operation results.