public function toObject($object = null, $propertiesToSkip = array())
 {
     if (is_null($object)) {
         $object = new kResponseProfileHolder();
     }
     return parent::toObject($object, $propertiesToSkip);
 }
 public function toObject($object = null, $propertiesToSkip = array())
 {
     if (!$object) {
         $object = new kResponseProfile();
     }
     if ($this->filter) {
         $object->setFilterApiClassName(get_class($this->filter));
         $object->setFilter($this->filter->toObject());
     }
     return parent::toObject($object, $propertiesToSkip);
 }