_propDict)) { if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Networkaccess\Model\ForwardingRuleAction") || is_null($this->_propDict["action"])) { return $this->_propDict["action"]; } else { $this->_propDict["action"] = new ForwardingRuleAction($this->_propDict["action"]); return $this->_propDict["action"]; } } return null; } /** * Sets the action * Required. The possible values are: bypass, forward, unknownFutureValue. * * @param ForwardingRuleAction $val The value to assign to the action * * @return PolicyRuleDelta The PolicyRuleDelta */ public function setAction($val) { $this->_propDict["action"] = $val; return $this; } /** * Gets the ruleId * The identifier of the policy rule to update. * * @return string|null The ruleId */ public function getRuleId() { if (array_key_exists("ruleId", $this->_propDict)) { return $this->_propDict["ruleId"]; } else { return null; } } /** * Sets the ruleId * The identifier of the policy rule to update. * * @param string $val The value of the ruleId * * @return PolicyRuleDelta */ public function setRuleId($val) { $this->_propDict["ruleId"] = $val; return $this; } }