Skip to content

Commit

Permalink
Merge pull request #1364 from microsoftgraph/beta/pipelinebuild/127020
Browse files Browse the repository at this point in the history
Generated beta models and request builders
  • Loading branch information
Ndiritu authored Oct 18, 2023
2 parents 90a7b72 + 6db1e1b commit 4b296d3
Show file tree
Hide file tree
Showing 40 changed files with 1,941 additions and 112 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof
```
{
"require": {
"microsoft/microsoft-graph": "^1.108.0"
"microsoft/microsoft-graph": "^1.109.0"
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public function setIsSearchable($val)

/**
* Gets the labels
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl.
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: containerName, containerUrl, iconUrl.
*
* @return Label|null The labels
*/
Expand All @@ -213,7 +213,7 @@ public function getLabels()

/**
* Sets the labels
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl.
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: containerName, containerUrl, iconUrl.
*
* @param Label $val The value to assign to the labels
*
Expand Down
4 changes: 2 additions & 2 deletions src/Beta/Microsoft/Graph/Model/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function setApi($val)

/**
* Gets the appId
* The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. Supports $filter (eq).
* The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. Alternate key. Supports $filter (eq).
*
* @return string|null The appId
*/
Expand All @@ -74,7 +74,7 @@ public function getAppId()

/**
* Sets the appId
* The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. Supports $filter (eq).
* The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. Alternate key. Supports $filter (eq).
*
* @param string $val The appId
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function setIncludeTargets($val)
}
/**
* Gets the snoozeDurationInDays
* Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is '0' – The user is prompted during every MFA attempt.
* Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is 0 – The user is prompted during every MFA attempt.
*
* @return int|null The snoozeDurationInDays
*/
Expand All @@ -106,7 +106,7 @@ public function getSnoozeDurationInDays()

/**
* Sets the snoozeDurationInDays
* Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is '0' – The user is prompted during every MFA attempt.
* Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is 0 – The user is prompted during every MFA attempt.
*
* @param int $val The value of the snoozeDurationInDays
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class CloudPcFrontLineServicePlan extends Entity
{
/**
* Gets the displayName
* The display name of the front-line service plan. For example, 2vCPU/8GB/128GB Front-line or 4vCPU/16GB/256GB Front-line.
*
* @return string|null The displayName
*/
Expand All @@ -40,6 +41,7 @@ public function getDisplayName()

/**
* Sets the displayName
* The display name of the front-line service plan. For example, 2vCPU/8GB/128GB Front-line or 4vCPU/16GB/256GB Front-line.
*
* @param string $val The displayName
*
Expand All @@ -53,6 +55,7 @@ public function setDisplayName($val)

/**
* Gets the totalCount
* The total number of front-line service plans purchased by the customer.
*
* @return int|null The totalCount
*/
Expand All @@ -67,6 +70,7 @@ public function getTotalCount()

/**
* Sets the totalCount
* The total number of front-line service plans purchased by the customer.
*
* @param int $val The totalCount
*
Expand All @@ -80,6 +84,7 @@ public function setTotalCount($val)

/**
* Gets the usedCount
* The number of service plans that have been used for the account.
*
* @return int|null The usedCount
*/
Expand All @@ -94,6 +99,7 @@ public function getUsedCount()

/**
* Sets the usedCount
* The number of service plans that have been used for the account.
*
* @param int $val The usedCount
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DailyInactiveUsersByApplicationMetric 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;

/**
* DailyInactiveUsersByApplicationMetric 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 DailyInactiveUsersByApplicationMetric extends InactiveUsersByApplicationMetricBase
{
/**
* Gets the inactive1DayCount
*
* @return int|null The inactive1DayCount
*/
public function getInactive1DayCount()
{
if (array_key_exists("inactive1DayCount", $this->_propDict)) {
return $this->_propDict["inactive1DayCount"];
} else {
return null;
}
}

/**
* Sets the inactive1DayCount
*
* @param int $val The inactive1DayCount
*
* @return DailyInactiveUsersByApplicationMetric
*/
public function setInactive1DayCount($val)
{
$this->_propDict["inactive1DayCount"] = intval($val);
return $this;
}

}
54 changes: 54 additions & 0 deletions src/Beta/Microsoft/Graph/Model/DailyInactiveUsersMetric.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DailyInactiveUsersMetric 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;

/**
* DailyInactiveUsersMetric 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 DailyInactiveUsersMetric extends InactiveUsersMetricBase
{
/**
* Gets the inactive1DayCount
*
* @return int|null The inactive1DayCount
*/
public function getInactive1DayCount()
{
if (array_key_exists("inactive1DayCount", $this->_propDict)) {
return $this->_propDict["inactive1DayCount"];
} else {
return null;
}
}

/**
* Sets the inactive1DayCount
*
* @param int $val The inactive1DayCount
*
* @return DailyInactiveUsersMetric
*/
public function setInactive1DayCount($val)
{
$this->_propDict["inactive1DayCount"] = intval($val);
return $this;
}

}
34 changes: 18 additions & 16 deletions src/Beta/Microsoft/Graph/Model/Device.php
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public function setExtensionAttributes($val)

/**
* Gets the hostnames
* List of hostNames for the device.
* List of host names for the device.
*
* @return array|null The hostnames
*/
Expand All @@ -460,7 +460,7 @@ public function getHostnames()

/**
* Sets the hostnames
* List of hostNames for the device.
* List of host names for the device.
*
* @param string[] $val The hostnames
*
Expand Down Expand Up @@ -532,7 +532,7 @@ public function setIsManaged($val)

/**
* Gets the isManagementRestricted
* true if the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope.
* Indicates whether the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. The default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope.
*
* @return bool|null The isManagementRestricted
*/
Expand All @@ -547,7 +547,7 @@ public function getIsManagementRestricted()

/**
* Sets the isManagementRestricted
* true if the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope.
* Indicates whether the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. The default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope.
*
* @param bool $val The isManagementRestricted
*
Expand Down Expand Up @@ -681,6 +681,7 @@ public function setOnPremisesLastSyncDateTime($val)

/**
* Gets the onPremisesSecurityIdentifier
* The on-premises security identifier (SID) for the user who was synchronized from on-premises to the cloud. Read-only. Returned only on $select. Supports $filter (eq).
*
* @return string|null The onPremisesSecurityIdentifier
*/
Expand All @@ -695,6 +696,7 @@ public function getOnPremisesSecurityIdentifier()

/**
* Sets the onPremisesSecurityIdentifier
* The on-premises security identifier (SID) for the user who was synchronized from on-premises to the cloud. Read-only. Returned only on $select. Supports $filter (eq).
*
* @param string $val The onPremisesSecurityIdentifier
*
Expand Down Expand Up @@ -915,7 +917,7 @@ public function setSystemLabels($val)

/**
* Gets the trustType
* Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory
* Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory.
*
* @return string|null The trustType
*/
Expand All @@ -930,7 +932,7 @@ public function getTrustType()

/**
* Sets the trustType
* Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory
* Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory.
*
* @param string $val The trustType
*
Expand All @@ -944,7 +946,7 @@ public function setTrustType($val)

/**
* Gets the kind
* Form factor of device. Only returned if user signs in with a Microsoft account as part of Project Rome.
* Form factor of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome.
*
* @return string|null The kind
*/
Expand All @@ -959,7 +961,7 @@ public function getKind()

/**
* Sets the kind
* Form factor of device. Only returned if user signs in with a Microsoft account as part of Project Rome.
* Form factor of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome.
*
* @param string $val The kind
*
Expand All @@ -973,7 +975,7 @@ public function setKind($val)

/**
* Gets the manufacturer
* Manufacturer of device. Only returned if user signs in with a Microsoft account as part of Project Rome.
* Manufacturer of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome.
*
* @return string|null The manufacturer
*/
Expand All @@ -988,7 +990,7 @@ public function getManufacturer()

/**
* Sets the manufacturer
* Manufacturer of device. Only returned if user signs in with a Microsoft account as part of Project Rome.
* Manufacturer of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome.
*
* @param string $val The manufacturer
*
Expand All @@ -1002,7 +1004,7 @@ public function setManufacturer($val)

/**
* Gets the model
* Model of device. Only returned if user signs in with a Microsoft account as part of Project Rome.
* Model of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome.
*
* @return string|null The model
*/
Expand All @@ -1017,7 +1019,7 @@ public function getModel()

/**
* Sets the model
* Model of device. Only returned if user signs in with a Microsoft account as part of Project Rome.
* Model of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome.
*
* @param string $val The model
*
Expand All @@ -1031,7 +1033,7 @@ public function setModel($val)

/**
* Gets the name
* Friendly name of a device. Only returned if user signs in with a Microsoft account as part of Project Rome.
* Friendly name of the device. Only returned if user signs in with a Microsoft account as part of Project Rome.
*
* @return string|null The name
*/
Expand All @@ -1046,7 +1048,7 @@ public function getName()

/**
* Sets the name
* Friendly name of a device. Only returned if user signs in with a Microsoft account as part of Project Rome.
* Friendly name of the device. Only returned if user signs in with a Microsoft account as part of Project Rome.
*
* @param string $val The name
*
Expand All @@ -1060,7 +1062,7 @@ public function setName($val)

/**
* Gets the platform
* Platform of device. Only returned if user signs in with a Microsoft account as part of Project Rome. Only returned if user signs in with a Microsoft account as part of Project Rome.
* Platform of device. Only returned if the user signs in with a Microsoft account as part of Project Rome.
*
* @return string|null The platform
*/
Expand All @@ -1075,7 +1077,7 @@ public function getPlatform()

/**
* Sets the platform
* Platform of device. Only returned if user signs in with a Microsoft account as part of Project Rome. Only returned if user signs in with a Microsoft account as part of Project Rome.
* Platform of device. Only returned if the user signs in with a Microsoft account as part of Project Rome.
*
* @param string $val The platform
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class DeviceManagementConfigurationReferredSettingInformation extends Entity
{
/**
* Gets the settingDefinitionId
* Setting definition id that is being referred to a setting. Applicable for reusable setting.
* Setting definition id that is being referred to a setting. Applicable for reusable setting
*
* @return string|null The settingDefinitionId
*/
Expand All @@ -40,7 +40,7 @@ public function getSettingDefinitionId()

/**
* Sets the settingDefinitionId
* Setting definition id that is being referred to a setting. Applicable for reusable setting.
* Setting definition id that is being referred to a setting. Applicable for reusable setting
*
* @param string $val The value of the settingDefinitionId
*
Expand Down
Loading

0 comments on commit 4b296d3

Please sign in to comment.