Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.104.0 #1318

Merged
merged 11 commits into from
Aug 11, 2023
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.103.0"
"microsoft/microsoft-graph": "^1.104.0"
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
if (is_a($this->_propDict["charge"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["charge"])) {
return $this->_propDict["charge"];
} else {
$this->_propDict["charge"] = new \Beta\Microsoft\Graph\Model\Decimal($this->_propDict["charge"]);

Check failure on line 184 in src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php

View workflow job for this annotation

GitHub Actions / validate-pull-request

Instantiated class Beta\Microsoft\Graph\Model\Decimal not found.

Check failure on line 184 in src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php

View workflow job for this annotation

GitHub Actions / validate-pull-request

Instantiated class Beta\Microsoft\Graph\Model\Decimal not found.

Check failure on line 184 in src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php

View workflow job for this annotation

GitHub Actions / validate-pull-request

Instantiated class Beta\Microsoft\Graph\Model\Decimal not found.
return $this->_propDict["charge"];
}
}
Expand Down Expand Up @@ -354,7 +354,7 @@
if (is_a($this->_propDict["connectionCharge"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["connectionCharge"])) {
return $this->_propDict["connectionCharge"];
} else {
$this->_propDict["connectionCharge"] = new \Beta\Microsoft\Graph\Model\Decimal($this->_propDict["connectionCharge"]);

Check failure on line 357 in src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php

View workflow job for this annotation

GitHub Actions / validate-pull-request

Instantiated class Beta\Microsoft\Graph\Model\Decimal not found.

Check failure on line 357 in src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php

View workflow job for this annotation

GitHub Actions / validate-pull-request

Instantiated class Beta\Microsoft\Graph\Model\Decimal not found.

Check failure on line 357 in src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php

View workflow job for this annotation

GitHub Actions / validate-pull-request

Instantiated class Beta\Microsoft\Graph\Model\Decimal not found.
return $this->_propDict["connectionCharge"];
}
}
Expand Down Expand Up @@ -778,7 +778,7 @@
}
/**
* Gets the userId
* The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucap_in, ucap_out).
* The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucapin, ucapout).
*
* @return string|null The userId
*/
Expand All @@ -793,7 +793,7 @@

/**
* Sets the userId
* The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucap_in, ucap_out).
* The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucapin, ucapout).
*
* @param string $val The value of the userId
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,39 @@ public function setAggregationType($val)
$this->_propDict["aggregationType"] = $val;
return $this;
}

/**
* Gets the alertImpactDetails
* The detail information of the impact. For example, if the Frontline Cloud PCs near concurrency limit alert is triggered, the details contain the impacted Frontline license SKU name, such as Windows 365 Frontline 2 vCPU/8GB/128GB, and the corresponding impacted value.
*
* @return \Beta\Microsoft\Graph\Model\KeyValuePair|null The alertImpactDetails
*/
public function getAlertImpactDetails()
{
if (array_key_exists("alertImpactDetails", $this->_propDict)) {
if (is_a($this->_propDict["alertImpactDetails"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["alertImpactDetails"])) {
return $this->_propDict["alertImpactDetails"];
} else {
$this->_propDict["alertImpactDetails"] = new \Beta\Microsoft\Graph\Model\KeyValuePair($this->_propDict["alertImpactDetails"]);
return $this->_propDict["alertImpactDetails"];
}
}
return null;
}

/**
* Sets the alertImpactDetails
* The detail information of the impact. For example, if the Frontline Cloud PCs near concurrency limit alert is triggered, the details contain the impacted Frontline license SKU name, such as Windows 365 Frontline 2 vCPU/8GB/128GB, and the corresponding impacted value.
*
* @param \Beta\Microsoft\Graph\Model\KeyValuePair $val The value to assign to the alertImpactDetails
*
* @return AlertImpact The AlertImpact
*/
public function setAlertImpactDetails($val)
{
$this->_propDict["alertImpactDetails"] = $val;
return $this;
}
/**
* Gets the value
* The number value of the impact. For the aggregation types of count and affectedCloudPcCount, the value indicates the number of affected instances. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. For the aggregation types of percentage and affectedCloudPcPercentage, the value indicates the percent of affected instances. For example, 12 affectedCloudPcPercentage means that 12% of Cloud PCs are affected.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the alertImpact
* The impact of the alert event. Consists of a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected.
* The impact of the alert event. Consists of a list of key-value pair and a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected. The list of key-value pair indicates the details of the alert impact.
*
* @return AlertImpact|null The alertImpact
*/
Expand All @@ -45,7 +45,7 @@ public function getAlertImpact()

/**
* Sets the alertImpact
* The impact of the alert event. Consists of a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected.
* The impact of the alert event. Consists of a list of key-value pair and a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected. The list of key-value pair indicates the details of the alert impact.
*
* @param AlertImpact $val The alertImpact
*
Expand Down Expand Up @@ -88,7 +88,7 @@ public function setAlertRuleId($val)

/**
* Gets the alertRuleTemplate
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario.
*
* @return AlertRuleTemplate|null The alertRuleTemplate
*/
Expand All @@ -107,7 +107,7 @@ public function getAlertRuleTemplate()

/**
* Sets the alertRuleTemplate
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario.
*
* @param AlertRuleTemplate $val The alertRuleTemplate
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the alertRuleTemplate
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario.
*
* @return AlertRuleTemplate|null The alertRuleTemplate
*/
Expand All @@ -45,7 +45,7 @@ public function getAlertRuleTemplate()

/**
* Sets the alertRuleTemplate
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario.
*
* @param AlertRuleTemplate $val The alertRuleTemplate
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ class AlertRuleTemplate extends Enum
const CLOUD_PC_ON_PREMISE_NETWORK_CONNECTION_CHECK_SCENARIO = "cloudPcOnPremiseNetworkConnectionCheckScenario";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const CLOUD_PC_IN_GRACE_PERIOD_SCENARIO = "cloudPcInGracePeriodScenario";
const CLOUD_PC_FRONTLINE_INSUFFICIENT_LICENSES_SCENARIO = "cloudPcFrontlineInsufficientLicensesScenario";
}
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function setAlertRuleName($val)

/**
* Gets the alertRuleTemplate
* The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
* The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario.
*
* @return AlertRuleTemplate|null The alertRuleTemplate
*/
Expand All @@ -162,7 +162,7 @@ public function getAlertRuleTemplate()

/**
* Sets the alertRuleTemplate
* The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
* The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario.
*
* @param AlertRuleTemplate $val The value to assign to the alertRuleTemplate
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class ComplianceSettings extends \Beta\Microsoft\Graph\Model\Entity

/**
* Gets the eDiscoveryResultTemplates
* Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection.
*
* @return DisplayTemplate|null The eDiscoveryResultTemplates
*/
Expand All @@ -45,7 +44,6 @@ public function getEDiscoveryResultTemplates()

/**
* Sets the eDiscoveryResultTemplates
* Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection.
*
* @param DisplayTemplate $val The value to assign to the eDiscoveryResultTemplates
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public function setActivitySettings($val)

/**
* Gets the complianceSettings
* The settings required for the connection to participate in eDiscovery, such as the display templates for eDiscovery results.
*
* @return ComplianceSettings|null The complianceSettings
*/
Expand All @@ -78,7 +77,6 @@ public function getComplianceSettings()

/**
* Sets the complianceSettings
* The settings required for the connection to participate in eDiscovery, such as the display templates for eDiscovery results.
*
* @param ComplianceSettings $val The complianceSettings
*
Expand Down Expand Up @@ -183,7 +181,7 @@ public function setDescription($val)

/**
* Gets the enabledContentExperiences
* The list of content experiences the connection will participate in. Possible values are search and compliance.
* The list of content experiences the connection will participate in. Possible values are search.
*
* @return ContentExperienceType|null The enabledContentExperiences
*/
Expand All @@ -202,7 +200,7 @@ public function getEnabledContentExperiences()

/**
* Sets the enabledContentExperiences
* The list of content experiences the connection will participate in. Possible values are search and compliance.
* The list of content experiences the connection will participate in. Possible values are search.
*
* @param ContentExperienceType $val The enabledContentExperiences
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function setAttributeDestination($val)
}
/**
* Gets the attributeName
* The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension_2b676109c7c74ae2b41549205f1947ed_personalTitle.
* The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension2b676109c7c74ae2b41549205f1947edpersonalTitle.
*
* @return string|null The attributeName
*/
Expand All @@ -73,7 +73,7 @@ public function getAttributeName()

/**
* Sets the attributeName
* The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension_2b676109c7c74ae2b41549205f1947ed_personalTitle.
* The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension2b676109c7c74ae2b41549205f1947edpersonalTitle.
*
* @param string $val The value of the attributeName
*
Expand Down
4 changes: 2 additions & 2 deletions src/Beta/Microsoft/Graph/Model/AgreementFileData.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AgreementFileData extends Entity

/**
* Gets the data
* Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'your_file_path' -Encoding byte)).
* Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'yourfilepath' -Encoding byte)).
*
* @return \GuzzleHttp\Psr7\Stream|null The data
*/
Expand All @@ -45,7 +45,7 @@ public function getData()

/**
* Sets the data
* Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'your_file_path' -Encoding byte)).
* Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'yourfilepath' -Encoding byte)).
*
* @param \GuzzleHttp\Psr7\Stream $val The value to assign to the data
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AndroidDeviceOwnerDelegatedAppScopeType 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;

use Microsoft\Graph\Core\Enum;

/**
* AndroidDeviceOwnerDelegatedAppScopeType 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 AndroidDeviceOwnerDelegatedAppScopeType extends Enum
{
/**
* The Enum AndroidDeviceOwnerDelegatedAppScopeType
*/
const UNSPECIFIED = "unspecified";
const CERTIFICATE_INSTALL = "certificateInstall";
const CAPTURE_NETWORK_ACTIVITY_LOG = "captureNetworkActivityLog";
const CAPTURE_SECURITY_LOG = "captureSecurityLog";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AndroidDeviceOwnerDelegatedScopeAppSetting 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;
/**
* AndroidDeviceOwnerDelegatedScopeAppSetting 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 AndroidDeviceOwnerDelegatedScopeAppSetting extends Entity
{

/**
* Gets the appDetail
* Information about the app like Name, AppStoreUrl, Publisher and AppId
*
* @return AppListItem|null The appDetail
*/
public function getAppDetail()
{
if (array_key_exists("appDetail", $this->_propDict)) {
if (is_a($this->_propDict["appDetail"], "\Beta\Microsoft\Graph\Model\AppListItem") || is_null($this->_propDict["appDetail"])) {
return $this->_propDict["appDetail"];
} else {
$this->_propDict["appDetail"] = new AppListItem($this->_propDict["appDetail"]);
return $this->_propDict["appDetail"];
}
}
return null;
}

/**
* Sets the appDetail
* Information about the app like Name, AppStoreUrl, Publisher and AppId
*
* @param AppListItem $val The value to assign to the appDetail
*
* @return AndroidDeviceOwnerDelegatedScopeAppSetting The AndroidDeviceOwnerDelegatedScopeAppSetting
*/
public function setAppDetail($val)
{
$this->_propDict["appDetail"] = $val;
return $this;
}

/**
* Gets the appScopes
* List of scopes an app has been assigned.
*
* @return AndroidDeviceOwnerDelegatedAppScopeType|null The appScopes
*/
public function getAppScopes()
{
if (array_key_exists("appScopes", $this->_propDict)) {
if (is_a($this->_propDict["appScopes"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerDelegatedAppScopeType") || is_null($this->_propDict["appScopes"])) {
return $this->_propDict["appScopes"];
} else {
$this->_propDict["appScopes"] = new AndroidDeviceOwnerDelegatedAppScopeType($this->_propDict["appScopes"]);
return $this->_propDict["appScopes"];
}
}
return null;
}

/**
* Sets the appScopes
* List of scopes an app has been assigned.
*
* @param AndroidDeviceOwnerDelegatedAppScopeType $val The value to assign to the appScopes
*
* @return AndroidDeviceOwnerDelegatedScopeAppSetting The AndroidDeviceOwnerDelegatedScopeAppSetting
*/
public function setAppScopes($val)
{
$this->_propDict["appScopes"] = $val;
return $this;
}
}
Loading
Loading