Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.81.0"
"microsoft/microsoft-graph": "^1.82.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.81.0&quot; </span>
&nbsp;= &quot;1.82.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.81.0&quot;</span>
= <span class="phpdocumentor-signature__default-value">&quot;1.82.0&quot;</span>
</code>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/ManagedTenants/Model/MyRole.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class TenantStatusInformation extends \Beta\Microsoft\Graph\Model\Entity

/**
* Gets the delegatedPrivilegeStatus
* The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue. Optional. Read-only.
* The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. Optional. Read-only.
*
* @return DelegatedPrivilegeStatus|null The delegatedPrivilegeStatus
*/
Expand All @@ -45,7 +45,7 @@ public function getDelegatedPrivilegeStatus()

/**
* Sets the delegatedPrivilegeStatus
* The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue. Optional. Read-only.
* The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. Optional. Read-only.
*
* @param DelegatedPrivilegeStatus $val The value to assign to the delegatedPrivilegeStatus
*
Expand Down
34 changes: 0 additions & 34 deletions src/Beta/Microsoft/Graph/Model/AccessScope.php

This file was deleted.

2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/AppCatalogs.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/AuditLogRoot.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
78 changes: 78 additions & 0 deletions src/Beta/Microsoft/Graph/Model/CollapseProperty.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CollapseProperty 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;
/**
* CollapseProperty 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 CollapseProperty extends Entity
{
/**
* Gets the fields
*
* @return string|null The fields
*/
public function getFields()
{
if (array_key_exists("fields", $this->_propDict)) {
return $this->_propDict["fields"];
} else {
return null;
}
}

/**
* Sets the fields
*
* @param string $val The value of the fields
*
* @return CollapseProperty
*/
public function setFields($val)
{
$this->_propDict["fields"] = $val;
return $this;
}
/**
* Gets the limit
*
* @return int|null The limit
*/
public function getLimit()
{
if (array_key_exists("limit", $this->_propDict)) {
return $this->_propDict["limit"];
} else {
return null;
}
}

/**
* Sets the limit
*
* @param int $val The value of the limit
*
* @return CollapseProperty
*/
public function setLimit($val)
{
$this->_propDict["limit"] = $val;
return $this;
}
}
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/CommsApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/Compliance.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
31 changes: 0 additions & 31 deletions src/Beta/Microsoft/Graph/Model/DlpEvaluationInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,37 +24,6 @@
class DlpEvaluationInput extends Entity
{

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

/**
* Sets the accessScope
*
* @param AccessScope $val The value to assign to the accessScope
*
* @return DlpEvaluationInput The DlpEvaluationInput
*/
public function setAccessScope($val)
{
$this->_propDict["accessScope"] = $val;
return $this;
}

/**
* Gets the currentLabel
*
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/EducationRoot.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/EmployeeExperience.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/Financials.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/GraphPrint.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/IdentityContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/IdentityGovernance.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/IdentityProtectionRoot.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/InboundSharedUserProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ public function jsonSerialize()
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
Expand Down
Loading