ameliabooking
/
vendor
/
microsoft
/
microsoft-graph
/
src
/
ExternalConnectors
/
Model
/
Schema.php
ameliabooking
/
vendor
/
microsoft
/
microsoft-graph
/
src
/
ExternalConnectors
/
Model
Last commit date
AccessType.php
1 year ago
Acl.php
1 year ago
AclType.php
1 year ago
Configuration.php
1 year ago
ConnectionOperation.php
1 year ago
ConnectionOperationStatus.php
1 year ago
ConnectionState.php
1 year ago
External.php
1 year ago
ExternalConnection.php
1 year ago
ExternalGroup.php
1 year ago
ExternalItem.php
1 year ago
ExternalItemContent.php
1 year ago
ExternalItemContentType.php
1 year ago
Identity.php
1 year ago
IdentityType.php
1 year ago
Label.php
1 year ago
Properties.php
1 year ago
Property.php
1 year ago
PropertyType.php
1 year ago
Schema.php
1 year ago
Schema.php
87 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. |
| 4 | * |
| 5 | * Schema File |
| 6 | * PHP version 7 |
| 7 | * |
| 8 | * @category Library |
| 9 | * @package Microsoft.Graph |
| 10 | * @copyright (c) Microsoft Corporation. All rights reserved. |
| 11 | * @license https://opensource.org/licenses/MIT MIT License |
| 12 | * @link https://graph.microsoft.com |
| 13 | */ |
| 14 | namespace Microsoft\Graph\ExternalConnectors\Model; |
| 15 | |
| 16 | /** |
| 17 | * Schema class |
| 18 | * |
| 19 | * @category Model |
| 20 | * @package Microsoft.Graph |
| 21 | * @copyright (c) Microsoft Corporation. All rights reserved. |
| 22 | * @license https://opensource.org/licenses/MIT MIT License |
| 23 | * @link https://graph.microsoft.com |
| 24 | */ |
| 25 | class Schema extends \Microsoft\Graph\Model\Entity |
| 26 | { |
| 27 | /** |
| 28 | * Gets the baseType |
| 29 | * Must be set to microsoft.graph.externalConnector.externalItem. Required. |
| 30 | * |
| 31 | * @return string|null The baseType |
| 32 | */ |
| 33 | public function getBaseType() |
| 34 | { |
| 35 | if (array_key_exists("baseType", $this->_propDict)) { |
| 36 | return $this->_propDict["baseType"]; |
| 37 | } else { |
| 38 | return null; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Sets the baseType |
| 44 | * Must be set to microsoft.graph.externalConnector.externalItem. Required. |
| 45 | * |
| 46 | * @param string $val The baseType |
| 47 | * |
| 48 | * @return Schema |
| 49 | */ |
| 50 | public function setBaseType($val) |
| 51 | { |
| 52 | $this->_propDict["baseType"] = $val; |
| 53 | return $this; |
| 54 | } |
| 55 | |
| 56 | |
| 57 | /** |
| 58 | * Gets the schemaProperties |
| 59 | * The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. |
| 60 | * |
| 61 | * @return array|null The schemaProperties |
| 62 | */ |
| 63 | public function getSchemaProperties() |
| 64 | { |
| 65 | if (array_key_exists("properties", $this->_propDict)) { |
| 66 | return $this->_propDict["properties"]; |
| 67 | } else { |
| 68 | return null; |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | /** |
| 73 | * Sets the schemaProperties |
| 74 | * The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. |
| 75 | * |
| 76 | * @param Property[] $val The schemaProperties |
| 77 | * |
| 78 | * @return Schema |
| 79 | */ |
| 80 | public function setSchemaProperties($val) |
| 81 | { |
| 82 | $this->_propDict["properties"] = $val; |
| 83 | return $this; |
| 84 | } |
| 85 | |
| 86 | } |
| 87 |