def search(criteria)
      results = DataTable._get_json_table(self, '/data/asset/filterAssets', criteria._to_payload)
      results.map { |a| FilteredAsset.new(a) }
    end
def search(criteria)
      results = DataTable._get_json_table(self, '/data/asset/filterAssets', criteria._to_payload)
      results.map { |a| FilteredAsset.new(a) }
    end
Perform a search that will match the criteria provided.

 For example, the following call will return assets with Java and .NET:
   java_criterion = Criterion.new(Search::Field::SOFTWARE,
                                  Search::Operator::CONTAINS,
                                  'java')
   dot_net_criterion = Criterion.new(Search::Field::SOFTWARE,
                                     Search::Operator::CONTAINS,
                                     '.net')
   criteria = Criteria.new([java_criterion, dot_net_criterion])
   results = nsc.search(criteria)

 @param [Criteria] criteria Criteria search object.
 @return [Array[FilteredAsset]] List of matching assets.