_propDict)) { return $this->_propDict["deviceId"]; } else { return null; } } /** * Sets the deviceId * Device ID * * @param string $val The deviceId * * @return MobileAppInstallStatus */ public function setDeviceId($val) { $this->_propDict["deviceId"] = $val; return $this; } /** * Gets the deviceName * Device name * * @return string|null The deviceName */ public function getDeviceName() { if (array_key_exists("deviceName", $this->_propDict)) { return $this->_propDict["deviceName"]; } else { return null; } } /** * Sets the deviceName * Device name * * @param string $val The deviceName * * @return MobileAppInstallStatus */ public function setDeviceName($val) { $this->_propDict["deviceName"] = $val; return $this; } /** * Gets the displayVersion * Human readable version of the application * * @return string|null The displayVersion */ public function getDisplayVersion() { if (array_key_exists("displayVersion", $this->_propDict)) { return $this->_propDict["displayVersion"]; } else { return null; } } /** * Sets the displayVersion * Human readable version of the application * * @param string $val The displayVersion * * @return MobileAppInstallStatus */ public function setDisplayVersion($val) { $this->_propDict["displayVersion"] = $val; return $this; } /** * Gets the errorCode * The error code for install or uninstall failures. * * @return int|null The errorCode */ public function getErrorCode() { if (array_key_exists("errorCode", $this->_propDict)) { return $this->_propDict["errorCode"]; } else { return null; } } /** * Sets the errorCode * The error code for install or uninstall failures. * * @param int $val The errorCode * * @return MobileAppInstallStatus */ public function setErrorCode($val) { $this->_propDict["errorCode"] = intval($val); return $this; } /** * Gets the installState * The install state of the app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. * * @return ResultantAppState|null The installState */ public function getInstallState() { if (array_key_exists("installState", $this->_propDict)) { if (is_a($this->_propDict["installState"], "\Beta\Microsoft\Graph\Model\ResultantAppState") || is_null($this->_propDict["installState"])) { return $this->_propDict["installState"]; } else { $this->_propDict["installState"] = new ResultantAppState($this->_propDict["installState"]); return $this->_propDict["installState"]; } } return null; } /** * Sets the installState * The install state of the app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. * * @param ResultantAppState $val The installState * * @return MobileAppInstallStatus */ public function setInstallState($val) { $this->_propDict["installState"] = $val; return $this; } /** * Gets the installStateDetail * The install state detail of the app. Possible values are: noAdditionalDetails, dependencyFailedToInstall, dependencyWithRequirementsNotMet, dependencyPendingReboot, dependencyWithAutoInstallDisabled, supersededAppUninstallFailed, supersededAppUninstallPendingReboot, removingSupersededApps, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, uninstallPendingReboot, supersedingAppsDetected, supersededAppsDetected, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, untargetedSupersedingAppsDetected, appRemovedBySupersedence, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, supersedingAppsNotApplicable, powerShellScriptRequirementNotMet, registryRequirementNotMet, fileSystemRequirementNotMet, platformNotApplicable, minimumCpuSpeedNotMet, minimumLogicalProcessorCountNotMet, minimumPhysicalMemoryNotMet, minimumOsVersionNotMet, minimumDiskSpaceNotMet, processorArchitectureNotApplicable. * * @return ResultantAppStateDetail|null The installStateDetail */ public function getInstallStateDetail() { if (array_key_exists("installStateDetail", $this->_propDict)) { if (is_a($this->_propDict["installStateDetail"], "\Beta\Microsoft\Graph\Model\ResultantAppStateDetail") || is_null($this->_propDict["installStateDetail"])) { return $this->_propDict["installStateDetail"]; } else { $this->_propDict["installStateDetail"] = new ResultantAppStateDetail($this->_propDict["installStateDetail"]); return $this->_propDict["installStateDetail"]; } } return null; } /** * Sets the installStateDetail * The install state detail of the app. Possible values are: noAdditionalDetails, dependencyFailedToInstall, dependencyWithRequirementsNotMet, dependencyPendingReboot, dependencyWithAutoInstallDisabled, supersededAppUninstallFailed, supersededAppUninstallPendingReboot, removingSupersededApps, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, uninstallPendingReboot, supersedingAppsDetected, supersededAppsDetected, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, untargetedSupersedingAppsDetected, appRemovedBySupersedence, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, supersedingAppsNotApplicable, powerShellScriptRequirementNotMet, registryRequirementNotMet, fileSystemRequirementNotMet, platformNotApplicable, minimumCpuSpeedNotMet, minimumLogicalProcessorCountNotMet, minimumPhysicalMemoryNotMet, minimumOsVersionNotMet, minimumDiskSpaceNotMet, processorArchitectureNotApplicable. * * @param ResultantAppStateDetail $val The installStateDetail * * @return MobileAppInstallStatus */ public function setInstallStateDetail($val) { $this->_propDict["installStateDetail"] = $val; return $this; } /** * Gets the lastSyncDateTime * Last sync date time * * @return \DateTime|null The lastSyncDateTime */ public function getLastSyncDateTime() { if (array_key_exists("lastSyncDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { return $this->_propDict["lastSyncDateTime"]; } else { $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); return $this->_propDict["lastSyncDateTime"]; } } return null; } /** * Sets the lastSyncDateTime * Last sync date time * * @param \DateTime $val The lastSyncDateTime * * @return MobileAppInstallStatus */ public function setLastSyncDateTime($val) { $this->_propDict["lastSyncDateTime"] = $val; return $this; } /** * Gets the mobileAppInstallStatusValue * The install state of the app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. * * @return ResultantAppState|null The mobileAppInstallStatusValue */ public function getMobileAppInstallStatusValue() { if (array_key_exists("mobileAppInstallStatusValue", $this->_propDict)) { if (is_a($this->_propDict["mobileAppInstallStatusValue"], "\Beta\Microsoft\Graph\Model\ResultantAppState") || is_null($this->_propDict["mobileAppInstallStatusValue"])) { return $this->_propDict["mobileAppInstallStatusValue"]; } else { $this->_propDict["mobileAppInstallStatusValue"] = new ResultantAppState($this->_propDict["mobileAppInstallStatusValue"]); return $this->_propDict["mobileAppInstallStatusValue"]; } } return null; } /** * Sets the mobileAppInstallStatusValue * The install state of the app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. * * @param ResultantAppState $val The mobileAppInstallStatusValue * * @return MobileAppInstallStatus */ public function setMobileAppInstallStatusValue($val) { $this->_propDict["mobileAppInstallStatusValue"] = $val; return $this; } /** * Gets the osDescription * OS Description * * @return string|null The osDescription */ public function getOsDescription() { if (array_key_exists("osDescription", $this->_propDict)) { return $this->_propDict["osDescription"]; } else { return null; } } /** * Sets the osDescription * OS Description * * @param string $val The osDescription * * @return MobileAppInstallStatus */ public function setOsDescription($val) { $this->_propDict["osDescription"] = $val; return $this; } /** * Gets the osVersion * OS Version * * @return string|null The osVersion */ public function getOsVersion() { if (array_key_exists("osVersion", $this->_propDict)) { return $this->_propDict["osVersion"]; } else { return null; } } /** * Sets the osVersion * OS Version * * @param string $val The osVersion * * @return MobileAppInstallStatus */ public function setOsVersion($val) { $this->_propDict["osVersion"] = $val; return $this; } /** * Gets the userName * Device User Name * * @return string|null The userName */ public function getUserName() { if (array_key_exists("userName", $this->_propDict)) { return $this->_propDict["userName"]; } else { return null; } } /** * Sets the userName * Device User Name * * @param string $val The userName * * @return MobileAppInstallStatus */ public function setUserName($val) { $this->_propDict["userName"] = $val; return $this; } /** * Gets the userPrincipalName * User Principal Name * * @return string|null The userPrincipalName */ public function getUserPrincipalName() { if (array_key_exists("userPrincipalName", $this->_propDict)) { return $this->_propDict["userPrincipalName"]; } else { return null; } } /** * Sets the userPrincipalName * User Principal Name * * @param string $val The userPrincipalName * * @return MobileAppInstallStatus */ public function setUserPrincipalName($val) { $this->_propDict["userPrincipalName"] = $val; return $this; } /** * Gets the app * The navigation link to the mobile app. * * @return MobileApp|null The app */ public function getApp() { if (array_key_exists("app", $this->_propDict)) { if (is_a($this->_propDict["app"], "\Beta\Microsoft\Graph\Model\MobileApp") || is_null($this->_propDict["app"])) { return $this->_propDict["app"]; } else { $this->_propDict["app"] = new MobileApp($this->_propDict["app"]); return $this->_propDict["app"]; } } return null; } /** * Sets the app * The navigation link to the mobile app. * * @param MobileApp $val The app * * @return MobileAppInstallStatus */ public function setApp($val) { $this->_propDict["app"] = $val; return $this; } }