Skip to content

Commit

Permalink
Merge pull request #1320 from microsoftgraph/beta/pipelinebuild/122943
Browse files Browse the repository at this point in the history
Generated beta models and request builders
  • Loading branch information
SilasKenneth authored Aug 16, 2023
2 parents 593b19a + 81bcffd commit e3907fd
Show file tree
Hide file tree
Showing 79 changed files with 2,326 additions and 1,379 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ public function setTenantId($val)

/**
* Gets the tenantLicenseType
* The license type associated with the tenant; for example, AADFree, AADPremium1, AADPremium2.
*
* @return string|null The tenantLicenseType
*/
Expand All @@ -334,6 +335,7 @@ public function getTenantLicenseType()

/**
* Sets the tenantLicenseType
* The license type associated with the tenant; for example, AADFree, AADPremium1, AADPremium2.
*
* @param string $val The tenantLicenseType
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ public function setUnknownDeviceCount($val)

/**
* Gets the advancedThreatProtectionOnboardingDeviceSettingStates
* Not yet documented
*
* @return array|null The advancedThreatProtectionOnboardingDeviceSettingStates
*/
Expand All @@ -274,7 +273,6 @@ public function getAdvancedThreatProtectionOnboardingDeviceSettingStates()

/**
* Sets the advancedThreatProtectionOnboardingDeviceSettingStates
* Not yet documented
*
* @param AdvancedThreatProtectionOnboardingDeviceSettingState[] $val The advancedThreatProtectionOnboardingDeviceSettingStates
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function setMicrosoftTunnelSiteId($val)

/**
* Gets the proxyExclusionList
* List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com.
* List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as .example.com.
*
* @return array|null The proxyExclusionList
*/
Expand All @@ -221,7 +221,7 @@ public function getProxyExclusionList()

/**
* Sets the proxyExclusionList
* List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com.
* List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as .example.com.
*
* @param string[] $val The proxyExclusionList
*
Expand Down
4 changes: 2 additions & 2 deletions src/Beta/Microsoft/Graph/Model/AndroidLobApp.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function setPackageId($val)

/**
* Gets the targetedPlatforms
* The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator.
* The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. Possible values are: androidDeviceAdministrator, androidOpenSourceProject, unknownFutureValue.
*
* @return AndroidTargetedPlatforms|null The targetedPlatforms
*/
Expand All @@ -165,7 +165,7 @@ public function getTargetedPlatforms()

/**
* Sets the targetedPlatforms
* The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator.
* The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. Possible values are: androidDeviceAdministrator, androidOpenSourceProject, unknownFutureValue.
*
* @param AndroidTargetedPlatforms $val The targetedPlatforms
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public function setMicrosoftTunnelSiteId($val)

/**
* Gets the proxyExclusionList
* List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com.
* List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as .example.com.
*
* @return array|null The proxyExclusionList
*/
Expand All @@ -312,7 +312,7 @@ public function getProxyExclusionList()

/**
* Sets the proxyExclusionList
* List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com.
* List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as .example.com.
*
* @param string[] $val The proxyExclusionList
*
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 @@ -1319,7 +1319,7 @@ public function setHomeRealmDiscoveryPolicies($val)

/**
* Gets the owners
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
*
* @return array|null The owners
*/
Expand All @@ -1334,7 +1334,7 @@ public function getOwners()

/**
* Sets the owners
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
*
* @param DirectoryObject[] $val The owners
*
Expand Down
52 changes: 52 additions & 0 deletions src/Beta/Microsoft/Graph/Model/ChatRestrictions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ChatRestrictions 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;
/**
* ChatRestrictions 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 ChatRestrictions extends Entity
{
/**
* Gets the allowTextOnly
*
* @return bool|null The allowTextOnly
*/
public function getAllowTextOnly()
{
if (array_key_exists("allowTextOnly", $this->_propDict)) {
return $this->_propDict["allowTextOnly"];
} else {
return null;
}
}

/**
* Sets the allowTextOnly
*
* @param bool $val The value of the allowTextOnly
*
* @return ChatRestrictions
*/
public function setAllowTextOnly($val)
{
$this->_propDict["allowTextOnly"] = $val;
return $this;
}
}
27 changes: 27 additions & 0 deletions src/Beta/Microsoft/Graph/Model/CloudPcBulkReprovision.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcBulkReprovision 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;

/**
* CloudPcBulkReprovision 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 CloudPcBulkReprovision extends CloudPcBulkAction
{
}
54 changes: 54 additions & 0 deletions src/Beta/Microsoft/Graph/Model/CloudPcBulkResize.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.
*
* CloudPcBulkResize 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;

/**
* CloudPcBulkResize 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 CloudPcBulkResize extends CloudPcBulkAction
{
/**
* Gets the targetServicePlanId
*
* @return string|null The targetServicePlanId
*/
public function getTargetServicePlanId()
{
if (array_key_exists("targetServicePlanId", $this->_propDict)) {
return $this->_propDict["targetServicePlanId"];
} else {
return null;
}
}

/**
* Sets the targetServicePlanId
*
* @param string $val The targetServicePlanId
*
* @return CloudPcBulkResize
*/
public function setTargetServicePlanId($val)
{
$this->_propDict["targetServicePlanId"] = $val;
return $this;
}

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

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

/**
* CloudPcBulkRestore 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 CloudPcBulkRestore extends CloudPcBulkAction
{
/**
* Gets the restorePointDateTime
*
* @return \DateTime|null The restorePointDateTime
*/
public function getRestorePointDateTime()
{
if (array_key_exists("restorePointDateTime", $this->_propDict)) {
if (is_a($this->_propDict["restorePointDateTime"], "\DateTime") || is_null($this->_propDict["restorePointDateTime"])) {
return $this->_propDict["restorePointDateTime"];
} else {
$this->_propDict["restorePointDateTime"] = new \DateTime($this->_propDict["restorePointDateTime"]);
return $this->_propDict["restorePointDateTime"];
}
}
return null;
}

/**
* Sets the restorePointDateTime
*
* @param \DateTime $val The restorePointDateTime
*
* @return CloudPcBulkRestore
*/
public function setRestorePointDateTime($val)
{
$this->_propDict["restorePointDateTime"] = $val;
return $this;
}

/**
* Gets the timeRange
*
* @return RestoreTimeRange|null The timeRange
*/
public function getTimeRange()
{
if (array_key_exists("timeRange", $this->_propDict)) {
if (is_a($this->_propDict["timeRange"], "\Beta\Microsoft\Graph\Model\RestoreTimeRange") || is_null($this->_propDict["timeRange"])) {
return $this->_propDict["timeRange"];
} else {
$this->_propDict["timeRange"] = new RestoreTimeRange($this->_propDict["timeRange"]);
return $this->_propDict["timeRange"];
}
}
return null;
}

/**
* Sets the timeRange
*
* @param RestoreTimeRange $val The timeRange
*
* @return CloudPcBulkRestore
*/
public function setTimeRange($val)
{
$this->_propDict["timeRange"] = $val;
return $this;
}

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

/**
* CloudPcBulkTroubleshoot 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 CloudPcBulkTroubleshoot extends CloudPcBulkAction
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ class CloudPcDeviceImageStatusDetails extends Enum
const SOURCE_IMAGE_INVALID = "sourceImageInvalid";
const SOURCE_IMAGE_NOT_GENERALIZED = "sourceImageNotGeneralized";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const VM_ALREADY_AZURE_ADJOINED = "vmAlreadyAzureAdjoined";
const PAID_SOURCE_IMAGE_NOT_SUPPORT = "paidSourceImageNotSupport";
const SOURCE_IMAGE_NOT_SUPPORT_CUSTOMIZE_VM_NAME = "sourceImageNotSupportCustomizeVMName";
const SOURCE_IMAGE_SIZE_EXCEEDS_LIMITATION = "sourceImageSizeExceedsLimitation";
}
Loading

0 comments on commit e3907fd

Please sign in to comment.