_propDict)) { if (is_a($this->_propDict["effectiveValue"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\DeploymentStateValue") || is_null($this->_propDict["effectiveValue"])) { return $this->_propDict["effectiveValue"]; } else { $this->_propDict["effectiveValue"] = new DeploymentStateValue($this->_propDict["effectiveValue"]); return $this->_propDict["effectiveValue"]; } } return null; } /** * Sets the effectiveValue * Specifies the state of the deployment. Supports a subset of the values for deploymentStateValue. Possible values are: scheduled, offering, paused, unknownFutureValue. Read-only. * * @param DeploymentStateValue $val The value to assign to the effectiveValue * * @return DeploymentState The DeploymentState */ public function setEffectiveValue($val) { $this->_propDict["effectiveValue"] = $val; return $this; } /** * Gets the reasons * Specifies the reasons the deployment has its state value. Read-only. * * @return DeploymentStateReason|null The reasons */ public function getReasons() { if (array_key_exists("reasons", $this->_propDict)) { if (is_a($this->_propDict["reasons"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\DeploymentStateReason") || is_null($this->_propDict["reasons"])) { return $this->_propDict["reasons"]; } else { $this->_propDict["reasons"] = new DeploymentStateReason($this->_propDict["reasons"]); return $this->_propDict["reasons"]; } } return null; } /** * Sets the reasons * Specifies the reasons the deployment has its state value. Read-only. * * @param DeploymentStateReason $val The value to assign to the reasons * * @return DeploymentState The DeploymentState */ public function setReasons($val) { $this->_propDict["reasons"] = $val; return $this; } /** * Gets the requestedValue * Specifies the requested state of the deployment. Supports a subset of the values for requestedDeploymentStateValue. Possible values are: none, paused, unknownFutureValue. * * @return RequestedDeploymentStateValue|null The requestedValue */ public function getRequestedValue() { if (array_key_exists("requestedValue", $this->_propDict)) { if (is_a($this->_propDict["requestedValue"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\RequestedDeploymentStateValue") || is_null($this->_propDict["requestedValue"])) { return $this->_propDict["requestedValue"]; } else { $this->_propDict["requestedValue"] = new RequestedDeploymentStateValue($this->_propDict["requestedValue"]); return $this->_propDict["requestedValue"]; } } return null; } /** * Sets the requestedValue * Specifies the requested state of the deployment. Supports a subset of the values for requestedDeploymentStateValue. Possible values are: none, paused, unknownFutureValue. * * @param RequestedDeploymentStateValue $val The value to assign to the requestedValue * * @return DeploymentState The DeploymentState */ public function setRequestedValue($val) { $this->_propDict["requestedValue"] = $val; return $this; } }