Skip to content

Commit

Permalink
Merge pull request #746 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Release 1.48.0
  • Loading branch information
SilasKenneth authored Jan 6, 2022
2 parents bee71b4 + 87b9821 commit ceb9980
Show file tree
Hide file tree
Showing 159 changed files with 8,716 additions and 2,109 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.47.0"
"microsoft/microsoft-graph": "^1.48.0"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/classes/Microsoft-Graph-Core-GraphConstants.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h3 id="toc">
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Microsoft-Graph-Core-GraphConstants.html#constant_SDK_VERSION">SDK_VERSION</a>
<span>
&nbsp;= &quot;1.47.0&quot; </span>
&nbsp;= &quot;1.48.0&quot; </span>
</dt>
<dd></dd>

Expand Down Expand Up @@ -483,7 +483,7 @@ <h4 class="phpdocumentor-element__name" id="constant_SDK_VERSION">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">SDK_VERSION</span>
= <span class="phpdocumentor-signature__default-value">&quot;1.47.0&quot;</span>
= <span class="phpdocumentor-signature__default-value">&quot;1.48.0&quot;</span>
</code>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ class ProductFamily extends Enum
const SKYPE_FOR_BUSINESS = "skypeForBusiness";
const LYNC = "lync";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const AZURE_COMMUNICATION_SERVICES = "azureCommunicationServices";
}
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.
*
* ConnectionQuota 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\ExternalConnectors\Model;

/**
* ConnectionQuota 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 ConnectionQuota extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the itemsRemaining
*
* @return int|null The itemsRemaining
*/
public function getItemsRemaining()
{
if (array_key_exists("itemsRemaining", $this->_propDict)) {
return $this->_propDict["itemsRemaining"];
} else {
return null;
}
}

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,33 @@ public function setDescription($val)
return $this;
}

/**
* Gets the ingestedItemsCount
*
* @return int|null The ingestedItemsCount
*/
public function getIngestedItemsCount()
{
if (array_key_exists("ingestedItemsCount", $this->_propDict)) {
return $this->_propDict["ingestedItemsCount"];
} else {
return null;
}
}

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

/**
* Gets the name
* The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required.
Expand Down Expand Up @@ -300,6 +327,37 @@ public function setOperations($val)
return $this;
}

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

/**
* Sets the quota
*
* @param ConnectionQuota $val The quota
*
* @return ExternalConnection
*/
public function setQuota($val)
{
$this->_propDict["quota"] = $val;
return $this;
}

/**
* Gets the schema
* Read-only. Nullable.
Expand Down
20 changes: 10 additions & 10 deletions src/Beta/Microsoft/Graph/Model/AccessPackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AccessPackage extends Entity
{
/**
* Gets the catalogId
* ID of the access package catalog referencing this access package. Read-only.
* Identifier of the access package catalog referencing this access package. Read-only.
*
* @return string|null The catalogId
*/
Expand All @@ -41,7 +41,7 @@ public function getCatalogId()

/**
* Sets the catalogId
* ID of the access package catalog referencing this access package. Read-only.
* Identifier of the access package catalog referencing this access package. Read-only.
*
* @param string $val The catalogId
*
Expand All @@ -55,7 +55,7 @@ public function setCatalogId($val)

/**
* Gets the createdBy
* UPN of the user or identity of the subject who created this resource. Read-only.
* The userPrincipalName of the user or identity of the subject who created this resource. Read-only.
*
* @return string|null The createdBy
*/
Expand All @@ -70,7 +70,7 @@ public function getCreatedBy()

/**
* Sets the createdBy
* UPN of the user or identity of the subject who created this resource. Read-only.
* The userPrincipalName of the user or identity of the subject who created this resource. Read-only.
*
* @param string $val The createdBy
*
Expand Down Expand Up @@ -146,7 +146,7 @@ public function setDescription($val)

/**
* Gets the displayName
* The display name of the access package.
* The display name of the access package. Supports $filter (eq, contains).
*
* @return string|null The displayName
*/
Expand All @@ -161,7 +161,7 @@ public function getDisplayName()

/**
* Sets the displayName
* The display name of the access package.
* The display name of the access package. Supports $filter (eq, contains).
*
* @param string $val The displayName
*
Expand Down Expand Up @@ -233,7 +233,7 @@ public function setIsRoleScopesVisible($val)

/**
* Gets the modifiedBy
* The UPN of the user who last modified this resource. Read-only.
* The userPrincipalName of the user who last modified this resource. Read-only.
*
* @return string|null The modifiedBy
*/
Expand All @@ -248,7 +248,7 @@ public function getModifiedBy()

/**
* Sets the modifiedBy
* The UPN of the user who last modified this resource. Read-only.
* The userPrincipalName of the user who last modified this resource. Read-only.
*
* @param string $val The modifiedBy
*
Expand Down Expand Up @@ -296,7 +296,7 @@ public function setModifiedDateTime($val)

/**
* Gets the accessPackageAssignmentPolicies
* Read-only. Nullable.
* Read-only. Nullable. Supports $expand.
*
* @return array|null The accessPackageAssignmentPolicies
*/
Expand All @@ -311,7 +311,7 @@ public function getAccessPackageAssignmentPolicies()

/**
* Sets the accessPackageAssignmentPolicies
* Read-only. Nullable.
* Read-only. Nullable. Supports $expand.
*
* @param AccessPackageAssignmentPolicy[] $val The accessPackageAssignmentPolicies
*
Expand Down
16 changes: 8 additions & 8 deletions src/Beta/Microsoft/Graph/Model/AccessPackageAssignment.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function setAssignmentPolicyId($val)

/**
* Gets the assignmentState
* The state of the access package assignment. Possible values are Delivering, Delivered, or Expired. Read-only.
* The state of the access package assignment. Possible values are Delivering, Delivered, or Expired. Read-only. Supports $filter (eq).
*
* @return string|null The assignmentState
*/
Expand All @@ -99,7 +99,7 @@ public function getAssignmentState()

/**
* Sets the assignmentState
* The state of the access package assignment. Possible values are Delivering, Delivered, or Expired. Read-only.
* The state of the access package assignment. Possible values are Delivering, Delivered, or Expired. Read-only. Supports $filter (eq).
*
* @param string $val The assignmentState
*
Expand Down Expand Up @@ -295,7 +295,7 @@ public function setTargetId($val)

/**
* Gets the accessPackage
* Read-only. Nullable.
* Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters.
*
* @return AccessPackage|null The accessPackage
*/
Expand All @@ -314,7 +314,7 @@ public function getAccessPackage()

/**
* Sets the accessPackage
* Read-only. Nullable.
* Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters.
*
* @param AccessPackage $val The accessPackage
*
Expand All @@ -328,7 +328,7 @@ public function setAccessPackage($val)

/**
* Gets the accessPackageAssignmentPolicy
* Read-only. Nullable.
* Read-only. Nullable. Supports $filter (eq) on the id property
*
* @return AccessPackageAssignmentPolicy|null The accessPackageAssignmentPolicy
*/
Expand All @@ -347,7 +347,7 @@ public function getAccessPackageAssignmentPolicy()

/**
* Sets the accessPackageAssignmentPolicy
* Read-only. Nullable.
* Read-only. Nullable. Supports $filter (eq) on the id property
*
* @param AccessPackageAssignmentPolicy $val The accessPackageAssignmentPolicy
*
Expand Down Expand Up @@ -419,7 +419,7 @@ public function setAccessPackageAssignmentResourceRoles($val)

/**
* Gets the target
* The subject of the access package assignment. Read-only. Nullable.
* The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId.
*
* @return AccessPackageSubject|null The target
*/
Expand All @@ -438,7 +438,7 @@ public function getTarget()

/**
* Sets the target
* The subject of the access package assignment. Read-only. Nullable.
* The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId.
*
* @param AccessPackageSubject $val The target
*
Expand Down
12 changes: 6 additions & 6 deletions src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentPolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AccessPackageAssignmentPolicy extends Entity
{
/**
* Gets the accessPackageId
* ID of the access package.
* Identifier of the access package.
*
* @return string|null The accessPackageId
*/
Expand All @@ -41,7 +41,7 @@ public function getAccessPackageId()

/**
* Sets the accessPackageId
* ID of the access package.
* Identifier of the access package.
*
* @param string $val The accessPackageId
*
Expand Down Expand Up @@ -208,7 +208,7 @@ public function setDescription($val)

/**
* Gets the displayName
* The display name of the policy.
* The display name of the policy. Supports $filter (eq).
*
* @return string|null The displayName
*/
Expand All @@ -223,7 +223,7 @@ public function getDisplayName()

/**
* Sets the displayName
* The display name of the policy.
* The display name of the policy. Supports $filter (eq).
*
* @param string $val The displayName
*
Expand Down Expand Up @@ -457,7 +457,7 @@ public function setRequestorSettings($val)

/**
* Gets the accessPackage
* The access package with this policy. Read-only. Nullable.
* The access package with this policy. Read-only. Nullable. Supports $expand.
*
* @return AccessPackage|null The accessPackage
*/
Expand All @@ -476,7 +476,7 @@ public function getAccessPackage()

/**
* Sets the accessPackage
* The access package with this policy. Read-only. Nullable.
* The access package with this policy. Read-only. Nullable. Supports $expand.
*
* @param AccessPackage $val The accessPackage
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public function setAccessPackage($val)

/**
* Gets the accessPackageAssignment
* For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand.
* For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand.
*
* @return AccessPackageAssignment|null The accessPackageAssignment
*/
Expand All @@ -383,7 +383,7 @@ public function getAccessPackageAssignment()

/**
* Sets the accessPackageAssignment
* For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand.
* For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand.
*
* @param AccessPackageAssignment $val The accessPackageAssignment
*
Expand Down
Loading

0 comments on commit ceb9980

Please sign in to comment.