diff --git a/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.php b/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.php index 771d2083eaa..db08f507ac1 100644 --- a/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.php +++ b/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.php @@ -30,6 +30,20 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } } + /** + * Delete navigation property items for admin + * @param MailboxItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?MailboxItemItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + /** * The collection of items in this folder. * @param MailboxItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. @@ -44,6 +58,24 @@ public function get(?MailboxItemItemRequestBuilderGetRequestConfiguration $reque return $this->requestAdapter->sendAsync($requestInfo, [MailboxItem::class, 'createFromDiscriminatorValue'], $errorMappings); } + /** + * Delete navigation property items for admin + * @param MailboxItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?MailboxItemItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + /** * The collection of items in this folder. * @param MailboxItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..e11f9739ff0 --- /dev/null +++ b/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.php b/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.php index 5d49f8e3a1c..297e0bc0ab1 100644 --- a/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.php +++ b/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.php @@ -30,6 +30,21 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } } + /** + * Delete a mailboxItem from a mailboxFolder in a mailbox. Use the disposalType query parameter to specify whether to soft-delete or hard-delete the item. + * @param MailboxItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/mailboxfolder-delete-items?view=graph-rest-1.0 Find more info here + */ + public function delete(?MailboxItemItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + /** * Read the properties and relationships of a mailboxItem object. * @param MailboxItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. @@ -45,6 +60,24 @@ public function get(?MailboxItemItemRequestBuilderGetRequestConfiguration $reque return $this->requestAdapter->sendAsync($requestInfo, [MailboxItem::class, 'createFromDiscriminatorValue'], $errorMappings); } + /** + * Delete a mailboxItem from a mailboxFolder in a mailbox. Use the disposalType query parameter to specify whether to soft-delete or hard-delete the item. + * @param MailboxItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?MailboxItemItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + /** * Read the properties and relationships of a mailboxItem object. * @param MailboxItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..065871a9121 --- /dev/null +++ b/src/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Communications/CommunicationsRequestBuilder.php b/src/Generated/Communications/CommunicationsRequestBuilder.php index c45f6699d01..986829d6513 100644 --- a/src/Generated/Communications/CommunicationsRequestBuilder.php +++ b/src/Generated/Communications/CommunicationsRequestBuilder.php @@ -110,7 +110,7 @@ public function get(?CommunicationsRequestBuilderGetRequestConfiguration $reques /** * Update communications - * @param CloudCommunications $body Represents a container that exposes navigation properties for cloud communications resources. + * @param CloudCommunications $body The request body * @param CommunicationsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -146,7 +146,7 @@ public function toGetRequestInformation(?CommunicationsRequestBuilderGetRequestC /** * Update communications - * @param CloudCommunications $body Represents a container that exposes navigation properties for cloud communications resources. + * @param CloudCommunications $body The request body * @param CommunicationsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Directory/DirectoryRequestBuilder.php b/src/Generated/Directory/DirectoryRequestBuilder.php index 86fa7eb8837..b0253a40145 100644 --- a/src/Generated/Directory/DirectoryRequestBuilder.php +++ b/src/Generated/Directory/DirectoryRequestBuilder.php @@ -16,6 +16,7 @@ use Microsoft\Graph\Generated\Directory\RemoteTenantGroups\RemoteTenantGroupsRequestBuilder; use Microsoft\Graph\Generated\Directory\Subscriptions\SubscriptionsRequestBuilder; use Microsoft\Graph\Generated\Directory\SubscriptionsWithCommerceSubscriptionId\SubscriptionsWithCommerceSubscriptionIdRequestBuilder; +use Microsoft\Graph\Generated\Directory\TenantGovernance\TenantGovernanceRequestBuilder; use Microsoft\Graph\Generated\Models\Directory; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -105,6 +106,13 @@ public function subscriptions(): SubscriptionsRequestBuilder { return new SubscriptionsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the tenantGovernance property of the microsoft.graph.directory entity. + */ + public function tenantGovernance(): TenantGovernanceRequestBuilder { + return new TenantGovernanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new DirectoryRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Count/CountRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..448c5a1a63e --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governanceInvitations/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..241aee593ad --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..724694d0348 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilder.php new file mode 100644 index 00000000000..52bf65063bf --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernance entity. + * @param string $governanceInvitationId The unique identifier of governanceInvitation + * @return GovernanceInvitationItemRequestBuilder + */ + public function byGovernanceInvitationId(string $governanceInvitationId): GovernanceInvitationItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['governanceInvitation%2Did'] = $governanceInvitationId; + return new GovernanceInvitationItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new GovernanceInvitationsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governanceInvitations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get governanceInvitations from directory + * @param GovernanceInvitationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GovernanceInvitationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceInvitationCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to governanceInvitations for directory + * @param GovernanceInvitation $body The request body + * @param GovernanceInvitationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(GovernanceInvitation $body, ?GovernanceInvitationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceInvitation::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get governanceInvitations from directory + * @param GovernanceInvitationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GovernanceInvitationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to governanceInvitations for directory + * @param GovernanceInvitation $body The request body + * @param GovernanceInvitationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(GovernanceInvitation $body, ?GovernanceInvitationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GovernanceInvitationsRequestBuilder + */ + public function withUrl(string $rawUrl): GovernanceInvitationsRequestBuilder { + return new GovernanceInvitationsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..64ddeea7ced --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new GovernanceInvitationsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..0f040043a0b --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GovernanceInvitationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GovernanceInvitationsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GovernanceInvitationsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return GovernanceInvitationsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GovernanceInvitationsRequestBuilderGetQueryParameters { + return new GovernanceInvitationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilderPostRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..287c4e1e309 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilder.php new file mode 100644 index 00000000000..229e4b05a9b --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governanceInvitations/{governanceInvitation%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property governanceInvitations for directory + * @param GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get governanceInvitations from directory + * @param GovernanceInvitationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GovernanceInvitationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceInvitation::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property governanceInvitations in directory + * @param GovernanceInvitation $body The request body + * @param GovernanceInvitationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(GovernanceInvitation $body, ?GovernanceInvitationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceInvitation::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property governanceInvitations for directory + * @param GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get governanceInvitations from directory + * @param GovernanceInvitationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GovernanceInvitationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property governanceInvitations in directory + * @param GovernanceInvitation $body The request body + * @param GovernanceInvitationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(GovernanceInvitation $body, ?GovernanceInvitationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GovernanceInvitationItemRequestBuilder + */ + public function withUrl(string $rawUrl): GovernanceInvitationItemRequestBuilder { + return new GovernanceInvitationItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..0c5c969131c --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7e69b5fe495 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new GovernanceInvitationItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7432d25349f --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GovernanceInvitationItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GovernanceInvitationItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GovernanceInvitationItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GovernanceInvitationItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GovernanceInvitationItemRequestBuilderGetQueryParameters { + return new GovernanceInvitationItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..6863c87cb5b --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Count/CountRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..22bbdd6009e --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0b0feb52e84 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..5ace0e04983 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilder.php new file mode 100644 index 00000000000..0c601d8dfcb --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernance entity. + * @param string $tenantGovernancePolicyTemplateId The unique identifier of tenantGovernancePolicyTemplate + * @return TenantGovernancePolicyTemplateItemRequestBuilder + */ + public function byTenantGovernancePolicyTemplateId(string $tenantGovernancePolicyTemplateId): TenantGovernancePolicyTemplateItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['tenantGovernancePolicyTemplate%2Did'] = $tenantGovernancePolicyTemplateId; + return new TenantGovernancePolicyTemplateItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new GovernancePolicyTemplatesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governancePolicyTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get governancePolicyTemplates from directory + * @param GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantGovernancePolicyTemplateCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to governancePolicyTemplates for directory + * @param TenantGovernancePolicyTemplate $body The request body + * @param GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(TenantGovernancePolicyTemplate $body, ?GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantGovernancePolicyTemplate::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get governancePolicyTemplates from directory + * @param GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to governancePolicyTemplates for directory + * @param TenantGovernancePolicyTemplate $body The request body + * @param GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(TenantGovernancePolicyTemplate $body, ?GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GovernancePolicyTemplatesRequestBuilder + */ + public function withUrl(string $rawUrl): GovernancePolicyTemplatesRequestBuilder { + return new GovernancePolicyTemplatesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a199239fcdb --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new GovernancePolicyTemplatesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..42dd2cdda05 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GovernancePolicyTemplatesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GovernancePolicyTemplatesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GovernancePolicyTemplatesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return GovernancePolicyTemplatesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GovernancePolicyTemplatesRequestBuilderGetQueryParameters { + return new GovernancePolicyTemplatesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..6127472117e --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilder.php new file mode 100644 index 00000000000..1d68d970f52 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/{tenantGovernancePolicyTemplate%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property governancePolicyTemplates for directory + * @param TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get governancePolicyTemplates from directory + * @param TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantGovernancePolicyTemplate::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property governancePolicyTemplates in directory + * @param TenantGovernancePolicyTemplate $body The request body + * @param TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TenantGovernancePolicyTemplate $body, ?TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantGovernancePolicyTemplate::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property governancePolicyTemplates for directory + * @param TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get governancePolicyTemplates from directory + * @param TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property governancePolicyTemplates in directory + * @param TenantGovernancePolicyTemplate $body The request body + * @param TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TenantGovernancePolicyTemplate $body, ?TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return TenantGovernancePolicyTemplateItemRequestBuilder + */ + public function withUrl(string $rawUrl): TenantGovernancePolicyTemplateItemRequestBuilder { + return new TenantGovernancePolicyTemplateItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..0fb68d7e381 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0c8284e92ca --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fa851aa9ed0 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters { + return new TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..bbbe25ea60f --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Count/CountRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..ec5ca4daee2 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governanceRelationships/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..eaf77a60085 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..5e187dde157 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilder.php new file mode 100644 index 00000000000..eeee7dc9f35 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernance entity. + * @param string $governanceRelationshipId The unique identifier of governanceRelationship + * @return GovernanceRelationshipItemRequestBuilder + */ + public function byGovernanceRelationshipId(string $governanceRelationshipId): GovernanceRelationshipItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['governanceRelationship%2Did'] = $governanceRelationshipId; + return new GovernanceRelationshipItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new GovernanceRelationshipsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governanceRelationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get governanceRelationships from directory + * @param GovernanceRelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GovernanceRelationshipsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceRelationshipCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to governanceRelationships for directory + * @param GovernanceRelationship $body The request body + * @param GovernanceRelationshipsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(GovernanceRelationship $body, ?GovernanceRelationshipsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceRelationship::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get governanceRelationships from directory + * @param GovernanceRelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GovernanceRelationshipsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to governanceRelationships for directory + * @param GovernanceRelationship $body The request body + * @param GovernanceRelationshipsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(GovernanceRelationship $body, ?GovernanceRelationshipsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GovernanceRelationshipsRequestBuilder + */ + public function withUrl(string $rawUrl): GovernanceRelationshipsRequestBuilder { + return new GovernanceRelationshipsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..8ebf794b961 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new GovernanceRelationshipsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..19f9d5f2927 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GovernanceRelationshipsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GovernanceRelationshipsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GovernanceRelationshipsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return GovernanceRelationshipsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GovernanceRelationshipsRequestBuilderGetQueryParameters { + return new GovernanceRelationshipsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilderPostRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..f2c955b125f --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilder.php new file mode 100644 index 00000000000..6b8b41a7b61 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governanceRelationships/{governanceRelationship%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property governanceRelationships for directory + * @param GovernanceRelationshipItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?GovernanceRelationshipItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get governanceRelationships from directory + * @param GovernanceRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GovernanceRelationshipItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceRelationship::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property governanceRelationships in directory + * @param GovernanceRelationship $body The request body + * @param GovernanceRelationshipItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(GovernanceRelationship $body, ?GovernanceRelationshipItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceRelationship::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property governanceRelationships for directory + * @param GovernanceRelationshipItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?GovernanceRelationshipItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get governanceRelationships from directory + * @param GovernanceRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GovernanceRelationshipItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property governanceRelationships in directory + * @param GovernanceRelationship $body The request body + * @param GovernanceRelationshipItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(GovernanceRelationship $body, ?GovernanceRelationshipItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GovernanceRelationshipItemRequestBuilder + */ + public function withUrl(string $rawUrl): GovernanceRelationshipItemRequestBuilder { + return new GovernanceRelationshipItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..8eeba2d5a32 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..eb4ecad0d57 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new GovernanceRelationshipItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..222ab524a0a --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GovernanceRelationshipItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GovernanceRelationshipItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GovernanceRelationshipItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GovernanceRelationshipItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GovernanceRelationshipItemRequestBuilderGetQueryParameters { + return new GovernanceRelationshipItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..a0cb27ac6b3 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRelationships/Item/GovernanceRelationshipItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/Count/CountRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..de92c75a375 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governanceRequests/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3fa54d33649 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..94ca2d85b4e --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilder.php new file mode 100644 index 00000000000..1b2468b699b --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernance entity. + * @param string $governanceRequestId The unique identifier of governanceRequest + * @return GovernanceRequestItemRequestBuilder + */ + public function byGovernanceRequestId(string $governanceRequestId): GovernanceRequestItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['governanceRequest%2Did'] = $governanceRequestId; + return new GovernanceRequestItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new GovernanceRequestsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governanceRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get governanceRequests from directory + * @param GovernanceRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GovernanceRequestsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceRequestCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to governanceRequests for directory + * @param GovernanceRequest $body The request body + * @param GovernanceRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(GovernanceRequest $body, ?GovernanceRequestsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceRequest::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get governanceRequests from directory + * @param GovernanceRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GovernanceRequestsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to governanceRequests for directory + * @param GovernanceRequest $body The request body + * @param GovernanceRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(GovernanceRequest $body, ?GovernanceRequestsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GovernanceRequestsRequestBuilder + */ + public function withUrl(string $rawUrl): GovernanceRequestsRequestBuilder { + return new GovernanceRequestsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b10cc32fd1a --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new GovernanceRequestsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..cb7f7884421 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GovernanceRequestsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GovernanceRequestsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GovernanceRequestsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return GovernanceRequestsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GovernanceRequestsRequestBuilderGetQueryParameters { + return new GovernanceRequestsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilderPostRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..96d166d5d88 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/GovernanceRequestsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernancePolicyTemplate/GovernancePolicyTemplateRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernancePolicyTemplate/GovernancePolicyTemplateRequestBuilder.php new file mode 100644 index 00000000000..31ee5e61f1e --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernancePolicyTemplate/GovernancePolicyTemplateRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governanceRequests/{governanceRequest%2Did}/governancePolicyTemplate{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get governancePolicyTemplate from directory + * @param GovernancePolicyTemplateRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GovernancePolicyTemplateRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantGovernancePolicyTemplate::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get governancePolicyTemplate from directory + * @param GovernancePolicyTemplateRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GovernancePolicyTemplateRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GovernancePolicyTemplateRequestBuilder + */ + public function withUrl(string $rawUrl): GovernancePolicyTemplateRequestBuilder { + return new GovernancePolicyTemplateRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernancePolicyTemplate/GovernancePolicyTemplateRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernancePolicyTemplate/GovernancePolicyTemplateRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0a3d6ea6b23 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernancePolicyTemplate/GovernancePolicyTemplateRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new GovernancePolicyTemplateRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernancePolicyTemplate/GovernancePolicyTemplateRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernancePolicyTemplate/GovernancePolicyTemplateRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a5c3b3e0b08 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernancePolicyTemplate/GovernancePolicyTemplateRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GovernancePolicyTemplateRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GovernancePolicyTemplateRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GovernancePolicyTemplateRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GovernancePolicyTemplateRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GovernancePolicyTemplateRequestBuilderGetQueryParameters { + return new GovernancePolicyTemplateRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilder.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilder.php new file mode 100644 index 00000000000..8ba618067d7 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GovernanceRequestItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/governanceRequests/{governanceRequest%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property governanceRequests for directory + * @param GovernanceRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?GovernanceRequestItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get governanceRequests from directory + * @param GovernanceRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GovernanceRequestItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceRequest::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property governanceRequests in directory + * @param GovernanceRequest $body The request body + * @param GovernanceRequestItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(GovernanceRequest $body, ?GovernanceRequestItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GovernanceRequest::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property governanceRequests for directory + * @param GovernanceRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?GovernanceRequestItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get governanceRequests from directory + * @param GovernanceRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GovernanceRequestItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property governanceRequests in directory + * @param GovernanceRequest $body The request body + * @param GovernanceRequestItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(GovernanceRequest $body, ?GovernanceRequestItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GovernanceRequestItemRequestBuilder + */ + public function withUrl(string $rawUrl): GovernanceRequestItemRequestBuilder { + return new GovernanceRequestItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..b20214b57af --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..60db658f8df --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new GovernanceRequestItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3cef89ccad1 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GovernanceRequestItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GovernanceRequestItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GovernanceRequestItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GovernanceRequestItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GovernanceRequestItemRequestBuilderGetQueryParameters { + return new GovernanceRequestItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..ed05534215d --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/GovernanceRequests/Item/GovernanceRequestItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Count/CountRequestBuilder.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..4c1396813ef --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/relatedTenants/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..50d43b676af --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a05214dedf5 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/AppB2BSignInActivityMetrics/AppB2BSignInActivityMetricsRequestBuilder.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/AppB2BSignInActivityMetrics/AppB2BSignInActivityMetricsRequestBuilder.php new file mode 100644 index 00000000000..dbbae9b6762 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/AppB2BSignInActivityMetrics/AppB2BSignInActivityMetricsRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/appB2BSignInActivityMetrics{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get appB2BSignInActivityMetrics from directory + * @param AppB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AppB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [B2BSignInActivityMetrics::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get appB2BSignInActivityMetrics from directory + * @param AppB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AppB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return AppB2BSignInActivityMetricsRequestBuilder + */ + public function withUrl(string $rawUrl): AppB2BSignInActivityMetricsRequestBuilder { + return new AppB2BSignInActivityMetricsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/AppB2BSignInActivityMetrics/AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/AppB2BSignInActivityMetrics/AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..02830f21a95 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/AppB2BSignInActivityMetrics/AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/AppB2BSignInActivityMetrics/AppB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/AppB2BSignInActivityMetrics/AppB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a1257545183 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/AppB2BSignInActivityMetrics/AppB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters { + return new AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BRegistrationMetrics/B2BRegistrationMetricsRequestBuilder.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BRegistrationMetrics/B2BRegistrationMetricsRequestBuilder.php new file mode 100644 index 00000000000..db64ae51ebf --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BRegistrationMetrics/B2BRegistrationMetricsRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/b2BRegistrationMetrics{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get b2BRegistrationMetrics from directory + * @param B2BRegistrationMetricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?B2BRegistrationMetricsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [B2bRegistrationMetrics::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get b2BRegistrationMetrics from directory + * @param B2BRegistrationMetricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?B2BRegistrationMetricsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return B2BRegistrationMetricsRequestBuilder + */ + public function withUrl(string $rawUrl): B2BRegistrationMetricsRequestBuilder { + return new B2BRegistrationMetricsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BRegistrationMetrics/B2BRegistrationMetricsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BRegistrationMetrics/B2BRegistrationMetricsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ecf923feda8 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BRegistrationMetrics/B2BRegistrationMetricsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new B2BRegistrationMetricsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BRegistrationMetrics/B2BRegistrationMetricsRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BRegistrationMetrics/B2BRegistrationMetricsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f7d32294109 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BRegistrationMetrics/B2BRegistrationMetricsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param B2BRegistrationMetricsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?B2BRegistrationMetricsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new B2BRegistrationMetricsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return B2BRegistrationMetricsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): B2BRegistrationMetricsRequestBuilderGetQueryParameters { + return new B2BRegistrationMetricsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BSignInActivityMetrics/B2BSignInActivityMetricsRequestBuilder.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BSignInActivityMetrics/B2BSignInActivityMetricsRequestBuilder.php new file mode 100644 index 00000000000..42248d84df6 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BSignInActivityMetrics/B2BSignInActivityMetricsRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/b2BSignInActivityMetrics{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get b2BSignInActivityMetrics from directory + * @param B2BSignInActivityMetricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?B2BSignInActivityMetricsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [B2BSignInActivityMetrics::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get b2BSignInActivityMetrics from directory + * @param B2BSignInActivityMetricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?B2BSignInActivityMetricsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return B2BSignInActivityMetricsRequestBuilder + */ + public function withUrl(string $rawUrl): B2BSignInActivityMetricsRequestBuilder { + return new B2BSignInActivityMetricsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BSignInActivityMetrics/B2BSignInActivityMetricsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BSignInActivityMetrics/B2BSignInActivityMetricsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b4f1893ab4f --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BSignInActivityMetrics/B2BSignInActivityMetricsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new B2BSignInActivityMetricsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BSignInActivityMetrics/B2BSignInActivityMetricsRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BSignInActivityMetrics/B2BSignInActivityMetricsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..10bfcb4f19b --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/B2BSignInActivityMetrics/B2BSignInActivityMetricsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param B2BSignInActivityMetricsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?B2BSignInActivityMetricsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new B2BSignInActivityMetricsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return B2BSignInActivityMetricsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): B2BSignInActivityMetricsRequestBuilderGetQueryParameters { + return new B2BSignInActivityMetricsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/BillingMetrics/BillingMetricsRequestBuilder.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/BillingMetrics/BillingMetricsRequestBuilder.php new file mode 100644 index 00000000000..4cb4064660c --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/BillingMetrics/BillingMetricsRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/billingMetrics{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get billingMetrics from directory + * @param BillingMetricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?BillingMetricsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [BillingMetrics::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get billingMetrics from directory + * @param BillingMetricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?BillingMetricsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return BillingMetricsRequestBuilder + */ + public function withUrl(string $rawUrl): BillingMetricsRequestBuilder { + return new BillingMetricsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/BillingMetrics/BillingMetricsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/BillingMetrics/BillingMetricsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..652841776c7 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/BillingMetrics/BillingMetricsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new BillingMetricsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/BillingMetrics/BillingMetricsRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/BillingMetrics/BillingMetricsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4f80b0b0473 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/BillingMetrics/BillingMetricsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param BillingMetricsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?BillingMetricsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new BillingMetricsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return BillingMetricsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): BillingMetricsRequestBuilderGetQueryParameters { + return new BillingMetricsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/MultiTenantApplicationMetrics/MultiTenantApplicationMetricsRequestBuilder.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/MultiTenantApplicationMetrics/MultiTenantApplicationMetricsRequestBuilder.php new file mode 100644 index 00000000000..0303e9f34b6 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/MultiTenantApplicationMetrics/MultiTenantApplicationMetricsRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/multiTenantApplicationMetrics{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get multiTenantApplicationMetrics from directory + * @param MultiTenantApplicationMetricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MultiTenantApplicationMetricsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MultiTenantApplicationMetrics::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get multiTenantApplicationMetrics from directory + * @param MultiTenantApplicationMetricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MultiTenantApplicationMetricsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return MultiTenantApplicationMetricsRequestBuilder + */ + public function withUrl(string $rawUrl): MultiTenantApplicationMetricsRequestBuilder { + return new MultiTenantApplicationMetricsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/MultiTenantApplicationMetrics/MultiTenantApplicationMetricsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/MultiTenantApplicationMetrics/MultiTenantApplicationMetricsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..36c71f2279b --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/MultiTenantApplicationMetrics/MultiTenantApplicationMetricsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new MultiTenantApplicationMetricsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/MultiTenantApplicationMetrics/MultiTenantApplicationMetricsRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/MultiTenantApplicationMetrics/MultiTenantApplicationMetricsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b350e0f74a8 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/MultiTenantApplicationMetrics/MultiTenantApplicationMetricsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MultiTenantApplicationMetricsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MultiTenantApplicationMetricsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MultiTenantApplicationMetricsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MultiTenantApplicationMetricsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MultiTenantApplicationMetricsRequestBuilderGetQueryParameters { + return new MultiTenantApplicationMetricsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilder.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilder.php new file mode 100644 index 00000000000..0e6ffee163e --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilder.php @@ -0,0 +1,184 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.relatedTenant entity. + */ + public function b2BRegistrationMetrics(): B2BRegistrationMetricsRequestBuilder { + return new B2BRegistrationMetricsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.relatedTenant entity. + */ + public function b2BSignInActivityMetrics(): B2BSignInActivityMetricsRequestBuilder { + return new B2BSignInActivityMetricsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the billingMetrics property of the microsoft.graph.relatedTenant entity. + */ + public function billingMetrics(): BillingMetricsRequestBuilder { + return new BillingMetricsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.relatedTenant entity. + */ + public function multiTenantApplicationMetrics(): MultiTenantApplicationMetricsRequestBuilder { + return new MultiTenantApplicationMetricsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new RelatedTenantItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property relatedTenants for directory + * @param RelatedTenantItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?RelatedTenantItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get relatedTenants from directory + * @param RelatedTenantItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RelatedTenantItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RelatedTenant::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property relatedTenants in directory + * @param RelatedTenant $body The request body + * @param RelatedTenantItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(RelatedTenant $body, ?RelatedTenantItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RelatedTenant::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property relatedTenants for directory + * @param RelatedTenantItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?RelatedTenantItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get relatedTenants from directory + * @param RelatedTenantItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RelatedTenantItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property relatedTenants in directory + * @param RelatedTenant $body The request body + * @param RelatedTenantItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(RelatedTenant $body, ?RelatedTenantItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return RelatedTenantItemRequestBuilder + */ + public function withUrl(string $rawUrl): RelatedTenantItemRequestBuilder { + return new RelatedTenantItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..8f7f3af528e --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..46b7ed351d2 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new RelatedTenantItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..6089837dedb --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RelatedTenantItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RelatedTenantItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RelatedTenantItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RelatedTenantItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RelatedTenantItemRequestBuilderGetQueryParameters { + return new RelatedTenantItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..fc696a3db2d --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Item/RelatedTenantItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Refresh/RefreshRequestBuilder.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Refresh/RefreshRequestBuilder.php new file mode 100644 index 00000000000..ecbec0489c9 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Refresh/RefreshRequestBuilder.php @@ -0,0 +1,73 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/relatedTenants/refresh'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action refresh + * @param RefreshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(?RefreshRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Invoke action refresh + * @param RefreshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?RefreshRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return RefreshRequestBuilder + */ + public function withUrl(string $rawUrl): RefreshRequestBuilder { + return new RefreshRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/Refresh/RefreshRequestBuilderPostRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/Refresh/RefreshRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..7c337798b62 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/Refresh/RefreshRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilder.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilder.php new file mode 100644 index 00000000000..827247e18dd --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilder.php @@ -0,0 +1,141 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the refresh method. + */ + public function refresh(): RefreshRequestBuilder { + return new RefreshRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. + * @param string $relatedTenantId The unique identifier of relatedTenant + * @return RelatedTenantItemRequestBuilder + */ + public function byRelatedTenantId(string $relatedTenantId): RelatedTenantItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['relatedTenant%2Did'] = $relatedTenantId; + return new RelatedTenantItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new RelatedTenantsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/relatedTenants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get relatedTenants from directory + * @param RelatedTenantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RelatedTenantsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RelatedTenantCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to relatedTenants for directory + * @param RelatedTenant $body The request body + * @param RelatedTenantsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(RelatedTenant $body, ?RelatedTenantsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RelatedTenant::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get relatedTenants from directory + * @param RelatedTenantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RelatedTenantsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to relatedTenants for directory + * @param RelatedTenant $body The request body + * @param RelatedTenantsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RelatedTenant $body, ?RelatedTenantsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return RelatedTenantsRequestBuilder + */ + public function withUrl(string $rawUrl): RelatedTenantsRequestBuilder { + return new RelatedTenantsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..79069d95173 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new RelatedTenantsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..1c5e9f76b0b --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RelatedTenantsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RelatedTenantsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RelatedTenantsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return RelatedTenantsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): RelatedTenantsRequestBuilderGetQueryParameters { + return new RelatedTenantsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilderPostRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..26a0e1a667c --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/Settings/EnableRelatedTenants/EnableRelatedTenantsRequestBuilder.php b/src/Generated/Directory/TenantGovernance/Settings/EnableRelatedTenants/EnableRelatedTenantsRequestBuilder.php new file mode 100644 index 00000000000..2ec8654d952 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/Settings/EnableRelatedTenants/EnableRelatedTenantsRequestBuilder.php @@ -0,0 +1,73 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/settings/enableRelatedTenants'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action enableRelatedTenants + * @param EnableRelatedTenantsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(?EnableRelatedTenantsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Invoke action enableRelatedTenants + * @param EnableRelatedTenantsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?EnableRelatedTenantsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return EnableRelatedTenantsRequestBuilder + */ + public function withUrl(string $rawUrl): EnableRelatedTenantsRequestBuilder { + return new EnableRelatedTenantsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/Settings/EnableRelatedTenants/EnableRelatedTenantsRequestBuilderPostRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/Settings/EnableRelatedTenants/EnableRelatedTenantsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..0d7785a534a --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/Settings/EnableRelatedTenants/EnableRelatedTenantsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilder.php b/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilder.php new file mode 100644 index 00000000000..40d7e8b0268 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new SettingsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance/settings{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property settings for directory + * @param SettingsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?SettingsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get settings from directory + * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?SettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantGovernanceSetting::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property settings in directory + * @param TenantGovernanceSetting $body The request body + * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TenantGovernanceSetting $body, ?SettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantGovernanceSetting::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property settings for directory + * @param SettingsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?SettingsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get settings from directory + * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property settings in directory + * @param TenantGovernanceSetting $body The request body + * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TenantGovernanceSetting $body, ?SettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return SettingsRequestBuilder + */ + public function withUrl(string $rawUrl): SettingsRequestBuilder { + return new SettingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..19238f614be --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..333d6c3be28 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new SettingsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..bcec5fc89ec --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SettingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new SettingsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return SettingsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): SettingsRequestBuilderGetQueryParameters { + return new SettingsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..e482476c9d4 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/Settings/SettingsRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilder.php b/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilder.php new file mode 100644 index 00000000000..cf444130223 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilder.php @@ -0,0 +1,192 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernance entity. + */ + public function governancePolicyTemplates(): GovernancePolicyTemplatesRequestBuilder { + return new GovernancePolicyTemplatesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernance entity. + */ + public function governanceRelationships(): GovernanceRelationshipsRequestBuilder { + return new GovernanceRelationshipsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernance entity. + */ + public function governanceRequests(): GovernanceRequestsRequestBuilder { + return new GovernanceRequestsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. + */ + public function relatedTenants(): RelatedTenantsRequestBuilder { + return new RelatedTenantsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the settings property of the microsoft.graph.tenantGovernance entity. + */ + public function settings(): SettingsRequestBuilder { + return new SettingsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new TenantGovernanceRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/tenantGovernance{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property tenantGovernance for directory + * @param TenantGovernanceRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?TenantGovernanceRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get tenantGovernance from directory + * @param TenantGovernanceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TenantGovernanceRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantGovernance::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property tenantGovernance in directory + * @param TenantGovernance $body The request body + * @param TenantGovernanceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TenantGovernance $body, ?TenantGovernanceRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantGovernance::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property tenantGovernance for directory + * @param TenantGovernanceRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TenantGovernanceRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get tenantGovernance from directory + * @param TenantGovernanceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TenantGovernanceRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property tenantGovernance in directory + * @param TenantGovernance $body The request body + * @param TenantGovernanceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TenantGovernance $body, ?TenantGovernanceRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return TenantGovernanceRequestBuilder + */ + public function withUrl(string $rawUrl): TenantGovernanceRequestBuilder { + return new TenantGovernanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c3cbc88bd78 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderGetQueryParameters.php b/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..339b7a5c0b9 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new TenantGovernanceRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c9c6e3ab60e --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TenantGovernanceRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TenantGovernanceRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TenantGovernanceRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TenantGovernanceRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TenantGovernanceRequestBuilderGetQueryParameters { + return new TenantGovernanceRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderPatchRequestConfiguration.php b/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..c3619310c04 --- /dev/null +++ b/src/Generated/Directory/TenantGovernance/TenantGovernanceRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php index 848838a7614..32d08078014 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Definitions\Item\Instances\Item\AcceptRecommendations\AcceptRecommendationsRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Definitions\Item\Instances\Item\ApplyDecisions\ApplyDecisionsRequestBuilder; +use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Definitions\Item\Instances\Item\BatchApplyCustomDataProvidedResourceDecisions\BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Definitions\Item\Instances\Item\BatchRecordDecisions\BatchRecordDecisionsRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Definitions\Item\Instances\Item\ContactedReviewers\ContactedReviewersRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Definitions\Item\Instances\Item\Decisions\DecisionsRequestBuilder; @@ -39,6 +40,13 @@ public function applyDecisions(): ApplyDecisionsRequestBuilder { return new ApplyDecisionsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. + */ + public function batchApplyCustomDataProvidedResourceDecisions(): BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder { + return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the batchRecordDecisions method. */ diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody.php new file mode 100644 index 00000000000..7e6537a7c23 --- /dev/null +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody.php @@ -0,0 +1,159 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody { + return new BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the applyDescription property value. The applyDescription property + * @return string|null + */ + public function getApplyDescription(): ?string { + $val = $this->getBackingStore()->get('applyDescription'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applyDescription'"); + } + + /** + * Gets the applyResult property value. The applyResult property + * @return AccessReviewInstanceDecisionItemApplyResult|null + */ + public function getApplyResult(): ?AccessReviewInstanceDecisionItemApplyResult { + $val = $this->getBackingStore()->get('applyResult'); + if (is_null($val) || $val instanceof AccessReviewInstanceDecisionItemApplyResult) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applyResult'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the customDataProvidedResourceId property value. The customDataProvidedResourceId property + * @return string|null + */ + public function getCustomDataProvidedResourceId(): ?string { + $val = $this->getBackingStore()->get('customDataProvidedResourceId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'customDataProvidedResourceId'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'applyDescription' => fn(ParseNode $n) => $o->setApplyDescription($n->getStringValue()), + 'applyResult' => fn(ParseNode $n) => $o->setApplyResult($n->getEnumValue(AccessReviewInstanceDecisionItemApplyResult::class)), + 'customDataProvidedResourceId' => fn(ParseNode $n) => $o->setCustomDataProvidedResourceId($n->getStringValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('applyDescription', $this->getApplyDescription()); + $writer->writeEnumValue('applyResult', $this->getApplyResult()); + $writer->writeStringValue('customDataProvidedResourceId', $this->getCustomDataProvidedResourceId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the applyDescription property value. The applyDescription property + * @param string|null $value Value to set for the applyDescription property. + */ + public function setApplyDescription(?string $value): void { + $this->getBackingStore()->set('applyDescription', $value); + } + + /** + * Sets the applyResult property value. The applyResult property + * @param AccessReviewInstanceDecisionItemApplyResult|null $value Value to set for the applyResult property. + */ + public function setApplyResult(?AccessReviewInstanceDecisionItemApplyResult $value): void { + $this->getBackingStore()->set('applyResult', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the customDataProvidedResourceId property value. The customDataProvidedResourceId property + * @param string|null $value Value to set for the customDataProvidedResourceId property. + */ + public function setCustomDataProvidedResourceId(?string $value): void { + $this->getBackingStore()->set('customDataProvidedResourceId', $value); + } + +} diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.php new file mode 100644 index 00000000000..30e404621d5 --- /dev/null +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/batchApplyCustomDataProvidedResourceDecisions'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action batchApplyCustomDataProvidedResourceDecisions + * @param BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body The request body + * @param BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body, ?BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Invoke action batchApplyCustomDataProvidedResourceDecisions + * @param BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body The request body + * @param BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body, ?BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder + */ + public function withUrl(string $rawUrl): BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder { + return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..ccace8c3be2 --- /dev/null +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php index 4e12cc7603d..83bbe183465 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Definitions\Item\Instances\Item\AcceptRecommendations\AcceptRecommendationsRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Definitions\Item\Instances\Item\ApplyDecisions\ApplyDecisionsRequestBuilder; +use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Definitions\Item\Instances\Item\BatchApplyCustomDataProvidedResourceDecisions\BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Definitions\Item\Instances\Item\BatchRecordDecisions\BatchRecordDecisionsRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Definitions\Item\Instances\Item\ContactedReviewers\ContactedReviewersRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Definitions\Item\Instances\Item\Decisions\DecisionsRequestBuilder; @@ -39,6 +40,13 @@ public function applyDecisions(): ApplyDecisionsRequestBuilder { return new ApplyDecisionsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. + */ + public function batchApplyCustomDataProvidedResourceDecisions(): BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder { + return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the batchRecordDecisions method. */ diff --git a/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody.php b/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody.php new file mode 100644 index 00000000000..77da3a44dad --- /dev/null +++ b/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody.php @@ -0,0 +1,159 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody { + return new BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the applyDescription property value. The applyDescription property + * @return string|null + */ + public function getApplyDescription(): ?string { + $val = $this->getBackingStore()->get('applyDescription'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applyDescription'"); + } + + /** + * Gets the applyResult property value. The applyResult property + * @return AccessReviewInstanceDecisionItemApplyResult|null + */ + public function getApplyResult(): ?AccessReviewInstanceDecisionItemApplyResult { + $val = $this->getBackingStore()->get('applyResult'); + if (is_null($val) || $val instanceof AccessReviewInstanceDecisionItemApplyResult) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applyResult'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the customDataProvidedResourceId property value. The customDataProvidedResourceId property + * @return string|null + */ + public function getCustomDataProvidedResourceId(): ?string { + $val = $this->getBackingStore()->get('customDataProvidedResourceId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'customDataProvidedResourceId'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'applyDescription' => fn(ParseNode $n) => $o->setApplyDescription($n->getStringValue()), + 'applyResult' => fn(ParseNode $n) => $o->setApplyResult($n->getEnumValue(AccessReviewInstanceDecisionItemApplyResult::class)), + 'customDataProvidedResourceId' => fn(ParseNode $n) => $o->setCustomDataProvidedResourceId($n->getStringValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('applyDescription', $this->getApplyDescription()); + $writer->writeEnumValue('applyResult', $this->getApplyResult()); + $writer->writeStringValue('customDataProvidedResourceId', $this->getCustomDataProvidedResourceId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the applyDescription property value. The applyDescription property + * @param string|null $value Value to set for the applyDescription property. + */ + public function setApplyDescription(?string $value): void { + $this->getBackingStore()->set('applyDescription', $value); + } + + /** + * Sets the applyResult property value. The applyResult property + * @param AccessReviewInstanceDecisionItemApplyResult|null $value Value to set for the applyResult property. + */ + public function setApplyResult(?AccessReviewInstanceDecisionItemApplyResult $value): void { + $this->getBackingStore()->set('applyResult', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the customDataProvidedResourceId property value. The customDataProvidedResourceId property + * @param string|null $value Value to set for the customDataProvidedResourceId property. + */ + public function setCustomDataProvidedResourceId(?string $value): void { + $this->getBackingStore()->set('customDataProvidedResourceId', $value); + } + +} diff --git a/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.php new file mode 100644 index 00000000000..9fda80043ea --- /dev/null +++ b/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/identityGovernance/accessReviews/unified/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/batchApplyCustomDataProvidedResourceDecisions'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action batchApplyCustomDataProvidedResourceDecisions + * @param BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body The request body + * @param BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body, ?BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Invoke action batchApplyCustomDataProvidedResourceDecisions + * @param BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body The request body + * @param BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body, ?BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder + */ + public function withUrl(string $rawUrl): BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder { + return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration.php b/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..27cf437d9ec --- /dev/null +++ b/src/Generated/IdentityGovernance/AccessReviews/Unified/Definitions/Item/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/AccessReviewInstanceItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/AccessReviewInstanceItemRequestBuilder.php index 9905754b568..5cabb9dc592 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/AccessReviewInstanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/AccessReviewInstanceItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Instances\Item\AcceptRecommendations\AcceptRecommendationsRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Instances\Item\ApplyDecisions\ApplyDecisionsRequestBuilder; +use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Instances\Item\BatchApplyCustomDataProvidedResourceDecisions\BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Instances\Item\BatchRecordDecisions\BatchRecordDecisionsRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Instances\Item\ContactedReviewers\ContactedReviewersRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\AccessReviews\Unified\Instances\Item\Decisions\DecisionsRequestBuilder; @@ -39,6 +40,13 @@ public function applyDecisions(): ApplyDecisionsRequestBuilder { return new ApplyDecisionsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the batchApplyCustomDataProvidedResourceDecisions method. + */ + public function batchApplyCustomDataProvidedResourceDecisions(): BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder { + return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the batchRecordDecisions method. */ diff --git a/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody.php b/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody.php new file mode 100644 index 00000000000..0fa5e1d56b4 --- /dev/null +++ b/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody.php @@ -0,0 +1,159 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody { + return new BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the applyDescription property value. The applyDescription property + * @return string|null + */ + public function getApplyDescription(): ?string { + $val = $this->getBackingStore()->get('applyDescription'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applyDescription'"); + } + + /** + * Gets the applyResult property value. The applyResult property + * @return AccessReviewInstanceDecisionItemApplyResult|null + */ + public function getApplyResult(): ?AccessReviewInstanceDecisionItemApplyResult { + $val = $this->getBackingStore()->get('applyResult'); + if (is_null($val) || $val instanceof AccessReviewInstanceDecisionItemApplyResult) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applyResult'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the customDataProvidedResourceId property value. The customDataProvidedResourceId property + * @return string|null + */ + public function getCustomDataProvidedResourceId(): ?string { + $val = $this->getBackingStore()->get('customDataProvidedResourceId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'customDataProvidedResourceId'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'applyDescription' => fn(ParseNode $n) => $o->setApplyDescription($n->getStringValue()), + 'applyResult' => fn(ParseNode $n) => $o->setApplyResult($n->getEnumValue(AccessReviewInstanceDecisionItemApplyResult::class)), + 'customDataProvidedResourceId' => fn(ParseNode $n) => $o->setCustomDataProvidedResourceId($n->getStringValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('applyDescription', $this->getApplyDescription()); + $writer->writeEnumValue('applyResult', $this->getApplyResult()); + $writer->writeStringValue('customDataProvidedResourceId', $this->getCustomDataProvidedResourceId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the applyDescription property value. The applyDescription property + * @param string|null $value Value to set for the applyDescription property. + */ + public function setApplyDescription(?string $value): void { + $this->getBackingStore()->set('applyDescription', $value); + } + + /** + * Sets the applyResult property value. The applyResult property + * @param AccessReviewInstanceDecisionItemApplyResult|null $value Value to set for the applyResult property. + */ + public function setApplyResult(?AccessReviewInstanceDecisionItemApplyResult $value): void { + $this->getBackingStore()->set('applyResult', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the customDataProvidedResourceId property value. The customDataProvidedResourceId property + * @param string|null $value Value to set for the customDataProvidedResourceId property. + */ + public function setCustomDataProvidedResourceId(?string $value): void { + $this->getBackingStore()->set('customDataProvidedResourceId', $value); + } + +} diff --git a/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.php new file mode 100644 index 00000000000..b9a5a5bedf9 --- /dev/null +++ b/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/identityGovernance/accessReviews/unified/instances/{accessReviewInstance%2Did}/batchApplyCustomDataProvidedResourceDecisions'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action batchApplyCustomDataProvidedResourceDecisions + * @param BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body The request body + * @param BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body, ?BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Invoke action batchApplyCustomDataProvidedResourceDecisions + * @param BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body The request body + * @param BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody $body, ?BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder + */ + public function withUrl(string $rawUrl): BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder { + return new BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration.php b/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..093081f937e --- /dev/null +++ b/src/Generated/IdentityGovernance/AccessReviews/Unified/Instances/Item/BatchApplyCustomDataProvidedResourceDecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.php index e7427370992..eb1e81184c6 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.php @@ -11,6 +11,7 @@ use Microsoft\Graph\Generated\IdentityGovernance\PrivilegedAccess\Group\EligibilityScheduleInstances\EligibilityScheduleInstancesRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\PrivilegedAccess\Group\EligibilityScheduleRequests\EligibilityScheduleRequestsRequestBuilder; use Microsoft\Graph\Generated\IdentityGovernance\PrivilegedAccess\Group\EligibilitySchedules\EligibilitySchedulesRequestBuilder; +use Microsoft\Graph\Generated\IdentityGovernance\PrivilegedAccess\Group\Resources\ResourcesRequestBuilder; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\PrivilegedAccessGroup; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -72,6 +73,13 @@ public function eligibilitySchedules(): EligibilitySchedulesRequestBuilder { return new EligibilitySchedulesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the resources property of the microsoft.graph.privilegedAccessGroup entity. + */ + public function resources(): ResourcesRequestBuilder { + return new ResourcesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new GroupRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Count/CountRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..01e465b7d0f --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/identityGovernance/privilegedAccess/group/resources/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..539ab8baaa4 --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..46f4c602b64 --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilder.php new file mode 100644 index 00000000000..17663ed1493 --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/identityGovernance/privilegedAccess/group/resources/{groupResource%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property resources for identityGovernance + * @param GroupResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?GroupResourceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get resources from identityGovernance + * @param GroupResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GroupResourceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GroupResource::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property resources in identityGovernance + * @param GroupResource $body The request body + * @param GroupResourceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(GroupResource $body, ?GroupResourceItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GroupResource::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property resources for identityGovernance + * @param GroupResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?GroupResourceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get resources from identityGovernance + * @param GroupResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GroupResourceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property resources in identityGovernance + * @param GroupResource $body The request body + * @param GroupResourceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(GroupResource $body, ?GroupResourceItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GroupResourceItemRequestBuilder + */ + public function withUrl(string $rawUrl): GroupResourceItemRequestBuilder { + return new GroupResourceItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..8c39b627268 --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..30f56d2a220 --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new GroupResourceItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderGetRequestConfiguration.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9dcff7ee541 --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GroupResourceItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GroupResourceItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GroupResourceItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GroupResourceItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GroupResourceItemRequestBuilderGetQueryParameters { + return new GroupResourceItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..6298fa905ea --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/Item/GroupResourceItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilder.php new file mode 100644 index 00000000000..6162e954509 --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the resources property of the microsoft.graph.privilegedAccessGroup entity. + * @param string $groupResourceId The unique identifier of groupResource + * @return GroupResourceItemRequestBuilder + */ + public function byGroupResourceId(string $groupResourceId): GroupResourceItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['groupResource%2Did'] = $groupResourceId; + return new GroupResourceItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ResourcesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/identityGovernance/privilegedAccess/group/resources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get resources from identityGovernance + * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GroupResourceCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to resources for identityGovernance + * @param GroupResource $body The request body + * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(GroupResource $body, ?ResourcesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GroupResource::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get resources from identityGovernance + * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to resources for identityGovernance + * @param GroupResource $body The request body + * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(GroupResource $body, ?ResourcesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ResourcesRequestBuilder + */ + public function withUrl(string $rawUrl): ResourcesRequestBuilder { + return new ResourcesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..96850223dbe --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new ResourcesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilderGetRequestConfiguration.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2183b6e78d6 --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ResourcesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ResourcesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ResourcesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return ResourcesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ResourcesRequestBuilderGetQueryParameters { + return new ResourcesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilderPostRequestConfiguration.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..70d45d14a6b --- /dev/null +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/Resources/ResourcesRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Models/AccessPackageAssignmentRequest.php b/src/Generated/Models/AccessPackageAssignmentRequest.php index a9a7233d812..cb60d1bed23 100644 --- a/src/Generated/Models/AccessPackageAssignmentRequest.php +++ b/src/Generated/Models/AccessPackageAssignmentRequest.php @@ -116,6 +116,7 @@ public function getFieldDeserializers(): array { 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'customExtensionCalloutInstances' => fn(ParseNode $n) => $o->setCustomExtensionCalloutInstances($n->getCollectionOfObjectValues([CustomExtensionCalloutInstance::class, 'createFromDiscriminatorValue'])), 'justification' => fn(ParseNode $n) => $o->setJustification($n->getStringValue()), + 'parameters' => fn(ParseNode $n) => $o->setParameters($n->getObjectValue([AccessPackageAssignmentRequestParameters::class, 'createFromDiscriminatorValue'])), 'requestor' => fn(ParseNode $n) => $o->setRequestor($n->getObjectValue([AccessPackageSubject::class, 'createFromDiscriminatorValue'])), 'requestType' => fn(ParseNode $n) => $o->setRequestType($n->getEnumValue(AccessPackageRequestType::class)), 'schedule' => fn(ParseNode $n) => $o->setSchedule($n->getObjectValue([EntitlementManagementSchedule::class, 'createFromDiscriminatorValue'])), @@ -136,6 +137,18 @@ public function getJustification(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'justification'"); } + /** + * Gets the parameters property value. The parameters property + * @return AccessPackageAssignmentRequestParameters|null + */ + public function getParameters(): ?AccessPackageAssignmentRequestParameters { + $val = $this->getBackingStore()->get('parameters'); + if (is_null($val) || $val instanceof AccessPackageAssignmentRequestParameters) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'parameters'"); + } + /** * Gets the requestor property value. The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. * @return AccessPackageSubject|null @@ -209,6 +222,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeCollectionOfObjectValues('customExtensionCalloutInstances', $this->getCustomExtensionCalloutInstances()); $writer->writeStringValue('justification', $this->getJustification()); + $writer->writeObjectValue('parameters', $this->getParameters()); $writer->writeObjectValue('requestor', $this->getRequestor()); $writer->writeEnumValue('requestType', $this->getRequestType()); $writer->writeObjectValue('schedule', $this->getSchedule()); @@ -272,6 +286,14 @@ public function setJustification(?string $value): void { $this->getBackingStore()->set('justification', $value); } + /** + * Sets the parameters property value. The parameters property + * @param AccessPackageAssignmentRequestParameters|null $value Value to set for the parameters property. + */ + public function setParameters(?AccessPackageAssignmentRequestParameters $value): void { + $this->getBackingStore()->set('parameters', $value); + } + /** * Sets the requestor property value. The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. * @param AccessPackageSubject|null $value Value to set for the requestor property. diff --git a/src/Generated/Models/AccessPackageAssignmentRequestParameters.php b/src/Generated/Models/AccessPackageAssignmentRequestParameters.php new file mode 100644 index 00000000000..c06e89d65e5 --- /dev/null +++ b/src/Generated/Models/AccessPackageAssignmentRequestParameters.php @@ -0,0 +1,136 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return AccessPackageAssignmentRequestParameters + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AccessPackageAssignmentRequestParameters { + return new AccessPackageAssignmentRequestParameters(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the bypassApproval property value. The bypassApproval property + * @return bool|null + */ + public function getBypassApproval(): ?bool { + $val = $this->getBackingStore()->get('bypassApproval'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'bypassApproval'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'bypassApproval' => fn(ParseNode $n) => $o->setBypassApproval($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('bypassApproval', $this->getBypassApproval()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the bypassApproval property value. The bypassApproval property + * @param bool|null $value Value to set for the bypassApproval property. + */ + public function setBypassApproval(?bool $value): void { + $this->getBackingStore()->set('bypassApproval', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/AccessReviewInstanceDecisionItem.php b/src/Generated/Models/AccessReviewInstanceDecisionItem.php index 730f7fa3d44..0dd8bff457a 100644 --- a/src/Generated/Models/AccessReviewInstanceDecisionItem.php +++ b/src/Generated/Models/AccessReviewInstanceDecisionItem.php @@ -113,6 +113,7 @@ public function getFieldDeserializers(): array { 'decision' => fn(ParseNode $n) => $o->setDecision($n->getStringValue()), 'insights' => fn(ParseNode $n) => $o->setInsights($n->getCollectionOfObjectValues([GovernanceInsight::class, 'createFromDiscriminatorValue'])), 'justification' => fn(ParseNode $n) => $o->setJustification($n->getStringValue()), + 'permission' => fn(ParseNode $n) => $o->setPermission($n->getObjectValue([AccessReviewInstanceDecisionItemPermission::class, 'createFromDiscriminatorValue'])), 'principal' => fn(ParseNode $n) => $o->setPrincipal($n->getObjectValue([Identity::class, 'createFromDiscriminatorValue'])), 'principalLink' => fn(ParseNode $n) => $o->setPrincipalLink($n->getStringValue()), 'recommendation' => fn(ParseNode $n) => $o->setRecommendation($n->getStringValue()), @@ -149,6 +150,18 @@ public function getJustification(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'justification'"); } + /** + * Gets the permission property value. The permission property + * @return AccessReviewInstanceDecisionItemPermission|null + */ + public function getPermission(): ?AccessReviewInstanceDecisionItemPermission { + $val = $this->getBackingStore()->get('permission'); + if (is_null($val) || $val instanceof AccessReviewInstanceDecisionItemPermission) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'permission'"); + } + /** * Gets the principal property value. Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. Supports $select. Read-only. * @return Identity|null @@ -247,6 +260,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('decision', $this->getDecision()); $writer->writeCollectionOfObjectValues('insights', $this->getInsights()); $writer->writeStringValue('justification', $this->getJustification()); + $writer->writeObjectValue('permission', $this->getPermission()); $writer->writeObjectValue('principal', $this->getPrincipal()); $writer->writeStringValue('principalLink', $this->getPrincipalLink()); $writer->writeStringValue('recommendation', $this->getRecommendation()); @@ -320,6 +334,14 @@ public function setJustification(?string $value): void { $this->getBackingStore()->set('justification', $value); } + /** + * Sets the permission property value. The permission property + * @param AccessReviewInstanceDecisionItemPermission|null $value Value to set for the permission property. + */ + public function setPermission(?AccessReviewInstanceDecisionItemPermission $value): void { + $this->getBackingStore()->set('permission', $value); + } + /** * Sets the principal property value. Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. Supports $select. Read-only. * @param Identity|null $value Value to set for the principal property. diff --git a/src/Generated/Models/AccessReviewInstanceDecisionItemApplyResult.php b/src/Generated/Models/AccessReviewInstanceDecisionItemApplyResult.php new file mode 100644 index 00000000000..0b64fd9ddc9 --- /dev/null +++ b/src/Generated/Models/AccessReviewInstanceDecisionItemApplyResult.php @@ -0,0 +1,14 @@ +setOdataType('#microsoft.graph.accessReviewInstanceDecisionItemCustomDataProvidedResource'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return AccessReviewInstanceDecisionItemCustomDataProvidedResource + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AccessReviewInstanceDecisionItemCustomDataProvidedResource { + return new AccessReviewInstanceDecisionItemCustomDataProvidedResource(); + } + + /** + * Gets the customData property value. The customData property + * @return string|null + */ + public function getCustomData(): ?string { + $val = $this->getBackingStore()->get('customData'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'customData'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'customData' => fn(ParseNode $n) => $o->setCustomData($n->getStringValue()), + 'scopeDisplayName' => fn(ParseNode $n) => $o->setScopeDisplayName($n->getStringValue()), + 'scopeId' => fn(ParseNode $n) => $o->setScopeId($n->getStringValue()), + ]); + } + + /** + * Gets the scopeDisplayName property value. The scopeDisplayName property + * @return string|null + */ + public function getScopeDisplayName(): ?string { + $val = $this->getBackingStore()->get('scopeDisplayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'scopeDisplayName'"); + } + + /** + * Gets the scopeId property value. The scopeId property + * @return string|null + */ + public function getScopeId(): ?string { + $val = $this->getBackingStore()->get('scopeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'scopeId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('customData', $this->getCustomData()); + $writer->writeStringValue('scopeDisplayName', $this->getScopeDisplayName()); + $writer->writeStringValue('scopeId', $this->getScopeId()); + } + + /** + * Sets the customData property value. The customData property + * @param string|null $value Value to set for the customData property. + */ + public function setCustomData(?string $value): void { + $this->getBackingStore()->set('customData', $value); + } + + /** + * Sets the scopeDisplayName property value. The scopeDisplayName property + * @param string|null $value Value to set for the scopeDisplayName property. + */ + public function setScopeDisplayName(?string $value): void { + $this->getBackingStore()->set('scopeDisplayName', $value); + } + + /** + * Sets the scopeId property value. The scopeId property + * @param string|null $value Value to set for the scopeId property. + */ + public function setScopeId(?string $value): void { + $this->getBackingStore()->set('scopeId', $value); + } + +} diff --git a/src/Generated/Models/AccessReviewInstanceDecisionItemPermission.php b/src/Generated/Models/AccessReviewInstanceDecisionItemPermission.php new file mode 100644 index 00000000000..adecc38c70a --- /dev/null +++ b/src/Generated/Models/AccessReviewInstanceDecisionItemPermission.php @@ -0,0 +1,202 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return AccessReviewInstanceDecisionItemPermission + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AccessReviewInstanceDecisionItemPermission { + return new AccessReviewInstanceDecisionItemPermission(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the description property value. The description property + * @return string|null + */ + public function getDescription(): ?string { + $val = $this->getBackingStore()->get('description'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'description'"); + } + + /** + * Gets the displayName property value. The displayName property + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'id' => fn(ParseNode $n) => $o->setId($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'type' => fn(ParseNode $n) => $o->setType($n->getStringValue()), + ]; + } + + /** + * Gets the id property value. The id property + * @return string|null + */ + public function getId(): ?string { + $val = $this->getBackingStore()->get('id'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'id'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the type property value. The type property + * @return string|null + */ + public function getType(): ?string { + $val = $this->getBackingStore()->get('type'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('description', $this->getDescription()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeStringValue('id', $this->getId()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('type', $this->getType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the description property value. The description property + * @param string|null $value Value to set for the description property. + */ + public function setDescription(?string $value): void { + $this->getBackingStore()->set('description', $value); + } + + /** + * Sets the displayName property value. The displayName property + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the id property value. The id property + * @param string|null $value Value to set for the id property. + */ + public function setId(?string $value): void { + $this->getBackingStore()->set('id', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the type property value. The type property + * @param string|null $value Value to set for the type property. + */ + public function setType(?string $value): void { + $this->getBackingStore()->set('type', $value); + } + +} diff --git a/src/Generated/Models/AccessReviewInstanceDecisionItemResource.php b/src/Generated/Models/AccessReviewInstanceDecisionItemResource.php index 20cf47c6d72..aea8f54f707 100644 --- a/src/Generated/Models/AccessReviewInstanceDecisionItemResource.php +++ b/src/Generated/Models/AccessReviewInstanceDecisionItemResource.php @@ -38,6 +38,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Acces case '#microsoft.graph.accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource': return new AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource(); case '#microsoft.graph.accessReviewInstanceDecisionItemAccessPackageResource': return new AccessReviewInstanceDecisionItemAccessPackageResource(); case '#microsoft.graph.accessReviewInstanceDecisionItemAzureRoleResource': return new AccessReviewInstanceDecisionItemAzureRoleResource(); + case '#microsoft.graph.accessReviewInstanceDecisionItemCustomDataProvidedResource': return new AccessReviewInstanceDecisionItemCustomDataProvidedResource(); case '#microsoft.graph.accessReviewInstanceDecisionItemServicePrincipalResource': return new AccessReviewInstanceDecisionItemServicePrincipalResource(); } } @@ -65,6 +66,18 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } + /** + * Gets the description property value. The description property + * @return string|null + */ + public function getDescription(): ?string { + $val = $this->getBackingStore()->get('description'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'description'"); + } + /** * Gets the displayName property value. Display name of the resource * @return string|null @@ -84,6 +97,7 @@ public function getDisplayName(): ?string { public function getFieldDeserializers(): array { $o = $this; return [ + 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'id' => fn(ParseNode $n) => $o->setId($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), @@ -132,6 +146,7 @@ public function getType(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('description', $this->getDescription()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('id', $this->getId()); $writer->writeStringValue('@odata.type', $this->getOdataType()); @@ -155,6 +170,14 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } + /** + * Sets the description property value. The description property + * @param string|null $value Value to set for the description property. + */ + public function setDescription(?string $value): void { + $this->getBackingStore()->set('description', $value); + } + /** * Sets the displayName property value. Display name of the resource * @param string|null $value Value to set for the displayName property. diff --git a/src/Generated/Models/AgentIdentity.php b/src/Generated/Models/AgentIdentity.php index 9659cb8224d..cb7587a67d9 100644 --- a/src/Generated/Models/AgentIdentity.php +++ b/src/Generated/Models/AgentIdentity.php @@ -60,10 +60,32 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'agentIdentityBlueprintId' => fn(ParseNode $n) => $o->setAgentIdentityBlueprintId($n->getStringValue()), 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'managerApplications' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setManagerApplications($val); + }, 'sponsors' => fn(ParseNode $n) => $o->setSponsors($n->getCollectionOfObjectValues([DirectoryObject::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the managerApplications property value. The collection of application IDs designated as managers of this agent identity's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change — they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. + * @return array|null + */ + public function getManagerApplications(): ?array { + $val = $this->getBackingStore()->get('managerApplications'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'managerApplications'"); + } + /** * Gets the sponsors property value. The sponsors for this agent identity. * @return array|null @@ -105,6 +127,14 @@ public function setCreatedDateTime(?DateTime $value): void { $this->getBackingStore()->set('createdDateTime', $value); } + /** + * Sets the managerApplications property value. The collection of application IDs designated as managers of this agent identity's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change — they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. + * @param array|null $value Value to set for the managerApplications property. + */ + public function setManagerApplications(?array $value): void { + $this->getBackingStore()->set('managerApplications', $value); + } + /** * Sets the sponsors property value. The sponsors for this agent identity. * @param array|null $value Value to set for the sponsors property. diff --git a/src/Generated/Models/AgentIdentityBlueprintPrincipal.php b/src/Generated/Models/AgentIdentityBlueprintPrincipal.php index fbef7e70b64..41f17e4a8de 100644 --- a/src/Generated/Models/AgentIdentityBlueprintPrincipal.php +++ b/src/Generated/Models/AgentIdentityBlueprintPrincipal.php @@ -33,10 +33,32 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Agent public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'managerApplications' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setManagerApplications($val); + }, 'sponsors' => fn(ParseNode $n) => $o->setSponsors($n->getCollectionOfObjectValues([DirectoryObject::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the managerApplications property value. The collection of application IDs designated as managers of this agent identity blueprint principal's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change — they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. + * @return array|null + */ + public function getManagerApplications(): ?array { + $val = $this->getBackingStore()->get('managerApplications'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'managerApplications'"); + } + /** * Gets the sponsors property value. The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances. * @return array|null @@ -60,6 +82,14 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('sponsors', $this->getSponsors()); } + /** + * Sets the managerApplications property value. The collection of application IDs designated as managers of this agent identity blueprint principal's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change — they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. + * @param array|null $value Value to set for the managerApplications property. + */ + public function setManagerApplications(?array $value): void { + $this->getBackingStore()->set('managerApplications', $value); + } + /** * Sets the sponsors property value. The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances. * @param array|null $value Value to set for the sponsors property. diff --git a/src/Generated/Models/Application.php b/src/Generated/Models/Application.php index d9b33eed5b2..4307ff4989a 100644 --- a/src/Generated/Models/Application.php +++ b/src/Generated/Models/Application.php @@ -114,7 +114,7 @@ public function getAppRoles(): ?array { } /** - * Gets the authenticationBehaviors property value. The authenticationBehaviors property + * Gets the authenticationBehaviors property value. The set of breaking change behaviors related to token issuance that are configured for the application. Authentication behaviors are unset by default (null) and must be explicitly enabled or disabled. Nullable. Returned only on $select. Requires $select to retrieve. For more information about authentication behaviors, see Manage application authenticationBehaviors. * @return AuthenticationBehaviors|null */ public function getAuthenticationBehaviors(): ?AuthenticationBehaviors { @@ -867,7 +867,7 @@ public function setAppRoles(?array $value): void { } /** - * Sets the authenticationBehaviors property value. The authenticationBehaviors property + * Sets the authenticationBehaviors property value. The set of breaking change behaviors related to token issuance that are configured for the application. Authentication behaviors are unset by default (null) and must be explicitly enabled or disabled. Nullable. Returned only on $select. Requires $select to retrieve. For more information about authentication behaviors, see Manage application authenticationBehaviors. * @param AuthenticationBehaviors|null $value Value to set for the authenticationBehaviors property. */ public function setAuthenticationBehaviors(?AuthenticationBehaviors $value): void { diff --git a/src/Generated/Models/ApplicationPermissionType.php b/src/Generated/Models/ApplicationPermissionType.php new file mode 100644 index 00000000000..7d51950a21d --- /dev/null +++ b/src/Generated/Models/ApplicationPermissionType.php @@ -0,0 +1,11 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ApplicationResourcePermission + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplicationResourcePermission { + return new ApplicationResourcePermission(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'id' => fn(ParseNode $n) => $o->setId($n->getStringValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'type' => fn(ParseNode $n) => $o->setType($n->getEnumValue(ApplicationPermissionType::class)), + ]; + } + + /** + * Gets the id property value. The id property + * @return string|null + */ + public function getId(): ?string { + $val = $this->getBackingStore()->get('id'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'id'"); + } + + /** + * Gets the name property value. The name property + * @return string|null + */ + public function getName(): ?string { + $val = $this->getBackingStore()->get('name'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the type property value. The type property + * @return ApplicationPermissionType|null + */ + public function getType(): ?ApplicationPermissionType { + $val = $this->getBackingStore()->get('type'); + if (is_null($val) || $val instanceof ApplicationPermissionType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('id', $this->getId()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeEnumValue('type', $this->getType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the id property value. The id property + * @param string|null $value Value to set for the id property. + */ + public function setId(?string $value): void { + $this->getBackingStore()->set('id', $value); + } + + /** + * Sets the name property value. The name property + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the type property value. The type property + * @param ApplicationPermissionType|null $value Value to set for the type property. + */ + public function setType(?ApplicationPermissionType $value): void { + $this->getBackingStore()->set('type', $value); + } + +} diff --git a/src/Generated/Models/ApplicationsRequiredResourceAccess.php b/src/Generated/Models/ApplicationsRequiredResourceAccess.php new file mode 100644 index 00000000000..83e2e51089e --- /dev/null +++ b/src/Generated/Models/ApplicationsRequiredResourceAccess.php @@ -0,0 +1,161 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ApplicationsRequiredResourceAccess + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ApplicationsRequiredResourceAccess { + return new ApplicationsRequiredResourceAccess(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'permissions' => fn(ParseNode $n) => $o->setPermissions($n->getCollectionOfObjectValues([ApplicationResourcePermission::class, 'createFromDiscriminatorValue'])), + 'resourceAppId' => fn(ParseNode $n) => $o->setResourceAppId($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the permissions property value. The permissions property + * @return array|null + */ + public function getPermissions(): ?array { + $val = $this->getBackingStore()->get('permissions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ApplicationResourcePermission::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'permissions'"); + } + + /** + * Gets the resourceAppId property value. The resourceAppId property + * @return string|null + */ + public function getResourceAppId(): ?string { + $val = $this->getBackingStore()->get('resourceAppId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'resourceAppId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeCollectionOfObjectValues('permissions', $this->getPermissions()); + $writer->writeStringValue('resourceAppId', $this->getResourceAppId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the permissions property value. The permissions property + * @param array|null $value Value to set for the permissions property. + */ + public function setPermissions(?array $value): void { + $this->getBackingStore()->set('permissions', $value); + } + + /** + * Sets the resourceAppId property value. The resourceAppId property + * @param string|null $value Value to set for the resourceAppId property. + */ + public function setResourceAppId(?string $value): void { + $this->getBackingStore()->set('resourceAppId', $value); + } + +} diff --git a/src/Generated/Models/AuthenticationBehaviors.php b/src/Generated/Models/AuthenticationBehaviors.php index 48b81283266..82b24e42cae 100644 --- a/src/Generated/Models/AuthenticationBehaviors.php +++ b/src/Generated/Models/AuthenticationBehaviors.php @@ -56,7 +56,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the blockAzureADGraphAccess property value. The blockAzureADGraphAccess property + * Gets the blockAzureADGraphAccess property value. If false, allows the app to have extended access to Azure AD Graph until August 31, 2025 when Azure AD Graph is fully retired. For more information on Azure AD retirement updates, see June 2024 update on Azure AD Graph API retirement. * @return bool|null */ public function getBlockAzureADGraphAccess(): ?bool { @@ -67,6 +67,18 @@ public function getBlockAzureADGraphAccess(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'blockAzureADGraphAccess'"); } + /** + * Gets the coopEnforcement property value. Indicates whether Cross-Origin-Opener-Policy (COOP) headers are enforced on browser-based authentication responses for the application. Set to true to enable enforcement, false to temporarily suppress enforcement, or null to use the service default. For how-to guidance, see Control Cross-Origin-Opener-Policy enforcement. + * @return bool|null + */ + public function getCoopEnforcement(): ?bool { + $val = $this->getBackingStore()->get('coopEnforcement'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'coopEnforcement'"); + } + /** * The deserialization information for the current model * @return array @@ -75,6 +87,7 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'blockAzureADGraphAccess' => fn(ParseNode $n) => $o->setBlockAzureADGraphAccess($n->getBooleanValue()), + 'coopEnforcement' => fn(ParseNode $n) => $o->setCoopEnforcement($n->getBooleanValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'removeUnverifiedEmailClaim' => fn(ParseNode $n) => $o->setRemoveUnverifiedEmailClaim($n->getBooleanValue()), 'requireClientServicePrincipal' => fn(ParseNode $n) => $o->setRequireClientServicePrincipal($n->getBooleanValue()), @@ -94,7 +107,7 @@ public function getOdataType(): ?string { } /** - * Gets the removeUnverifiedEmailClaim property value. The removeUnverifiedEmailClaim property + * Gets the removeUnverifiedEmailClaim property value. If true, removes the email claim from tokens sent to an application when the email address's domain can't be verified. * @return bool|null */ public function getRemoveUnverifiedEmailClaim(): ?bool { @@ -106,7 +119,7 @@ public function getRemoveUnverifiedEmailClaim(): ?bool { } /** - * Gets the requireClientServicePrincipal property value. The requireClientServicePrincipal property + * Gets the requireClientServicePrincipal property value. If true, requires multitenant applications to have a service principal in the resource tenant as part of authorization checks before they're granted access tokens. This property is only modifiable for multitenant resource applications that rely on access from clients without a service principal and had this behavior as set to false by Microsoft. Tenant administrators should respond to security advisories sent through Azure Health Service events and the Microsoft 365 message center. * @return bool|null */ public function getRequireClientServicePrincipal(): ?bool { @@ -123,6 +136,7 @@ public function getRequireClientServicePrincipal(): ?bool { */ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('blockAzureADGraphAccess', $this->getBlockAzureADGraphAccess()); + $writer->writeBooleanValue('coopEnforcement', $this->getCoopEnforcement()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeBooleanValue('removeUnverifiedEmailClaim', $this->getRemoveUnverifiedEmailClaim()); $writer->writeBooleanValue('requireClientServicePrincipal', $this->getRequireClientServicePrincipal()); @@ -146,13 +160,21 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the blockAzureADGraphAccess property value. The blockAzureADGraphAccess property + * Sets the blockAzureADGraphAccess property value. If false, allows the app to have extended access to Azure AD Graph until August 31, 2025 when Azure AD Graph is fully retired. For more information on Azure AD retirement updates, see June 2024 update on Azure AD Graph API retirement. * @param bool|null $value Value to set for the blockAzureADGraphAccess property. */ public function setBlockAzureADGraphAccess(?bool $value): void { $this->getBackingStore()->set('blockAzureADGraphAccess', $value); } + /** + * Sets the coopEnforcement property value. Indicates whether Cross-Origin-Opener-Policy (COOP) headers are enforced on browser-based authentication responses for the application. Set to true to enable enforcement, false to temporarily suppress enforcement, or null to use the service default. For how-to guidance, see Control Cross-Origin-Opener-Policy enforcement. + * @param bool|null $value Value to set for the coopEnforcement property. + */ + public function setCoopEnforcement(?bool $value): void { + $this->getBackingStore()->set('coopEnforcement', $value); + } + /** * Sets the @odata.type property value. The OdataType property * @param string|null $value Value to set for the @odata.type property. @@ -162,7 +184,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the removeUnverifiedEmailClaim property value. The removeUnverifiedEmailClaim property + * Sets the removeUnverifiedEmailClaim property value. If true, removes the email claim from tokens sent to an application when the email address's domain can't be verified. * @param bool|null $value Value to set for the removeUnverifiedEmailClaim property. */ public function setRemoveUnverifiedEmailClaim(?bool $value): void { @@ -170,7 +192,7 @@ public function setRemoveUnverifiedEmailClaim(?bool $value): void { } /** - * Sets the requireClientServicePrincipal property value. The requireClientServicePrincipal property + * Sets the requireClientServicePrincipal property value. If true, requires multitenant applications to have a service principal in the resource tenant as part of authorization checks before they're granted access tokens. This property is only modifiable for multitenant resource applications that rely on access from clients without a service principal and had this behavior as set to false by Microsoft. Tenant administrators should respond to security advisories sent through Azure Health Service events and the Microsoft 365 message center. * @param bool|null $value Value to set for the requireClientServicePrincipal property. */ public function setRequireClientServicePrincipal(?bool $value): void { diff --git a/src/Generated/Models/B2BRegistrationMetricsBase.php b/src/Generated/Models/B2BRegistrationMetricsBase.php new file mode 100644 index 00000000000..3d653658307 --- /dev/null +++ b/src/Generated/Models/B2BRegistrationMetricsBase.php @@ -0,0 +1,120 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.b2BRegistrationMetricsInitial': return new B2BRegistrationMetricsInitial(); + case '#microsoft.graph.b2BRegistrationMetricsRecent': return new B2BRegistrationMetricsRecent(); + } + } + return new B2BRegistrationMetricsBase(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'inboundTotalUsers' => fn(ParseNode $n) => $o->setInboundTotalUsers($n->getStringValue()), + 'outboundTotalUsers' => fn(ParseNode $n) => $o->setOutboundTotalUsers($n->getStringValue()), + 'watermarkDateTime' => fn(ParseNode $n) => $o->setWatermarkDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the inboundTotalUsers property value. The inboundTotalUsers property + * @return string|null + */ + public function getInboundTotalUsers(): ?string { + $val = $this->getBackingStore()->get('inboundTotalUsers'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'inboundTotalUsers'"); + } + + /** + * Gets the outboundTotalUsers property value. The outboundTotalUsers property + * @return string|null + */ + public function getOutboundTotalUsers(): ?string { + $val = $this->getBackingStore()->get('outboundTotalUsers'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'outboundTotalUsers'"); + } + + /** + * Gets the watermarkDateTime property value. The watermarkDateTime property + * @return DateTime|null + */ + public function getWatermarkDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('watermarkDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'watermarkDateTime'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('inboundTotalUsers', $this->getInboundTotalUsers()); + $writer->writeStringValue('outboundTotalUsers', $this->getOutboundTotalUsers()); + $writer->writeDateTimeValue('watermarkDateTime', $this->getWatermarkDateTime()); + } + + /** + * Sets the inboundTotalUsers property value. The inboundTotalUsers property + * @param string|null $value Value to set for the inboundTotalUsers property. + */ + public function setInboundTotalUsers(?string $value): void { + $this->getBackingStore()->set('inboundTotalUsers', $value); + } + + /** + * Sets the outboundTotalUsers property value. The outboundTotalUsers property + * @param string|null $value Value to set for the outboundTotalUsers property. + */ + public function setOutboundTotalUsers(?string $value): void { + $this->getBackingStore()->set('outboundTotalUsers', $value); + } + + /** + * Sets the watermarkDateTime property value. The watermarkDateTime property + * @param DateTime|null $value Value to set for the watermarkDateTime property. + */ + public function setWatermarkDateTime(?DateTime $value): void { + $this->getBackingStore()->set('watermarkDateTime', $value); + } + +} diff --git a/src/Generated/Models/B2BRegistrationMetricsInitial.php b/src/Generated/Models/B2BRegistrationMetricsInitial.php new file mode 100644 index 00000000000..2e5f33b7491 --- /dev/null +++ b/src/Generated/Models/B2BRegistrationMetricsInitial.php @@ -0,0 +1,69 @@ +setOdataType('#microsoft.graph.b2BRegistrationMetricsInitial'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return B2BRegistrationMetricsInitial + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): B2BRegistrationMetricsInitial { + return new B2BRegistrationMetricsInitial(); + } + + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + +} diff --git a/src/Generated/Models/B2BRegistrationMetricsRecent.php b/src/Generated/Models/B2BRegistrationMetricsRecent.php new file mode 100644 index 00000000000..b5aebb5d2a2 --- /dev/null +++ b/src/Generated/Models/B2BRegistrationMetricsRecent.php @@ -0,0 +1,69 @@ +setOdataType('#microsoft.graph.b2BRegistrationMetricsRecent'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return B2BRegistrationMetricsRecent + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): B2BRegistrationMetricsRecent { + return new B2BRegistrationMetricsRecent(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'updateDateTime' => fn(ParseNode $n) => $o->setUpdateDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the updateDateTime property value. The updateDateTime property + * @return DateTime|null + */ + public function getUpdateDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('updateDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'updateDateTime'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('updateDateTime', $this->getUpdateDateTime()); + } + + /** + * Sets the updateDateTime property value. The updateDateTime property + * @param DateTime|null $value Value to set for the updateDateTime property. + */ + public function setUpdateDateTime(?DateTime $value): void { + $this->getBackingStore()->set('updateDateTime', $value); + } + +} diff --git a/src/Generated/Models/B2BSignInActivityMetrics.php b/src/Generated/Models/B2BSignInActivityMetrics.php new file mode 100644 index 00000000000..3b6f6f3d454 --- /dev/null +++ b/src/Generated/Models/B2BSignInActivityMetrics.php @@ -0,0 +1,89 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'initial' => fn(ParseNode $n) => $o->setInitial($n->getObjectValue([B2BSignInActivityMetricsInitial::class, 'createFromDiscriminatorValue'])), + 'recent' => fn(ParseNode $n) => $o->setRecent($n->getObjectValue([B2BSignInActivityMetricsRecent::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the initial property value. The initial property + * @return B2BSignInActivityMetricsInitial|null + */ + public function getInitial(): ?B2BSignInActivityMetricsInitial { + $val = $this->getBackingStore()->get('initial'); + if (is_null($val) || $val instanceof B2BSignInActivityMetricsInitial) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'initial'"); + } + + /** + * Gets the recent property value. The recent property + * @return B2BSignInActivityMetricsRecent|null + */ + public function getRecent(): ?B2BSignInActivityMetricsRecent { + $val = $this->getBackingStore()->get('recent'); + if (is_null($val) || $val instanceof B2BSignInActivityMetricsRecent) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recent'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('initial', $this->getInitial()); + $writer->writeObjectValue('recent', $this->getRecent()); + } + + /** + * Sets the initial property value. The initial property + * @param B2BSignInActivityMetricsInitial|null $value Value to set for the initial property. + */ + public function setInitial(?B2BSignInActivityMetricsInitial $value): void { + $this->getBackingStore()->set('initial', $value); + } + + /** + * Sets the recent property value. The recent property + * @param B2BSignInActivityMetricsRecent|null $value Value to set for the recent property. + */ + public function setRecent(?B2BSignInActivityMetricsRecent $value): void { + $this->getBackingStore()->set('recent', $value); + } + +} diff --git a/src/Generated/Models/B2BSignInActivityMetricsBase.php b/src/Generated/Models/B2BSignInActivityMetricsBase.php new file mode 100644 index 00000000000..811019c5be4 --- /dev/null +++ b/src/Generated/Models/B2BSignInActivityMetricsBase.php @@ -0,0 +1,164 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.b2BSignInActivityMetricsInitial': return new B2BSignInActivityMetricsInitial(); + case '#microsoft.graph.b2BSignInActivityMetricsRecent': return new B2BSignInActivityMetricsRecent(); + } + } + return new B2BSignInActivityMetricsBase(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'inboundMonthlyTotalApplications' => fn(ParseNode $n) => $o->setInboundMonthlyTotalApplications($n->getStringValue()), + 'inboundMonthlyTotalUsers' => fn(ParseNode $n) => $o->setInboundMonthlyTotalUsers($n->getStringValue()), + 'outboundMonthlyTotalApplications' => fn(ParseNode $n) => $o->setOutboundMonthlyTotalApplications($n->getStringValue()), + 'outboundMonthlyTotalUsers' => fn(ParseNode $n) => $o->setOutboundMonthlyTotalUsers($n->getStringValue()), + 'watermarkDateTime' => fn(ParseNode $n) => $o->setWatermarkDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property + * @return string|null + */ + public function getInboundMonthlyTotalApplications(): ?string { + $val = $this->getBackingStore()->get('inboundMonthlyTotalApplications'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'inboundMonthlyTotalApplications'"); + } + + /** + * Gets the inboundMonthlyTotalUsers property value. The inboundMonthlyTotalUsers property + * @return string|null + */ + public function getInboundMonthlyTotalUsers(): ?string { + $val = $this->getBackingStore()->get('inboundMonthlyTotalUsers'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'inboundMonthlyTotalUsers'"); + } + + /** + * Gets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property + * @return string|null + */ + public function getOutboundMonthlyTotalApplications(): ?string { + $val = $this->getBackingStore()->get('outboundMonthlyTotalApplications'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'outboundMonthlyTotalApplications'"); + } + + /** + * Gets the outboundMonthlyTotalUsers property value. The outboundMonthlyTotalUsers property + * @return string|null + */ + public function getOutboundMonthlyTotalUsers(): ?string { + $val = $this->getBackingStore()->get('outboundMonthlyTotalUsers'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'outboundMonthlyTotalUsers'"); + } + + /** + * Gets the watermarkDateTime property value. The watermarkDateTime property + * @return DateTime|null + */ + public function getWatermarkDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('watermarkDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'watermarkDateTime'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('inboundMonthlyTotalApplications', $this->getInboundMonthlyTotalApplications()); + $writer->writeStringValue('inboundMonthlyTotalUsers', $this->getInboundMonthlyTotalUsers()); + $writer->writeStringValue('outboundMonthlyTotalApplications', $this->getOutboundMonthlyTotalApplications()); + $writer->writeStringValue('outboundMonthlyTotalUsers', $this->getOutboundMonthlyTotalUsers()); + $writer->writeDateTimeValue('watermarkDateTime', $this->getWatermarkDateTime()); + } + + /** + * Sets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property + * @param string|null $value Value to set for the inboundMonthlyTotalApplications property. + */ + public function setInboundMonthlyTotalApplications(?string $value): void { + $this->getBackingStore()->set('inboundMonthlyTotalApplications', $value); + } + + /** + * Sets the inboundMonthlyTotalUsers property value. The inboundMonthlyTotalUsers property + * @param string|null $value Value to set for the inboundMonthlyTotalUsers property. + */ + public function setInboundMonthlyTotalUsers(?string $value): void { + $this->getBackingStore()->set('inboundMonthlyTotalUsers', $value); + } + + /** + * Sets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property + * @param string|null $value Value to set for the outboundMonthlyTotalApplications property. + */ + public function setOutboundMonthlyTotalApplications(?string $value): void { + $this->getBackingStore()->set('outboundMonthlyTotalApplications', $value); + } + + /** + * Sets the outboundMonthlyTotalUsers property value. The outboundMonthlyTotalUsers property + * @param string|null $value Value to set for the outboundMonthlyTotalUsers property. + */ + public function setOutboundMonthlyTotalUsers(?string $value): void { + $this->getBackingStore()->set('outboundMonthlyTotalUsers', $value); + } + + /** + * Sets the watermarkDateTime property value. The watermarkDateTime property + * @param DateTime|null $value Value to set for the watermarkDateTime property. + */ + public function setWatermarkDateTime(?DateTime $value): void { + $this->getBackingStore()->set('watermarkDateTime', $value); + } + +} diff --git a/src/Generated/Models/B2BSignInActivityMetricsInitial.php b/src/Generated/Models/B2BSignInActivityMetricsInitial.php new file mode 100644 index 00000000000..265056148d3 --- /dev/null +++ b/src/Generated/Models/B2BSignInActivityMetricsInitial.php @@ -0,0 +1,69 @@ +setOdataType('#microsoft.graph.b2BSignInActivityMetricsInitial'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return B2BSignInActivityMetricsInitial + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): B2BSignInActivityMetricsInitial { + return new B2BSignInActivityMetricsInitial(); + } + + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + +} diff --git a/src/Generated/Models/B2BSignInActivityMetricsRecent.php b/src/Generated/Models/B2BSignInActivityMetricsRecent.php new file mode 100644 index 00000000000..7ea08e39389 --- /dev/null +++ b/src/Generated/Models/B2BSignInActivityMetricsRecent.php @@ -0,0 +1,69 @@ +setOdataType('#microsoft.graph.b2BSignInActivityMetricsRecent'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return B2BSignInActivityMetricsRecent + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): B2BSignInActivityMetricsRecent { + return new B2BSignInActivityMetricsRecent(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'updateDateTime' => fn(ParseNode $n) => $o->setUpdateDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the updateDateTime property value. The updateDateTime property + * @return DateTime|null + */ + public function getUpdateDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('updateDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'updateDateTime'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('updateDateTime', $this->getUpdateDateTime()); + } + + /** + * Sets the updateDateTime property value. The updateDateTime property + * @param DateTime|null $value Value to set for the updateDateTime property. + */ + public function setUpdateDateTime(?DateTime $value): void { + $this->getBackingStore()->set('updateDateTime', $value); + } + +} diff --git a/src/Generated/Models/B2bRegistrationMetrics.php b/src/Generated/Models/B2bRegistrationMetrics.php new file mode 100644 index 00000000000..0917ce77246 --- /dev/null +++ b/src/Generated/Models/B2bRegistrationMetrics.php @@ -0,0 +1,89 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'initial' => fn(ParseNode $n) => $o->setInitial($n->getObjectValue([B2BRegistrationMetricsInitial::class, 'createFromDiscriminatorValue'])), + 'recent' => fn(ParseNode $n) => $o->setRecent($n->getObjectValue([B2BRegistrationMetricsRecent::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the initial property value. The initial property + * @return B2BRegistrationMetricsInitial|null + */ + public function getInitial(): ?B2BRegistrationMetricsInitial { + $val = $this->getBackingStore()->get('initial'); + if (is_null($val) || $val instanceof B2BRegistrationMetricsInitial) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'initial'"); + } + + /** + * Gets the recent property value. The recent property + * @return B2BRegistrationMetricsRecent|null + */ + public function getRecent(): ?B2BRegistrationMetricsRecent { + $val = $this->getBackingStore()->get('recent'); + if (is_null($val) || $val instanceof B2BRegistrationMetricsRecent) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recent'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('initial', $this->getInitial()); + $writer->writeObjectValue('recent', $this->getRecent()); + } + + /** + * Sets the initial property value. The initial property + * @param B2BRegistrationMetricsInitial|null $value Value to set for the initial property. + */ + public function setInitial(?B2BRegistrationMetricsInitial $value): void { + $this->getBackingStore()->set('initial', $value); + } + + /** + * Sets the recent property value. The recent property + * @param B2BRegistrationMetricsRecent|null $value Value to set for the recent property. + */ + public function setRecent(?B2BRegistrationMetricsRecent $value): void { + $this->getBackingStore()->set('recent', $value); + } + +} diff --git a/src/Generated/Models/BillingMetrics.php b/src/Generated/Models/BillingMetrics.php new file mode 100644 index 00000000000..9efe4d1a977 --- /dev/null +++ b/src/Generated/Models/BillingMetrics.php @@ -0,0 +1,89 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'initial' => fn(ParseNode $n) => $o->setInitial($n->getObjectValue([BillingMetricsInitial::class, 'createFromDiscriminatorValue'])), + 'recent' => fn(ParseNode $n) => $o->setRecent($n->getObjectValue([BillingMetricsRecent::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the initial property value. The initial property + * @return BillingMetricsInitial|null + */ + public function getInitial(): ?BillingMetricsInitial { + $val = $this->getBackingStore()->get('initial'); + if (is_null($val) || $val instanceof BillingMetricsInitial) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'initial'"); + } + + /** + * Gets the recent property value. The recent property + * @return BillingMetricsRecent|null + */ + public function getRecent(): ?BillingMetricsRecent { + $val = $this->getBackingStore()->get('recent'); + if (is_null($val) || $val instanceof BillingMetricsRecent) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recent'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('initial', $this->getInitial()); + $writer->writeObjectValue('recent', $this->getRecent()); + } + + /** + * Sets the initial property value. The initial property + * @param BillingMetricsInitial|null $value Value to set for the initial property. + */ + public function setInitial(?BillingMetricsInitial $value): void { + $this->getBackingStore()->set('initial', $value); + } + + /** + * Sets the recent property value. The recent property + * @param BillingMetricsRecent|null $value Value to set for the recent property. + */ + public function setRecent(?BillingMetricsRecent $value): void { + $this->getBackingStore()->set('recent', $value); + } + +} diff --git a/src/Generated/Models/BillingMetricsBase.php b/src/Generated/Models/BillingMetricsBase.php new file mode 100644 index 00000000000..bafd452ce26 --- /dev/null +++ b/src/Generated/Models/BillingMetricsBase.php @@ -0,0 +1,240 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.billingMetricsInitial': return new BillingMetricsInitial(); + case '#microsoft.graph.billingMetricsRecent': return new BillingMetricsRecent(); + } + } + return new BillingMetricsBase(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'foreignAssociatedTenantBillingManagementActiveCount' => fn(ParseNode $n) => $o->setForeignAssociatedTenantBillingManagementActiveCount($n->getStringValue()), + 'foreignAssociatedTenantCount' => fn(ParseNode $n) => $o->setForeignAssociatedTenantCount($n->getStringValue()), + 'foreignAssociatedTenantProvisioningActiveCount' => fn(ParseNode $n) => $o->setForeignAssociatedTenantProvisioningActiveCount($n->getStringValue()), + 'localAssociatedTenantBillingManagementActiveCount' => fn(ParseNode $n) => $o->setLocalAssociatedTenantBillingManagementActiveCount($n->getStringValue()), + 'localAssociatedTenantCount' => fn(ParseNode $n) => $o->setLocalAssociatedTenantCount($n->getStringValue()), + 'localAssociatedTenantIds' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setLocalAssociatedTenantIds($val); + }, + 'localAssociatedTenantProvisioningActiveCount' => fn(ParseNode $n) => $o->setLocalAssociatedTenantProvisioningActiveCount($n->getStringValue()), + 'watermarkDateTime' => fn(ParseNode $n) => $o->setWatermarkDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the foreignAssociatedTenantBillingManagementActiveCount property value. The foreignAssociatedTenantBillingManagementActiveCount property + * @return string|null + */ + public function getForeignAssociatedTenantBillingManagementActiveCount(): ?string { + $val = $this->getBackingStore()->get('foreignAssociatedTenantBillingManagementActiveCount'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'foreignAssociatedTenantBillingManagementActiveCount'"); + } + + /** + * Gets the foreignAssociatedTenantCount property value. The foreignAssociatedTenantCount property + * @return string|null + */ + public function getForeignAssociatedTenantCount(): ?string { + $val = $this->getBackingStore()->get('foreignAssociatedTenantCount'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'foreignAssociatedTenantCount'"); + } + + /** + * Gets the foreignAssociatedTenantProvisioningActiveCount property value. The foreignAssociatedTenantProvisioningActiveCount property + * @return string|null + */ + public function getForeignAssociatedTenantProvisioningActiveCount(): ?string { + $val = $this->getBackingStore()->get('foreignAssociatedTenantProvisioningActiveCount'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'foreignAssociatedTenantProvisioningActiveCount'"); + } + + /** + * Gets the localAssociatedTenantBillingManagementActiveCount property value. The localAssociatedTenantBillingManagementActiveCount property + * @return string|null + */ + public function getLocalAssociatedTenantBillingManagementActiveCount(): ?string { + $val = $this->getBackingStore()->get('localAssociatedTenantBillingManagementActiveCount'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'localAssociatedTenantBillingManagementActiveCount'"); + } + + /** + * Gets the localAssociatedTenantCount property value. The localAssociatedTenantCount property + * @return string|null + */ + public function getLocalAssociatedTenantCount(): ?string { + $val = $this->getBackingStore()->get('localAssociatedTenantCount'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'localAssociatedTenantCount'"); + } + + /** + * Gets the localAssociatedTenantIds property value. The localAssociatedTenantIds property + * @return array|null + */ + public function getLocalAssociatedTenantIds(): ?array { + $val = $this->getBackingStore()->get('localAssociatedTenantIds'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'localAssociatedTenantIds'"); + } + + /** + * Gets the localAssociatedTenantProvisioningActiveCount property value. The localAssociatedTenantProvisioningActiveCount property + * @return string|null + */ + public function getLocalAssociatedTenantProvisioningActiveCount(): ?string { + $val = $this->getBackingStore()->get('localAssociatedTenantProvisioningActiveCount'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'localAssociatedTenantProvisioningActiveCount'"); + } + + /** + * Gets the watermarkDateTime property value. The watermarkDateTime property + * @return DateTime|null + */ + public function getWatermarkDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('watermarkDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'watermarkDateTime'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('foreignAssociatedTenantBillingManagementActiveCount', $this->getForeignAssociatedTenantBillingManagementActiveCount()); + $writer->writeStringValue('foreignAssociatedTenantCount', $this->getForeignAssociatedTenantCount()); + $writer->writeStringValue('foreignAssociatedTenantProvisioningActiveCount', $this->getForeignAssociatedTenantProvisioningActiveCount()); + $writer->writeStringValue('localAssociatedTenantBillingManagementActiveCount', $this->getLocalAssociatedTenantBillingManagementActiveCount()); + $writer->writeStringValue('localAssociatedTenantCount', $this->getLocalAssociatedTenantCount()); + $writer->writeCollectionOfPrimitiveValues('localAssociatedTenantIds', $this->getLocalAssociatedTenantIds()); + $writer->writeStringValue('localAssociatedTenantProvisioningActiveCount', $this->getLocalAssociatedTenantProvisioningActiveCount()); + $writer->writeDateTimeValue('watermarkDateTime', $this->getWatermarkDateTime()); + } + + /** + * Sets the foreignAssociatedTenantBillingManagementActiveCount property value. The foreignAssociatedTenantBillingManagementActiveCount property + * @param string|null $value Value to set for the foreignAssociatedTenantBillingManagementActiveCount property. + */ + public function setForeignAssociatedTenantBillingManagementActiveCount(?string $value): void { + $this->getBackingStore()->set('foreignAssociatedTenantBillingManagementActiveCount', $value); + } + + /** + * Sets the foreignAssociatedTenantCount property value. The foreignAssociatedTenantCount property + * @param string|null $value Value to set for the foreignAssociatedTenantCount property. + */ + public function setForeignAssociatedTenantCount(?string $value): void { + $this->getBackingStore()->set('foreignAssociatedTenantCount', $value); + } + + /** + * Sets the foreignAssociatedTenantProvisioningActiveCount property value. The foreignAssociatedTenantProvisioningActiveCount property + * @param string|null $value Value to set for the foreignAssociatedTenantProvisioningActiveCount property. + */ + public function setForeignAssociatedTenantProvisioningActiveCount(?string $value): void { + $this->getBackingStore()->set('foreignAssociatedTenantProvisioningActiveCount', $value); + } + + /** + * Sets the localAssociatedTenantBillingManagementActiveCount property value. The localAssociatedTenantBillingManagementActiveCount property + * @param string|null $value Value to set for the localAssociatedTenantBillingManagementActiveCount property. + */ + public function setLocalAssociatedTenantBillingManagementActiveCount(?string $value): void { + $this->getBackingStore()->set('localAssociatedTenantBillingManagementActiveCount', $value); + } + + /** + * Sets the localAssociatedTenantCount property value. The localAssociatedTenantCount property + * @param string|null $value Value to set for the localAssociatedTenantCount property. + */ + public function setLocalAssociatedTenantCount(?string $value): void { + $this->getBackingStore()->set('localAssociatedTenantCount', $value); + } + + /** + * Sets the localAssociatedTenantIds property value. The localAssociatedTenantIds property + * @param array|null $value Value to set for the localAssociatedTenantIds property. + */ + public function setLocalAssociatedTenantIds(?array $value): void { + $this->getBackingStore()->set('localAssociatedTenantIds', $value); + } + + /** + * Sets the localAssociatedTenantProvisioningActiveCount property value. The localAssociatedTenantProvisioningActiveCount property + * @param string|null $value Value to set for the localAssociatedTenantProvisioningActiveCount property. + */ + public function setLocalAssociatedTenantProvisioningActiveCount(?string $value): void { + $this->getBackingStore()->set('localAssociatedTenantProvisioningActiveCount', $value); + } + + /** + * Sets the watermarkDateTime property value. The watermarkDateTime property + * @param DateTime|null $value Value to set for the watermarkDateTime property. + */ + public function setWatermarkDateTime(?DateTime $value): void { + $this->getBackingStore()->set('watermarkDateTime', $value); + } + +} diff --git a/src/Generated/Models/BillingMetricsInitial.php b/src/Generated/Models/BillingMetricsInitial.php new file mode 100644 index 00000000000..51ed9d7dd9b --- /dev/null +++ b/src/Generated/Models/BillingMetricsInitial.php @@ -0,0 +1,68 @@ +getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + +} diff --git a/src/Generated/Models/BillingMetricsRecent.php b/src/Generated/Models/BillingMetricsRecent.php new file mode 100644 index 00000000000..95b1d22947f --- /dev/null +++ b/src/Generated/Models/BillingMetricsRecent.php @@ -0,0 +1,68 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'updateDateTime' => fn(ParseNode $n) => $o->setUpdateDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the updateDateTime property value. The updateDateTime property + * @return DateTime|null + */ + public function getUpdateDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('updateDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'updateDateTime'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('updateDateTime', $this->getUpdateDateTime()); + } + + /** + * Sets the updateDateTime property value. The updateDateTime property + * @param DateTime|null $value Value to set for the updateDateTime property. + */ + public function setUpdateDateTime(?DateTime $value): void { + $this->getBackingStore()->set('updateDateTime', $value); + } + +} diff --git a/src/Generated/Models/CloudCommunications.php b/src/Generated/Models/CloudCommunications.php index c50d8cdfa79..38a36866447 100644 --- a/src/Generated/Models/CloudCommunications.php +++ b/src/Generated/Models/CloudCommunications.php @@ -12,9 +12,6 @@ use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; use Microsoft\Kiota\Abstractions\Types\TypeUtils; -/** - * Represents a container that exposes navigation properties for cloud communications resources. -*/ class CloudCommunications implements AdditionalDataHolder, BackedModel, Parsable { /** diff --git a/src/Generated/Models/CopilotPackage.php b/src/Generated/Models/CopilotPackage.php index de0353142b2..2aa84029ce2 100644 --- a/src/Generated/Models/CopilotPackage.php +++ b/src/Generated/Models/CopilotPackage.php @@ -161,6 +161,8 @@ public function getFieldDeserializers(): array { 'ownerId' => fn(ParseNode $n) => $o->setOwnerId($n->getStringValue()), 'platform' => fn(ParseNode $n) => $o->setPlatform($n->getStringValue()), 'publisher' => fn(ParseNode $n) => $o->setPublisher($n->getStringValue()), + 'requestStatus' => fn(ParseNode $n) => $o->setRequestStatus($n->getEnumValue(CopilotPackageRequestStatus::class)), + 'requestType' => fn(ParseNode $n) => $o->setRequestType($n->getEnumValue(CopilotPackageRequestType::class)), 'shortDescription' => fn(ParseNode $n) => $o->setShortDescription($n->getStringValue()), 'supportedHosts' => function (ParseNode $n) { $val = $n->getCollectionOfPrimitiveValues(); @@ -260,6 +262,30 @@ public function getPublisher(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'publisher'"); } + /** + * Gets the requestStatus property value. The requestStatus property + * @return CopilotPackageRequestStatus|null + */ + public function getRequestStatus(): ?CopilotPackageRequestStatus { + $val = $this->getBackingStore()->get('requestStatus'); + if (is_null($val) || $val instanceof CopilotPackageRequestStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requestStatus'"); + } + + /** + * Gets the requestType property value. The requestType property + * @return CopilotPackageRequestType|null + */ + public function getRequestType(): ?CopilotPackageRequestType { + $val = $this->getBackingStore()->get('requestType'); + if (is_null($val) || $val instanceof CopilotPackageRequestType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requestType'"); + } + /** * Gets the shortDescription property value. The shortDescription property * @return string|null @@ -343,6 +369,8 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('ownerId', $this->getOwnerId()); $writer->writeStringValue('platform', $this->getPlatform()); $writer->writeStringValue('publisher', $this->getPublisher()); + $writer->writeEnumValue('requestStatus', $this->getRequestStatus()); + $writer->writeEnumValue('requestType', $this->getRequestType()); $writer->writeStringValue('shortDescription', $this->getShortDescription()); $writer->writeCollectionOfPrimitiveValues('supportedHosts', $this->getSupportedHosts()); $writer->writeEnumValue('type', $this->getType()); @@ -470,6 +498,22 @@ public function setPublisher(?string $value): void { $this->getBackingStore()->set('publisher', $value); } + /** + * Sets the requestStatus property value. The requestStatus property + * @param CopilotPackageRequestStatus|null $value Value to set for the requestStatus property. + */ + public function setRequestStatus(?CopilotPackageRequestStatus $value): void { + $this->getBackingStore()->set('requestStatus', $value); + } + + /** + * Sets the requestType property value. The requestType property + * @param CopilotPackageRequestType|null $value Value to set for the requestType property. + */ + public function setRequestType(?CopilotPackageRequestType $value): void { + $this->getBackingStore()->set('requestType', $value); + } + /** * Sets the shortDescription property value. The shortDescription property * @param string|null $value Value to set for the shortDescription property. diff --git a/src/Generated/Models/CopilotPackageRequestStatus.php b/src/Generated/Models/CopilotPackageRequestStatus.php new file mode 100644 index 00000000000..250a5700140 --- /dev/null +++ b/src/Generated/Models/CopilotPackageRequestStatus.php @@ -0,0 +1,12 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DelegatedAdministrationRoleAssignment + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DelegatedAdministrationRoleAssignment { + return new DelegatedAdministrationRoleAssignment(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'group' => fn(ParseNode $n) => $o->setGroup($n->getObjectValue([Group::class, 'createFromDiscriminatorValue'])), + 'groupDisplayName' => fn(ParseNode $n) => $o->setGroupDisplayName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'roleTemplates' => fn(ParseNode $n) => $o->setRoleTemplates($n->getCollectionOfObjectValues([RoleTemplate::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the group property value. The group property + * @return Group|null + */ + public function getGroup(): ?Group { + $val = $this->getBackingStore()->get('group'); + if (is_null($val) || $val instanceof Group) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'group'"); + } + + /** + * Gets the groupDisplayName property value. The groupDisplayName property + * @return string|null + */ + public function getGroupDisplayName(): ?string { + $val = $this->getBackingStore()->get('groupDisplayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'groupDisplayName'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the roleTemplates property value. The roleTemplates property + * @return array|null + */ + public function getRoleTemplates(): ?array { + $val = $this->getBackingStore()->get('roleTemplates'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, RoleTemplate::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'roleTemplates'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('group', $this->getGroup()); + $writer->writeStringValue('groupDisplayName', $this->getGroupDisplayName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeCollectionOfObjectValues('roleTemplates', $this->getRoleTemplates()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the group property value. The group property + * @param Group|null $value Value to set for the group property. + */ + public function setGroup(?Group $value): void { + $this->getBackingStore()->set('group', $value); + } + + /** + * Sets the groupDisplayName property value. The groupDisplayName property + * @param string|null $value Value to set for the groupDisplayName property. + */ + public function setGroupDisplayName(?string $value): void { + $this->getBackingStore()->set('groupDisplayName', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the roleTemplates property value. The roleTemplates property + * @param array|null $value Value to set for the roleTemplates property. + */ + public function setRoleTemplates(?array $value): void { + $this->getBackingStore()->set('roleTemplates', $value); + } + +} diff --git a/src/Generated/Models/DelegatedAdministrationRoleAssignmentSnapshot.php b/src/Generated/Models/DelegatedAdministrationRoleAssignmentSnapshot.php new file mode 100644 index 00000000000..640109c51d2 --- /dev/null +++ b/src/Generated/Models/DelegatedAdministrationRoleAssignmentSnapshot.php @@ -0,0 +1,183 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DelegatedAdministrationRoleAssignmentSnapshot + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DelegatedAdministrationRoleAssignmentSnapshot { + return new DelegatedAdministrationRoleAssignmentSnapshot(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'groupDisplayName' => fn(ParseNode $n) => $o->setGroupDisplayName($n->getStringValue()), + 'groupId' => fn(ParseNode $n) => $o->setGroupId($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'roleTemplates' => fn(ParseNode $n) => $o->setRoleTemplates($n->getCollectionOfObjectValues([RoleTemplate::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the groupDisplayName property value. The groupDisplayName property + * @return string|null + */ + public function getGroupDisplayName(): ?string { + $val = $this->getBackingStore()->get('groupDisplayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'groupDisplayName'"); + } + + /** + * Gets the groupId property value. The groupId property + * @return string|null + */ + public function getGroupId(): ?string { + $val = $this->getBackingStore()->get('groupId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'groupId'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the roleTemplates property value. The roleTemplates property + * @return array|null + */ + public function getRoleTemplates(): ?array { + $val = $this->getBackingStore()->get('roleTemplates'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, RoleTemplate::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'roleTemplates'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('groupDisplayName', $this->getGroupDisplayName()); + $writer->writeStringValue('groupId', $this->getGroupId()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeCollectionOfObjectValues('roleTemplates', $this->getRoleTemplates()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the groupDisplayName property value. The groupDisplayName property + * @param string|null $value Value to set for the groupDisplayName property. + */ + public function setGroupDisplayName(?string $value): void { + $this->getBackingStore()->set('groupDisplayName', $value); + } + + /** + * Sets the groupId property value. The groupId property + * @param string|null $value Value to set for the groupId property. + */ + public function setGroupId(?string $value): void { + $this->getBackingStore()->set('groupId', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the roleTemplates property value. The roleTemplates property + * @param array|null $value Value to set for the roleTemplates property. + */ + public function setRoleTemplates(?array $value): void { + $this->getBackingStore()->set('roleTemplates', $value); + } + +} diff --git a/src/Generated/Models/Directory.php b/src/Generated/Models/Directory.php index 0499756de3d..d50009c05b4 100644 --- a/src/Generated/Models/Directory.php +++ b/src/Generated/Models/Directory.php @@ -128,6 +128,7 @@ public function getFieldDeserializers(): array { 'recovery' => fn(ParseNode $n) => $o->setRecovery($n->getObjectValue([Recovery::class, 'createFromDiscriminatorValue'])), 'remoteTenantGroups' => fn(ParseNode $n) => $o->setRemoteTenantGroups($n->getCollectionOfObjectValues([RemoteTenantGroup::class, 'createFromDiscriminatorValue'])), 'subscriptions' => fn(ParseNode $n) => $o->setSubscriptions($n->getCollectionOfObjectValues([CompanySubscription::class, 'createFromDiscriminatorValue'])), + 'tenantGovernance' => fn(ParseNode $n) => $o->setTenantGovernance($n->getObjectValue([TenantGovernance::class, 'createFromDiscriminatorValue'])), ]); } @@ -197,6 +198,18 @@ public function getSubscriptions(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'subscriptions'"); } + /** + * Gets the tenantGovernance property value. The tenantGovernance property + * @return TenantGovernance|null + */ + public function getTenantGovernance(): ?TenantGovernance { + $val = $this->getBackingStore()->get('tenantGovernance'); + if (is_null($val) || $val instanceof TenantGovernance) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'tenantGovernance'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -214,6 +227,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('recovery', $this->getRecovery()); $writer->writeCollectionOfObjectValues('remoteTenantGroups', $this->getRemoteTenantGroups()); $writer->writeCollectionOfObjectValues('subscriptions', $this->getSubscriptions()); + $writer->writeObjectValue('tenantGovernance', $this->getTenantGovernance()); } /** @@ -304,4 +318,12 @@ public function setSubscriptions(?array $value): void { $this->getBackingStore()->set('subscriptions', $value); } + /** + * Sets the tenantGovernance property value. The tenantGovernance property + * @param TenantGovernance|null $value Value to set for the tenantGovernance property. + */ + public function setTenantGovernance(?TenantGovernance $value): void { + $this->getBackingStore()->set('tenantGovernance', $value); + } + } diff --git a/src/Generated/Models/DirectoryObject.php b/src/Generated/Models/DirectoryObject.php index 5cfc1cff5e4..b7bfafeed48 100644 --- a/src/Generated/Models/DirectoryObject.php +++ b/src/Generated/Models/DirectoryObject.php @@ -49,6 +49,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Direc case '#microsoft.graph.extensionProperty': return new ExtensionProperty(); case '#microsoft.graph.federatedTokenValidationPolicy': return new FederatedTokenValidationPolicy(); case '#microsoft.graph.group': return new Group(); + case '#microsoft.graph.groupResource': return new GroupResource(); case '#microsoft.graph.groupSettingTemplate': return new GroupSettingTemplate(); case '#microsoft.graph.homeRealmDiscoveryPolicy': return new HomeRealmDiscoveryPolicy(); case '#microsoft.graph.identitySecurityDefaultsEnforcementPolicy': return new IdentitySecurityDefaultsEnforcementPolicy(); diff --git a/src/Generated/Models/DlpAction.php b/src/Generated/Models/DlpAction.php index e4c559ff149..fb7cb9c3fcc 100644 --- a/src/Generated/Models/DlpAction.php +++ b/src/Generated/Models/DlpAction.php @@ -18,4 +18,5 @@ class DlpAction extends Enum { public const S_P_SHARING_NOTIFY_USER = "sPSharingNotifyUser"; public const S_P_SHARING_GENERATE_INCIDENT_REPORT = "sPSharingGenerateIncidentReport"; public const RESTRICT_WEB_GROUNDING = "restrictWebGrounding"; + public const POLICY_TIP = "policyTip"; } diff --git a/src/Generated/Models/DlpActionInfo.php b/src/Generated/Models/DlpActionInfo.php index ccb127d311b..121b1dbc82f 100644 --- a/src/Generated/Models/DlpActionInfo.php +++ b/src/Generated/Models/DlpActionInfo.php @@ -35,6 +35,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): DlpAc if ($mappingValueNode !== null) { $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { + case '#microsoft.graph.policyTipAction': return new PolicyTipAction(); case '#microsoft.graph.restrictAccessAction': return new RestrictAccessAction(); case '#microsoft.graph.restrictAccessActionBase': return new RestrictAccessActionBase(); } diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index 88f944e7a1b..acd0275c458 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -295,12 +295,24 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.authorizationPolicy': return new AuthorizationPolicy(); case '#microsoft.graph.availableAccessPackage': return new AvailableAccessPackage(); case '#microsoft.graph.azureCommunicationServicesUserConversationMember': return new AzureCommunicationServicesUserConversationMember(); + case '#microsoft.graph.b2bRegistrationMetrics': return new B2bRegistrationMetrics(); + case '#microsoft.graph.b2BRegistrationMetricsBase': return new B2BRegistrationMetricsBase(); + case '#microsoft.graph.b2BRegistrationMetricsInitial': return new B2BRegistrationMetricsInitial(); + case '#microsoft.graph.b2BRegistrationMetricsRecent': return new B2BRegistrationMetricsRecent(); + case '#microsoft.graph.b2BSignInActivityMetrics': return new B2BSignInActivityMetrics(); + case '#microsoft.graph.b2BSignInActivityMetricsBase': return new B2BSignInActivityMetricsBase(); + case '#microsoft.graph.b2BSignInActivityMetricsInitial': return new B2BSignInActivityMetricsInitial(); + case '#microsoft.graph.b2BSignInActivityMetricsRecent': return new B2BSignInActivityMetricsRecent(); case '#microsoft.graph.b2xIdentityUserFlow': return new B2xIdentityUserFlow(); case '#microsoft.graph.backupRestoreRoot': return new BackupRestoreRoot(); case '#microsoft.graph.baseItem': return new BaseItem(); case '#microsoft.graph.baseItemVersion': return new BaseItemVersion(); case '#microsoft.graph.baseMapFeature': return new BaseMapFeature(); case '#microsoft.graph.baseSitePage': return new BaseSitePage(); + case '#microsoft.graph.billingMetrics': return new BillingMetrics(); + case '#microsoft.graph.billingMetricsBase': return new BillingMetricsBase(); + case '#microsoft.graph.billingMetricsInitial': return new BillingMetricsInitial(); + case '#microsoft.graph.billingMetricsRecent': return new BillingMetricsRecent(); case '#microsoft.graph.bitlocker': return new Bitlocker(); case '#microsoft.graph.bitlockerRecoveryKey': return new BitlockerRecoveryKey(); case '#microsoft.graph.bookingAppointment': return new BookingAppointment(); @@ -594,12 +606,16 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.footprintMap': return new FootprintMap(); case '#microsoft.graph.fraudProtectionProvider': return new FraudProtectionProvider(); case '#microsoft.graph.governanceInsight': return new GovernanceInsight(); + case '#microsoft.graph.governanceInvitation': return new GovernanceInvitation(); + case '#microsoft.graph.governanceRelationship': return new GovernanceRelationship(); + case '#microsoft.graph.governanceRequest': return new GovernanceRequest(); case '#microsoft.graph.granularDriveRestoreArtifact': return new GranularDriveRestoreArtifact(); case '#microsoft.graph.granularMailboxRestoreArtifact': return new GranularMailboxRestoreArtifact(); case '#microsoft.graph.granularRestoreArtifactBase': return new GranularRestoreArtifactBase(); case '#microsoft.graph.granularSiteRestoreArtifact': return new GranularSiteRestoreArtifact(); case '#microsoft.graph.group': return new Group(); case '#microsoft.graph.groupLifecyclePolicy': return new GroupLifecyclePolicy(); + case '#microsoft.graph.groupResource': return new GroupResource(); case '#microsoft.graph.groupSetting': return new GroupSetting(); case '#microsoft.graph.groupSettingTemplate': return new GroupSettingTemplate(); case '#microsoft.graph.homeRealmDiscoveryPolicy': return new HomeRealmDiscoveryPolicy(); @@ -747,6 +763,10 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.mobileContainedApp': return new MobileContainedApp(); case '#microsoft.graph.mobileLobApp': return new MobileLobApp(); case '#microsoft.graph.mobileThreatDefenseConnector': return new MobileThreatDefenseConnector(); + case '#microsoft.graph.multiTenantApplicationMetrics': return new MultiTenantApplicationMetrics(); + case '#microsoft.graph.multiTenantApplicationMetricsBase': return new MultiTenantApplicationMetricsBase(); + case '#microsoft.graph.multiTenantApplicationMetricsInitial': return new MultiTenantApplicationMetricsInitial(); + case '#microsoft.graph.multiTenantApplicationMetricsRecent': return new MultiTenantApplicationMetricsRecent(); case '#microsoft.graph.multiTenantOrganization': return new MultiTenantOrganization(); case '#microsoft.graph.multiTenantOrganizationIdentitySyncPolicyTemplate': return new MultiTenantOrganizationIdentitySyncPolicyTemplate(); case '#microsoft.graph.multiTenantOrganizationJoinRequestRecord': return new MultiTenantOrganizationJoinRequestRecord(); @@ -754,6 +774,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.multiTenantOrganizationPartnerConfigurationTemplate': return new MultiTenantOrganizationPartnerConfigurationTemplate(); case '#microsoft.graph.multiValueLegacyExtendedProperty': return new MultiValueLegacyExtendedProperty(); case '#microsoft.graph.muteParticipantOperation': return new MuteParticipantOperation(); + case '#microsoft.graph.note': return new Note(); case '#microsoft.graph.notebook': return new Notebook(); case '#microsoft.graph.notificationMessageTemplate': return new NotificationMessageTemplate(); case '#microsoft.graph.oAuth2PermissionGrant': return new OAuth2PermissionGrant(); @@ -904,6 +925,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.recycleBinItem': return new RecycleBinItem(); case '#microsoft.graph.referenceAttachment': return new ReferenceAttachment(); case '#microsoft.graph.reflectCheckInResponse': return new ReflectCheckInResponse(); + case '#microsoft.graph.relatedTenant': return new RelatedTenant(); + case '#microsoft.graph.relatedTenantsRefreshRequest': return new RelatedTenantsRefreshRequest(); case '#microsoft.graph.relyingPartyDetailedSummary': return new RelyingPartyDetailedSummary(); case '#microsoft.graph.remoteAssistancePartner': return new RemoteAssistancePartner(); case '#microsoft.graph.remoteDesktopSecurityConfiguration': return new RemoteDesktopSecurityConfiguration(); @@ -1138,6 +1161,9 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration': return new TemporaryAccessPassAuthenticationMethodConfiguration(); case '#microsoft.graph.tenantAppManagementPolicy': return new TenantAppManagementPolicy(); case '#microsoft.graph.tenantDataSecurityAndGovernance': return new TenantDataSecurityAndGovernance(); + case '#microsoft.graph.tenantGovernance': return new TenantGovernance(); + case '#microsoft.graph.tenantGovernancePolicyTemplate': return new TenantGovernancePolicyTemplate(); + case '#microsoft.graph.tenantGovernanceSetting': return new TenantGovernanceSetting(); case '#microsoft.graph.tenantProtectionScopeContainer': return new TenantProtectionScopeContainer(); case '#microsoft.graph.termsAndConditions': return new TermsAndConditions(); case '#microsoft.graph.termsAndConditionsAcceptanceStatus': return new TermsAndConditionsAcceptanceStatus(); diff --git a/src/Generated/Models/ExchangeMessageTraceStatus.php b/src/Generated/Models/ExchangeMessageTraceStatus.php index 5e69498661c..75ae898de2b 100644 --- a/src/Generated/Models/ExchangeMessageTraceStatus.php +++ b/src/Generated/Models/ExchangeMessageTraceStatus.php @@ -13,4 +13,5 @@ class ExchangeMessageTraceStatus extends Enum { public const QUARANTINED = "quarantined"; public const FILTERED_AS_SPAM = "filteredAsSpam"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + public const RECALLED = "recalled"; } diff --git a/src/Generated/Models/GovernanceInvitation.php b/src/Generated/Models/GovernanceInvitation.php new file mode 100644 index 00000000000..7954238551a --- /dev/null +++ b/src/Generated/Models/GovernanceInvitation.php @@ -0,0 +1,178 @@ +getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * Gets the expirationDateTime property value. The expirationDateTime property + * @return DateTime|null + */ + public function getExpirationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('expirationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'expirationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'expirationDateTime' => fn(ParseNode $n) => $o->setExpirationDateTime($n->getDateTimeValue()), + 'governedTenantId' => fn(ParseNode $n) => $o->setGovernedTenantId($n->getStringValue()), + 'governedTenantName' => fn(ParseNode $n) => $o->setGovernedTenantName($n->getStringValue()), + 'governingTenantId' => fn(ParseNode $n) => $o->setGoverningTenantId($n->getStringValue()), + 'governingTenantName' => fn(ParseNode $n) => $o->setGoverningTenantName($n->getStringValue()), + ]); + } + + /** + * Gets the governedTenantId property value. The governedTenantId property + * @return string|null + */ + public function getGovernedTenantId(): ?string { + $val = $this->getBackingStore()->get('governedTenantId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governedTenantId'"); + } + + /** + * Gets the governedTenantName property value. The governedTenantName property + * @return string|null + */ + public function getGovernedTenantName(): ?string { + $val = $this->getBackingStore()->get('governedTenantName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governedTenantName'"); + } + + /** + * Gets the governingTenantId property value. The governingTenantId property + * @return string|null + */ + public function getGoverningTenantId(): ?string { + $val = $this->getBackingStore()->get('governingTenantId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governingTenantId'"); + } + + /** + * Gets the governingTenantName property value. The governingTenantName property + * @return string|null + */ + public function getGoverningTenantName(): ?string { + $val = $this->getBackingStore()->get('governingTenantName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governingTenantName'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeDateTimeValue('expirationDateTime', $this->getExpirationDateTime()); + $writer->writeStringValue('governedTenantId', $this->getGovernedTenantId()); + $writer->writeStringValue('governedTenantName', $this->getGovernedTenantName()); + $writer->writeStringValue('governingTenantId', $this->getGoverningTenantId()); + $writer->writeStringValue('governingTenantName', $this->getGoverningTenantName()); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the expirationDateTime property value. The expirationDateTime property + * @param DateTime|null $value Value to set for the expirationDateTime property. + */ + public function setExpirationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('expirationDateTime', $value); + } + + /** + * Sets the governedTenantId property value. The governedTenantId property + * @param string|null $value Value to set for the governedTenantId property. + */ + public function setGovernedTenantId(?string $value): void { + $this->getBackingStore()->set('governedTenantId', $value); + } + + /** + * Sets the governedTenantName property value. The governedTenantName property + * @param string|null $value Value to set for the governedTenantName property. + */ + public function setGovernedTenantName(?string $value): void { + $this->getBackingStore()->set('governedTenantName', $value); + } + + /** + * Sets the governingTenantId property value. The governingTenantId property + * @param string|null $value Value to set for the governingTenantId property. + */ + public function setGoverningTenantId(?string $value): void { + $this->getBackingStore()->set('governingTenantId', $value); + } + + /** + * Sets the governingTenantName property value. The governingTenantName property + * @param string|null $value Value to set for the governingTenantName property. + */ + public function setGoverningTenantName(?string $value): void { + $this->getBackingStore()->set('governingTenantName', $value); + } + +} diff --git a/src/Generated/Models/GovernanceInvitationCollectionResponse.php b/src/Generated/Models/GovernanceInvitationCollectionResponse.php new file mode 100644 index 00000000000..695084a5242 --- /dev/null +++ b/src/Generated/Models/GovernanceInvitationCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([GovernanceInvitation::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, GovernanceInvitation::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/GovernanceRelationship.php b/src/Generated/Models/GovernanceRelationship.php new file mode 100644 index 00000000000..74518227cca --- /dev/null +++ b/src/Generated/Models/GovernanceRelationship.php @@ -0,0 +1,222 @@ +getBackingStore()->get('createdType'); + if (is_null($val) || $val instanceof RelationshipCreationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdType'"); + } + + /** + * Gets the creationDateTime property value. The creationDateTime property + * @return DateTime|null + */ + public function getCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('creationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'creationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdType' => fn(ParseNode $n) => $o->setCreatedType($n->getEnumValue(RelationshipCreationType::class)), + 'creationDateTime' => fn(ParseNode $n) => $o->setCreationDateTime($n->getDateTimeValue()), + 'governedTenantId' => fn(ParseNode $n) => $o->setGovernedTenantId($n->getStringValue()), + 'governedTenantName' => fn(ParseNode $n) => $o->setGovernedTenantName($n->getStringValue()), + 'governingTenantId' => fn(ParseNode $n) => $o->setGoverningTenantId($n->getStringValue()), + 'governingTenantName' => fn(ParseNode $n) => $o->setGoverningTenantName($n->getStringValue()), + 'policySnapshot' => fn(ParseNode $n) => $o->setPolicySnapshot($n->getObjectValue([RelationshipPolicy::class, 'createFromDiscriminatorValue'])), + 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(RelationshipStatus::class)), + ]); + } + + /** + * Gets the governedTenantId property value. The governedTenantId property + * @return string|null + */ + public function getGovernedTenantId(): ?string { + $val = $this->getBackingStore()->get('governedTenantId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governedTenantId'"); + } + + /** + * Gets the governedTenantName property value. The governedTenantName property + * @return string|null + */ + public function getGovernedTenantName(): ?string { + $val = $this->getBackingStore()->get('governedTenantName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governedTenantName'"); + } + + /** + * Gets the governingTenantId property value. The governingTenantId property + * @return string|null + */ + public function getGoverningTenantId(): ?string { + $val = $this->getBackingStore()->get('governingTenantId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governingTenantId'"); + } + + /** + * Gets the governingTenantName property value. The governingTenantName property + * @return string|null + */ + public function getGoverningTenantName(): ?string { + $val = $this->getBackingStore()->get('governingTenantName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governingTenantName'"); + } + + /** + * Gets the policySnapshot property value. The policySnapshot property + * @return RelationshipPolicy|null + */ + public function getPolicySnapshot(): ?RelationshipPolicy { + $val = $this->getBackingStore()->get('policySnapshot'); + if (is_null($val) || $val instanceof RelationshipPolicy) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policySnapshot'"); + } + + /** + * Gets the status property value. The status property + * @return RelationshipStatus|null + */ + public function getStatus(): ?RelationshipStatus { + $val = $this->getBackingStore()->get('status'); + if (is_null($val) || $val instanceof RelationshipStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'status'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeEnumValue('createdType', $this->getCreatedType()); + $writer->writeDateTimeValue('creationDateTime', $this->getCreationDateTime()); + $writer->writeStringValue('governedTenantId', $this->getGovernedTenantId()); + $writer->writeStringValue('governedTenantName', $this->getGovernedTenantName()); + $writer->writeStringValue('governingTenantId', $this->getGoverningTenantId()); + $writer->writeStringValue('governingTenantName', $this->getGoverningTenantName()); + $writer->writeObjectValue('policySnapshot', $this->getPolicySnapshot()); + $writer->writeEnumValue('status', $this->getStatus()); + } + + /** + * Sets the createdType property value. The createdType property + * @param RelationshipCreationType|null $value Value to set for the createdType property. + */ + public function setCreatedType(?RelationshipCreationType $value): void { + $this->getBackingStore()->set('createdType', $value); + } + + /** + * Sets the creationDateTime property value. The creationDateTime property + * @param DateTime|null $value Value to set for the creationDateTime property. + */ + public function setCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('creationDateTime', $value); + } + + /** + * Sets the governedTenantId property value. The governedTenantId property + * @param string|null $value Value to set for the governedTenantId property. + */ + public function setGovernedTenantId(?string $value): void { + $this->getBackingStore()->set('governedTenantId', $value); + } + + /** + * Sets the governedTenantName property value. The governedTenantName property + * @param string|null $value Value to set for the governedTenantName property. + */ + public function setGovernedTenantName(?string $value): void { + $this->getBackingStore()->set('governedTenantName', $value); + } + + /** + * Sets the governingTenantId property value. The governingTenantId property + * @param string|null $value Value to set for the governingTenantId property. + */ + public function setGoverningTenantId(?string $value): void { + $this->getBackingStore()->set('governingTenantId', $value); + } + + /** + * Sets the governingTenantName property value. The governingTenantName property + * @param string|null $value Value to set for the governingTenantName property. + */ + public function setGoverningTenantName(?string $value): void { + $this->getBackingStore()->set('governingTenantName', $value); + } + + /** + * Sets the policySnapshot property value. The policySnapshot property + * @param RelationshipPolicy|null $value Value to set for the policySnapshot property. + */ + public function setPolicySnapshot(?RelationshipPolicy $value): void { + $this->getBackingStore()->set('policySnapshot', $value); + } + + /** + * Sets the status property value. The status property + * @param RelationshipStatus|null $value Value to set for the status property. + */ + public function setStatus(?RelationshipStatus $value): void { + $this->getBackingStore()->set('status', $value); + } + +} diff --git a/src/Generated/Models/GovernanceRelationshipCollectionResponse.php b/src/Generated/Models/GovernanceRelationshipCollectionResponse.php new file mode 100644 index 00000000000..787686069b2 --- /dev/null +++ b/src/Generated/Models/GovernanceRelationshipCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([GovernanceRelationship::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, GovernanceRelationship::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/GovernanceRequest.php b/src/Generated/Models/GovernanceRequest.php new file mode 100644 index 00000000000..72bbe6471b1 --- /dev/null +++ b/src/Generated/Models/GovernanceRequest.php @@ -0,0 +1,244 @@ +getBackingStore()->get('expirationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'expirationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'expirationDateTime' => fn(ParseNode $n) => $o->setExpirationDateTime($n->getDateTimeValue()), + 'governancePolicyTemplate' => fn(ParseNode $n) => $o->setGovernancePolicyTemplate($n->getObjectValue([TenantGovernancePolicyTemplate::class, 'createFromDiscriminatorValue'])), + 'governedTenantId' => fn(ParseNode $n) => $o->setGovernedTenantId($n->getStringValue()), + 'governedTenantName' => fn(ParseNode $n) => $o->setGovernedTenantName($n->getStringValue()), + 'governingTenantId' => fn(ParseNode $n) => $o->setGoverningTenantId($n->getStringValue()), + 'governingTenantName' => fn(ParseNode $n) => $o->setGoverningTenantName($n->getStringValue()), + 'policySnapshot' => fn(ParseNode $n) => $o->setPolicySnapshot($n->getObjectValue([RelationshipPolicy::class, 'createFromDiscriminatorValue'])), + 'requestDateTime' => fn(ParseNode $n) => $o->setRequestDateTime($n->getDateTimeValue()), + 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(RequestStatus::class)), + ]); + } + + /** + * Gets the governancePolicyTemplate property value. The governancePolicyTemplate property + * @return TenantGovernancePolicyTemplate|null + */ + public function getGovernancePolicyTemplate(): ?TenantGovernancePolicyTemplate { + $val = $this->getBackingStore()->get('governancePolicyTemplate'); + if (is_null($val) || $val instanceof TenantGovernancePolicyTemplate) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governancePolicyTemplate'"); + } + + /** + * Gets the governedTenantId property value. The governedTenantId property + * @return string|null + */ + public function getGovernedTenantId(): ?string { + $val = $this->getBackingStore()->get('governedTenantId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governedTenantId'"); + } + + /** + * Gets the governedTenantName property value. The governedTenantName property + * @return string|null + */ + public function getGovernedTenantName(): ?string { + $val = $this->getBackingStore()->get('governedTenantName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governedTenantName'"); + } + + /** + * Gets the governingTenantId property value. The governingTenantId property + * @return string|null + */ + public function getGoverningTenantId(): ?string { + $val = $this->getBackingStore()->get('governingTenantId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governingTenantId'"); + } + + /** + * Gets the governingTenantName property value. The governingTenantName property + * @return string|null + */ + public function getGoverningTenantName(): ?string { + $val = $this->getBackingStore()->get('governingTenantName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governingTenantName'"); + } + + /** + * Gets the policySnapshot property value. The policySnapshot property + * @return RelationshipPolicy|null + */ + public function getPolicySnapshot(): ?RelationshipPolicy { + $val = $this->getBackingStore()->get('policySnapshot'); + if (is_null($val) || $val instanceof RelationshipPolicy) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policySnapshot'"); + } + + /** + * Gets the requestDateTime property value. The requestDateTime property + * @return DateTime|null + */ + public function getRequestDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('requestDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requestDateTime'"); + } + + /** + * Gets the status property value. The status property + * @return RequestStatus|null + */ + public function getStatus(): ?RequestStatus { + $val = $this->getBackingStore()->get('status'); + if (is_null($val) || $val instanceof RequestStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'status'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('expirationDateTime', $this->getExpirationDateTime()); + $writer->writeObjectValue('governancePolicyTemplate', $this->getGovernancePolicyTemplate()); + $writer->writeStringValue('governedTenantId', $this->getGovernedTenantId()); + $writer->writeStringValue('governedTenantName', $this->getGovernedTenantName()); + $writer->writeStringValue('governingTenantId', $this->getGoverningTenantId()); + $writer->writeStringValue('governingTenantName', $this->getGoverningTenantName()); + $writer->writeObjectValue('policySnapshot', $this->getPolicySnapshot()); + $writer->writeDateTimeValue('requestDateTime', $this->getRequestDateTime()); + $writer->writeEnumValue('status', $this->getStatus()); + } + + /** + * Sets the expirationDateTime property value. The expirationDateTime property + * @param DateTime|null $value Value to set for the expirationDateTime property. + */ + public function setExpirationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('expirationDateTime', $value); + } + + /** + * Sets the governancePolicyTemplate property value. The governancePolicyTemplate property + * @param TenantGovernancePolicyTemplate|null $value Value to set for the governancePolicyTemplate property. + */ + public function setGovernancePolicyTemplate(?TenantGovernancePolicyTemplate $value): void { + $this->getBackingStore()->set('governancePolicyTemplate', $value); + } + + /** + * Sets the governedTenantId property value. The governedTenantId property + * @param string|null $value Value to set for the governedTenantId property. + */ + public function setGovernedTenantId(?string $value): void { + $this->getBackingStore()->set('governedTenantId', $value); + } + + /** + * Sets the governedTenantName property value. The governedTenantName property + * @param string|null $value Value to set for the governedTenantName property. + */ + public function setGovernedTenantName(?string $value): void { + $this->getBackingStore()->set('governedTenantName', $value); + } + + /** + * Sets the governingTenantId property value. The governingTenantId property + * @param string|null $value Value to set for the governingTenantId property. + */ + public function setGoverningTenantId(?string $value): void { + $this->getBackingStore()->set('governingTenantId', $value); + } + + /** + * Sets the governingTenantName property value. The governingTenantName property + * @param string|null $value Value to set for the governingTenantName property. + */ + public function setGoverningTenantName(?string $value): void { + $this->getBackingStore()->set('governingTenantName', $value); + } + + /** + * Sets the policySnapshot property value. The policySnapshot property + * @param RelationshipPolicy|null $value Value to set for the policySnapshot property. + */ + public function setPolicySnapshot(?RelationshipPolicy $value): void { + $this->getBackingStore()->set('policySnapshot', $value); + } + + /** + * Sets the requestDateTime property value. The requestDateTime property + * @param DateTime|null $value Value to set for the requestDateTime property. + */ + public function setRequestDateTime(?DateTime $value): void { + $this->getBackingStore()->set('requestDateTime', $value); + } + + /** + * Sets the status property value. The status property + * @param RequestStatus|null $value Value to set for the status property. + */ + public function setStatus(?RequestStatus $value): void { + $this->getBackingStore()->set('status', $value); + } + +} diff --git a/src/Generated/Models/GovernanceRequestCollectionResponse.php b/src/Generated/Models/GovernanceRequestCollectionResponse.php new file mode 100644 index 00000000000..3561d7ec845 --- /dev/null +++ b/src/Generated/Models/GovernanceRequestCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([GovernanceRequest::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, GovernanceRequest::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/Group.php b/src/Generated/Models/Group.php index 5ebc67b26a0..d9236e509ef 100644 --- a/src/Generated/Models/Group.php +++ b/src/Generated/Models/Group.php @@ -686,7 +686,7 @@ public function getOnPremisesDomainName(): ?string { } /** - * Gets the onPremisesExtensionAttributes property value. The onPremisesExtensionAttributes property + * Gets the onPremisesExtensionAttributes property value. Complex type containing extension attributes 1-15 for the group, synchronized from on-premises Active Directory. Returned only on $select. Supports $filter (eq, ne, not, in). * @return OnPremisesExtensionAttributes|null */ public function getOnPremisesExtensionAttributes(): ?OnPremisesExtensionAttributes { @@ -1581,7 +1581,7 @@ public function setOnPremisesDomainName(?string $value): void { } /** - * Sets the onPremisesExtensionAttributes property value. The onPremisesExtensionAttributes property + * Sets the onPremisesExtensionAttributes property value. Complex type containing extension attributes 1-15 for the group, synchronized from on-premises Active Directory. Returned only on $select. Supports $filter (eq, ne, not, in). * @param OnPremisesExtensionAttributes|null $value Value to set for the onPremisesExtensionAttributes property. */ public function setOnPremisesExtensionAttributes(?OnPremisesExtensionAttributes $value): void { diff --git a/src/Generated/Models/GroupResource.php b/src/Generated/Models/GroupResource.php new file mode 100644 index 00000000000..0c1d5786ff1 --- /dev/null +++ b/src/Generated/Models/GroupResource.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.groupResource'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return GroupResource + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): GroupResource { + return new GroupResource(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/GroupResourceCollectionResponse.php b/src/Generated/Models/GroupResourceCollectionResponse.php new file mode 100644 index 00000000000..cd677b55467 --- /dev/null +++ b/src/Generated/Models/GroupResourceCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([GroupResource::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, GroupResource::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/IdentityGovernance/GuestSponsorTrigger.php b/src/Generated/Models/IdentityGovernance/GuestSponsorTrigger.php new file mode 100644 index 00000000000..7855a7ed267 --- /dev/null +++ b/src/Generated/Models/IdentityGovernance/GuestSponsorTrigger.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.identityGovernance.guestSponsorTrigger'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return GuestSponsorTrigger + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): GuestSponsorTrigger { + return new GuestSponsorTrigger(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'minimumRequiredSponsors' => fn(ParseNode $n) => $o->setMinimumRequiredSponsors($n->getIntegerValue()), + ]); + } + + /** + * Gets the minimumRequiredSponsors property value. The minimumRequiredSponsors property + * @return int|null + */ + public function getMinimumRequiredSponsors(): ?int { + $val = $this->getBackingStore()->get('minimumRequiredSponsors'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'minimumRequiredSponsors'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeIntegerValue('minimumRequiredSponsors', $this->getMinimumRequiredSponsors()); + } + + /** + * Sets the minimumRequiredSponsors property value. The minimumRequiredSponsors property + * @param int|null $value Value to set for the minimumRequiredSponsors property. + */ + public function setMinimumRequiredSponsors(?int $value): void { + $this->getBackingStore()->set('minimumRequiredSponsors', $value); + } + +} diff --git a/src/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.php b/src/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.php index bf6a29b7768..4e55de38fb6 100644 --- a/src/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.php +++ b/src/Generated/Models/IdentityGovernance/WorkflowExecutionTrigger.php @@ -36,6 +36,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workf $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { case '#microsoft.graph.identityGovernance.attributeChangeTrigger': return new AttributeChangeTrigger(); + case '#microsoft.graph.identityGovernance.guestSponsorTrigger': return new GuestSponsorTrigger(); case '#microsoft.graph.identityGovernance.membershipChangeTrigger': return new MembershipChangeTrigger(); case '#microsoft.graph.identityGovernance.timeBasedAttributeTrigger': return new TimeBasedAttributeTrigger(); case '#microsoft.graph.identityGovernance.userInactivityTrigger': return new UserInactivityTrigger(); diff --git a/src/Generated/Models/MultiTenantApplicationMetrics.php b/src/Generated/Models/MultiTenantApplicationMetrics.php new file mode 100644 index 00000000000..c100eff7a88 --- /dev/null +++ b/src/Generated/Models/MultiTenantApplicationMetrics.php @@ -0,0 +1,89 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'initial' => fn(ParseNode $n) => $o->setInitial($n->getObjectValue([MultiTenantApplicationMetricsInitial::class, 'createFromDiscriminatorValue'])), + 'recent' => fn(ParseNode $n) => $o->setRecent($n->getObjectValue([MultiTenantApplicationMetricsRecent::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the initial property value. The initial property + * @return MultiTenantApplicationMetricsInitial|null + */ + public function getInitial(): ?MultiTenantApplicationMetricsInitial { + $val = $this->getBackingStore()->get('initial'); + if (is_null($val) || $val instanceof MultiTenantApplicationMetricsInitial) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'initial'"); + } + + /** + * Gets the recent property value. The recent property + * @return MultiTenantApplicationMetricsRecent|null + */ + public function getRecent(): ?MultiTenantApplicationMetricsRecent { + $val = $this->getBackingStore()->get('recent'); + if (is_null($val) || $val instanceof MultiTenantApplicationMetricsRecent) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recent'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('initial', $this->getInitial()); + $writer->writeObjectValue('recent', $this->getRecent()); + } + + /** + * Sets the initial property value. The initial property + * @param MultiTenantApplicationMetricsInitial|null $value Value to set for the initial property. + */ + public function setInitial(?MultiTenantApplicationMetricsInitial $value): void { + $this->getBackingStore()->set('initial', $value); + } + + /** + * Sets the recent property value. The recent property + * @param MultiTenantApplicationMetricsRecent|null $value Value to set for the recent property. + */ + public function setRecent(?MultiTenantApplicationMetricsRecent $value): void { + $this->getBackingStore()->set('recent', $value); + } + +} diff --git a/src/Generated/Models/MultiTenantApplicationMetricsBase.php b/src/Generated/Models/MultiTenantApplicationMetricsBase.php new file mode 100644 index 00000000000..5077c66f465 --- /dev/null +++ b/src/Generated/Models/MultiTenantApplicationMetricsBase.php @@ -0,0 +1,120 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.multiTenantApplicationMetricsInitial': return new MultiTenantApplicationMetricsInitial(); + case '#microsoft.graph.multiTenantApplicationMetricsRecent': return new MultiTenantApplicationMetricsRecent(); + } + } + return new MultiTenantApplicationMetricsBase(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'inboundMonthlyTotalApplications' => fn(ParseNode $n) => $o->setInboundMonthlyTotalApplications($n->getStringValue()), + 'outboundMonthlyTotalApplications' => fn(ParseNode $n) => $o->setOutboundMonthlyTotalApplications($n->getStringValue()), + 'watermarkDateTime' => fn(ParseNode $n) => $o->setWatermarkDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property + * @return string|null + */ + public function getInboundMonthlyTotalApplications(): ?string { + $val = $this->getBackingStore()->get('inboundMonthlyTotalApplications'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'inboundMonthlyTotalApplications'"); + } + + /** + * Gets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property + * @return string|null + */ + public function getOutboundMonthlyTotalApplications(): ?string { + $val = $this->getBackingStore()->get('outboundMonthlyTotalApplications'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'outboundMonthlyTotalApplications'"); + } + + /** + * Gets the watermarkDateTime property value. The watermarkDateTime property + * @return DateTime|null + */ + public function getWatermarkDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('watermarkDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'watermarkDateTime'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('inboundMonthlyTotalApplications', $this->getInboundMonthlyTotalApplications()); + $writer->writeStringValue('outboundMonthlyTotalApplications', $this->getOutboundMonthlyTotalApplications()); + $writer->writeDateTimeValue('watermarkDateTime', $this->getWatermarkDateTime()); + } + + /** + * Sets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property + * @param string|null $value Value to set for the inboundMonthlyTotalApplications property. + */ + public function setInboundMonthlyTotalApplications(?string $value): void { + $this->getBackingStore()->set('inboundMonthlyTotalApplications', $value); + } + + /** + * Sets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property + * @param string|null $value Value to set for the outboundMonthlyTotalApplications property. + */ + public function setOutboundMonthlyTotalApplications(?string $value): void { + $this->getBackingStore()->set('outboundMonthlyTotalApplications', $value); + } + + /** + * Sets the watermarkDateTime property value. The watermarkDateTime property + * @param DateTime|null $value Value to set for the watermarkDateTime property. + */ + public function setWatermarkDateTime(?DateTime $value): void { + $this->getBackingStore()->set('watermarkDateTime', $value); + } + +} diff --git a/src/Generated/Models/MultiTenantApplicationMetricsInitial.php b/src/Generated/Models/MultiTenantApplicationMetricsInitial.php new file mode 100644 index 00000000000..602a358886f --- /dev/null +++ b/src/Generated/Models/MultiTenantApplicationMetricsInitial.php @@ -0,0 +1,68 @@ +getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + +} diff --git a/src/Generated/Models/MultiTenantApplicationMetricsRecent.php b/src/Generated/Models/MultiTenantApplicationMetricsRecent.php new file mode 100644 index 00000000000..2c8f7144ace --- /dev/null +++ b/src/Generated/Models/MultiTenantApplicationMetricsRecent.php @@ -0,0 +1,68 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'updateDateTime' => fn(ParseNode $n) => $o->setUpdateDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the updateDateTime property value. The updateDateTime property + * @return DateTime|null + */ + public function getUpdateDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('updateDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'updateDateTime'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('updateDateTime', $this->getUpdateDateTime()); + } + + /** + * Sets the updateDateTime property value. The updateDateTime property + * @param DateTime|null $value Value to set for the updateDateTime property. + */ + public function setUpdateDateTime(?DateTime $value): void { + $this->getBackingStore()->set('updateDateTime', $value); + } + +} diff --git a/src/Generated/Models/MultiTenantApplicationsToProvision.php b/src/Generated/Models/MultiTenantApplicationsToProvision.php new file mode 100644 index 00000000000..40625d261b9 --- /dev/null +++ b/src/Generated/Models/MultiTenantApplicationsToProvision.php @@ -0,0 +1,205 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MultiTenantApplicationsToProvision + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MultiTenantApplicationsToProvision { + return new MultiTenantApplicationsToProvision(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the appId property value. The appId property + * @return string|null + */ + public function getAppId(): ?string { + $val = $this->getBackingStore()->get('appId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'appId'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the displayName property value. The displayName property + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'appId' => fn(ParseNode $n) => $o->setAppId($n->getStringValue()), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'objectId' => fn(ParseNode $n) => $o->setObjectId($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'requiredResourceAccesses' => fn(ParseNode $n) => $o->setRequiredResourceAccesses($n->getCollectionOfObjectValues([ApplicationsRequiredResourceAccess::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the objectId property value. The objectId property + * @return string|null + */ + public function getObjectId(): ?string { + $val = $this->getBackingStore()->get('objectId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'objectId'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the requiredResourceAccesses property value. The requiredResourceAccesses property + * @return array|null + */ + public function getRequiredResourceAccesses(): ?array { + $val = $this->getBackingStore()->get('requiredResourceAccesses'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ApplicationsRequiredResourceAccess::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requiredResourceAccesses'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('appId', $this->getAppId()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeStringValue('objectId', $this->getObjectId()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeCollectionOfObjectValues('requiredResourceAccesses', $this->getRequiredResourceAccesses()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the appId property value. The appId property + * @param string|null $value Value to set for the appId property. + */ + public function setAppId(?string $value): void { + $this->getBackingStore()->set('appId', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the displayName property value. The displayName property + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the objectId property value. The objectId property + * @param string|null $value Value to set for the objectId property. + */ + public function setObjectId(?string $value): void { + $this->getBackingStore()->set('objectId', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the requiredResourceAccesses property value. The requiredResourceAccesses property + * @param array|null $value Value to set for the requiredResourceAccesses property. + */ + public function setRequiredResourceAccesses(?array $value): void { + $this->getBackingStore()->set('requiredResourceAccesses', $value); + } + +} diff --git a/src/Generated/Models/MultiTenantApplicationsToProvisionSnapshot.php b/src/Generated/Models/MultiTenantApplicationsToProvisionSnapshot.php new file mode 100644 index 00000000000..5ea99c3cef4 --- /dev/null +++ b/src/Generated/Models/MultiTenantApplicationsToProvisionSnapshot.php @@ -0,0 +1,205 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MultiTenantApplicationsToProvisionSnapshot + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MultiTenantApplicationsToProvisionSnapshot { + return new MultiTenantApplicationsToProvisionSnapshot(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the appId property value. The appId property + * @return string|null + */ + public function getAppId(): ?string { + $val = $this->getBackingStore()->get('appId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'appId'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the displayName property value. The displayName property + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'appId' => fn(ParseNode $n) => $o->setAppId($n->getStringValue()), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'objectId' => fn(ParseNode $n) => $o->setObjectId($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'requiredResourceAccesses' => fn(ParseNode $n) => $o->setRequiredResourceAccesses($n->getCollectionOfObjectValues([ApplicationsRequiredResourceAccess::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the objectId property value. The objectId property + * @return string|null + */ + public function getObjectId(): ?string { + $val = $this->getBackingStore()->get('objectId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'objectId'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the requiredResourceAccesses property value. The requiredResourceAccesses property + * @return array|null + */ + public function getRequiredResourceAccesses(): ?array { + $val = $this->getBackingStore()->get('requiredResourceAccesses'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ApplicationsRequiredResourceAccess::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requiredResourceAccesses'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('appId', $this->getAppId()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeStringValue('objectId', $this->getObjectId()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeCollectionOfObjectValues('requiredResourceAccesses', $this->getRequiredResourceAccesses()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the appId property value. The appId property + * @param string|null $value Value to set for the appId property. + */ + public function setAppId(?string $value): void { + $this->getBackingStore()->set('appId', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the displayName property value. The displayName property + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the objectId property value. The objectId property + * @param string|null $value Value to set for the objectId property. + */ + public function setObjectId(?string $value): void { + $this->getBackingStore()->set('objectId', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the requiredResourceAccesses property value. The requiredResourceAccesses property + * @param array|null $value Value to set for the requiredResourceAccesses property. + */ + public function setRequiredResourceAccesses(?array $value): void { + $this->getBackingStore()->set('requiredResourceAccesses', $value); + } + +} diff --git a/src/Generated/Models/Note.php b/src/Generated/Models/Note.php new file mode 100644 index 00000000000..b3e8e79f0bc --- /dev/null +++ b/src/Generated/Models/Note.php @@ -0,0 +1,250 @@ +setOdataType('#microsoft.graph.note'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return Note + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Note { + return new Note(); + } + + /** + * Gets the attachments property value. The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. + * @return array|null + */ + public function getAttachments(): ?array { + $val = $this->getBackingStore()->get('attachments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Attachment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'attachments'"); + } + + /** + * Gets the body property value. The content of the note. Supports text or html content types. + * @return ItemBody|null + */ + public function getBody(): ?ItemBody { + $val = $this->getBackingStore()->get('body'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'body'"); + } + + /** + * Gets the bodyPreview property value. Auto-generated preview of the note body content (first ~255 characters, plain text). Read-only. + * @return string|null + */ + public function getBodyPreview(): ?string { + $val = $this->getBackingStore()->get('bodyPreview'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'bodyPreview'"); + } + + /** + * Gets the extensions property value. The collection of open extensions defined for the note. + * @return array|null + */ + public function getExtensions(): ?array { + $val = $this->getBackingStore()->get('extensions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Extension::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'extensions'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'attachments' => fn(ParseNode $n) => $o->setAttachments($n->getCollectionOfObjectValues([Attachment::class, 'createFromDiscriminatorValue'])), + 'body' => fn(ParseNode $n) => $o->setBody($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + 'bodyPreview' => fn(ParseNode $n) => $o->setBodyPreview($n->getStringValue()), + 'extensions' => fn(ParseNode $n) => $o->setExtensions($n->getCollectionOfObjectValues([Extension::class, 'createFromDiscriminatorValue'])), + 'hasAttachments' => fn(ParseNode $n) => $o->setHasAttachments($n->getBooleanValue()), + 'isDeleted' => fn(ParseNode $n) => $o->setIsDeleted($n->getBooleanValue()), + 'multiValueExtendedProperties' => fn(ParseNode $n) => $o->setMultiValueExtendedProperties($n->getCollectionOfObjectValues([MultiValueLegacyExtendedProperty::class, 'createFromDiscriminatorValue'])), + 'singleValueExtendedProperties' => fn(ParseNode $n) => $o->setSingleValueExtendedProperties($n->getCollectionOfObjectValues([SingleValueLegacyExtendedProperty::class, 'createFromDiscriminatorValue'])), + 'subject' => fn(ParseNode $n) => $o->setSubject($n->getStringValue()), + ]); + } + + /** + * Gets the hasAttachments property value. Indicates whether the note has file attachments. Supports $filter (eq). Read-only. + * @return bool|null + */ + public function getHasAttachments(): ?bool { + $val = $this->getBackingStore()->get('hasAttachments'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'hasAttachments'"); + } + + /** + * Gets the isDeleted property value. Indicates whether the note is soft-deleted. Read-only. + * @return bool|null + */ + public function getIsDeleted(): ?bool { + $val = $this->getBackingStore()->get('isDeleted'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isDeleted'"); + } + + /** + * Gets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the note. + * @return array|null + */ + public function getMultiValueExtendedProperties(): ?array { + $val = $this->getBackingStore()->get('multiValueExtendedProperties'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, MultiValueLegacyExtendedProperty::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'multiValueExtendedProperties'"); + } + + /** + * Gets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the note. + * @return array|null + */ + public function getSingleValueExtendedProperties(): ?array { + $val = $this->getBackingStore()->get('singleValueExtendedProperties'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, SingleValueLegacyExtendedProperty::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'singleValueExtendedProperties'"); + } + + /** + * Gets the subject property value. The title of the note. Supports $filter (eq, ne, startsWith) and $orderby. + * @return string|null + */ + public function getSubject(): ?string { + $val = $this->getBackingStore()->get('subject'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'subject'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('attachments', $this->getAttachments()); + $writer->writeObjectValue('body', $this->getBody()); + $writer->writeCollectionOfObjectValues('extensions', $this->getExtensions()); + $writer->writeCollectionOfObjectValues('multiValueExtendedProperties', $this->getMultiValueExtendedProperties()); + $writer->writeCollectionOfObjectValues('singleValueExtendedProperties', $this->getSingleValueExtendedProperties()); + $writer->writeStringValue('subject', $this->getSubject()); + } + + /** + * Sets the attachments property value. The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. + * @param array|null $value Value to set for the attachments property. + */ + public function setAttachments(?array $value): void { + $this->getBackingStore()->set('attachments', $value); + } + + /** + * Sets the body property value. The content of the note. Supports text or html content types. + * @param ItemBody|null $value Value to set for the body property. + */ + public function setBody(?ItemBody $value): void { + $this->getBackingStore()->set('body', $value); + } + + /** + * Sets the bodyPreview property value. Auto-generated preview of the note body content (first ~255 characters, plain text). Read-only. + * @param string|null $value Value to set for the bodyPreview property. + */ + public function setBodyPreview(?string $value): void { + $this->getBackingStore()->set('bodyPreview', $value); + } + + /** + * Sets the extensions property value. The collection of open extensions defined for the note. + * @param array|null $value Value to set for the extensions property. + */ + public function setExtensions(?array $value): void { + $this->getBackingStore()->set('extensions', $value); + } + + /** + * Sets the hasAttachments property value. Indicates whether the note has file attachments. Supports $filter (eq). Read-only. + * @param bool|null $value Value to set for the hasAttachments property. + */ + public function setHasAttachments(?bool $value): void { + $this->getBackingStore()->set('hasAttachments', $value); + } + + /** + * Sets the isDeleted property value. Indicates whether the note is soft-deleted. Read-only. + * @param bool|null $value Value to set for the isDeleted property. + */ + public function setIsDeleted(?bool $value): void { + $this->getBackingStore()->set('isDeleted', $value); + } + + /** + * Sets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the note. + * @param array|null $value Value to set for the multiValueExtendedProperties property. + */ + public function setMultiValueExtendedProperties(?array $value): void { + $this->getBackingStore()->set('multiValueExtendedProperties', $value); + } + + /** + * Sets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the note. + * @param array|null $value Value to set for the singleValueExtendedProperties property. + */ + public function setSingleValueExtendedProperties(?array $value): void { + $this->getBackingStore()->set('singleValueExtendedProperties', $value); + } + + /** + * Sets the subject property value. The title of the note. Supports $filter (eq, ne, startsWith) and $orderby. + * @param string|null $value Value to set for the subject property. + */ + public function setSubject(?string $value): void { + $this->getBackingStore()->set('subject', $value); + } + +} diff --git a/src/Generated/Models/NoteCollectionResponse.php b/src/Generated/Models/NoteCollectionResponse.php new file mode 100644 index 00000000000..a7b831e9621 --- /dev/null +++ b/src/Generated/Models/NoteCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Note::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Note::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/OutlookItem.php b/src/Generated/Models/OutlookItem.php index 66435b3c706..e73abde1203 100644 --- a/src/Generated/Models/OutlookItem.php +++ b/src/Generated/Models/OutlookItem.php @@ -35,6 +35,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Outlo case '#microsoft.graph.eventMessageResponse': return new EventMessageResponse(); case '#microsoft.graph.mailboxItem': return new MailboxItem(); case '#microsoft.graph.message': return new Message(); + case '#microsoft.graph.note': return new Note(); case '#microsoft.graph.post': return new Post(); } } diff --git a/src/Generated/Models/PolicyTipAction.php b/src/Generated/Models/PolicyTipAction.php new file mode 100644 index 00000000000..b79b1fd5991 --- /dev/null +++ b/src/Generated/Models/PolicyTipAction.php @@ -0,0 +1,111 @@ +getBackingStore()->get('complianceUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'complianceUrl'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'complianceUrl' => fn(ParseNode $n) => $o->setComplianceUrl($n->getStringValue()), + 'matchedConditionsDescription' => fn(ParseNode $n) => $o->setMatchedConditionsDescription($n->getStringValue()), + 'policyTip' => fn(ParseNode $n) => $o->setPolicyTip($n->getStringValue()), + ]); + } + + /** + * Gets the matchedConditionsDescription property value. The matchedConditionsDescription property + * @return string|null + */ + public function getMatchedConditionsDescription(): ?string { + $val = $this->getBackingStore()->get('matchedConditionsDescription'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'matchedConditionsDescription'"); + } + + /** + * Gets the policyTip property value. The policyTip property + * @return string|null + */ + public function getPolicyTip(): ?string { + $val = $this->getBackingStore()->get('policyTip'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyTip'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('complianceUrl', $this->getComplianceUrl()); + $writer->writeStringValue('matchedConditionsDescription', $this->getMatchedConditionsDescription()); + $writer->writeStringValue('policyTip', $this->getPolicyTip()); + } + + /** + * Sets the complianceUrl property value. The complianceUrl property + * @param string|null $value Value to set for the complianceUrl property. + */ + public function setComplianceUrl(?string $value): void { + $this->getBackingStore()->set('complianceUrl', $value); + } + + /** + * Sets the matchedConditionsDescription property value. The matchedConditionsDescription property + * @param string|null $value Value to set for the matchedConditionsDescription property. + */ + public function setMatchedConditionsDescription(?string $value): void { + $this->getBackingStore()->set('matchedConditionsDescription', $value); + } + + /** + * Sets the policyTip property value. The policyTip property + * @param string|null $value Value to set for the policyTip property. + */ + public function setPolicyTip(?string $value): void { + $this->getBackingStore()->set('policyTip', $value); + } + +} diff --git a/src/Generated/Models/PrivilegedAccessGroup.php b/src/Generated/Models/PrivilegedAccessGroup.php index 6ae06452ce1..24115e453bc 100644 --- a/src/Generated/Models/PrivilegedAccessGroup.php +++ b/src/Generated/Models/PrivilegedAccessGroup.php @@ -137,9 +137,24 @@ public function getFieldDeserializers(): array { 'eligibilityScheduleInstances' => fn(ParseNode $n) => $o->setEligibilityScheduleInstances($n->getCollectionOfObjectValues([PrivilegedAccessGroupEligibilityScheduleInstance::class, 'createFromDiscriminatorValue'])), 'eligibilityScheduleRequests' => fn(ParseNode $n) => $o->setEligibilityScheduleRequests($n->getCollectionOfObjectValues([PrivilegedAccessGroupEligibilityScheduleRequest::class, 'createFromDiscriminatorValue'])), 'eligibilitySchedules' => fn(ParseNode $n) => $o->setEligibilitySchedules($n->getCollectionOfObjectValues([PrivilegedAccessGroupEligibilitySchedule::class, 'createFromDiscriminatorValue'])), + 'resources' => fn(ParseNode $n) => $o->setResources($n->getCollectionOfObjectValues([GroupResource::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the resources property value. The resources property + * @return array|null + */ + public function getResources(): ?array { + $val = $this->getBackingStore()->get('resources'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, GroupResource::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'resources'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -153,6 +168,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('eligibilityScheduleInstances', $this->getEligibilityScheduleInstances()); $writer->writeCollectionOfObjectValues('eligibilityScheduleRequests', $this->getEligibilityScheduleRequests()); $writer->writeCollectionOfObjectValues('eligibilitySchedules', $this->getEligibilitySchedules()); + $writer->writeCollectionOfObjectValues('resources', $this->getResources()); } /** @@ -211,4 +227,12 @@ public function setEligibilitySchedules(?array $value): void { $this->getBackingStore()->set('eligibilitySchedules', $value); } + /** + * Sets the resources property value. The resources property + * @param array|null $value Value to set for the resources property. + */ + public function setResources(?array $value): void { + $this->getBackingStore()->set('resources', $value); + } + } diff --git a/src/Generated/Models/RelatedTenant.php b/src/Generated/Models/RelatedTenant.php new file mode 100644 index 00000000000..81e148b083b --- /dev/null +++ b/src/Generated/Models/RelatedTenant.php @@ -0,0 +1,199 @@ +getBackingStore()->get('appB2BSignInActivityMetrics'); + if (is_null($val) || $val instanceof B2BSignInActivityMetrics) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'appB2BSignInActivityMetrics'"); + } + + /** + * Gets the b2BRegistrationMetrics property value. The b2BRegistrationMetrics property + * @return B2bRegistrationMetrics|null + */ + public function getB2BRegistrationMetrics(): ?B2bRegistrationMetrics { + $val = $this->getBackingStore()->get('b2BRegistrationMetrics'); + if (is_null($val) || $val instanceof B2bRegistrationMetrics) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'b2BRegistrationMetrics'"); + } + + /** + * Gets the b2BSignInActivityMetrics property value. The b2BSignInActivityMetrics property + * @return B2BSignInActivityMetrics|null + */ + public function getB2BSignInActivityMetrics(): ?B2BSignInActivityMetrics { + $val = $this->getBackingStore()->get('b2BSignInActivityMetrics'); + if (is_null($val) || $val instanceof B2BSignInActivityMetrics) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'b2BSignInActivityMetrics'"); + } + + /** + * Gets the billingMetrics property value. The billingMetrics property + * @return BillingMetrics|null + */ + public function getBillingMetrics(): ?BillingMetrics { + $val = $this->getBackingStore()->get('billingMetrics'); + if (is_null($val) || $val instanceof BillingMetrics) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'billingMetrics'"); + } + + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'appB2BSignInActivityMetrics' => fn(ParseNode $n) => $o->setAppB2BSignInActivityMetrics($n->getObjectValue([B2BSignInActivityMetrics::class, 'createFromDiscriminatorValue'])), + 'b2BRegistrationMetrics' => fn(ParseNode $n) => $o->setB2BRegistrationMetrics($n->getObjectValue([B2bRegistrationMetrics::class, 'createFromDiscriminatorValue'])), + 'b2BSignInActivityMetrics' => fn(ParseNode $n) => $o->setB2BSignInActivityMetrics($n->getObjectValue([B2BSignInActivityMetrics::class, 'createFromDiscriminatorValue'])), + 'billingMetrics' => fn(ParseNode $n) => $o->setBillingMetrics($n->getObjectValue([BillingMetrics::class, 'createFromDiscriminatorValue'])), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'isMicrosoftInfrastructure' => fn(ParseNode $n) => $o->setIsMicrosoftInfrastructure($n->getBooleanValue()), + 'multiTenantApplicationMetrics' => fn(ParseNode $n) => $o->setMultiTenantApplicationMetrics($n->getObjectValue([MultiTenantApplicationMetrics::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the isMicrosoftInfrastructure property value. Indicates whether this tenant is a Microsoft infrastructure tenant. + * @return bool|null + */ + public function getIsMicrosoftInfrastructure(): ?bool { + $val = $this->getBackingStore()->get('isMicrosoftInfrastructure'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isMicrosoftInfrastructure'"); + } + + /** + * Gets the multiTenantApplicationMetrics property value. The multiTenantApplicationMetrics property + * @return MultiTenantApplicationMetrics|null + */ + public function getMultiTenantApplicationMetrics(): ?MultiTenantApplicationMetrics { + $val = $this->getBackingStore()->get('multiTenantApplicationMetrics'); + if (is_null($val) || $val instanceof MultiTenantApplicationMetrics) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'multiTenantApplicationMetrics'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('appB2BSignInActivityMetrics', $this->getAppB2BSignInActivityMetrics()); + $writer->writeObjectValue('b2BRegistrationMetrics', $this->getB2BRegistrationMetrics()); + $writer->writeObjectValue('b2BSignInActivityMetrics', $this->getB2BSignInActivityMetrics()); + $writer->writeObjectValue('billingMetrics', $this->getBillingMetrics()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeObjectValue('multiTenantApplicationMetrics', $this->getMultiTenantApplicationMetrics()); + } + + /** + * Sets the appB2BSignInActivityMetrics property value. The appB2BSignInActivityMetrics property + * @param B2BSignInActivityMetrics|null $value Value to set for the appB2BSignInActivityMetrics property. + */ + public function setAppB2BSignInActivityMetrics(?B2BSignInActivityMetrics $value): void { + $this->getBackingStore()->set('appB2BSignInActivityMetrics', $value); + } + + /** + * Sets the b2BRegistrationMetrics property value. The b2BRegistrationMetrics property + * @param B2bRegistrationMetrics|null $value Value to set for the b2BRegistrationMetrics property. + */ + public function setB2BRegistrationMetrics(?B2bRegistrationMetrics $value): void { + $this->getBackingStore()->set('b2BRegistrationMetrics', $value); + } + + /** + * Sets the b2BSignInActivityMetrics property value. The b2BSignInActivityMetrics property + * @param B2BSignInActivityMetrics|null $value Value to set for the b2BSignInActivityMetrics property. + */ + public function setB2BSignInActivityMetrics(?B2BSignInActivityMetrics $value): void { + $this->getBackingStore()->set('b2BSignInActivityMetrics', $value); + } + + /** + * Sets the billingMetrics property value. The billingMetrics property + * @param BillingMetrics|null $value Value to set for the billingMetrics property. + */ + public function setBillingMetrics(?BillingMetrics $value): void { + $this->getBackingStore()->set('billingMetrics', $value); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the isMicrosoftInfrastructure property value. Indicates whether this tenant is a Microsoft infrastructure tenant. + * @param bool|null $value Value to set for the isMicrosoftInfrastructure property. + */ + public function setIsMicrosoftInfrastructure(?bool $value): void { + $this->getBackingStore()->set('isMicrosoftInfrastructure', $value); + } + + /** + * Sets the multiTenantApplicationMetrics property value. The multiTenantApplicationMetrics property + * @param MultiTenantApplicationMetrics|null $value Value to set for the multiTenantApplicationMetrics property. + */ + public function setMultiTenantApplicationMetrics(?MultiTenantApplicationMetrics $value): void { + $this->getBackingStore()->set('multiTenantApplicationMetrics', $value); + } + +} diff --git a/src/Generated/Models/RelatedTenantCollectionResponse.php b/src/Generated/Models/RelatedTenantCollectionResponse.php new file mode 100644 index 00000000000..3467bacd610 --- /dev/null +++ b/src/Generated/Models/RelatedTenantCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([RelatedTenant::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, RelatedTenant::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/RelatedTenantsRefreshRequest.php b/src/Generated/Models/RelatedTenantsRefreshRequest.php new file mode 100644 index 00000000000..562a7d41742 --- /dev/null +++ b/src/Generated/Models/RelatedTenantsRefreshRequest.php @@ -0,0 +1,67 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'location' => fn(ParseNode $n) => $o->setLocation($n->getStringValue()), + ]); + } + + /** + * Gets the location property value. The location property + * @return string|null + */ + public function getLocation(): ?string { + $val = $this->getBackingStore()->get('location'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'location'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('location', $this->getLocation()); + } + + /** + * Sets the location property value. The location property + * @param string|null $value Value to set for the location property. + */ + public function setLocation(?string $value): void { + $this->getBackingStore()->set('location', $value); + } + +} diff --git a/src/Generated/Models/RelationshipCreationType.php b/src/Generated/Models/RelationshipCreationType.php new file mode 100644 index 00000000000..6af336900e7 --- /dev/null +++ b/src/Generated/Models/RelationshipCreationType.php @@ -0,0 +1,11 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RelationshipPolicy + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RelationshipPolicy { + return new RelationshipPolicy(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property + * @return array|null + */ + public function getDelegatedAdministrationRoleAssignments(): ?array { + $val = $this->getBackingStore()->get('delegatedAdministrationRoleAssignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DelegatedAdministrationRoleAssignmentSnapshot::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedAdministrationRoleAssignments'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedAdministrationRoleAssignments' => fn(ParseNode $n) => $o->setDelegatedAdministrationRoleAssignments($n->getCollectionOfObjectValues([DelegatedAdministrationRoleAssignmentSnapshot::class, 'createFromDiscriminatorValue'])), + 'governedTenantCanTerminate' => fn(ParseNode $n) => $o->setGovernedTenantCanTerminate($n->getBooleanValue()), + 'multiTenantApplicationsToProvision' => fn(ParseNode $n) => $o->setMultiTenantApplicationsToProvision($n->getCollectionOfObjectValues([MultiTenantApplicationsToProvisionSnapshot::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'policyId' => fn(ParseNode $n) => $o->setPolicyId($n->getStringValue()), + 'version' => fn(ParseNode $n) => $o->setVersion($n->getIntegerValue()), + ]; + } + + /** + * Gets the governedTenantCanTerminate property value. The governedTenantCanTerminate property + * @return bool|null + */ + public function getGovernedTenantCanTerminate(): ?bool { + $val = $this->getBackingStore()->get('governedTenantCanTerminate'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governedTenantCanTerminate'"); + } + + /** + * Gets the multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property + * @return array|null + */ + public function getMultiTenantApplicationsToProvision(): ?array { + $val = $this->getBackingStore()->get('multiTenantApplicationsToProvision'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, MultiTenantApplicationsToProvisionSnapshot::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'multiTenantApplicationsToProvision'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the policyId property value. The policyId property + * @return string|null + */ + public function getPolicyId(): ?string { + $val = $this->getBackingStore()->get('policyId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyId'"); + } + + /** + * Gets the version property value. The version property + * @return int|null + */ + public function getVersion(): ?int { + $val = $this->getBackingStore()->get('version'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'version'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('delegatedAdministrationRoleAssignments', $this->getDelegatedAdministrationRoleAssignments()); + $writer->writeBooleanValue('governedTenantCanTerminate', $this->getGovernedTenantCanTerminate()); + $writer->writeCollectionOfObjectValues('multiTenantApplicationsToProvision', $this->getMultiTenantApplicationsToProvision()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('policyId', $this->getPolicyId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property + * @param array|null $value Value to set for the delegatedAdministrationRoleAssignments property. + */ + public function setDelegatedAdministrationRoleAssignments(?array $value): void { + $this->getBackingStore()->set('delegatedAdministrationRoleAssignments', $value); + } + + /** + * Sets the governedTenantCanTerminate property value. The governedTenantCanTerminate property + * @param bool|null $value Value to set for the governedTenantCanTerminate property. + */ + public function setGovernedTenantCanTerminate(?bool $value): void { + $this->getBackingStore()->set('governedTenantCanTerminate', $value); + } + + /** + * Sets the multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property + * @param array|null $value Value to set for the multiTenantApplicationsToProvision property. + */ + public function setMultiTenantApplicationsToProvision(?array $value): void { + $this->getBackingStore()->set('multiTenantApplicationsToProvision', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the policyId property value. The policyId property + * @param string|null $value Value to set for the policyId property. + */ + public function setPolicyId(?string $value): void { + $this->getBackingStore()->set('policyId', $value); + } + + /** + * Sets the version property value. The version property + * @param int|null $value Value to set for the version property. + */ + public function setVersion(?int $value): void { + $this->getBackingStore()->set('version', $value); + } + +} diff --git a/src/Generated/Models/RelationshipStatus.php b/src/Generated/Models/RelationshipStatus.php new file mode 100644 index 00000000000..2132498f27d --- /dev/null +++ b/src/Generated/Models/RelationshipStatus.php @@ -0,0 +1,12 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RoleTemplate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RoleTemplate { + return new RoleTemplate(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'id' => fn(ParseNode $n) => $o->setId($n->getStringValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the id property value. The id property + * @return string|null + */ + public function getId(): ?string { + $val = $this->getBackingStore()->get('id'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'id'"); + } + + /** + * Gets the name property value. The name property + * @return string|null + */ + public function getName(): ?string { + $val = $this->getBackingStore()->get('name'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('id', $this->getId()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the id property value. The id property + * @param string|null $value Value to set for the id property. + */ + public function setId(?string $value): void { + $this->getBackingStore()->set('id', $value); + } + + /** + * Sets the name property value. The name property + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/Security/Security.php b/src/Generated/Models/Security/Security.php index 9ef6dd6528d..9a76689f702 100644 --- a/src/Generated/Models/Security/Security.php +++ b/src/Generated/Models/Security/Security.php @@ -14,9 +14,6 @@ use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; use Microsoft\Kiota\Abstractions\Types\TypeUtils; -/** - * Security singleton providing access to audit log resources. -*/ class Security extends Entity implements Parsable { /** diff --git a/src/Generated/Models/TenantGovernance.php b/src/Generated/Models/TenantGovernance.php new file mode 100644 index 00000000000..2d9e0ebba3f --- /dev/null +++ b/src/Generated/Models/TenantGovernance.php @@ -0,0 +1,188 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'governanceInvitations' => fn(ParseNode $n) => $o->setGovernanceInvitations($n->getCollectionOfObjectValues([GovernanceInvitation::class, 'createFromDiscriminatorValue'])), + 'governancePolicyTemplates' => fn(ParseNode $n) => $o->setGovernancePolicyTemplates($n->getCollectionOfObjectValues([TenantGovernancePolicyTemplate::class, 'createFromDiscriminatorValue'])), + 'governanceRelationships' => fn(ParseNode $n) => $o->setGovernanceRelationships($n->getCollectionOfObjectValues([GovernanceRelationship::class, 'createFromDiscriminatorValue'])), + 'governanceRequests' => fn(ParseNode $n) => $o->setGovernanceRequests($n->getCollectionOfObjectValues([GovernanceRequest::class, 'createFromDiscriminatorValue'])), + 'relatedTenants' => fn(ParseNode $n) => $o->setRelatedTenants($n->getCollectionOfObjectValues([RelatedTenant::class, 'createFromDiscriminatorValue'])), + 'settings' => fn(ParseNode $n) => $o->setSettings($n->getObjectValue([TenantGovernanceSetting::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the governanceInvitations property value. The governanceInvitations property + * @return array|null + */ + public function getGovernanceInvitations(): ?array { + $val = $this->getBackingStore()->get('governanceInvitations'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, GovernanceInvitation::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governanceInvitations'"); + } + + /** + * Gets the governancePolicyTemplates property value. The governancePolicyTemplates property + * @return array|null + */ + public function getGovernancePolicyTemplates(): ?array { + $val = $this->getBackingStore()->get('governancePolicyTemplates'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, TenantGovernancePolicyTemplate::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governancePolicyTemplates'"); + } + + /** + * Gets the governanceRelationships property value. The governanceRelationships property + * @return array|null + */ + public function getGovernanceRelationships(): ?array { + $val = $this->getBackingStore()->get('governanceRelationships'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, GovernanceRelationship::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governanceRelationships'"); + } + + /** + * Gets the governanceRequests property value. The governanceRequests property + * @return array|null + */ + public function getGovernanceRequests(): ?array { + $val = $this->getBackingStore()->get('governanceRequests'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, GovernanceRequest::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governanceRequests'"); + } + + /** + * Gets the relatedTenants property value. The relatedTenants property + * @return array|null + */ + public function getRelatedTenants(): ?array { + $val = $this->getBackingStore()->get('relatedTenants'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, RelatedTenant::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'relatedTenants'"); + } + + /** + * Gets the settings property value. The settings property + * @return TenantGovernanceSetting|null + */ + public function getSettings(): ?TenantGovernanceSetting { + $val = $this->getBackingStore()->get('settings'); + if (is_null($val) || $val instanceof TenantGovernanceSetting) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'settings'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('governanceInvitations', $this->getGovernanceInvitations()); + $writer->writeCollectionOfObjectValues('governancePolicyTemplates', $this->getGovernancePolicyTemplates()); + $writer->writeCollectionOfObjectValues('governanceRelationships', $this->getGovernanceRelationships()); + $writer->writeCollectionOfObjectValues('governanceRequests', $this->getGovernanceRequests()); + $writer->writeCollectionOfObjectValues('relatedTenants', $this->getRelatedTenants()); + $writer->writeObjectValue('settings', $this->getSettings()); + } + + /** + * Sets the governanceInvitations property value. The governanceInvitations property + * @param array|null $value Value to set for the governanceInvitations property. + */ + public function setGovernanceInvitations(?array $value): void { + $this->getBackingStore()->set('governanceInvitations', $value); + } + + /** + * Sets the governancePolicyTemplates property value. The governancePolicyTemplates property + * @param array|null $value Value to set for the governancePolicyTemplates property. + */ + public function setGovernancePolicyTemplates(?array $value): void { + $this->getBackingStore()->set('governancePolicyTemplates', $value); + } + + /** + * Sets the governanceRelationships property value. The governanceRelationships property + * @param array|null $value Value to set for the governanceRelationships property. + */ + public function setGovernanceRelationships(?array $value): void { + $this->getBackingStore()->set('governanceRelationships', $value); + } + + /** + * Sets the governanceRequests property value. The governanceRequests property + * @param array|null $value Value to set for the governanceRequests property. + */ + public function setGovernanceRequests(?array $value): void { + $this->getBackingStore()->set('governanceRequests', $value); + } + + /** + * Sets the relatedTenants property value. The relatedTenants property + * @param array|null $value Value to set for the relatedTenants property. + */ + public function setRelatedTenants(?array $value): void { + $this->getBackingStore()->set('relatedTenants', $value); + } + + /** + * Sets the settings property value. The settings property + * @param TenantGovernanceSetting|null $value Value to set for the settings property. + */ + public function setSettings(?TenantGovernanceSetting $value): void { + $this->getBackingStore()->set('settings', $value); + } + +} diff --git a/src/Generated/Models/TenantGovernancePolicyTemplate.php b/src/Generated/Models/TenantGovernancePolicyTemplate.php new file mode 100644 index 00000000000..3350b1064e9 --- /dev/null +++ b/src/Generated/Models/TenantGovernancePolicyTemplate.php @@ -0,0 +1,227 @@ +getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * Gets the delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property + * @return array|null + */ + public function getDelegatedAdministrationRoleAssignments(): ?array { + $val = $this->getBackingStore()->get('delegatedAdministrationRoleAssignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DelegatedAdministrationRoleAssignment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedAdministrationRoleAssignments'"); + } + + /** + * Gets the description property value. The description property + * @return string|null + */ + public function getDescription(): ?string { + $val = $this->getBackingStore()->get('description'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'description'"); + } + + /** + * Gets the displayName property value. The displayName property + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'delegatedAdministrationRoleAssignments' => fn(ParseNode $n) => $o->setDelegatedAdministrationRoleAssignments($n->getCollectionOfObjectValues([DelegatedAdministrationRoleAssignment::class, 'createFromDiscriminatorValue'])), + 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'governedTenantCanTerminate' => fn(ParseNode $n) => $o->setGovernedTenantCanTerminate($n->getBooleanValue()), + 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), + 'multiTenantApplicationsToProvision' => fn(ParseNode $n) => $o->setMultiTenantApplicationsToProvision($n->getCollectionOfObjectValues([MultiTenantApplicationsToProvision::class, 'createFromDiscriminatorValue'])), + 'version' => fn(ParseNode $n) => $o->setVersion($n->getStringValue()), + ]); + } + + /** + * Gets the governedTenantCanTerminate property value. The governedTenantCanTerminate property + * @return bool|null + */ + public function getGovernedTenantCanTerminate(): ?bool { + $val = $this->getBackingStore()->get('governedTenantCanTerminate'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'governedTenantCanTerminate'"); + } + + /** + * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property + * @return DateTime|null + */ + public function getLastModifiedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastModifiedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastModifiedDateTime'"); + } + + /** + * Gets the multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property + * @return array|null + */ + public function getMultiTenantApplicationsToProvision(): ?array { + $val = $this->getBackingStore()->get('multiTenantApplicationsToProvision'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, MultiTenantApplicationsToProvision::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'multiTenantApplicationsToProvision'"); + } + + /** + * Gets the version property value. The version property + * @return string|null + */ + public function getVersion(): ?string { + $val = $this->getBackingStore()->get('version'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'version'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeCollectionOfObjectValues('delegatedAdministrationRoleAssignments', $this->getDelegatedAdministrationRoleAssignments()); + $writer->writeStringValue('description', $this->getDescription()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeBooleanValue('governedTenantCanTerminate', $this->getGovernedTenantCanTerminate()); + $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); + $writer->writeCollectionOfObjectValues('multiTenantApplicationsToProvision', $this->getMultiTenantApplicationsToProvision()); + $writer->writeStringValue('version', $this->getVersion()); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property + * @param array|null $value Value to set for the delegatedAdministrationRoleAssignments property. + */ + public function setDelegatedAdministrationRoleAssignments(?array $value): void { + $this->getBackingStore()->set('delegatedAdministrationRoleAssignments', $value); + } + + /** + * Sets the description property value. The description property + * @param string|null $value Value to set for the description property. + */ + public function setDescription(?string $value): void { + $this->getBackingStore()->set('description', $value); + } + + /** + * Sets the displayName property value. The displayName property + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the governedTenantCanTerminate property value. The governedTenantCanTerminate property + * @param bool|null $value Value to set for the governedTenantCanTerminate property. + */ + public function setGovernedTenantCanTerminate(?bool $value): void { + $this->getBackingStore()->set('governedTenantCanTerminate', $value); + } + + /** + * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property + * @param DateTime|null $value Value to set for the lastModifiedDateTime property. + */ + public function setLastModifiedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastModifiedDateTime', $value); + } + + /** + * Sets the multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property + * @param array|null $value Value to set for the multiTenantApplicationsToProvision property. + */ + public function setMultiTenantApplicationsToProvision(?array $value): void { + $this->getBackingStore()->set('multiTenantApplicationsToProvision', $value); + } + + /** + * Sets the version property value. The version property + * @param string|null $value Value to set for the version property. + */ + public function setVersion(?string $value): void { + $this->getBackingStore()->set('version', $value); + } + +} diff --git a/src/Generated/Models/TenantGovernancePolicyTemplateCollectionResponse.php b/src/Generated/Models/TenantGovernancePolicyTemplateCollectionResponse.php new file mode 100644 index 00000000000..ee15fef02d2 --- /dev/null +++ b/src/Generated/Models/TenantGovernancePolicyTemplateCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([TenantGovernancePolicyTemplate::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, TenantGovernancePolicyTemplate::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/TenantGovernanceSetting.php b/src/Generated/Models/TenantGovernanceSetting.php new file mode 100644 index 00000000000..1039ad460d3 --- /dev/null +++ b/src/Generated/Models/TenantGovernanceSetting.php @@ -0,0 +1,89 @@ +getBackingStore()->get('canReceiveInvitations'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'canReceiveInvitations'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'canReceiveInvitations' => fn(ParseNode $n) => $o->setCanReceiveInvitations($n->getBooleanValue()), + 'isRelatedTenantsEnabled' => fn(ParseNode $n) => $o->setIsRelatedTenantsEnabled($n->getBooleanValue()), + ]); + } + + /** + * Gets the isRelatedTenantsEnabled property value. The isRelatedTenantsEnabled property + * @return bool|null + */ + public function getIsRelatedTenantsEnabled(): ?bool { + $val = $this->getBackingStore()->get('isRelatedTenantsEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isRelatedTenantsEnabled'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeBooleanValue('canReceiveInvitations', $this->getCanReceiveInvitations()); + $writer->writeBooleanValue('isRelatedTenantsEnabled', $this->getIsRelatedTenantsEnabled()); + } + + /** + * Sets the canReceiveInvitations property value. The canReceiveInvitations property + * @param bool|null $value Value to set for the canReceiveInvitations property. + */ + public function setCanReceiveInvitations(?bool $value): void { + $this->getBackingStore()->set('canReceiveInvitations', $value); + } + + /** + * Sets the isRelatedTenantsEnabled property value. The isRelatedTenantsEnabled property + * @param bool|null $value Value to set for the isRelatedTenantsEnabled property. + */ + public function setIsRelatedTenantsEnabled(?bool $value): void { + $this->getBackingStore()->set('isRelatedTenantsEnabled', $value); + } + +} diff --git a/src/Generated/Models/User.php b/src/Generated/Models/User.php index 417be0d620a..40d423b3329 100644 --- a/src/Generated/Models/User.php +++ b/src/Generated/Models/User.php @@ -780,6 +780,7 @@ public function getFieldDeserializers(): array { 'messages' => fn(ParseNode $n) => $o->setMessages($n->getCollectionOfObjectValues([Message::class, 'createFromDiscriminatorValue'])), 'mobilePhone' => fn(ParseNode $n) => $o->setMobilePhone($n->getStringValue()), 'mySite' => fn(ParseNode $n) => $o->setMySite($n->getStringValue()), + 'notes' => fn(ParseNode $n) => $o->setNotes($n->getCollectionOfObjectValues([Note::class, 'createFromDiscriminatorValue'])), 'oauth2PermissionGrants' => fn(ParseNode $n) => $o->setOauth2PermissionGrants($n->getCollectionOfObjectValues([OAuth2PermissionGrant::class, 'createFromDiscriminatorValue'])), 'officeLocation' => fn(ParseNode $n) => $o->setOfficeLocation($n->getStringValue()), 'onenote' => fn(ParseNode $n) => $o->setOnenote($n->getObjectValue([Onenote::class, 'createFromDiscriminatorValue'])), @@ -1242,6 +1243,20 @@ public function getMySite(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'mySite'"); } + /** + * Gets the notes property value. The notes in the user's Notes folder. Read-only. Nullable. + * @return array|null + */ + public function getNotes(): ?array { + $val = $this->getBackingStore()->get('notes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Note::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); + } + /** * Gets the oauth2PermissionGrants property value. The oauth2PermissionGrants property * @return array|null @@ -2052,6 +2067,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('messages', $this->getMessages()); $writer->writeStringValue('mobilePhone', $this->getMobilePhone()); $writer->writeStringValue('mySite', $this->getMySite()); + $writer->writeCollectionOfObjectValues('notes', $this->getNotes()); $writer->writeCollectionOfObjectValues('oauth2PermissionGrants', $this->getOauth2PermissionGrants()); $writer->writeStringValue('officeLocation', $this->getOfficeLocation()); $writer->writeObjectValue('onenote', $this->getOnenote()); @@ -2735,6 +2751,14 @@ public function setMySite(?string $value): void { $this->getBackingStore()->set('mySite', $value); } + /** + * Sets the notes property value. The notes in the user's Notes folder. Read-only. Nullable. + * @param array|null $value Value to set for the notes property. + */ + public function setNotes(?array $value): void { + $this->getBackingStore()->set('notes', $value); + } + /** * Sets the oauth2PermissionGrants property value. The oauth2PermissionGrants property * @param array|null $value Value to set for the oauth2PermissionGrants property. diff --git a/src/Generated/Users/Item/Notes/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Notes/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..ec676af1bee --- /dev/null +++ b/src/Generated/Users/Item/Notes/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/notes/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Notes/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Notes/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..eef5ea2f705 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/Notes/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Notes/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f51302cd70f --- /dev/null +++ b/src/Generated/Users/Item/Notes/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/Notes/Delta/DeltaGetResponse.php b/src/Generated/Users/Item/Notes/Delta/DeltaGetResponse.php new file mode 100644 index 00000000000..4dda31e4f54 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Delta/DeltaGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Note::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Note::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Users/Item/Notes/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Notes/Delta/DeltaRequestBuilder.php new file mode 100644 index 00000000000..fb4ac87d116 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Delta/DeltaRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/notes/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a set of note objects that were added, updated, or deleted in the user's *Notes* folder since the last delta query. A delta function call for notes is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the notes. + * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/note-delta?view=graph-rest-1.0 Find more info here + */ + public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DeltaGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a set of note objects that were added, updated, or deleted in the user's *Notes* folder since the last delta query. A delta function call for notes is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the notes. + * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DeltaRequestBuilder + */ + public function withUrl(string $rawUrl): DeltaRequestBuilder { + return new DeltaRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Notes/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Notes/Delta/DeltaRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7ae0887f4d8 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new DeltaRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/Notes/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Notes/Delta/DeltaRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..da25e11e8c8 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Delta/DeltaRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DeltaRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DeltaRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DeltaRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return DeltaRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaRequestBuilderGetQueryParameters { + return new DeltaRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilder.php new file mode 100644 index 00000000000..2b668755010 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilder.php @@ -0,0 +1,141 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the createUploadSession method. + */ + public function createUploadSession(): CreateUploadSessionRequestBuilder { + return new CreateUploadSessionRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the attachments property of the microsoft.graph.note entity. + * @param string $attachmentId The unique identifier of attachment + * @return AttachmentItemRequestBuilder + */ + public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['attachment%2Did'] = $attachmentId; + return new AttachmentItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AttachmentsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/notes/{note%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. + * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AttachmentCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to attachments for users + * @param Attachment $body The request body + * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Attachment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. + * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to attachments for users + * @param Attachment $body The request body + * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return AttachmentsRequestBuilder + */ + public function withUrl(string $rawUrl): AttachmentsRequestBuilder { + return new AttachmentsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..de2e4ce64ac --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new AttachmentsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..eee9a4a48fc --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AttachmentsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AttachmentsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AttachmentsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return AttachmentsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..20134f71ed6 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/AttachmentsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Notes/Item/Attachments/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..2e007a1dedf --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/notes/{note%2Did}/attachments/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Notes/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c605a321c22 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..198a3a848cf --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.php b/src/Generated/Users/Item/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.php new file mode 100644 index 00000000000..def0cb973dc --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return CreateUploadSessionPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CreateUploadSessionPostRequestBody { + return new CreateUploadSessionPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the AttachmentItem property value. The AttachmentItem property + * @return AttachmentItem|null + */ + public function getAttachmentItem(): ?AttachmentItem { + $val = $this->getBackingStore()->get('attachmentItem'); + if (is_null($val) || $val instanceof AttachmentItem) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'attachmentItem'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'AttachmentItem' => fn(ParseNode $n) => $o->setAttachmentItem($n->getObjectValue([AttachmentItem::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('AttachmentItem', $this->getAttachmentItem()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the AttachmentItem property value. The AttachmentItem property + * @param AttachmentItem|null $value Value to set for the AttachmentItem property. + */ + public function setAttachmentItem(?AttachmentItem $value): void { + $this->getBackingStore()->set('attachmentItem', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php new file mode 100644 index 00000000000..538a55db8a9 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/notes/{note%2Did}/attachments/createUploadSession'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * @param CreateUploadSessionPostRequestBody $body The request body + * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 Find more info here + */ + public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSessionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UploadSession::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * @param CreateUploadSessionPostRequestBody $body The request body + * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(CreateUploadSessionPostRequestBody $body, ?CreateUploadSessionRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CreateUploadSessionRequestBuilder + */ + public function withUrl(string $rawUrl): CreateUploadSessionRequestBuilder { + return new CreateUploadSessionRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..392840e5d77 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilder.php new file mode 100644 index 00000000000..e576430c034 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -0,0 +1,109 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/notes/{note%2Did}/attachments/{attachment%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property attachments for users + * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?AttachmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. + * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Attachment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property attachments for users + * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. + * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return AttachmentItemRequestBuilder + */ + public function withUrl(string $rawUrl): AttachmentItemRequestBuilder { + return new AttachmentItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..dcb6fb7d6b2 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..588bc349e8b --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new AttachmentItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..638483c7789 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Attachments/Item/AttachmentItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AttachmentItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AttachmentItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AttachmentItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AttachmentItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AttachmentItemRequestBuilderGetQueryParameters { + return new AttachmentItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Notes/Item/Extensions/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..40da8d12bb1 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/notes/{note%2Did}/extensions/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Notes/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1fe8c46b69b --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8d9d07ed0fa --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilder.php new file mode 100644 index 00000000000..f15b036ad6c --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the extensions property of the microsoft.graph.note entity. + * @param string $extensionId The unique identifier of extension + * @return ExtensionItemRequestBuilder + */ + public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['extension%2Did'] = $extensionId; + return new ExtensionItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ExtensionsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/notes/{note%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The collection of open extensions defined for the note. + * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExtensionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to extensions for users + * @param Extension $body The request body + * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Extension::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The collection of open extensions defined for the note. + * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to extensions for users + * @param Extension $body The request body + * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ExtensionsRequestBuilder + */ + public function withUrl(string $rawUrl): ExtensionsRequestBuilder { + return new ExtensionsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..59ae98863dc --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new ExtensionsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f6c99aad4f7 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ExtensionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ExtensionsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ExtensionsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return ExtensionsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..77adfc3a551 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/ExtensionsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilder.php new file mode 100644 index 00000000000..8b754d070f7 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/notes/{note%2Did}/extensions/{extension%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property extensions for users + * @param ExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The collection of open extensions defined for the note. + * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ExtensionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Extension::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property extensions in users + * @param Extension $body The request body + * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(Extension $body, ?ExtensionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Extension::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property extensions for users + * @param ExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The collection of open extensions defined for the note. + * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property extensions in users + * @param Extension $body The request body + * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ExtensionItemRequestBuilder + */ + public function withUrl(string $rawUrl): ExtensionItemRequestBuilder { + return new ExtensionItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..647589166e6 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5fc54aa8365 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new ExtensionItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..004e1d93d83 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ExtensionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ExtensionItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ExtensionItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ExtensionItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ExtensionItemRequestBuilderGetQueryParameters { + return new ExtensionItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..645f80ca480 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/Extensions/Item/ExtensionItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilder.php b/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilder.php new file mode 100644 index 00000000000..bbe81788063 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilder.php @@ -0,0 +1,160 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the extensions property of the microsoft.graph.note entity. + */ + public function extensions(): ExtensionsRequestBuilder { + return new ExtensionsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new NoteItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/notes/{note%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property notes for users + * @param NoteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?NoteItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The notes in the user's Notes folder. Read-only. Nullable. + * @param NoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?NoteItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Note::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property notes in users + * @param Note $body The request body + * @param NoteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(Note $body, ?NoteItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Note::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property notes for users + * @param NoteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?NoteItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The notes in the user's Notes folder. Read-only. Nullable. + * @param NoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?NoteItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property notes in users + * @param Note $body The request body + * @param NoteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(Note $body, ?NoteItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return NoteItemRequestBuilder + */ + public function withUrl(string $rawUrl): NoteItemRequestBuilder { + return new NoteItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..b6b923d9660 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2e18fc8d9a5 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new NoteItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..878c00d2c56 --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param NoteItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?NoteItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new NoteItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return NoteItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): NoteItemRequestBuilderGetQueryParameters { + return new NoteItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..41f224ccffa --- /dev/null +++ b/src/Generated/Users/Item/Notes/Item/NoteItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Notes/NotesRequestBuilder.php b/src/Generated/Users/Item/Notes/NotesRequestBuilder.php new file mode 100644 index 00000000000..dc45db618dc --- /dev/null +++ b/src/Generated/Users/Item/Notes/NotesRequestBuilder.php @@ -0,0 +1,141 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the delta method. + */ + public function delta(): DeltaRequestBuilder { + return new DeltaRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the notes property of the microsoft.graph.user entity. + * @param string $noteId The unique identifier of note + * @return NoteItemRequestBuilder + */ + public function byNoteId(string $noteId): NoteItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['note%2Did'] = $noteId; + return new NoteItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new NotesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/notes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The notes in the user's Notes folder. Read-only. Nullable. + * @param NotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?NotesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [NoteCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to notes for users + * @param Note $body The request body + * @param NotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(Note $body, ?NotesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Note::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The notes in the user's Notes folder. Read-only. Nullable. + * @param NotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?NotesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to notes for users + * @param Note $body The request body + * @param NotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(Note $body, ?NotesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return NotesRequestBuilder + */ + public function withUrl(string $rawUrl): NotesRequestBuilder { + return new NotesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Notes/NotesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Notes/NotesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9a22d1c8acc --- /dev/null +++ b/src/Generated/Users/Item/Notes/NotesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new NotesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/Notes/NotesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Notes/NotesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c2fc3b84c54 --- /dev/null +++ b/src/Generated/Users/Item/Notes/NotesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param NotesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?NotesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new NotesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return NotesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): NotesRequestBuilderGetQueryParameters { + return new NotesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Notes/NotesRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Notes/NotesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..09ddad2dd7f --- /dev/null +++ b/src/Generated/Users/Item/Notes/NotesRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index dc0b8f686ed..13750d177da 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -55,6 +55,7 @@ use Microsoft\Graph\Generated\Users\Item\Manager\ManagerRequestBuilder; use Microsoft\Graph\Generated\Users\Item\MemberOf\MemberOfRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Messages\MessagesRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\Notes\NotesRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Oauth2PermissionGrants\Oauth2PermissionGrantsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Onenote\OnenoteRequestBuilder; use Microsoft\Graph\Generated\Users\Item\OnlineMeetings\OnlineMeetingsRequestBuilder; @@ -433,6 +434,13 @@ public function messages(): MessagesRequestBuilder { return new MessagesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the notes property of the microsoft.graph.user entity. + */ + public function notes(): NotesRequestBuilder { + return new NotesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.user entity. */ diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index cf942c78b0a..d104f62893c 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -829,12 +829,16 @@ Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolder Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.delta.deltaRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DeltaRequestBuilderGetQueryParameters Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilder::|public|Delete(requestConfiguration?:MailboxItemItemRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilder::|public|Get(requestConfiguration?:MailboxItemItemRequestBuilderGetRequestConfiguration):MailboxItem Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:MailboxItemItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MailboxItemItemRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilder::|public|WithUrl(rawUrl:string):MailboxItemItemRequestBuilder +Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilderGetQueryParameters::|public|expand:array Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.childFolders.item.items.item.MailboxItemItemRequestBuilderGetQueryParameters::|public|select:array @@ -927,12 +931,16 @@ Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.delta Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.delta.deltaRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DeltaRequestBuilderGetQueryParameters Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilder::|public|Delete(requestConfiguration?:MailboxItemItemRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilder::|public|Get(requestConfiguration?:MailboxItemItemRequestBuilderGetRequestConfiguration):MailboxItem Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:MailboxItemItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MailboxItemItemRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilder::|public|WithUrl(rawUrl:string):MailboxItemItemRequestBuilder +Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilderGetQueryParameters::|public|expand:array Microsoft\Graph\Generated.admin.exchange.mailboxes.item.folders.item.items.item.MailboxItemItemRequestBuilderGetQueryParameters::|public|select:array @@ -32007,6 +32015,7 @@ Microsoft\Graph\Generated.directory.DirectoryRequestBuilder::|public|remoteTenan Microsoft\Graph\Generated.directory.DirectoryRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.directory.DirectoryRequestBuilder::|public|subscriptions:SubscriptionsRequestBuilder Microsoft\Graph\Generated.directory.DirectoryRequestBuilder::|public|subscriptionsWithCommerceSubscriptionId(commerceSubscriptionId:string):SubscriptionsWithCommerceSubscriptionIdRequestBuilder +Microsoft\Graph\Generated.directory.DirectoryRequestBuilder::|public|tenantGovernance:TenantGovernanceRequestBuilder Microsoft\Graph\Generated.directory.DirectoryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DirectoryRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.directory.DirectoryRequestBuilder::|public|ToPatchRequestInformation(body:Directory; requestConfiguration?:DirectoryRequestBuilderPatchRequestConfiguration):RequestInformation Microsoft\Graph\Generated.directory.DirectoryRequestBuilder::|public|urlTemplate:string @@ -32782,6 +32791,501 @@ Microsoft\Graph\Generated.directory.subscriptionsWithCommerceSubscriptionId.subs Microsoft\Graph\Generated.directory.subscriptionsWithCommerceSubscriptionId.subscriptionsWithCommerceSubscriptionIdRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters Microsoft\Graph\Generated.directory.subscriptionsWithCommerceSubscriptionId.subscriptionsWithCommerceSubscriptionIdRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.directory.subscriptionsWithCommerceSubscriptionId.subscriptionsWithCommerceSubscriptionIdRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder::|public|ByGovernanceInvitationId(governanceInvitationId:string):GovernanceInvitationItemRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder::|public|Get(requestConfiguration?:GovernanceInvitationsRequestBuilderGetRequestConfiguration):GovernanceInvitationCollectionResponse +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder::|public|Post(body:GovernanceInvitation; requestConfiguration?:GovernanceInvitationsRequestBuilderPostRequestConfiguration):GovernanceInvitation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GovernanceInvitationsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder::|public|ToPostRequestInformation(body:GovernanceInvitation; requestConfiguration?:GovernanceInvitationsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.GovernanceInvitationsRequestBuilder::|public|WithUrl(rawUrl:string):GovernanceInvitationsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GovernanceInvitationsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetRequestConfiguration::|public|queryParameters:GovernanceInvitationsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):GovernanceInvitationsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.governanceInvitationsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder::|public|Delete(requestConfiguration?:GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder::|public|Get(requestConfiguration?:GovernanceInvitationItemRequestBuilderGetRequestConfiguration):GovernanceInvitation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder::|public|Patch(body:GovernanceInvitation; requestConfiguration?:GovernanceInvitationItemRequestBuilderPatchRequestConfiguration):GovernanceInvitation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GovernanceInvitationItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder::|public|ToPatchRequestInformation(body:GovernanceInvitation; requestConfiguration?:GovernanceInvitationItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilder::|public|WithUrl(rawUrl:string):GovernanceInvitationItemRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GovernanceInvitationItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:GovernanceInvitationItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):GovernanceInvitationItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceInvitations.item.GovernanceInvitationItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|ByTenantGovernancePolicyTemplateId(tenantGovernancePolicyTemplateId:string):TenantGovernancePolicyTemplateItemRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|Get(requestConfiguration?:GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration):TenantGovernancePolicyTemplateCollectionResponse +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|Post(body:TenantGovernancePolicyTemplate; requestConfiguration?:GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration):TenantGovernancePolicyTemplate +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|ToPostRequestInformation(body:TenantGovernancePolicyTemplate; requestConfiguration?:GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|WithUrl(rawUrl:string):GovernancePolicyTemplatesRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GovernancePolicyTemplatesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetRequestConfiguration::|public|queryParameters:GovernancePolicyTemplatesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):GovernancePolicyTemplatesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.governancePolicyTemplatesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|Delete(requestConfiguration?:TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|Get(requestConfiguration?:TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration):TenantGovernancePolicyTemplate +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|Patch(body:TenantGovernancePolicyTemplate; requestConfiguration?:TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration):TenantGovernancePolicyTemplate +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|ToPatchRequestInformation(body:TenantGovernancePolicyTemplate; requestConfiguration?:TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):TenantGovernancePolicyTemplateItemRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration::|public|queryParameters:TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder::|public|ByGovernanceRelationshipId(governanceRelationshipId:string):GovernanceRelationshipItemRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder::|public|Get(requestConfiguration?:GovernanceRelationshipsRequestBuilderGetRequestConfiguration):GovernanceRelationshipCollectionResponse +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder::|public|Post(body:GovernanceRelationship; requestConfiguration?:GovernanceRelationshipsRequestBuilderPostRequestConfiguration):GovernanceRelationship +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GovernanceRelationshipsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder::|public|ToPostRequestInformation(body:GovernanceRelationship; requestConfiguration?:GovernanceRelationshipsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.GovernanceRelationshipsRequestBuilder::|public|WithUrl(rawUrl:string):GovernanceRelationshipsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GovernanceRelationshipsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetRequestConfiguration::|public|queryParameters:GovernanceRelationshipsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):GovernanceRelationshipsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.governanceRelationshipsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder::|public|Delete(requestConfiguration?:GovernanceRelationshipItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder::|public|Get(requestConfiguration?:GovernanceRelationshipItemRequestBuilderGetRequestConfiguration):GovernanceRelationship +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder::|public|Patch(body:GovernanceRelationship; requestConfiguration?:GovernanceRelationshipItemRequestBuilderPatchRequestConfiguration):GovernanceRelationship +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:GovernanceRelationshipItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GovernanceRelationshipItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder::|public|ToPatchRequestInformation(body:GovernanceRelationship; requestConfiguration?:GovernanceRelationshipItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilder::|public|WithUrl(rawUrl:string):GovernanceRelationshipItemRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GovernanceRelationshipItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilderGetRequestConfiguration::|public|queryParameters:GovernanceRelationshipItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):GovernanceRelationshipItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRelationships.item.GovernanceRelationshipItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder::|public|ByGovernanceRequestId(governanceRequestId:string):GovernanceRequestItemRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder::|public|Get(requestConfiguration?:GovernanceRequestsRequestBuilderGetRequestConfiguration):GovernanceRequestCollectionResponse +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder::|public|Post(body:GovernanceRequest; requestConfiguration?:GovernanceRequestsRequestBuilderPostRequestConfiguration):GovernanceRequest +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GovernanceRequestsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder::|public|ToPostRequestInformation(body:GovernanceRequest; requestConfiguration?:GovernanceRequestsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.GovernanceRequestsRequestBuilder::|public|WithUrl(rawUrl:string):GovernanceRequestsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GovernanceRequestsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetRequestConfiguration::|public|queryParameters:GovernanceRequestsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):GovernanceRequestsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.governanceRequestsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|Get(requestConfiguration?:GovernancePolicyTemplateRequestBuilderGetRequestConfiguration):TenantGovernancePolicyTemplate +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GovernancePolicyTemplateRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|WithUrl(rawUrl:string):GovernancePolicyTemplateRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.governancePolicyTemplateRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.governancePolicyTemplateRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.governancePolicyTemplateRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.governancePolicyTemplateRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.governancePolicyTemplateRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GovernancePolicyTemplateRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.governancePolicyTemplateRequestBuilderGetRequestConfiguration::|public|queryParameters:GovernancePolicyTemplateRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.governancePolicyTemplateRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):GovernancePolicyTemplateRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|Delete(requestConfiguration?:GovernanceRequestItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|Get(requestConfiguration?:GovernanceRequestItemRequestBuilderGetRequestConfiguration):GovernanceRequest +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|governancePolicyTemplate:GovernancePolicyTemplateRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|Patch(body:GovernanceRequest; requestConfiguration?:GovernanceRequestItemRequestBuilderPatchRequestConfiguration):GovernanceRequest +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:GovernanceRequestItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GovernanceRequestItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|ToPatchRequestInformation(body:GovernanceRequest; requestConfiguration?:GovernanceRequestItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilder::|public|WithUrl(rawUrl:string):GovernanceRequestItemRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GovernanceRequestItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilderGetRequestConfiguration::|public|queryParameters:GovernanceRequestItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):GovernanceRequestItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.governanceRequests.item.GovernanceRequestItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.AppB2BSignInActivityMetricsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|Get(requestConfiguration?:AppB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration):B2BSignInActivityMetrics +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AppB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.AppB2BSignInActivityMetricsRequestBuilder::|public|WithUrl(rawUrl:string):AppB2BSignInActivityMetricsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.appB2BSignInActivityMetricsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.appB2BSignInActivityMetricsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.appB2BSignInActivityMetricsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.appB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.appB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.appB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration::|public|queryParameters:AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.appB2BSignInActivityMetrics.appB2BSignInActivityMetricsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.B2BRegistrationMetricsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.B2BRegistrationMetricsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.B2BRegistrationMetricsRequestBuilder::|public|Get(requestConfiguration?:B2BRegistrationMetricsRequestBuilderGetRequestConfiguration):B2bRegistrationMetrics +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.B2BRegistrationMetricsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.B2BRegistrationMetricsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.B2BRegistrationMetricsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:B2BRegistrationMetricsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.B2BRegistrationMetricsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.B2BRegistrationMetricsRequestBuilder::|public|WithUrl(rawUrl:string):B2BRegistrationMetricsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.b2BRegistrationMetricsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.b2BRegistrationMetricsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.b2BRegistrationMetricsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.b2BRegistrationMetricsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.b2BRegistrationMetricsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:B2BRegistrationMetricsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.b2BRegistrationMetricsRequestBuilderGetRequestConfiguration::|public|queryParameters:B2BRegistrationMetricsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BRegistrationMetrics.b2BRegistrationMetricsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):B2BRegistrationMetricsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.B2BSignInActivityMetricsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.B2BSignInActivityMetricsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.B2BSignInActivityMetricsRequestBuilder::|public|Get(requestConfiguration?:B2BSignInActivityMetricsRequestBuilderGetRequestConfiguration):B2BSignInActivityMetrics +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.B2BSignInActivityMetricsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.B2BSignInActivityMetricsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.B2BSignInActivityMetricsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:B2BSignInActivityMetricsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.B2BSignInActivityMetricsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.B2BSignInActivityMetricsRequestBuilder::|public|WithUrl(rawUrl:string):B2BSignInActivityMetricsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.b2BSignInActivityMetricsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.b2BSignInActivityMetricsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.b2BSignInActivityMetricsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.b2BSignInActivityMetricsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.b2BSignInActivityMetricsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:B2BSignInActivityMetricsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.b2BSignInActivityMetricsRequestBuilderGetRequestConfiguration::|public|queryParameters:B2BSignInActivityMetricsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.b2BSignInActivityMetrics.b2BSignInActivityMetricsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):B2BSignInActivityMetricsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.BillingMetricsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.BillingMetricsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.BillingMetricsRequestBuilder::|public|Get(requestConfiguration?:BillingMetricsRequestBuilderGetRequestConfiguration):BillingMetrics +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.BillingMetricsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.BillingMetricsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.BillingMetricsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:BillingMetricsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.BillingMetricsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.BillingMetricsRequestBuilder::|public|WithUrl(rawUrl:string):BillingMetricsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.billingMetricsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.billingMetricsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.billingMetricsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.billingMetricsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.billingMetricsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:BillingMetricsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.billingMetricsRequestBuilderGetRequestConfiguration::|public|queryParameters:BillingMetricsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.billingMetrics.billingMetricsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):BillingMetricsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.MultiTenantApplicationMetricsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.MultiTenantApplicationMetricsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.MultiTenantApplicationMetricsRequestBuilder::|public|Get(requestConfiguration?:MultiTenantApplicationMetricsRequestBuilderGetRequestConfiguration):MultiTenantApplicationMetrics +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.MultiTenantApplicationMetricsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.MultiTenantApplicationMetricsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.MultiTenantApplicationMetricsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MultiTenantApplicationMetricsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.MultiTenantApplicationMetricsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.MultiTenantApplicationMetricsRequestBuilder::|public|WithUrl(rawUrl:string):MultiTenantApplicationMetricsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.multiTenantApplicationMetricsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.multiTenantApplicationMetricsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.multiTenantApplicationMetricsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.multiTenantApplicationMetricsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.multiTenantApplicationMetricsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MultiTenantApplicationMetricsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.multiTenantApplicationMetricsRequestBuilderGetRequestConfiguration::|public|queryParameters:MultiTenantApplicationMetricsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.multiTenantApplicationMetrics.multiTenantApplicationMetricsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):MultiTenantApplicationMetricsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|appB2BSignInActivityMetrics:AppB2BSignInActivityMetricsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|b2BRegistrationMetrics:B2BRegistrationMetricsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|b2BSignInActivityMetrics:B2BSignInActivityMetricsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|billingMetrics:BillingMetricsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|Delete(requestConfiguration?:RelatedTenantItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|Get(requestConfiguration?:RelatedTenantItemRequestBuilderGetRequestConfiguration):RelatedTenant +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|multiTenantApplicationMetrics:MultiTenantApplicationMetricsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|Patch(body:RelatedTenant; requestConfiguration?:RelatedTenantItemRequestBuilderPatchRequestConfiguration):RelatedTenant +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:RelatedTenantItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RelatedTenantItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|ToPatchRequestInformation(body:RelatedTenant; requestConfiguration?:RelatedTenantItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|WithUrl(rawUrl:string):RelatedTenantItemRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RelatedTenantItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilderGetRequestConfiguration::|public|queryParameters:RelatedTenantItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RelatedTenantItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|Post(requestConfiguration?:RefreshRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RefreshRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|WithUrl(rawUrl:string):RefreshRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.refresh.refreshRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.refresh.refreshRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|ByRelatedTenantId(relatedTenantId:string):RelatedTenantItemRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|Get(requestConfiguration?:RelatedTenantsRequestBuilderGetRequestConfiguration):RelatedTenantCollectionResponse +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|Post(body:RelatedTenant; requestConfiguration?:RelatedTenantsRequestBuilderPostRequestConfiguration):RelatedTenant +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|refresh:RefreshRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RelatedTenantsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|ToPostRequestInformation(body:RelatedTenant; requestConfiguration?:RelatedTenantsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|WithUrl(rawUrl:string):RelatedTenantsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RelatedTenantsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetRequestConfiguration::|public|queryParameters:RelatedTenantsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):RelatedTenantsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.relatedTenants.relatedTenantsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|Post(requestConfiguration?:EnableRelatedTenantsRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:EnableRelatedTenantsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|WithUrl(rawUrl:string):EnableRelatedTenantsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.settings.enableRelatedTenants.enableRelatedTenantsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.settings.enableRelatedTenants.enableRelatedTenantsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|Delete(requestConfiguration?:SettingsRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|enableRelatedTenants:EnableRelatedTenantsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|Get(requestConfiguration?:SettingsRequestBuilderGetRequestConfiguration):TenantGovernanceSetting +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|Patch(body:TenantGovernanceSetting; requestConfiguration?:SettingsRequestBuilderPatchRequestConfiguration):TenantGovernanceSetting +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SettingsRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SettingsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|ToPatchRequestInformation(body:TenantGovernanceSetting; requestConfiguration?:SettingsRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|WithUrl(rawUrl:string):SettingsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.settings.settingsRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.settings.settingsRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.settings.settingsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.settings.settingsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.settings.settingsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.settings.settingsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.settings.settingsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:SettingsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.settings.settingsRequestBuilderGetRequestConfiguration::|public|queryParameters:SettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.settings.settingsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.settings.settingsRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.settings.settingsRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|Delete(requestConfiguration?:TenantGovernanceRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|Get(requestConfiguration?:TenantGovernanceRequestBuilderGetRequestConfiguration):TenantGovernance +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|governanceInvitations:GovernanceInvitationsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|governancePolicyTemplates:GovernancePolicyTemplatesRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|governanceRelationships:GovernanceRelationshipsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|governanceRequests:GovernanceRequestsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|Patch(body:TenantGovernance; requestConfiguration?:TenantGovernanceRequestBuilderPatchRequestConfiguration):TenantGovernance +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|relatedTenants:RelatedTenantsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|settings:SettingsRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TenantGovernanceRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TenantGovernanceRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|ToPatchRequestInformation(body:TenantGovernance; requestConfiguration?:TenantGovernanceRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.directory.tenantGovernance.TenantGovernanceRequestBuilder::|public|WithUrl(rawUrl:string):TenantGovernanceRequestBuilder +Microsoft\Graph\Generated.directory.tenantGovernance.tenantGovernanceRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.tenantGovernanceRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.tenantGovernanceRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.directory.tenantGovernance.tenantGovernanceRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.directory.tenantGovernance.tenantGovernanceRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.directory.tenantGovernance.tenantGovernanceRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.tenantGovernanceRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TenantGovernanceRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.directory.tenantGovernance.tenantGovernanceRequestBuilderGetRequestConfiguration::|public|queryParameters:TenantGovernanceRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.tenantGovernanceRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TenantGovernanceRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.tenantGovernance.tenantGovernanceRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.directory.tenantGovernance.tenantGovernanceRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.directoryObjects.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.directoryObjects.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.directoryObjects.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -99073,6 +99577,7 @@ Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.inst Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|acceptRecommendations:AcceptRecommendationsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|applyDecisions:ApplyDecisionsRequestBuilder +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|batchApplyCustomDataProvidedResourceDecisions:BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|batchRecordDecisions:BatchRecordDecisionsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|contactedReviewers:ContactedReviewersRequestBuilder @@ -99112,6 +99617,31 @@ Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.inst Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.applyDecisions.ApplyDecisionsRequestBuilder::|public|WithUrl(rawUrl:string):ApplyDecisionsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.applyDecisions.applyDecisionsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.applyDecisions.applyDecisionsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getApplyDescription():string +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getApplyResult():AccessReviewInstanceDecisionItemApplyResult +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getCustomDataProvidedResourceId():string +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setApplyDescription(value?:string):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setApplyResult(value?:AccessReviewInstanceDecisionItemApplyResult):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setCustomDataProvidedResourceId(value?:string):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|Post(body:BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody; requestConfiguration?:BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|ToPostRequestInformation(body:BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody; requestConfiguration?:BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|WithUrl(rawUrl:string):BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchRecordDecisions.batchRecordDecisionsPostRequestBody::|public|constructor():void Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchRecordDecisions.batchRecordDecisionsPostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Generated.identityGovernance.accessReviews.definitions.item.instances.item.batchRecordDecisions.batchRecordDecisionsPostRequestBody::|public|getBackingStore():BackingStore @@ -100191,6 +100721,7 @@ Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.i Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|acceptRecommendations:AcceptRecommendationsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|applyDecisions:ApplyDecisionsRequestBuilder +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|batchApplyCustomDataProvidedResourceDecisions:BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|batchRecordDecisions:BatchRecordDecisionsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.AccessReviewInstanceItemRequestBuilder::|public|contactedReviewers:ContactedReviewersRequestBuilder @@ -100230,6 +100761,31 @@ Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.i Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.applyDecisions.ApplyDecisionsRequestBuilder::|public|WithUrl(rawUrl:string):ApplyDecisionsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.applyDecisions.applyDecisionsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.applyDecisions.applyDecisionsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getApplyDescription():string +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getApplyResult():AccessReviewInstanceDecisionItemApplyResult +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getCustomDataProvidedResourceId():string +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setApplyDescription(value?:string):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setApplyResult(value?:AccessReviewInstanceDecisionItemApplyResult):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setCustomDataProvidedResourceId(value?:string):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|Post(body:BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody; requestConfiguration?:BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|ToPostRequestInformation(body:BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody; requestConfiguration?:BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|WithUrl(rawUrl:string):BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchRecordDecisions.batchRecordDecisionsPostRequestBody::|public|constructor():void Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchRecordDecisions.batchRecordDecisionsPostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.definitions.item.instances.item.batchRecordDecisions.batchRecordDecisionsPostRequestBody::|public|getBackingStore():BackingStore @@ -100911,6 +101467,7 @@ Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.ite Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.AccessReviewInstanceItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.AccessReviewInstanceItemRequestBuilder::|public|acceptRecommendations:AcceptRecommendationsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.AccessReviewInstanceItemRequestBuilder::|public|applyDecisions:ApplyDecisionsRequestBuilder +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.AccessReviewInstanceItemRequestBuilder::|public|batchApplyCustomDataProvidedResourceDecisions:BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.AccessReviewInstanceItemRequestBuilder::|public|batchRecordDecisions:BatchRecordDecisionsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.AccessReviewInstanceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.AccessReviewInstanceItemRequestBuilder::|public|contactedReviewers:ContactedReviewersRequestBuilder @@ -100950,6 +101507,31 @@ Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.ite Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.applyDecisions.ApplyDecisionsRequestBuilder::|public|WithUrl(rawUrl:string):ApplyDecisionsRequestBuilder Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.applyDecisions.applyDecisionsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.applyDecisions.applyDecisionsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getApplyDescription():string +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getApplyResult():AccessReviewInstanceDecisionItemApplyResult +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|getCustomDataProvidedResourceId():string +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setApplyDescription(value?:string):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setApplyResult(value?:AccessReviewInstanceDecisionItemApplyResult):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|public|setCustomDataProvidedResourceId(value?:string):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|Post(body:BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody; requestConfiguration?:BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|ToPostRequestInformation(body:BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody; requestConfiguration?:BatchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder::|public|WithUrl(rawUrl:string):BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchApplyCustomDataProvidedResourceDecisions.batchApplyCustomDataProvidedResourceDecisionsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchRecordDecisions.batchRecordDecisionsPostRequestBody::|public|constructor():void Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchRecordDecisions.batchRecordDecisionsPostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Generated.identityGovernance.accessReviews.unified.instances.item.batchRecordDecisions.batchRecordDecisionsPostRequestBody::|public|getBackingStore():BackingStore @@ -128225,6 +128807,7 @@ Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.GroupRequest Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.GroupRequestBuilder::|public|Patch(body:PrivilegedAccessGroup; requestConfiguration?:GroupRequestBuilderPatchRequestConfiguration):PrivilegedAccessGroup Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.GroupRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.GroupRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.GroupRequestBuilder::|public|resources:ResourcesRequestBuilder Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.GroupRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:GroupRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.GroupRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GroupRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.GroupRequestBuilder::|public|ToPatchRequestInformation(body:PrivilegedAccessGroup; requestConfiguration?:GroupRequestBuilderPatchRequestConfiguration):RequestInformation @@ -128241,6 +128824,71 @@ Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.groupRequest Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.groupRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):GroupRequestBuilderGetQueryParameters Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.groupRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.groupRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder::|public|Delete(requestConfiguration?:GroupResourceItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder::|public|Get(requestConfiguration?:GroupResourceItemRequestBuilderGetRequestConfiguration):GroupResource +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder::|public|Patch(body:GroupResource; requestConfiguration?:GroupResourceItemRequestBuilderPatchRequestConfiguration):GroupResource +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:GroupResourceItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GroupResourceItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:GroupResource; requestConfiguration?:GroupResourceItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):GroupResourceItemRequestBuilder +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GroupResourceItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:GroupResourceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):GroupResourceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.item.GroupResourceItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder::|public|ByGroupResourceId(groupResourceId:string):GroupResourceItemRequestBuilder +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder::|public|Get(requestConfiguration?:ResourcesRequestBuilderGetRequestConfiguration):GroupResourceCollectionResponse +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder::|public|Post(body:GroupResource; requestConfiguration?:ResourcesRequestBuilderPostRequestConfiguration):GroupResource +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ResourcesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder::|public|ToPostRequestInformation(body:GroupResource; requestConfiguration?:ResourcesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.ResourcesRequestBuilder::|public|WithUrl(rawUrl:string):ResourcesRequestBuilder +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ResourcesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:ResourcesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ResourcesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.identityGovernance.privilegedAccess.group.resources.resourcesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.identityGovernance.privilegedAccess.PrivilegedAccessRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.identityGovernance.privilegedAccess.PrivilegedAccessRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.identityGovernance.privilegedAccess.PrivilegedAccessRequestBuilder::|public|Delete(requestConfiguration?:PrivilegedAccessRequestBuilderDeleteRequestConfiguration):void @@ -130024,6 +130672,7 @@ Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|getCrea Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|getCustomExtensionCalloutInstances():array Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|getJustification():string +Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|getParameters():AccessPackageAssignmentRequestParameters Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|getRequestor():AccessPackageSubject Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|getRequestType():AccessPackageRequestType Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|getSchedule():EntitlementManagementSchedule @@ -130038,6 +130687,7 @@ Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|setComp Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|setCreatedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|setCustomExtensionCalloutInstances(value?:array):void Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|setJustification(value?:string):void +Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|setParameters(value?:AccessPackageAssignmentRequestParameters):void Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|setRequestor(value?:AccessPackageSubject):void Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|setRequestType(value?:AccessPackageRequestType):void Microsoft\Graph\Generated.models.accessPackageAssignmentRequest::|public|setSchedule(value?:EntitlementManagementSchedule):void @@ -130092,6 +130742,19 @@ Microsoft\Graph\Generated.models.accessPackageAssignmentRequestorSettings::|publ Microsoft\Graph\Generated.models.accessPackageAssignmentRequestorSettings::|public|setOnBehalfRequestors(value?:array):void Microsoft\Graph\Generated.models.accessPackageAssignmentRequestorSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AccessPackageAssignmentRequestorSettings Microsoft\Graph\Generated.models.accessPackageAssignmentRequestorSettings~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|public|constructor():void +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|public|getBypassApproval():bool +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|public|getOdataType():string +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|public|setBypassApproval(value?:bool):void +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AccessPackageAssignmentRequestParameters +Microsoft\Graph\Generated.models.accessPackageAssignmentRequestParameters~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.accessPackageAssignmentRequestRequirements::|public|constructor():void Microsoft\Graph\Generated.models.accessPackageAssignmentRequestRequirements::|public|getAdditionalData():array Microsoft\Graph\Generated.models.accessPackageAssignmentRequestRequirements::|public|getAllowCustomAssignmentSchedule():bool @@ -130850,6 +131513,7 @@ Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|getDe Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|getInsights():array Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|getJustification():string +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|getPermission():AccessReviewInstanceDecisionItemPermission Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|getPrincipal():Identity Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|getPrincipalLink():string Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|getRecommendation():string @@ -130867,6 +131531,7 @@ Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|setAp Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|setDecision(value?:string):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|setInsights(value?:array):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|setJustification(value?:string):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|setPermission(value?:AccessReviewInstanceDecisionItemPermission):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|setPrincipal(value?:Identity):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|setPrincipalLink(value?:string):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItem::|public|setRecommendation(value?:string):void @@ -130895,6 +131560,12 @@ Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemAccessPackageRe Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemAccessPackageResource::|public|setAccessPackageAssignmentPolicyDisplayName(value?:string):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemAccessPackageResource::|public|setAccessPackageAssignmentPolicyId(value?:string):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemAccessPackageResource::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AccessReviewInstanceDecisionItemAccessPackageResource +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemApplyResult::0000-new +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemApplyResult::0001-appliedSuccessfully +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemApplyResult::0002-appliedWithUnknownFailure +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemApplyResult::0003-appliedSuccessfullyButObjectNotFound +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemApplyResult::0004-applyNotSupported +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemApplyResult::0005-unknownFutureValue Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemAzureRoleResource-->AccessReviewInstanceDecisionItemResource Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemAzureRoleResource::|public|constructor():void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemAzureRoleResource::|public|GetFieldDeserializers():array @@ -130910,9 +131581,41 @@ Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCollectionRespo Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AccessReviewInstanceDecisionItemCollectionResponse +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource-->AccessReviewInstanceDecisionItemResource +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource::|public|constructor():void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource::|public|getCustomData():string +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource::|public|getScopeDisplayName():string +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource::|public|getScopeId():string +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource::|public|OdataType:string +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource::|public|setCustomData(value?:string):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource::|public|setScopeDisplayName(value?:string):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource::|public|setScopeId(value?:string):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemCustomDataProvidedResource::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AccessReviewInstanceDecisionItemCustomDataProvidedResource +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|constructor():void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|getDescription():string +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|getDisplayName():string +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|getId():string +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|getOdataType():string +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|getType():string +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|setDescription(value?:string):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|setDisplayName(value?:string):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|setId(value?:string):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|public|setType(value?:string):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AccessReviewInstanceDecisionItemPermission +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemPermission~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|constructor():void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|getAdditionalData():array Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|getDescription():string Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|getDisplayName():string Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|getId():string @@ -130921,6 +131624,7 @@ Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|publ Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|setDescription(value?:string):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|setDisplayName(value?:string):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|setId(value?:string):void Microsoft\Graph\Generated.models.accessReviewInstanceDecisionItemResource::|public|setOdataType(value?:string):void @@ -131514,11 +132218,13 @@ Microsoft\Graph\Generated.models.agentIdentity::|public|constructor():void Microsoft\Graph\Generated.models.agentIdentity::|public|getAgentIdentityBlueprintId():string Microsoft\Graph\Generated.models.agentIdentity::|public|getCreatedDateTime():DateTime Microsoft\Graph\Generated.models.agentIdentity::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.agentIdentity::|public|getManagerApplications():array Microsoft\Graph\Generated.models.agentIdentity::|public|getSponsors():array Microsoft\Graph\Generated.models.agentIdentity::|public|OdataType:string Microsoft\Graph\Generated.models.agentIdentity::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.agentIdentity::|public|setAgentIdentityBlueprintId(value?:string):void Microsoft\Graph\Generated.models.agentIdentity::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.agentIdentity::|public|setManagerApplications(value?:array):void Microsoft\Graph\Generated.models.agentIdentity::|public|setSponsors(value?:array):void Microsoft\Graph\Generated.models.agentIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AgentIdentity Microsoft\Graph\Generated.models.agentIdentityBlueprint-->Application @@ -131534,9 +132240,11 @@ Microsoft\Graph\Generated.models.agentIdentityBlueprint::|static|public|CreateFr Microsoft\Graph\Generated.models.agentIdentityBlueprintPrincipal-->ServicePrincipal Microsoft\Graph\Generated.models.agentIdentityBlueprintPrincipal::|public|constructor():void Microsoft\Graph\Generated.models.agentIdentityBlueprintPrincipal::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.agentIdentityBlueprintPrincipal::|public|getManagerApplications():array Microsoft\Graph\Generated.models.agentIdentityBlueprintPrincipal::|public|getSponsors():array Microsoft\Graph\Generated.models.agentIdentityBlueprintPrincipal::|public|OdataType:string Microsoft\Graph\Generated.models.agentIdentityBlueprintPrincipal::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.agentIdentityBlueprintPrincipal::|public|setManagerApplications(value?:array):void Microsoft\Graph\Generated.models.agentIdentityBlueprintPrincipal::|public|setSponsors(value?:array):void Microsoft\Graph\Generated.models.agentIdentityBlueprintPrincipal::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AgentIdentityBlueprintPrincipal Microsoft\Graph\Generated.models.agentUser-->User @@ -133047,6 +133755,26 @@ Microsoft\Graph\Generated.models.applicationLocation::|public|setHeadquarters(va Microsoft\Graph\Generated.models.applicationLocation::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.applicationLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ApplicationLocation Microsoft\Graph\Generated.models.applicationLocation~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.applicationPermissionType::0000-role +Microsoft\Graph\Generated.models.applicationPermissionType::0001-scope +Microsoft\Graph\Generated.models.applicationPermissionType::0002-unknownFutureValue +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|constructor():void +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|getId():string +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|getName():string +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|getOdataType():string +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|getType():ApplicationPermissionType +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|setId(value?:string):void +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.applicationResourcePermission::|public|setType(value?:ApplicationPermissionType):void +Microsoft\Graph\Generated.models.applicationResourcePermission::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ApplicationResourcePermission +Microsoft\Graph\Generated.models.applicationResourcePermission~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.applicationRiskFactorCertificateInfo::|public|constructor():void Microsoft\Graph\Generated.models.applicationRiskFactorCertificateInfo::|public|getAdditionalData():array Microsoft\Graph\Generated.models.applicationRiskFactorCertificateInfo::|public|getBackingStore():BackingStore @@ -133334,6 +134062,21 @@ Microsoft\Graph\Generated.models.applicationServicePrincipal::|public|setOdataTy Microsoft\Graph\Generated.models.applicationServicePrincipal::|public|setServicePrincipal(value?:ServicePrincipal):void Microsoft\Graph\Generated.models.applicationServicePrincipal::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ApplicationServicePrincipal Microsoft\Graph\Generated.models.applicationServicePrincipal~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|constructor():void +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|getOdataType():string +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|getPermissions():array +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|getResourceAppId():string +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|setPermissions(value?:array):void +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|public|setResourceAppId(value?:string):void +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ApplicationsRequiredResourceAccess +Microsoft\Graph\Generated.models.applicationsRequiredResourceAccess~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.applicationTemplate-->Entity Microsoft\Graph\Generated.models.applicationTemplate::|public|constructor():void Microsoft\Graph\Generated.models.applicationTemplate::|public|getCategories():array @@ -134759,6 +135502,7 @@ Microsoft\Graph\Generated.models.authenticationBehaviors::|public|constructor(): Microsoft\Graph\Generated.models.authenticationBehaviors::|public|getAdditionalData():array Microsoft\Graph\Generated.models.authenticationBehaviors::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.authenticationBehaviors::|public|getBlockAzureADGraphAccess():bool +Microsoft\Graph\Generated.models.authenticationBehaviors::|public|getCoopEnforcement():bool Microsoft\Graph\Generated.models.authenticationBehaviors::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.authenticationBehaviors::|public|getOdataType():string Microsoft\Graph\Generated.models.authenticationBehaviors::|public|getRemoveUnverifiedEmailClaim():bool @@ -134767,6 +135511,7 @@ Microsoft\Graph\Generated.models.authenticationBehaviors::|public|Serialize(writ Microsoft\Graph\Generated.models.authenticationBehaviors::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.authenticationBehaviors::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.authenticationBehaviors::|public|setBlockAzureADGraphAccess(value?:bool):void +Microsoft\Graph\Generated.models.authenticationBehaviors::|public|setCoopEnforcement(value?:bool):void Microsoft\Graph\Generated.models.authenticationBehaviors::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.authenticationBehaviors::|public|setRemoveUnverifiedEmailClaim(value?:bool):void Microsoft\Graph\Generated.models.authenticationBehaviors::|public|setRequireClientServicePrincipal(value?:bool):void @@ -135432,6 +136177,86 @@ Microsoft\Graph\Generated.models.b2bIdentityProvidersType::0003-emailOneTimePass Microsoft\Graph\Generated.models.b2bIdentityProvidersType::0004-microsoftAccount Microsoft\Graph\Generated.models.b2bIdentityProvidersType::0005-defaultConfiguredIdp Microsoft\Graph\Generated.models.b2bIdentityProvidersType::0006-unknownFutureValue +Microsoft\Graph\Generated.models.b2bRegistrationMetrics-->Entity +Microsoft\Graph\Generated.models.b2bRegistrationMetrics::|public|constructor():void +Microsoft\Graph\Generated.models.b2bRegistrationMetrics::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.b2bRegistrationMetrics::|public|getInitial():B2BRegistrationMetricsInitial +Microsoft\Graph\Generated.models.b2bRegistrationMetrics::|public|getRecent():B2BRegistrationMetricsRecent +Microsoft\Graph\Generated.models.b2bRegistrationMetrics::|public|OdataType:string +Microsoft\Graph\Generated.models.b2bRegistrationMetrics::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.b2bRegistrationMetrics::|public|setInitial(value?:B2BRegistrationMetricsInitial):void +Microsoft\Graph\Generated.models.b2bRegistrationMetrics::|public|setRecent(value?:B2BRegistrationMetricsRecent):void +Microsoft\Graph\Generated.models.b2bRegistrationMetrics::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):B2bRegistrationMetrics +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase-->Entity +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase::|public|constructor():void +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase::|public|getInboundTotalUsers():string +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase::|public|getOutboundTotalUsers():string +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase::|public|getWatermarkDateTime():DateTime +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase::|public|OdataType:string +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase::|public|setInboundTotalUsers(value?:string):void +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase::|public|setOutboundTotalUsers(value?:string):void +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase::|public|setWatermarkDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.b2BRegistrationMetricsBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsBase +Microsoft\Graph\Generated.models.b2BRegistrationMetricsInitial-->B2BRegistrationMetricsBase +Microsoft\Graph\Generated.models.b2BRegistrationMetricsInitial::|public|constructor():void +Microsoft\Graph\Generated.models.b2BRegistrationMetricsInitial::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Generated.models.b2BRegistrationMetricsInitial::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.b2BRegistrationMetricsInitial::|public|OdataType:string +Microsoft\Graph\Generated.models.b2BRegistrationMetricsInitial::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.b2BRegistrationMetricsInitial::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.b2BRegistrationMetricsInitial::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsInitial +Microsoft\Graph\Generated.models.b2BRegistrationMetricsRecent-->B2BRegistrationMetricsBase +Microsoft\Graph\Generated.models.b2BRegistrationMetricsRecent::|public|constructor():void +Microsoft\Graph\Generated.models.b2BRegistrationMetricsRecent::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.b2BRegistrationMetricsRecent::|public|getUpdateDateTime():DateTime +Microsoft\Graph\Generated.models.b2BRegistrationMetricsRecent::|public|OdataType:string +Microsoft\Graph\Generated.models.b2BRegistrationMetricsRecent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.b2BRegistrationMetricsRecent::|public|setUpdateDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.b2BRegistrationMetricsRecent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):B2BRegistrationMetricsRecent +Microsoft\Graph\Generated.models.b2BSignInActivityMetrics-->Entity +Microsoft\Graph\Generated.models.b2BSignInActivityMetrics::|public|constructor():void +Microsoft\Graph\Generated.models.b2BSignInActivityMetrics::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.b2BSignInActivityMetrics::|public|getInitial():B2BSignInActivityMetricsInitial +Microsoft\Graph\Generated.models.b2BSignInActivityMetrics::|public|getRecent():B2BSignInActivityMetricsRecent +Microsoft\Graph\Generated.models.b2BSignInActivityMetrics::|public|OdataType:string +Microsoft\Graph\Generated.models.b2BSignInActivityMetrics::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetrics::|public|setInitial(value?:B2BSignInActivityMetricsInitial):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetrics::|public|setRecent(value?:B2BSignInActivityMetricsRecent):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetrics::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetrics +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase-->Entity +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|constructor():void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|getInboundMonthlyTotalApplications():string +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|getInboundMonthlyTotalUsers():string +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|getOutboundMonthlyTotalApplications():string +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|getOutboundMonthlyTotalUsers():string +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|getWatermarkDateTime():DateTime +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|OdataType:string +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|setInboundMonthlyTotalApplications(value?:string):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|setInboundMonthlyTotalUsers(value?:string):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|setOutboundMonthlyTotalApplications(value?:string):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|setOutboundMonthlyTotalUsers(value?:string):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|public|setWatermarkDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsBase +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsInitial-->B2BSignInActivityMetricsBase +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsInitial::|public|constructor():void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsInitial::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsInitial::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsInitial::|public|OdataType:string +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsInitial::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsInitial::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsInitial::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsInitial +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsRecent-->B2BSignInActivityMetricsBase +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsRecent::|public|constructor():void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsRecent::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsRecent::|public|getUpdateDateTime():DateTime +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsRecent::|public|OdataType:string +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsRecent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsRecent::|public|setUpdateDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.b2BSignInActivityMetricsRecent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):B2BSignInActivityMetricsRecent Microsoft\Graph\Generated.models.b2xIdentityUserFlow-->IdentityUserFlow Microsoft\Graph\Generated.models.b2xIdentityUserFlow::|public|constructor():void Microsoft\Graph\Generated.models.b2xIdentityUserFlow::|public|getApiConnectorConfiguration():UserFlowApiConnectorConfiguration @@ -135697,6 +136522,54 @@ Microsoft\Graph\Generated.models.basicAuthentication::|public|Serialize(writer:I Microsoft\Graph\Generated.models.basicAuthentication::|public|setPassword(value?:string):void Microsoft\Graph\Generated.models.basicAuthentication::|public|setUsername(value?:string):void Microsoft\Graph\Generated.models.basicAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BasicAuthentication +Microsoft\Graph\Generated.models.billingMetrics-->Entity +Microsoft\Graph\Generated.models.billingMetrics::|public|constructor():void +Microsoft\Graph\Generated.models.billingMetrics::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.billingMetrics::|public|getInitial():BillingMetricsInitial +Microsoft\Graph\Generated.models.billingMetrics::|public|getRecent():BillingMetricsRecent +Microsoft\Graph\Generated.models.billingMetrics::|public|OdataType:string +Microsoft\Graph\Generated.models.billingMetrics::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.billingMetrics::|public|setInitial(value?:BillingMetricsInitial):void +Microsoft\Graph\Generated.models.billingMetrics::|public|setRecent(value?:BillingMetricsRecent):void +Microsoft\Graph\Generated.models.billingMetrics::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BillingMetrics +Microsoft\Graph\Generated.models.billingMetricsBase-->Entity +Microsoft\Graph\Generated.models.billingMetricsBase::|public|constructor():void +Microsoft\Graph\Generated.models.billingMetricsBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.billingMetricsBase::|public|getForeignAssociatedTenantBillingManagementActiveCount():string +Microsoft\Graph\Generated.models.billingMetricsBase::|public|getForeignAssociatedTenantCount():string +Microsoft\Graph\Generated.models.billingMetricsBase::|public|getForeignAssociatedTenantProvisioningActiveCount():string +Microsoft\Graph\Generated.models.billingMetricsBase::|public|getLocalAssociatedTenantBillingManagementActiveCount():string +Microsoft\Graph\Generated.models.billingMetricsBase::|public|getLocalAssociatedTenantCount():string +Microsoft\Graph\Generated.models.billingMetricsBase::|public|getLocalAssociatedTenantIds():array +Microsoft\Graph\Generated.models.billingMetricsBase::|public|getLocalAssociatedTenantProvisioningActiveCount():string +Microsoft\Graph\Generated.models.billingMetricsBase::|public|getWatermarkDateTime():DateTime +Microsoft\Graph\Generated.models.billingMetricsBase::|public|OdataType:string +Microsoft\Graph\Generated.models.billingMetricsBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.billingMetricsBase::|public|setForeignAssociatedTenantBillingManagementActiveCount(value?:string):void +Microsoft\Graph\Generated.models.billingMetricsBase::|public|setForeignAssociatedTenantCount(value?:string):void +Microsoft\Graph\Generated.models.billingMetricsBase::|public|setForeignAssociatedTenantProvisioningActiveCount(value?:string):void +Microsoft\Graph\Generated.models.billingMetricsBase::|public|setLocalAssociatedTenantBillingManagementActiveCount(value?:string):void +Microsoft\Graph\Generated.models.billingMetricsBase::|public|setLocalAssociatedTenantCount(value?:string):void +Microsoft\Graph\Generated.models.billingMetricsBase::|public|setLocalAssociatedTenantIds(value?:array):void +Microsoft\Graph\Generated.models.billingMetricsBase::|public|setLocalAssociatedTenantProvisioningActiveCount(value?:string):void +Microsoft\Graph\Generated.models.billingMetricsBase::|public|setWatermarkDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.billingMetricsBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsBase +Microsoft\Graph\Generated.models.billingMetricsInitial-->BillingMetricsBase +Microsoft\Graph\Generated.models.billingMetricsInitial::|public|constructor():void +Microsoft\Graph\Generated.models.billingMetricsInitial::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Generated.models.billingMetricsInitial::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.billingMetricsInitial::|public|OdataType:string +Microsoft\Graph\Generated.models.billingMetricsInitial::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.billingMetricsInitial::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.billingMetricsInitial::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsInitial +Microsoft\Graph\Generated.models.billingMetricsRecent-->BillingMetricsBase +Microsoft\Graph\Generated.models.billingMetricsRecent::|public|constructor():void +Microsoft\Graph\Generated.models.billingMetricsRecent::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.billingMetricsRecent::|public|getUpdateDateTime():DateTime +Microsoft\Graph\Generated.models.billingMetricsRecent::|public|OdataType:string +Microsoft\Graph\Generated.models.billingMetricsRecent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.billingMetricsRecent::|public|setUpdateDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.billingMetricsRecent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BillingMetricsRecent Microsoft\Graph\Generated.models.binaryContent-->ContentBase Microsoft\Graph\Generated.models.binaryContent::|public|constructor():void Microsoft\Graph\Generated.models.binaryContent::|public|getData():StreamInterface @@ -141401,6 +142274,8 @@ Microsoft\Graph\Generated.models.copilotPackage::|public|getManifestVersion():st Microsoft\Graph\Generated.models.copilotPackage::|public|getOwnerId():string Microsoft\Graph\Generated.models.copilotPackage::|public|getPlatform():string Microsoft\Graph\Generated.models.copilotPackage::|public|getPublisher():string +Microsoft\Graph\Generated.models.copilotPackage::|public|getRequestStatus():CopilotPackageRequestStatus +Microsoft\Graph\Generated.models.copilotPackage::|public|getRequestType():CopilotPackageRequestType Microsoft\Graph\Generated.models.copilotPackage::|public|getShortDescription():string Microsoft\Graph\Generated.models.copilotPackage::|public|getSupportedHosts():array Microsoft\Graph\Generated.models.copilotPackage::|public|getType():PackageType @@ -141423,6 +142298,8 @@ Microsoft\Graph\Generated.models.copilotPackage::|public|setManifestVersion(valu Microsoft\Graph\Generated.models.copilotPackage::|public|setOwnerId(value?:string):void Microsoft\Graph\Generated.models.copilotPackage::|public|setPlatform(value?:string):void Microsoft\Graph\Generated.models.copilotPackage::|public|setPublisher(value?:string):void +Microsoft\Graph\Generated.models.copilotPackage::|public|setRequestStatus(value?:CopilotPackageRequestStatus):void +Microsoft\Graph\Generated.models.copilotPackage::|public|setRequestType(value?:CopilotPackageRequestType):void Microsoft\Graph\Generated.models.copilotPackage::|public|setShortDescription(value?:string):void Microsoft\Graph\Generated.models.copilotPackage::|public|setSupportedHosts(value?:array):void Microsoft\Graph\Generated.models.copilotPackage::|public|setType(value?:PackageType):void @@ -141459,6 +142336,15 @@ Microsoft\Graph\Generated.models.copilotPackageDetail::|public|setSharedWithUser Microsoft\Graph\Generated.models.copilotPackageDetail::|public|setTotalRunTimeInHours(value?:float):void Microsoft\Graph\Generated.models.copilotPackageDetail::|public|setTotalSessions(value?:int):void Microsoft\Graph\Generated.models.copilotPackageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CopilotPackageDetail +Microsoft\Graph\Generated.models.copilotPackageRequestStatus::0000-pending +Microsoft\Graph\Generated.models.copilotPackageRequestStatus::0001-approved +Microsoft\Graph\Generated.models.copilotPackageRequestStatus::0002-rejected +Microsoft\Graph\Generated.models.copilotPackageRequestStatus::0003-unknownFutureValue +Microsoft\Graph\Generated.models.copilotPackageRequestType::0000-publish +Microsoft\Graph\Generated.models.copilotPackageRequestType::0001-activate +Microsoft\Graph\Generated.models.copilotPackageRequestType::0002-access +Microsoft\Graph\Generated.models.copilotPackageRequestType::0003-update +Microsoft\Graph\Generated.models.copilotPackageRequestType::0004-unknownFutureValue Microsoft\Graph\Generated.models.copilotReportRoot-->Entity Microsoft\Graph\Generated.models.copilotReportRoot::|public|constructor():void Microsoft\Graph\Generated.models.copilotReportRoot::|public|GetFieldDeserializers():array @@ -142609,6 +143495,40 @@ Microsoft\Graph\Generated.models.delegatedAdminCustomerCollectionResponse::|publ Microsoft\Graph\Generated.models.delegatedAdminCustomerCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.delegatedAdminCustomerCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.delegatedAdminCustomerCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DelegatedAdminCustomerCollectionResponse +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|constructor():void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|getGroup():Group +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|getGroupDisplayName():string +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|getOdataType():string +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|getRoleTemplates():array +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|setGroup(value?:Group):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|setGroupDisplayName(value?:string):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|public|setRoleTemplates(value?:array):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DelegatedAdministrationRoleAssignment +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|constructor():void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|getGroupDisplayName():string +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|getGroupId():string +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|getOdataType():string +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|getRoleTemplates():array +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|setGroupDisplayName(value?:string):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|setGroupId(value?:string):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|public|setRoleTemplates(value?:array):void +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DelegatedAdministrationRoleAssignmentSnapshot +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignmentSnapshot~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.delegatedAdministrationRoleAssignment~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.delegatedAdminRelationship-->Entity Microsoft\Graph\Generated.models.delegatedAdminRelationship::|public|constructor():void Microsoft\Graph\Generated.models.delegatedAdminRelationship::|public|getAccessAssignments():array @@ -144673,6 +145593,7 @@ Microsoft\Graph\Generated.models.directory::|public|getPublicKeyInfrastructure() Microsoft\Graph\Generated.models.directory::|public|getRecovery():Recovery Microsoft\Graph\Generated.models.directory::|public|getRemoteTenantGroups():array Microsoft\Graph\Generated.models.directory::|public|getSubscriptions():array +Microsoft\Graph\Generated.models.directory::|public|getTenantGovernance():TenantGovernance Microsoft\Graph\Generated.models.directory::|public|OdataType:string Microsoft\Graph\Generated.models.directory::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.directory::|public|setAdministrativeUnits(value?:array):void @@ -144686,6 +145607,7 @@ Microsoft\Graph\Generated.models.directory::|public|setPublicKeyInfrastructure(v Microsoft\Graph\Generated.models.directory::|public|setRecovery(value?:Recovery):void Microsoft\Graph\Generated.models.directory::|public|setRemoteTenantGroups(value?:array):void Microsoft\Graph\Generated.models.directory::|public|setSubscriptions(value?:array):void +Microsoft\Graph\Generated.models.directory::|public|setTenantGovernance(value?:TenantGovernance):void Microsoft\Graph\Generated.models.directory::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Directory Microsoft\Graph\Generated.models.directoryAudit-->Entity Microsoft\Graph\Generated.models.directoryAudit::|public|constructor():void @@ -144864,6 +145786,7 @@ Microsoft\Graph\Generated.models.dlpAction::0009-sPRuntimeAccessControl Microsoft\Graph\Generated.models.dlpAction::0010-sPSharingNotifyUser Microsoft\Graph\Generated.models.dlpAction::0011-sPSharingGenerateIncidentReport Microsoft\Graph\Generated.models.dlpAction::0012-restrictWebGrounding +Microsoft\Graph\Generated.models.dlpAction::0013-policyTip Microsoft\Graph\Generated.models.dlpActionInfo::|public|constructor():void Microsoft\Graph\Generated.models.dlpActionInfo::|public|getAction():DlpAction Microsoft\Graph\Generated.models.dlpActionInfo::|public|getAdditionalData():array @@ -147846,6 +148769,7 @@ Microsoft\Graph\Generated.models.exchangeMessageTraceStatus::0004-expanded Microsoft\Graph\Generated.models.exchangeMessageTraceStatus::0005-quarantined Microsoft\Graph\Generated.models.exchangeMessageTraceStatus::0006-filteredAsSpam Microsoft\Graph\Generated.models.exchangeMessageTraceStatus::0007-unknownFutureValue +Microsoft\Graph\Generated.models.exchangeMessageTraceStatus::0008-recalled Microsoft\Graph\Generated.models.exchangeProtectionPolicy-->ProtectionPolicyBase Microsoft\Graph\Generated.models.exchangeProtectionPolicy::|public|constructor():void Microsoft\Graph\Generated.models.exchangeProtectionPolicy::|public|GetFieldDeserializers():array @@ -149550,6 +150474,91 @@ Microsoft\Graph\Generated.models.governanceInsightCollectionResponse::|public|ge Microsoft\Graph\Generated.models.governanceInsightCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.governanceInsightCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.governanceInsightCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GovernanceInsightCollectionResponse +Microsoft\Graph\Generated.models.governanceInvitation-->Entity +Microsoft\Graph\Generated.models.governanceInvitation::|public|constructor():void +Microsoft\Graph\Generated.models.governanceInvitation::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Generated.models.governanceInvitation::|public|getExpirationDateTime():DateTime +Microsoft\Graph\Generated.models.governanceInvitation::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.governanceInvitation::|public|getGovernedTenantId():string +Microsoft\Graph\Generated.models.governanceInvitation::|public|getGovernedTenantName():string +Microsoft\Graph\Generated.models.governanceInvitation::|public|getGoverningTenantId():string +Microsoft\Graph\Generated.models.governanceInvitation::|public|getGoverningTenantName():string +Microsoft\Graph\Generated.models.governanceInvitation::|public|OdataType:string +Microsoft\Graph\Generated.models.governanceInvitation::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.governanceInvitation::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.governanceInvitation::|public|setExpirationDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.governanceInvitation::|public|setGovernedTenantId(value?:string):void +Microsoft\Graph\Generated.models.governanceInvitation::|public|setGovernedTenantName(value?:string):void +Microsoft\Graph\Generated.models.governanceInvitation::|public|setGoverningTenantId(value?:string):void +Microsoft\Graph\Generated.models.governanceInvitation::|public|setGoverningTenantName(value?:string):void +Microsoft\Graph\Generated.models.governanceInvitation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GovernanceInvitation +Microsoft\Graph\Generated.models.governanceInvitationCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.governanceInvitationCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.governanceInvitationCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.governanceInvitationCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.governanceInvitationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.governanceInvitationCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.governanceInvitationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GovernanceInvitationCollectionResponse +Microsoft\Graph\Generated.models.governanceRelationship-->Entity +Microsoft\Graph\Generated.models.governanceRelationship::|public|constructor():void +Microsoft\Graph\Generated.models.governanceRelationship::|public|getCreatedType():RelationshipCreationType +Microsoft\Graph\Generated.models.governanceRelationship::|public|getCreationDateTime():DateTime +Microsoft\Graph\Generated.models.governanceRelationship::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.governanceRelationship::|public|getGovernedTenantId():string +Microsoft\Graph\Generated.models.governanceRelationship::|public|getGovernedTenantName():string +Microsoft\Graph\Generated.models.governanceRelationship::|public|getGoverningTenantId():string +Microsoft\Graph\Generated.models.governanceRelationship::|public|getGoverningTenantName():string +Microsoft\Graph\Generated.models.governanceRelationship::|public|getPolicySnapshot():RelationshipPolicy +Microsoft\Graph\Generated.models.governanceRelationship::|public|getStatus():RelationshipStatus +Microsoft\Graph\Generated.models.governanceRelationship::|public|OdataType:string +Microsoft\Graph\Generated.models.governanceRelationship::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.governanceRelationship::|public|setCreatedType(value?:RelationshipCreationType):void +Microsoft\Graph\Generated.models.governanceRelationship::|public|setCreationDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.governanceRelationship::|public|setGovernedTenantId(value?:string):void +Microsoft\Graph\Generated.models.governanceRelationship::|public|setGovernedTenantName(value?:string):void +Microsoft\Graph\Generated.models.governanceRelationship::|public|setGoverningTenantId(value?:string):void +Microsoft\Graph\Generated.models.governanceRelationship::|public|setGoverningTenantName(value?:string):void +Microsoft\Graph\Generated.models.governanceRelationship::|public|setPolicySnapshot(value?:RelationshipPolicy):void +Microsoft\Graph\Generated.models.governanceRelationship::|public|setStatus(value?:RelationshipStatus):void +Microsoft\Graph\Generated.models.governanceRelationship::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GovernanceRelationship +Microsoft\Graph\Generated.models.governanceRelationshipCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.governanceRelationshipCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.governanceRelationshipCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.governanceRelationshipCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.governanceRelationshipCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.governanceRelationshipCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.governanceRelationshipCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GovernanceRelationshipCollectionResponse +Microsoft\Graph\Generated.models.governanceRequest-->Entity +Microsoft\Graph\Generated.models.governanceRequest::|public|constructor():void +Microsoft\Graph\Generated.models.governanceRequest::|public|getExpirationDateTime():DateTime +Microsoft\Graph\Generated.models.governanceRequest::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.governanceRequest::|public|getGovernancePolicyTemplate():TenantGovernancePolicyTemplate +Microsoft\Graph\Generated.models.governanceRequest::|public|getGovernedTenantId():string +Microsoft\Graph\Generated.models.governanceRequest::|public|getGovernedTenantName():string +Microsoft\Graph\Generated.models.governanceRequest::|public|getGoverningTenantId():string +Microsoft\Graph\Generated.models.governanceRequest::|public|getGoverningTenantName():string +Microsoft\Graph\Generated.models.governanceRequest::|public|getPolicySnapshot():RelationshipPolicy +Microsoft\Graph\Generated.models.governanceRequest::|public|getRequestDateTime():DateTime +Microsoft\Graph\Generated.models.governanceRequest::|public|getStatus():RequestStatus +Microsoft\Graph\Generated.models.governanceRequest::|public|OdataType:string +Microsoft\Graph\Generated.models.governanceRequest::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.governanceRequest::|public|setExpirationDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.governanceRequest::|public|setGovernancePolicyTemplate(value?:TenantGovernancePolicyTemplate):void +Microsoft\Graph\Generated.models.governanceRequest::|public|setGovernedTenantId(value?:string):void +Microsoft\Graph\Generated.models.governanceRequest::|public|setGovernedTenantName(value?:string):void +Microsoft\Graph\Generated.models.governanceRequest::|public|setGoverningTenantId(value?:string):void +Microsoft\Graph\Generated.models.governanceRequest::|public|setGoverningTenantName(value?:string):void +Microsoft\Graph\Generated.models.governanceRequest::|public|setPolicySnapshot(value?:RelationshipPolicy):void +Microsoft\Graph\Generated.models.governanceRequest::|public|setRequestDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.governanceRequest::|public|setStatus(value?:RequestStatus):void +Microsoft\Graph\Generated.models.governanceRequest::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GovernanceRequest +Microsoft\Graph\Generated.models.governanceRequestCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.governanceRequestCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.governanceRequestCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.governanceRequestCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.governanceRequestCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.governanceRequestCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.governanceRequestCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GovernanceRequestCollectionResponse Microsoft\Graph\Generated.models.granularDriveRestoreArtifact-->GranularRestoreArtifactBase Microsoft\Graph\Generated.models.granularDriveRestoreArtifact::|public|constructor():void Microsoft\Graph\Generated.models.granularDriveRestoreArtifact::|public|getDirectoryObjectId():string @@ -149853,6 +150862,19 @@ Microsoft\Graph\Generated.models.groupPeerOutlierRecommendationInsightSettings:: Microsoft\Graph\Generated.models.groupPeerOutlierRecommendationInsightSettings::|public|OdataType:string Microsoft\Graph\Generated.models.groupPeerOutlierRecommendationInsightSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.groupPeerOutlierRecommendationInsightSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GroupPeerOutlierRecommendationInsightSettings +Microsoft\Graph\Generated.models.groupResource-->DirectoryObject +Microsoft\Graph\Generated.models.groupResource::|public|constructor():void +Microsoft\Graph\Generated.models.groupResource::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.groupResource::|public|OdataType:string +Microsoft\Graph\Generated.models.groupResource::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.groupResource::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GroupResource +Microsoft\Graph\Generated.models.groupResourceCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.groupResourceCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.groupResourceCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.groupResourceCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.groupResourceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.groupResourceCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.groupResourceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GroupResourceCollectionResponse Microsoft\Graph\Generated.models.groupScope-->ScopeBase Microsoft\Graph\Generated.models.groupScope::|public|constructor():void Microsoft\Graph\Generated.models.groupScope::|public|GetFieldDeserializers():array @@ -150363,6 +151385,14 @@ Microsoft\Graph\Generated.models.identityGovernance.groupBasedSubjectSet::|publi Microsoft\Graph\Generated.models.identityGovernance.groupBasedSubjectSet::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.identityGovernance.groupBasedSubjectSet::|public|setGroups(value?:array):void Microsoft\Graph\Generated.models.identityGovernance.groupBasedSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GroupBasedSubjectSet +Microsoft\Graph\Generated.models.identityGovernance.guestSponsorTrigger-->WorkflowExecutionTrigger +Microsoft\Graph\Generated.models.identityGovernance.guestSponsorTrigger::|public|constructor():void +Microsoft\Graph\Generated.models.identityGovernance.guestSponsorTrigger::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.identityGovernance.guestSponsorTrigger::|public|getMinimumRequiredSponsors():int +Microsoft\Graph\Generated.models.identityGovernance.guestSponsorTrigger::|public|OdataType:string +Microsoft\Graph\Generated.models.identityGovernance.guestSponsorTrigger::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.identityGovernance.guestSponsorTrigger::|public|setMinimumRequiredSponsors(value?:int):void +Microsoft\Graph\Generated.models.identityGovernance.guestSponsorTrigger::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GuestSponsorTrigger Microsoft\Graph\Generated.models.identityGovernance.identityGovernance::|public|constructor():void Microsoft\Graph\Generated.models.identityGovernance.identityGovernance::|public|getAccessReviews():AccessReviewSet Microsoft\Graph\Generated.models.identityGovernance.identityGovernance::|public|getAdditionalData():array @@ -156672,6 +157702,82 @@ Microsoft\Graph\Generated.models.monitorStatus::0002-unknownFutureValue Microsoft\Graph\Generated.models.multiFactorAuthConfiguration::0000-notRequired Microsoft\Graph\Generated.models.multiFactorAuthConfiguration::0001-required Microsoft\Graph\Generated.models.multiFactorAuthConfiguration::0002-unknownFutureValue +Microsoft\Graph\Generated.models.multiTenantApplicationMetrics-->Entity +Microsoft\Graph\Generated.models.multiTenantApplicationMetrics::|public|constructor():void +Microsoft\Graph\Generated.models.multiTenantApplicationMetrics::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.multiTenantApplicationMetrics::|public|getInitial():MultiTenantApplicationMetricsInitial +Microsoft\Graph\Generated.models.multiTenantApplicationMetrics::|public|getRecent():MultiTenantApplicationMetricsRecent +Microsoft\Graph\Generated.models.multiTenantApplicationMetrics::|public|OdataType:string +Microsoft\Graph\Generated.models.multiTenantApplicationMetrics::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.multiTenantApplicationMetrics::|public|setInitial(value?:MultiTenantApplicationMetricsInitial):void +Microsoft\Graph\Generated.models.multiTenantApplicationMetrics::|public|setRecent(value?:MultiTenantApplicationMetricsRecent):void +Microsoft\Graph\Generated.models.multiTenantApplicationMetrics::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetrics +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase-->Entity +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase::|public|constructor():void +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase::|public|getInboundMonthlyTotalApplications():string +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase::|public|getOutboundMonthlyTotalApplications():string +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase::|public|getWatermarkDateTime():DateTime +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase::|public|OdataType:string +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase::|public|setInboundMonthlyTotalApplications(value?:string):void +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase::|public|setOutboundMonthlyTotalApplications(value?:string):void +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase::|public|setWatermarkDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsBase +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsInitial-->MultiTenantApplicationMetricsBase +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsInitial::|public|constructor():void +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsInitial::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsInitial::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsInitial::|public|OdataType:string +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsInitial::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsInitial::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsInitial::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsInitial +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsRecent-->MultiTenantApplicationMetricsBase +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsRecent::|public|constructor():void +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsRecent::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsRecent::|public|getUpdateDateTime():DateTime +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsRecent::|public|OdataType:string +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsRecent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsRecent::|public|setUpdateDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.multiTenantApplicationMetricsRecent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationMetricsRecent +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|constructor():void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|getAppId():string +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|getDisplayName():string +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|getObjectId():string +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|getOdataType():string +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|getRequiredResourceAccesses():array +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|setAppId(value?:string):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|setDisplayName(value?:string):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|setObjectId(value?:string):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|public|setRequiredResourceAccesses(value?:array):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationsToProvision +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|constructor():void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|getAppId():string +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|getDisplayName():string +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|getObjectId():string +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|getOdataType():string +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|getRequiredResourceAccesses():array +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|setAppId(value?:string):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|setDisplayName(value?:string):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|setObjectId(value?:string):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|public|setRequiredResourceAccesses(value?:array):void +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MultiTenantApplicationsToProvisionSnapshot +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvisionSnapshot~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.multiTenantApplicationsToProvision~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.multiTenantOrganization-->Entity Microsoft\Graph\Generated.models.multiTenantOrganization::|public|constructor():void Microsoft\Graph\Generated.models.multiTenantOrganization::|public|getCreatedDateTime():DateTime @@ -156919,6 +158025,30 @@ Microsoft\Graph\Generated.models.noScopes::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.noScopes::|public|OdataType:string Microsoft\Graph\Generated.models.noScopes::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.noScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NoScopes +Microsoft\Graph\Generated.models.note-->OutlookItem +Microsoft\Graph\Generated.models.note::|public|constructor():void +Microsoft\Graph\Generated.models.note::|public|getAttachments():array +Microsoft\Graph\Generated.models.note::|public|getBody():ItemBody +Microsoft\Graph\Generated.models.note::|public|getBodyPreview():string +Microsoft\Graph\Generated.models.note::|public|getExtensions():array +Microsoft\Graph\Generated.models.note::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.note::|public|getHasAttachments():bool +Microsoft\Graph\Generated.models.note::|public|getIsDeleted():bool +Microsoft\Graph\Generated.models.note::|public|getMultiValueExtendedProperties():array +Microsoft\Graph\Generated.models.note::|public|getSingleValueExtendedProperties():array +Microsoft\Graph\Generated.models.note::|public|getSubject():string +Microsoft\Graph\Generated.models.note::|public|OdataType:string +Microsoft\Graph\Generated.models.note::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.note::|public|setAttachments(value?:array):void +Microsoft\Graph\Generated.models.note::|public|setBody(value?:ItemBody):void +Microsoft\Graph\Generated.models.note::|public|setBodyPreview(value?:string):void +Microsoft\Graph\Generated.models.note::|public|setExtensions(value?:array):void +Microsoft\Graph\Generated.models.note::|public|setHasAttachments(value?:bool):void +Microsoft\Graph\Generated.models.note::|public|setIsDeleted(value?:bool):void +Microsoft\Graph\Generated.models.note::|public|setMultiValueExtendedProperties(value?:array):void +Microsoft\Graph\Generated.models.note::|public|setSingleValueExtendedProperties(value?:array):void +Microsoft\Graph\Generated.models.note::|public|setSubject(value?:string):void +Microsoft\Graph\Generated.models.note::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Note Microsoft\Graph\Generated.models.notebook-->OnenoteEntityHierarchyModel Microsoft\Graph\Generated.models.notebook::|public|constructor():void Microsoft\Graph\Generated.models.notebook::|public|GetFieldDeserializers():array @@ -156963,6 +158093,13 @@ Microsoft\Graph\Generated.models.notebookLinks::|public|setOneNoteClientUrl(valu Microsoft\Graph\Generated.models.notebookLinks::|public|setOneNoteWebUrl(value?:ExternalLink):void Microsoft\Graph\Generated.models.notebookLinks::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NotebookLinks Microsoft\Graph\Generated.models.notebookLinks~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.noteCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.noteCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.noteCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.noteCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.noteCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.noteCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.noteCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NoteCollectionResponse Microsoft\Graph\Generated.models.notificationDeliveryFrequency::0000-unknown Microsoft\Graph\Generated.models.notificationDeliveryFrequency::0001-weekly Microsoft\Graph\Generated.models.notificationDeliveryFrequency::0002-biWeekly @@ -160764,6 +161901,18 @@ Microsoft\Graph\Generated.models.policyTenantScope::|public|OdataType:string Microsoft\Graph\Generated.models.policyTenantScope::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.policyTenantScope::|public|setPolicyScope(value?:PolicyBinding):void Microsoft\Graph\Generated.models.policyTenantScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyTenantScope +Microsoft\Graph\Generated.models.policyTipAction-->DlpActionInfo +Microsoft\Graph\Generated.models.policyTipAction::|public|constructor():void +Microsoft\Graph\Generated.models.policyTipAction::|public|getComplianceUrl():string +Microsoft\Graph\Generated.models.policyTipAction::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.policyTipAction::|public|getMatchedConditionsDescription():string +Microsoft\Graph\Generated.models.policyTipAction::|public|getPolicyTip():string +Microsoft\Graph\Generated.models.policyTipAction::|public|OdataType:string +Microsoft\Graph\Generated.models.policyTipAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.policyTipAction::|public|setComplianceUrl(value?:string):void +Microsoft\Graph\Generated.models.policyTipAction::|public|setMatchedConditionsDescription(value?:string):void +Microsoft\Graph\Generated.models.policyTipAction::|public|setPolicyTip(value?:string):void +Microsoft\Graph\Generated.models.policyTipAction::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyTipAction Microsoft\Graph\Generated.models.policyUserScope-->PolicyScopeBase Microsoft\Graph\Generated.models.policyUserScope::|public|constructor():void Microsoft\Graph\Generated.models.policyUserScope::|public|GetFieldDeserializers():array @@ -162585,6 +163734,7 @@ Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|getEligibilitySc Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|getEligibilityScheduleRequests():array Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|getEligibilitySchedules():array Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|getResources():array Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|OdataType:string Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|setAssignmentApprovals(value?:array):void @@ -162594,6 +163744,7 @@ Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|setAssignmentSch Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|setEligibilityScheduleInstances(value?:array):void Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|setEligibilityScheduleRequests(value?:array):void Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|setEligibilitySchedules(value?:array):void +Microsoft\Graph\Generated.models.privilegedAccessGroup::|public|setResources(value?:array):void Microsoft\Graph\Generated.models.privilegedAccessGroup::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PrivilegedAccessGroup Microsoft\Graph\Generated.models.privilegedAccessGroupAssignmentSchedule-->PrivilegedAccessSchedule Microsoft\Graph\Generated.models.privilegedAccessGroupAssignmentSchedule::|public|constructor():void @@ -164350,6 +165501,69 @@ Microsoft\Graph\Generated.models.relatedContact::|public|setOdataType(value?:str Microsoft\Graph\Generated.models.relatedContact::|public|setRelationship(value?:ContactRelationship):void Microsoft\Graph\Generated.models.relatedContact::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RelatedContact Microsoft\Graph\Generated.models.relatedContact~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.relatedTenant-->Entity +Microsoft\Graph\Generated.models.relatedTenant::|public|constructor():void +Microsoft\Graph\Generated.models.relatedTenant::|public|getAppB2BSignInActivityMetrics():B2BSignInActivityMetrics +Microsoft\Graph\Generated.models.relatedTenant::|public|getB2BRegistrationMetrics():B2bRegistrationMetrics +Microsoft\Graph\Generated.models.relatedTenant::|public|getB2BSignInActivityMetrics():B2BSignInActivityMetrics +Microsoft\Graph\Generated.models.relatedTenant::|public|getBillingMetrics():BillingMetrics +Microsoft\Graph\Generated.models.relatedTenant::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Generated.models.relatedTenant::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.relatedTenant::|public|getIsMicrosoftInfrastructure():bool +Microsoft\Graph\Generated.models.relatedTenant::|public|getMultiTenantApplicationMetrics():MultiTenantApplicationMetrics +Microsoft\Graph\Generated.models.relatedTenant::|public|OdataType:string +Microsoft\Graph\Generated.models.relatedTenant::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.relatedTenant::|public|setAppB2BSignInActivityMetrics(value?:B2BSignInActivityMetrics):void +Microsoft\Graph\Generated.models.relatedTenant::|public|setB2BRegistrationMetrics(value?:B2bRegistrationMetrics):void +Microsoft\Graph\Generated.models.relatedTenant::|public|setB2BSignInActivityMetrics(value?:B2BSignInActivityMetrics):void +Microsoft\Graph\Generated.models.relatedTenant::|public|setBillingMetrics(value?:BillingMetrics):void +Microsoft\Graph\Generated.models.relatedTenant::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.relatedTenant::|public|setIsMicrosoftInfrastructure(value?:bool):void +Microsoft\Graph\Generated.models.relatedTenant::|public|setMultiTenantApplicationMetrics(value?:MultiTenantApplicationMetrics):void +Microsoft\Graph\Generated.models.relatedTenant::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RelatedTenant +Microsoft\Graph\Generated.models.relatedTenantCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.relatedTenantCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.relatedTenantCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.relatedTenantCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.relatedTenantCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.relatedTenantCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.relatedTenantCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RelatedTenantCollectionResponse +Microsoft\Graph\Generated.models.relatedTenantsRefreshRequest-->Entity +Microsoft\Graph\Generated.models.relatedTenantsRefreshRequest::|public|constructor():void +Microsoft\Graph\Generated.models.relatedTenantsRefreshRequest::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.relatedTenantsRefreshRequest::|public|getLocation():string +Microsoft\Graph\Generated.models.relatedTenantsRefreshRequest::|public|OdataType:string +Microsoft\Graph\Generated.models.relatedTenantsRefreshRequest::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.relatedTenantsRefreshRequest::|public|setLocation(value?:string):void +Microsoft\Graph\Generated.models.relatedTenantsRefreshRequest::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RelatedTenantsRefreshRequest +Microsoft\Graph\Generated.models.relationshipCreationType::0000-approvedByAdmin +Microsoft\Graph\Generated.models.relationshipCreationType::0001-addOnTenant +Microsoft\Graph\Generated.models.relationshipCreationType::0002-unknownFutureValue +Microsoft\Graph\Generated.models.relationshipPolicy::|public|constructor():void +Microsoft\Graph\Generated.models.relationshipPolicy::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.relationshipPolicy::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.relationshipPolicy::|public|getDelegatedAdministrationRoleAssignments():array +Microsoft\Graph\Generated.models.relationshipPolicy::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.relationshipPolicy::|public|getGovernedTenantCanTerminate():bool +Microsoft\Graph\Generated.models.relationshipPolicy::|public|getMultiTenantApplicationsToProvision():array +Microsoft\Graph\Generated.models.relationshipPolicy::|public|getOdataType():string +Microsoft\Graph\Generated.models.relationshipPolicy::|public|getPolicyId():string +Microsoft\Graph\Generated.models.relationshipPolicy::|public|getVersion():int +Microsoft\Graph\Generated.models.relationshipPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.relationshipPolicy::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.relationshipPolicy::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.relationshipPolicy::|public|setDelegatedAdministrationRoleAssignments(value?:array):void +Microsoft\Graph\Generated.models.relationshipPolicy::|public|setGovernedTenantCanTerminate(value?:bool):void +Microsoft\Graph\Generated.models.relationshipPolicy::|public|setMultiTenantApplicationsToProvision(value?:array):void +Microsoft\Graph\Generated.models.relationshipPolicy::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.relationshipPolicy::|public|setPolicyId(value?:string):void +Microsoft\Graph\Generated.models.relationshipPolicy::|public|setVersion(value?:int):void +Microsoft\Graph\Generated.models.relationshipPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RelationshipPolicy +Microsoft\Graph\Generated.models.relationshipPolicy~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.relationshipStatus::0000-active +Microsoft\Graph\Generated.models.relationshipStatus::0001-terminated +Microsoft\Graph\Generated.models.relationshipStatus::0002-terminationRequestedByGoverningTenant +Microsoft\Graph\Generated.models.relationshipStatus::0003-unknownFutureValue Microsoft\Graph\Generated.models.relyingPartyDetailedSummary-->Entity Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|constructor():void Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|getFailedSignInCount():int @@ -164652,6 +165866,10 @@ Microsoft\Graph\Generated.models.requestSignatureVerification::|public|setIsSign Microsoft\Graph\Generated.models.requestSignatureVerification::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.requestSignatureVerification::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RequestSignatureVerification Microsoft\Graph\Generated.models.requestSignatureVerification~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.requestStatus::0000-pending +Microsoft\Graph\Generated.models.requestStatus::0001-accepted +Microsoft\Graph\Generated.models.requestStatus::0002-rejected +Microsoft\Graph\Generated.models.requestStatus::0003-unknownFutureValue Microsoft\Graph\Generated.models.requiredPasswordType::0000-deviceDefault Microsoft\Graph\Generated.models.requiredPasswordType::0001-alphanumeric Microsoft\Graph\Generated.models.requiredPasswordType::0002-numeric @@ -165610,6 +166828,21 @@ Microsoft\Graph\Generated.models.rolePermission::|public|setOdataType(value?:str Microsoft\Graph\Generated.models.rolePermission::|public|setResourceActions(value?:array):void Microsoft\Graph\Generated.models.rolePermission::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RolePermission Microsoft\Graph\Generated.models.rolePermission~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.roleTemplate::|public|constructor():void +Microsoft\Graph\Generated.models.roleTemplate::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.roleTemplate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.roleTemplate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.roleTemplate::|public|getId():string +Microsoft\Graph\Generated.models.roleTemplate::|public|getName():string +Microsoft\Graph\Generated.models.roleTemplate::|public|getOdataType():string +Microsoft\Graph\Generated.models.roleTemplate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.roleTemplate::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.roleTemplate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.roleTemplate::|public|setId(value?:string):void +Microsoft\Graph\Generated.models.roleTemplate::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.roleTemplate::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.roleTemplate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RoleTemplate +Microsoft\Graph\Generated.models.roleTemplate~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.roleType::0000-active Microsoft\Graph\Generated.models.roleType::0001-eligible Microsoft\Graph\Generated.models.roleType::0002-application @@ -178902,6 +180135,63 @@ Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance::|public|OdataT Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance::|public|setProtectionScopes(value?:TenantProtectionScopeContainer):void Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantDataSecurityAndGovernance +Microsoft\Graph\Generated.models.tenantGovernance-->Entity +Microsoft\Graph\Generated.models.tenantGovernance::|public|constructor():void +Microsoft\Graph\Generated.models.tenantGovernance::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.tenantGovernance::|public|getGovernanceInvitations():array +Microsoft\Graph\Generated.models.tenantGovernance::|public|getGovernancePolicyTemplates():array +Microsoft\Graph\Generated.models.tenantGovernance::|public|getGovernanceRelationships():array +Microsoft\Graph\Generated.models.tenantGovernance::|public|getGovernanceRequests():array +Microsoft\Graph\Generated.models.tenantGovernance::|public|getRelatedTenants():array +Microsoft\Graph\Generated.models.tenantGovernance::|public|getSettings():TenantGovernanceSetting +Microsoft\Graph\Generated.models.tenantGovernance::|public|OdataType:string +Microsoft\Graph\Generated.models.tenantGovernance::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.tenantGovernance::|public|setGovernanceInvitations(value?:array):void +Microsoft\Graph\Generated.models.tenantGovernance::|public|setGovernancePolicyTemplates(value?:array):void +Microsoft\Graph\Generated.models.tenantGovernance::|public|setGovernanceRelationships(value?:array):void +Microsoft\Graph\Generated.models.tenantGovernance::|public|setGovernanceRequests(value?:array):void +Microsoft\Graph\Generated.models.tenantGovernance::|public|setRelatedTenants(value?:array):void +Microsoft\Graph\Generated.models.tenantGovernance::|public|setSettings(value?:TenantGovernanceSetting):void +Microsoft\Graph\Generated.models.tenantGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantGovernance +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate-->Entity +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|constructor():void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|getDelegatedAdministrationRoleAssignments():array +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|getDescription():string +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|getDisplayName():string +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|getGovernedTenantCanTerminate():bool +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|getLastModifiedDateTime():DateTime +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|getMultiTenantApplicationsToProvision():array +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|getVersion():string +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|OdataType:string +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|setDelegatedAdministrationRoleAssignments(value?:array):void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|setDescription(value?:string):void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|setDisplayName(value?:string):void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|setGovernedTenantCanTerminate(value?:bool):void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|setLastModifiedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|setMultiTenantApplicationsToProvision(value?:array):void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|public|setVersion(value?:string):void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantGovernancePolicyTemplate +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplateCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplateCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplateCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplateCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplateCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplateCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.tenantGovernancePolicyTemplateCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantGovernancePolicyTemplateCollectionResponse +Microsoft\Graph\Generated.models.tenantGovernanceSetting-->Entity +Microsoft\Graph\Generated.models.tenantGovernanceSetting::|public|constructor():void +Microsoft\Graph\Generated.models.tenantGovernanceSetting::|public|getCanReceiveInvitations():bool +Microsoft\Graph\Generated.models.tenantGovernanceSetting::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.tenantGovernanceSetting::|public|getIsRelatedTenantsEnabled():bool +Microsoft\Graph\Generated.models.tenantGovernanceSetting::|public|OdataType:string +Microsoft\Graph\Generated.models.tenantGovernanceSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.tenantGovernanceSetting::|public|setCanReceiveInvitations(value?:bool):void +Microsoft\Graph\Generated.models.tenantGovernanceSetting::|public|setIsRelatedTenantsEnabled(value?:bool):void +Microsoft\Graph\Generated.models.tenantGovernanceSetting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantGovernanceSetting Microsoft\Graph\Generated.models.tenantInformation::|public|constructor():void Microsoft\Graph\Generated.models.tenantInformation::|public|getAdditionalData():array Microsoft\Graph\Generated.models.tenantInformation::|public|getBackingStore():BackingStore @@ -180934,6 +182224,7 @@ Microsoft\Graph\Generated.models.user::|public|getMemberOf():array Microsoft\Graph\Generated.models.user::|public|getMessages():array Microsoft\Graph\Generated.models.user::|public|getMobilePhone():string Microsoft\Graph\Generated.models.user::|public|getMySite():string +Microsoft\Graph\Generated.models.user::|public|getNotes():array Microsoft\Graph\Generated.models.user::|public|getOauth2PermissionGrants():array Microsoft\Graph\Generated.models.user::|public|getOfficeLocation():string Microsoft\Graph\Generated.models.user::|public|getOnenote():Onenote @@ -181071,6 +182362,7 @@ Microsoft\Graph\Generated.models.user::|public|setMemberOf(value?:array):void Microsoft\Graph\Generated.models.user::|public|setMessages(value?:array):void Microsoft\Graph\Generated.models.user::|public|setMobilePhone(value?:string):void Microsoft\Graph\Generated.models.user::|public|setMySite(value?:string):void +Microsoft\Graph\Generated.models.user::|public|setNotes(value?:array):void Microsoft\Graph\Generated.models.user::|public|setOauth2PermissionGrants(value?:array):void Microsoft\Graph\Generated.models.user::|public|setOfficeLocation(value?:string):void Microsoft\Graph\Generated.models.user::|public|setOnenote(value?:Onenote):void @@ -256788,6 +258080,250 @@ Microsoft\Graph\Generated.users.item.messages.messagesRequestBuilderGetRequestCo Microsoft\Graph\Generated.users.item.messages.messagesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; includeHiddenMessages?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MessagesRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.messages.messagesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.messages.messagesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.delta.deltaGetResponse-->BaseDeltaFunctionResponse +Microsoft\Graph\Generated.users.item.notes.delta.deltaGetResponse::|public|constructor():void +Microsoft\Graph\Generated.users.item.notes.delta.deltaGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.notes.delta.deltaGetResponse::|public|getValue():array +Microsoft\Graph\Generated.users.item.notes.delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.notes.delta.deltaGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.users.item.notes.delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeltaGetResponse +Microsoft\Graph\Generated.users.item.notes.delta.DeltaRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.notes.delta.DeltaRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.notes.delta.DeltaRequestBuilder::|public|Get(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):DeltaGetResponse +Microsoft\Graph\Generated.users.item.notes.delta.DeltaRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.notes.delta.DeltaRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.notes.delta.DeltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.delta.DeltaRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.notes.delta.DeltaRequestBuilder::|public|WithUrl(rawUrl:string):DeltaRequestBuilder +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DeltaRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetRequestConfiguration::|public|queryParameters:DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.delta.deltaRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|ByAttachmentId(attachmentId:string):AttachmentItemRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|createUploadSession:CreateUploadSessionRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|Get(requestConfiguration?:AttachmentsRequestBuilderGetRequestConfiguration):AttachmentCollectionResponse +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|Post(body:Attachment; requestConfiguration?:AttachmentsRequestBuilderPostRequestConfiguration):Attachment +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AttachmentsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|ToPostRequestInformation(body:Attachment; requestConfiguration?:AttachmentsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.notes.item.attachments.AttachmentsRequestBuilder::|public|WithUrl(rawUrl:string):AttachmentsRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AttachmentsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:AttachmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):AttachmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.attachments.attachmentsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.attachments.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionPostRequestBody::|public|getAttachmentItem():AttachmentItem +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionPostRequestBody::|public|setAttachmentItem(value?:AttachmentItem):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CreateUploadSessionPostRequestBody +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.CreateUploadSessionRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.CreateUploadSessionRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.CreateUploadSessionRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.CreateUploadSessionRequestBuilder::|public|Post(body:CreateUploadSessionPostRequestBody; requestConfiguration?:CreateUploadSessionRequestBuilderPostRequestConfiguration):UploadSession +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.CreateUploadSessionRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.CreateUploadSessionRequestBuilder::|public|ToPostRequestInformation(body:CreateUploadSessionPostRequestBody; requestConfiguration?:CreateUploadSessionRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.CreateUploadSessionRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.CreateUploadSessionRequestBuilder::|public|WithUrl(rawUrl:string):CreateUploadSessionRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.attachments.createUploadSession.createUploadSessionRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilder::|public|Delete(requestConfiguration?:AttachmentItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilder::|public|Get(requestConfiguration?:AttachmentItemRequestBuilderGetRequestConfiguration):Attachment +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:AttachmentItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AttachmentItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilder::|public|WithUrl(rawUrl:string):AttachmentItemRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AttachmentItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:AttachmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.attachments.item.AttachmentItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AttachmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.extensions.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder::|public|ByExtensionId(extensionId:string):ExtensionItemRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder::|public|Get(requestConfiguration?:ExtensionsRequestBuilderGetRequestConfiguration):ExtensionCollectionResponse +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder::|public|Post(body:Extension; requestConfiguration?:ExtensionsRequestBuilderPostRequestConfiguration):Extension +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ExtensionsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder::|public|ToPostRequestInformation(body:Extension; requestConfiguration?:ExtensionsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.notes.item.extensions.ExtensionsRequestBuilder::|public|WithUrl(rawUrl:string):ExtensionsRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ExtensionsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetRequestConfiguration::|public|queryParameters:ExtensionsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ExtensionsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.extensions.extensionsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder::|public|Delete(requestConfiguration?:ExtensionItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder::|public|Get(requestConfiguration?:ExtensionItemRequestBuilderGetRequestConfiguration):Extension +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder::|public|Patch(body:Extension; requestConfiguration?:ExtensionItemRequestBuilderPatchRequestConfiguration):Extension +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ExtensionItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ExtensionItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder::|public|ToPatchRequestInformation(body:Extension; requestConfiguration?:ExtensionItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilder::|public|WithUrl(rawUrl:string):ExtensionItemRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ExtensionItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ExtensionItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ExtensionItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.extensions.item.ExtensionItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|attachments:AttachmentsRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|Delete(requestConfiguration?:NoteItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|extensions:ExtensionsRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|Get(requestConfiguration?:NoteItemRequestBuilderGetRequestConfiguration):Note +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|Patch(body:Note; requestConfiguration?:NoteItemRequestBuilderPatchRequestConfiguration):Note +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:NoteItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:NoteItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|ToPatchRequestInformation(body:Note; requestConfiguration?:NoteItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilder::|public|WithUrl(rawUrl:string):NoteItemRequestBuilder +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:NoteItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilderGetRequestConfiguration::|public|queryParameters:NoteItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):NoteItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.item.NoteItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|ByNoteId(noteId:string):NoteItemRequestBuilder +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|delta:DeltaRequestBuilder +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|Get(requestConfiguration?:NotesRequestBuilderGetRequestConfiguration):NoteCollectionResponse +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|Post(body:Note; requestConfiguration?:NotesRequestBuilderPostRequestConfiguration):Note +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:NotesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|ToPostRequestInformation(body:Note; requestConfiguration?:NotesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.notes.NotesRequestBuilder::|public|WithUrl(rawUrl:string):NotesRequestBuilder +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:NotesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetRequestConfiguration::|public|queryParameters:NotesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):NotesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.notes.notesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.oauth2PermissionGrants.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.oauth2PermissionGrants.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.oauth2PermissionGrants.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -263781,6 +265317,7 @@ Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|managedDevi Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|manager:ManagerRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|memberOf:MemberOfRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|messages:MessagesRequestBuilder +Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|notes:NotesRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|oauth2PermissionGrants:Oauth2PermissionGrantsRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|onenote:OnenoteRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|onlineMeetings:OnlineMeetingsRequestBuilder diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 592bf9cf5d3..5faacaa2b13 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "A8730F368F01E428337B83C1254B314C6CA15E472615265E041B2ECFCB5426095853625241AED04487B06192D4ECEF33E7378FED7145D43FEBE9D267D68D6FB3", + "descriptionHash": "62F83CD8AE47B1679CAE90B419ECEEA7E8E9ADF2EC503FF31CD525A647F2DDFD950071B1DB63B0F65D03260D1AAD642FD78D44B4C15B04778387EC3A018DDF3A", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.34.1", + "kiotaVersion": "1.35.0", "clientClassName": "BaseGraphClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft\\Graph\\Generated",