155 lines
4.8 KiB
PHP
155 lines
4.8 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
|
*
|
|
* Win32LobAppFileSystemRequirement File
|
|
* PHP version 7
|
|
*
|
|
* @category Library
|
|
* @package Microsoft.Graph
|
|
* @copyright (c) Microsoft Corporation. All rights reserved.
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
|
* @link https://graph.microsoft.com
|
|
*/
|
|
namespace Beta\Microsoft\Graph\Model;
|
|
/**
|
|
* Win32LobAppFileSystemRequirement class
|
|
*
|
|
* @category Model
|
|
* @package Microsoft.Graph
|
|
* @copyright (c) Microsoft Corporation. All rights reserved.
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
|
* @link https://graph.microsoft.com
|
|
*/
|
|
class Win32LobAppFileSystemRequirement extends Win32LobAppRequirement
|
|
{
|
|
/**
|
|
* Set the @odata.type since this type is immediately descended from an abstract
|
|
* type that is referenced as the type in an entity.
|
|
* @param array $propDict The property dictionary
|
|
*/
|
|
public function __construct($propDict = array())
|
|
{
|
|
parent::__construct($propDict);
|
|
$this->setODataType("#microsoft.graph.win32LobAppFileSystemRequirement");
|
|
}
|
|
|
|
/**
|
|
* Gets the check32BitOn64System
|
|
* A value indicating whether this file or folder is for checking 32-bit app on 64-bit system
|
|
*
|
|
* @return bool|null The check32BitOn64System
|
|
*/
|
|
public function getCheck32BitOn64System()
|
|
{
|
|
if (array_key_exists("check32BitOn64System", $this->_propDict)) {
|
|
return $this->_propDict["check32BitOn64System"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the check32BitOn64System
|
|
* A value indicating whether this file or folder is for checking 32-bit app on 64-bit system
|
|
*
|
|
* @param bool $val The value of the check32BitOn64System
|
|
*
|
|
* @return Win32LobAppFileSystemRequirement
|
|
*/
|
|
public function setCheck32BitOn64System($val)
|
|
{
|
|
$this->_propDict["check32BitOn64System"] = $val;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets the detectionType
|
|
* The file system detection type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB, doesNotExist.
|
|
*
|
|
* @return Win32LobAppFileSystemDetectionType|null The detectionType
|
|
*/
|
|
public function getDetectionType()
|
|
{
|
|
if (array_key_exists("detectionType", $this->_propDict)) {
|
|
if (is_a($this->_propDict["detectionType"], "\Beta\Microsoft\Graph\Model\Win32LobAppFileSystemDetectionType") || is_null($this->_propDict["detectionType"])) {
|
|
return $this->_propDict["detectionType"];
|
|
} else {
|
|
$this->_propDict["detectionType"] = new Win32LobAppFileSystemDetectionType($this->_propDict["detectionType"]);
|
|
return $this->_propDict["detectionType"];
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
/**
|
|
* Sets the detectionType
|
|
* The file system detection type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB, doesNotExist.
|
|
*
|
|
* @param Win32LobAppFileSystemDetectionType $val The value to assign to the detectionType
|
|
*
|
|
* @return Win32LobAppFileSystemRequirement The Win32LobAppFileSystemRequirement
|
|
*/
|
|
public function setDetectionType($val)
|
|
{
|
|
$this->_propDict["detectionType"] = $val;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets the fileOrFolderName
|
|
* The file or folder name to detect Win32 Line of Business (LoB) app
|
|
*
|
|
* @return string|null The fileOrFolderName
|
|
*/
|
|
public function getFileOrFolderName()
|
|
{
|
|
if (array_key_exists("fileOrFolderName", $this->_propDict)) {
|
|
return $this->_propDict["fileOrFolderName"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the fileOrFolderName
|
|
* The file or folder name to detect Win32 Line of Business (LoB) app
|
|
*
|
|
* @param string $val The value of the fileOrFolderName
|
|
*
|
|
* @return Win32LobAppFileSystemRequirement
|
|
*/
|
|
public function setFileOrFolderName($val)
|
|
{
|
|
$this->_propDict["fileOrFolderName"] = $val;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets the path
|
|
* The file or folder path to detect Win32 Line of Business (LoB) app
|
|
*
|
|
* @return string|null The path
|
|
*/
|
|
public function getPath()
|
|
{
|
|
if (array_key_exists("path", $this->_propDict)) {
|
|
return $this->_propDict["path"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the path
|
|
* The file or folder path to detect Win32 Line of Business (LoB) app
|
|
*
|
|
* @param string $val The value of the path
|
|
*
|
|
* @return Win32LobAppFileSystemRequirement
|
|
*/
|
|
public function setPath($val)
|
|
{
|
|
$this->_propDict["path"] = $val;
|
|
return $this;
|
|
}
|
|
}
|