code: def get_metrics(self, metric_names, objects):
          
          if not isinstance(metric_names, list):
              raise TypeError("metric_names can only be an instance of type list")
          for a in metric_names[:10]:
              if not isinstance(a, basestring):
                  raise TypeError(
                          "array can only contain objects of type basestring")
          if not isinstance(objects, list):
              raise TypeError("objects can only be an instance of type list")
          for a in objects[:10]:
              if not isinstance(a, Interface):
                  raise TypeError(
                          "array can only contain objects of type Interface")
          metrics = self._call("getMetrics",
                       in_p=[metric_names, objects])
          metrics = [IPerformanceMetric(a) for a in metrics]
          return metrics
docs: Returns parameters of specified metrics for a set of objects.
          
          @c Null metrics array means all metrics. @c Null object array means
          all existing objects.
  
          in metric_names of type str
              Metric name filter. Currently, only a comma-separated list of metrics
              is supported.
  
          in objects of type Interface
              Set of objects to return metric parameters for.
  
          return metrics of type :class:`IPerformanceMetric`
              Array of returned metric parameters.