_propDict)) { return $this->_propDict["errorMessage"]; } else { return null; } } /** * Sets the errorMessage * * @param string $val The value of the errorMessage * * @return CloudPcPartnerAgentInstallResult */ public function setErrorMessage($val) { $this->_propDict["errorMessage"] = $val; return $this; } /** * Gets the installStatus * The status of a partner agent installation. Possible values are: installed, installFailed, installing, uninstalling, uninstallFailed and licensed. Read-Only. * * @return CloudPcPartnerAgentInstallStatus|null The installStatus */ public function getInstallStatus() { if (array_key_exists("installStatus", $this->_propDict)) { if (is_a($this->_propDict["installStatus"], "\Beta\Microsoft\Graph\Model\CloudPcPartnerAgentInstallStatus") || is_null($this->_propDict["installStatus"])) { return $this->_propDict["installStatus"]; } else { $this->_propDict["installStatus"] = new CloudPcPartnerAgentInstallStatus($this->_propDict["installStatus"]); return $this->_propDict["installStatus"]; } } return null; } /** * Sets the installStatus * The status of a partner agent installation. Possible values are: installed, installFailed, installing, uninstalling, uninstallFailed and licensed. Read-Only. * * @param CloudPcPartnerAgentInstallStatus $val The value to assign to the installStatus * * @return CloudPcPartnerAgentInstallResult The CloudPcPartnerAgentInstallResult */ public function setInstallStatus($val) { $this->_propDict["installStatus"] = $val; return $this; } /** * Gets the isThirdPartyPartner * Indicates if the partner agent is a third party. When 'TRUE' the agent is a third-party (non-Microsoft) agent and when 'FALSE' the agent is a Microsoft agent or isn't known. The default value is 'FALSE' * * @return bool|null The isThirdPartyPartner */ public function getIsThirdPartyPartner() { if (array_key_exists("isThirdPartyPartner", $this->_propDict)) { return $this->_propDict["isThirdPartyPartner"]; } else { return null; } } /** * Sets the isThirdPartyPartner * Indicates if the partner agent is a third party. When 'TRUE' the agent is a third-party (non-Microsoft) agent and when 'FALSE' the agent is a Microsoft agent or isn't known. The default value is 'FALSE' * * @param bool $val The value of the isThirdPartyPartner * * @return CloudPcPartnerAgentInstallResult */ public function setIsThirdPartyPartner($val) { $this->_propDict["isThirdPartyPartner"] = $val; return $this; } /** * Gets the partnerAgentName * The name of the partner agent, whether first party or third party. Possible values for third-party partners are Citrix and VMware. Read-Only. * * @return CloudPcPartnerAgentName|null The partnerAgentName */ public function getPartnerAgentName() { if (array_key_exists("partnerAgentName", $this->_propDict)) { if (is_a($this->_propDict["partnerAgentName"], "\Beta\Microsoft\Graph\Model\CloudPcPartnerAgentName") || is_null($this->_propDict["partnerAgentName"])) { return $this->_propDict["partnerAgentName"]; } else { $this->_propDict["partnerAgentName"] = new CloudPcPartnerAgentName($this->_propDict["partnerAgentName"]); return $this->_propDict["partnerAgentName"]; } } return null; } /** * Sets the partnerAgentName * The name of the partner agent, whether first party or third party. Possible values for third-party partners are Citrix and VMware. Read-Only. * * @param CloudPcPartnerAgentName $val The value to assign to the partnerAgentName * * @return CloudPcPartnerAgentInstallResult The CloudPcPartnerAgentInstallResult */ public function setPartnerAgentName($val) { $this->_propDict["partnerAgentName"] = $val; return $this; } /** * Gets the retriable * Indicates if the partner agent is a third party. When 'TRUE' the agent is a third-party (non-Microsoft) agent and when 'FALSE' the agent is a Microsoft agent or isn't known. The default value is 'FALSE' * * @return bool|null The retriable */ public function getRetriable() { if (array_key_exists("retriable", $this->_propDict)) { return $this->_propDict["retriable"]; } else { return null; } } /** * Sets the retriable * Indicates if the partner agent is a third party. When 'TRUE' the agent is a third-party (non-Microsoft) agent and when 'FALSE' the agent is a Microsoft agent or isn't known. The default value is 'FALSE' * * @param bool $val The value of the retriable * * @return CloudPcPartnerAgentInstallResult */ public function setRetriable($val) { $this->_propDict["retriable"] = $val; return $this; } }