protected static function getReferencedEnums() { $ref_enums = array(); $ref_enums['Status'] = ReachFrequencyPredictionStatusValues::getInstance()->getValues(); return $ref_enums; }
public function getGrpPlans(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array('status' => 'status_enum'); $enums = array('status_enum' => ReachFrequencyPredictionStatusValues::getInstance()->getValues()); $request = new ApiRequest($this->api, $this->data['id'], RequestInterface::METHOD_GET, '/grp_plans', new ReachFrequencyPrediction(), 'EDGE', ReachFrequencyPrediction::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums)); $request->addParams($params); $request->addFields($fields); return $pending ? $request : $request->execute(); }