def profiles(factory_id, opts = {})
      data, _status_code, _headers = profiles_with_http_info(factory_id, opts)
      return data
    end
def profiles(factory_id, opts = {})
      data, _status_code, _headers = profiles_with_http_info(factory_id, opts)
      return data
    end
Returns a collection of Profile objects.

 @param factory_id Id of a Factory.
 @param [Hash] opts the optional parameters
 @option opts [BOOLEAN] :exclude_advanced_services Determine whether exclude Advanced Services profiles from the results. By default this is not set.
 @option opts [BOOLEAN] :expand If expand option is set Profile objects will contain all command parameters, even if their value is default. By default this is not set.
 @option opts [Integer] :page A page to be fetched. Default is &#x60;1&#x60;.
 @option opts [Integer] :per_page A number of results per page. Default is &#x60;100&#x60;.
 @return [PaginatedProfilesCollection]