diff --git a/src/Generated/Applications/Item/Restore/RestorePostRequestBody.php b/src/Generated/Applications/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..151fac8d607 --- /dev/null +++ b/src/Generated/Applications/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/Applications/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Applications/Item/Restore/RestoreRequestBuilder.php index 119647cd26d..786650ebb53 100644 --- a/src/Generated/Applications/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Applications/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 73cebe29760..95257bc5ead 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|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/conversationmember-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 Find more info here */ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -94,7 +94,7 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder } /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index 13da59c62c1..421bd7f2048 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php index 32f40e89a8e..fc210c496a2 100644 --- a/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|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/chatmessage-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php index 8bcf9646ece..12acddc4670 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|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/participant-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 Find more info here */ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostReque } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Contacts/Item/Restore/RestorePostRequestBody.php b/src/Generated/Contacts/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..234639418d3 --- /dev/null +++ b/src/Generated/Contacts/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/Contacts/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Contacts/Item/Restore/RestoreRequestBuilder.php index 8a5f17a2fe4..6baf93def2f 100644 --- a/src/Generated/Contacts/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Contacts/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contracts/Item/Restore/RestorePostRequestBody.php b/src/Generated/Contracts/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..720a3461669 --- /dev/null +++ b/src/Generated/Contracts/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/Contracts/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Contracts/Item/Restore/RestoreRequestBuilder.php index 7d09671fe8e..1e4d0d89b4d 100644 --- a/src/Generated/Contracts/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Contracts/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php index ea8d91d4ec5..88287f64f28 100644 --- a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php @@ -155,7 +155,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceAppManagementRequestBuilderGetRequestConfiguration|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/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -171,7 +171,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r * @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|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/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceAppManagement $body, ?DeviceAppManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index c9e0d3a0088..c14dff918a3 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|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/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php index 5230cbcc5ad..53195d29d1f 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the windowsInformationProtection objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|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/intune-mam-managedapppolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(ManagedAppPolicy $body, ?ManagedAppPoliciesRequestBuilderPo } /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the windowsInformationProtection objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php index 075c0ea67e0..e14d5359821 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the windowsInformationProtection objects. */ class ManagedAppPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 98d1e73293e..e141c5e3073 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|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/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index f8dc868a894..ae38e904200 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|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/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php index 81082a207c7..0e65ab6bf24 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php @@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|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/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -91,7 +91,7 @@ public function post(ManagedAppRegistration $body, ?ManagedAppRegistrationsReque } /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php index 8163f822b71..b4f489ab30a 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. */ class ManagedAppRegistrationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php index 09583ad8d7a..1b6706769e5 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|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/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(ManagedAppStatus $body, ?ManagedAppStatusesRequestBuilderPo } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php index 02671246a61..1de2629bd1c 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. */ class ManagedAppStatusesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php index 6aa5b609c52..bf46e5a230f 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new managedEBookAssignment object. + * Create a new iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|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/intune-books-managedebookassignment-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0 Find more info here */ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } /** - * Create a new managedEBookAssignment object. + * Create a new iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php index ed1966f7284..3d660b86958 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|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/intune-books-managedebookassignment-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,12 +61,12 @@ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a managedEBookAssignment object. + * Update the properties of a iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|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/intune-books-managedebookassignment-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 Find more info here */ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?ManagedEBookAssignmentItemRequestBui } /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?ManagedEBookAssignmentItemRequestBuilde } /** - * Update the properties of a managedEBookAssignment object. + * Update the properties of a iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php index 854e051c551..fa920db8c52 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. */ class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php index 1d32b9e08bd..59b3854b25c 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php @@ -86,11 +86,11 @@ public function delete(?ManagedEBookItemRequestBuilderDeleteRequestConfiguration } /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. * @param ManagedEBookItemRequestBuilderGetRequestConfiguration|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/intune-books-managedebook-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -135,7 +135,7 @@ public function toDeleteRequestInformation(?ManagedEBookItemRequestBuilderDelete } /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. * @param ManagedEBookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php index 271c28a403d..5270a02e617 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. */ class ManagedEBookItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php index 336d1feb54c..f82eae537ba 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosVppEBook objects. + * List properties and relationships of the managedEBook objects. * @param ManagedEBooksRequestBuilderGetRequestConfiguration|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/intune-books-iosvppebook-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBooksRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(ManagedEBook $body, ?ManagedEBooksRequestBuilderPostRequest } /** - * List properties and relationships of the iosVppEBook objects. + * List properties and relationships of the managedEBook objects. * @param ManagedEBooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php index 0e5165889f1..eaa732c2dd0 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the iosVppEBook objects. + * List properties and relationships of the managedEBook objects. */ class ManagedEBooksRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php index 3e80867291c..6cfa31634c9 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php @@ -94,11 +94,11 @@ public function delete(?ManagedDeviceMobileAppConfigurationItemRequestBuilderDel } /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|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/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -143,7 +143,7 @@ public function toDeleteRequestInformation(?ManagedDeviceMobileAppConfigurationI } /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php index 22dd29d03d8..4b0240dadba 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. */ class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php index bf48a6097c3..ff5bc832a3a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php @@ -183,11 +183,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a microsoftStoreForBusinessApp. + * Deletes a androidStoreApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|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/intune-apps-microsoftstoreforbusinessapp-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-androidstoreapp-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -198,11 +198,11 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read properties and relationships of the macOSLobApp object. + * Read properties and relationships of the windowsWebApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|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/intune-apps-macoslobapp-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-windowswebapp-get?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -213,12 +213,12 @@ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $request } /** - * Update the properties of a androidLobApp object. + * Update the properties of a microsoftStoreForBusinessApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|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/intune-apps-androidlobapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-update?view=graph-rest-1.0 Find more info here */ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -229,7 +229,7 @@ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestC } /** - * Deletes a microsoftStoreForBusinessApp. + * Deletes a androidStoreApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -247,7 +247,7 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the macOSLobApp object. + * Read properties and relationships of the windowsWebApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -268,7 +268,7 @@ public function toGetRequestInformation(?MobileAppItemRequestBuilderGetRequestCo } /** - * Update the properties of a androidLobApp object. + * Update the properties of a microsoftStoreForBusinessApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php index 38b4d07e5cf..743090e3234 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the macOSLobApp object. + * Read properties and relationships of the windowsWebApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index 643c4c77264..e56d38dd166 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php @@ -180,11 +180,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the webApp objects. + * List properties and relationships of the managedIOSLobApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|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/intune-apps-webapp-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -195,12 +195,12 @@ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new windowsMobileMSI object. + * Create a new macOSLobApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|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/intune-apps-windowsmobilemsi-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-create?view=graph-rest-1.0 Find more info here */ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -211,7 +211,7 @@ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfig } /** - * List properties and relationships of the webApp objects. + * List properties and relationships of the managedIOSLobApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -232,7 +232,7 @@ public function toGetRequestInformation(?MobileAppsRequestBuilderGetRequestConfi } /** - * Create a new windowsMobileMSI object. + * Create a new macOSLobApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php index f8d66f3b494..e5bc8d8bb01 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the webApp objects. + * List properties and relationships of the managedIOSLobApp objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index 4f28041686b..f245cacf9fe 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the windowsPhone81CompliancePolicy objects. + * List properties and relationships of the windows10MobileCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|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/intune-deviceconfig-windowsphone81compliancepolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new windows81CompliancePolicy object. + * Create a new windows10MobileCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|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/intune-deviceconfig-windows81compliancepolicy-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequ } /** - * List properties and relationships of the windowsPhone81CompliancePolicy objects. + * List properties and relationships of the windows10MobileCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceCompliancePoliciesRequestBuilderG } /** - * Create a new windows81CompliancePolicy object. + * Create a new windows10MobileCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php index 2a60f9fc9a5..c302cd790e2 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the windowsPhone81CompliancePolicy objects. + * List properties and relationships of the windows10MobileCompliancePolicy objects. */ class DeviceCompliancePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index 89f4acf2d3b..501377ce241 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php @@ -103,11 +103,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a iosCompliancePolicy. + * Deletes a windows81CompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|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/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -118,11 +118,11 @@ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the macOSCompliancePolicy object. + * Read properties and relationships of the androidWorkProfileCompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|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/intune-deviceconfig-macoscompliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,12 +133,12 @@ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a windowsPhone81CompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|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/intune-deviceconfig-windowsphone81compliancepolicy-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -149,7 +149,7 @@ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemR } /** - * Deletes a iosCompliancePolicy. + * Deletes a windows81CompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -167,7 +167,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyItemRequestBui } /** - * Read properties and relationships of the macOSCompliancePolicy object. + * Read properties and relationships of the androidWorkProfileCompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -188,7 +188,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyItemRequestBuilde } /** - * Update the properties of a windowsPhone81CompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php index ea4fc4eba34..b4825fdae1d 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the macOSCompliancePolicy object. + * Read properties and relationships of the androidWorkProfileCompliancePolicy object. */ class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index e83cf728d67..423c29ee2f8 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosDeviceFeaturesConfiguration objects. + * List properties and relationships of the windows81GeneralConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|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/intune-deviceconfig-iosdevicefeaturesconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $ } /** - * Create a new iosGeneralDeviceConfiguration object. + * Create a new windows10TeamGeneralConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|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/intune-deviceconfig-iosgeneraldeviceconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10teamgeneralconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuil } /** - * List properties and relationships of the iosDeviceFeaturesConfiguration objects. + * List properties and relationships of the windows81GeneralConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceConfigurationsRequestBuilderGetRe } /** - * Create a new iosGeneralDeviceConfiguration object. + * Create a new windows10TeamGeneralConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php index a3322f142df..d63576daa9b 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the iosDeviceFeaturesConfiguration objects. + * List properties and relationships of the windows81GeneralConfiguration objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index a8f61339f15..742b7d73f5d 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php @@ -88,11 +88,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a iosDeviceFeaturesConfiguration. + * Deletes a editionUpgradeConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|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/intune-deviceconfig-iosdevicefeaturesconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -103,11 +103,11 @@ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfig } /** - * Read properties and relationships of the androidWorkProfileCustomConfiguration object. + * Read properties and relationships of the iosCertificateProfile object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|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/intune-deviceconfig-androidworkprofilecustomconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscertificateprofile-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -127,12 +127,12 @@ public function getOmaSettingPlainTextValueWithSecretReferenceValueId(string $se } /** - * Update the properties of a macOSGeneralDeviceConfiguration object. + * Update the properties of a windows10SecureAssessmentConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|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/intune-deviceconfig-macosgeneraldeviceconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -143,7 +143,7 @@ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequest } /** - * Deletes a iosDeviceFeaturesConfiguration. + * Deletes a editionUpgradeConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationItemRequestBuilde } /** - * Read properties and relationships of the androidWorkProfileCustomConfiguration object. + * Read properties and relationships of the iosCertificateProfile object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -182,7 +182,7 @@ public function toGetRequestInformation(?DeviceConfigurationItemRequestBuilderGe } /** - * Update the properties of a macOSGeneralDeviceConfiguration object. + * Update the properties of a windows10SecureAssessmentConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php index a5fa135fe5f..94f7943a648 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the androidWorkProfileCustomConfiguration object. + * Read properties and relationships of the iosCertificateProfile object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index be7cad6a152..f47aa1f4793 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|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/intune-onboarding-deviceenrollmentlimitconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfi } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|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/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfi } /** - * List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationsRequestBu } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php index 149a2f7a829..548f8e3b8a8 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. */ class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php index 848bc2f3925..70a5d9a1d72 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -70,11 +70,11 @@ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|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/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -85,12 +85,12 @@ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestCo } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|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/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -119,7 +119,7 @@ public function toDeleteRequestInformation(?DeviceEnrollmentConfigurationItemReq } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,7 +140,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationItemReques } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php index 12796689b55..3eb55aa0e82 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. */ class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php index 922b8464657..263498ed6d3 100644 --- a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php @@ -509,7 +509,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceManagementRequestBuilderGetRequestConfiguration|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/intune-wip-devicemanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-enrollment-devicemanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -534,7 +534,7 @@ public function getEffectivePermissionsWithScope(string $scope): GetEffectivePer * @param DeviceManagementRequestBuilderPatchRequestConfiguration|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/intune-reporting-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-devices-devicemanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceManagement $body, ?DeviceManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php index 32b369eb31c..915ba4e6526 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php @@ -39,11 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|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/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 Find more info here */ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -85,7 +85,7 @@ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPat } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php index e13378d3623..268f71f1c9f 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|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/intune-rbac-roledefinition-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostReq } /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php index 5b0c2ffab4f..448a7624ee5 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. */ class RoleDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Devices/Item/Restore/RestorePostRequestBody.php b/src/Generated/Devices/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..4d8e8f36a85 --- /dev/null +++ b/src/Generated/Devices/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/Devices/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Devices/Item/Restore/RestoreRequestBuilder.php index 7f3b03944bd..f8e818f21ad 100644 --- a/src/Generated/Devices/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Devices/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/Restore/RestorePostRequestBody.php b/src/Generated/Directory/DeletedItems/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..887362f0e46 --- /dev/null +++ b/src/Generated/Directory/DeletedItems/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/Directory/DeletedItems/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/Restore/RestoreRequestBuilder.php index 0c28b0daec8..4dbcc848e7e 100644 --- a/src/Generated/Directory/DeletedItems/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryObjects/Item/Restore/RestorePostRequestBody.php b/src/Generated/DirectoryObjects/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..53b7450c745 --- /dev/null +++ b/src/Generated/DirectoryObjects/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/DirectoryObjects/Item/Restore/RestoreRequestBuilder.php b/src/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.php index 6680a6eb030..4cd7a97fe5b 100644 --- a/src/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/Item/Restore/RestorePostRequestBody.php b/src/Generated/DirectoryRoleTemplates/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..9c71b2f7e53 --- /dev/null +++ b/src/Generated/DirectoryRoleTemplates/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.php index cb306743ecd..ec1bc9efc68 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Restore/RestorePostRequestBody.php b/src/Generated/DirectoryRoles/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..9c24a243461 --- /dev/null +++ b/src/Generated/DirectoryRoles/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php index f620ac2fca0..9c69376885f 100644 --- a/src/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Domains/Item/DomainItemRequestBuilder.php b/src/Generated/Domains/Item/DomainItemRequestBuilder.php index a49e3cc837d..08d14bc0b33 100644 --- a/src/Generated/Domains/Item/DomainItemRequestBuilder.php +++ b/src/Generated/Domains/Item/DomainItemRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Generated\Domains\Item\FederationConfiguration\FederationConfigurationRequestBuilder; use Microsoft\Graph\Generated\Domains\Item\ForceDelete\ForceDeleteRequestBuilder; use Microsoft\Graph\Generated\Domains\Item\Promote\PromoteRequestBuilder; +use Microsoft\Graph\Generated\Domains\Item\RootDomain\RootDomainRequestBuilder; use Microsoft\Graph\Generated\Domains\Item\ServiceConfigurationRecords\ServiceConfigurationRecordsRequestBuilder; use Microsoft\Graph\Generated\Domains\Item\VerificationDnsRecords\VerificationDnsRecordsRequestBuilder; use Microsoft\Graph\Generated\Domains\Item\Verify\VerifyRequestBuilder; @@ -51,6 +52,13 @@ public function promote(): PromoteRequestBuilder { return new PromoteRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the rootDomain property of the microsoft.graph.domain entity. + */ + public function rootDomain(): RootDomainRequestBuilder { + return new RootDomainRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the serviceConfigurationRecords property of the microsoft.graph.domain entity. */ diff --git a/src/Generated/Domains/Item/RootDomain/RootDomainRequestBuilder.php b/src/Generated/Domains/Item/RootDomain/RootDomainRequestBuilder.php new file mode 100644 index 00000000000..a5c343799e9 --- /dev/null +++ b/src/Generated/Domains/Item/RootDomain/RootDomainRequestBuilder.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}/domains/{domain%2Did}/rootDomain{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rootDomain from domains + * @param RootDomainRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RootDomainRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Domain::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rootDomain from domains + * @param RootDomainRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RootDomainRequestBuilderGetRequestConfiguration $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 RootDomainRequestBuilder + */ + public function withUrl(string $rawUrl): RootDomainRequestBuilder { + return new RootDomainRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Domains/Item/RootDomain/RootDomainRequestBuilderGetQueryParameters.php b/src/Generated/Domains/Item/RootDomain/RootDomainRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..8be382aae5e --- /dev/null +++ b/src/Generated/Domains/Item/RootDomain/RootDomainRequestBuilderGetQueryParameters.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 RootDomainRequestBuilderGetQueryParameters 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/Domains/Item/RootDomain/RootDomainRequestBuilderGetRequestConfiguration.php b/src/Generated/Domains/Item/RootDomain/RootDomainRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..de38a41c8db --- /dev/null +++ b/src/Generated/Domains/Item/RootDomain/RootDomainRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RootDomainRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RootDomainRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RootDomainRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RootDomainRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RootDomainRequestBuilderGetQueryParameters { + return new RootDomainRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php index 47be9ad9743..419c92ac755 100644 --- a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php @@ -60,12 +60,12 @@ public function get(?RetentionLabelRequestBuilderGetRequestConfiguration $reques } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|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/driveitem-lockorunlockrecord?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 Find more info here */ public function patch(ItemRetentionLabel $body, ?RetentionLabelRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -115,7 +115,7 @@ public function toGetRequestInformation(?RetentionLabelRequestBuilderGetRequestC } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php index 4dafeecbb5c..d7734badcaf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php @@ -241,11 +241,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|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/range-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -312,7 +312,7 @@ public function rowWithRow(int $row): RowWithRowRequestBuilder { } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php index ba3fdf2c10f..cbc3fbbce5d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php @@ -241,11 +241,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|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/range-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -312,7 +312,7 @@ public function rowWithRow(int $row): RowWithRowRequestBuilder { } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php index 814e400c329..6c371b0f61a 100644 --- a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php @@ -77,12 +77,12 @@ public function get(?ExternalItemItemRequestBuilderGetRequestConfiguration $requ } /** - * Create a new externalItem object. + * Update the properties of an externalItem object. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|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/externalconnectors-externalconnection-put-items?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-1.0 Find more info here */ public function put(ExternalItem $body, ?ExternalItemItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -132,7 +132,7 @@ public function toGetRequestInformation(?ExternalItemItemRequestBuilderGetReques } /** - * Create a new externalItem object. + * Update the properties of an externalItem object. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/GroupSettingTemplates/Item/Restore/RestorePostRequestBody.php b/src/Generated/GroupSettingTemplates/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..84c0c5781db --- /dev/null +++ b/src/Generated/GroupSettingTemplates/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.php b/src/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.php index 41c1d3ea663..abd444baf7a 100644 --- a/src/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.php b/src/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.php index 43e89bcd2aa..241ca79e330 100644 --- a/src/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.php +++ b/src/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. + * Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. * @param AssignLicensePostRequestBody $body The request body * @param AssignLicenseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AssignLicensePostRequestBody $body, ?AssignLicenseRequestBu } /** - * Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. + * Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. * @param AssignLicensePostRequestBody $body The request body * @param AssignLicenseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php index 7ed4daa3440..a21735b2eae 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php @@ -54,11 +54,11 @@ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of conversation object. + * The group's conversations. * @param ConversationItemRequestBuilderGetRequestConfiguration|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/conversation-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 Find more info here */ public function get(?ConversationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -87,7 +87,7 @@ public function toDeleteRequestInformation(?ConversationItemRequestBuilderDelete } /** - * Retrieve the properties and relationships of conversation object. + * The group's conversations. * @param ConversationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php index 7065f9e0262..54b516ea9f8 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of conversation object. + * The group's conversations. */ class ConversationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php index 87ff9d06b72..ff71408b5cc 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|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/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -46,7 +46,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Restore/RestorePostRequestBody.php b/src/Generated/Groups/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..000601748dd --- /dev/null +++ b/src/Generated/Groups/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/Groups/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Groups/Item/Restore/RestoreRequestBuilder.php index 2c846143ead..4647e12afde 100644 --- a/src/Generated/Groups/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Groups/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php index 5d9dc5868e9..ed15aa44905 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ConversationThreadItemRequestBuilderDeleteRequestConfiguration|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/group-delete-thread?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationThreadItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); diff --git a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php index 719c5714495..f4530b3b65b 100644 --- a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|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/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -46,7 +46,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php index 1ade86add76..7ed57d3f26d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php @@ -102,11 +102,11 @@ public function delete(?AccessPackageItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + * Retrieve the properties and relationships of an accessPackage object. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|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/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 Find more info here */ public function get(?AccessPackageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -151,7 +151,7 @@ public function toDeleteRequestInformation(?AccessPackageItemRequestBuilderDelet } /** - * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + * Retrieve the properties and relationships of an accessPackage object. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php index 95e920d4be4..b0dedf46c49 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + * Retrieve the properties and relationships of an accessPackage object. */ class AccessPackageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index 3ba70d05b9c..75379f8964e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|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/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 Find more info here */ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,11 +46,11 @@ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestCon } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|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/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 Find more info here */ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemR } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?CustomCalloutExtensionItemRequestBui } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php index dae8c9ba9e5..e76ab2b8876 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. */ class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php index 4e607afdbae..943430a02e7 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php @@ -70,11 +70,11 @@ public function delete(?AgreementItemRequestBuilderDeleteRequestConfiguration $r } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param AgreementItemRequestBuilderGetRequestConfiguration|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/agreement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 Find more info here */ public function get(?AgreementItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -119,7 +119,7 @@ public function toDeleteRequestInformation(?AgreementItemRequestBuilderDeleteReq } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php index 3ba58bfc831..c02c9925684 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. */ class AgreementItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/AdministrativeUnit.php b/src/Generated/Models/AdministrativeUnit.php index 109de076288..35abb91305c 100644 --- a/src/Generated/Models/AdministrativeUnit.php +++ b/src/Generated/Models/AdministrativeUnit.php @@ -74,12 +74,28 @@ public function getFieldDeserializers(): array { 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'extensions' => fn(ParseNode $n) => $o->setExtensions($n->getCollectionOfObjectValues([Extension::class, 'createFromDiscriminatorValue'])), + 'isMemberManagementRestricted' => fn(ParseNode $n) => $o->setIsMemberManagementRestricted($n->getBooleanValue()), 'members' => fn(ParseNode $n) => $o->setMembers($n->getCollectionOfObjectValues([DirectoryObject::class, 'createFromDiscriminatorValue'])), + 'membershipRule' => fn(ParseNode $n) => $o->setMembershipRule($n->getStringValue()), + 'membershipRuleProcessingState' => fn(ParseNode $n) => $o->setMembershipRuleProcessingState($n->getStringValue()), + 'membershipType' => fn(ParseNode $n) => $o->setMembershipType($n->getStringValue()), 'scopedRoleMembers' => fn(ParseNode $n) => $o->setScopedRoleMembers($n->getCollectionOfObjectValues([ScopedRoleMembership::class, 'createFromDiscriminatorValue'])), 'visibility' => fn(ParseNode $n) => $o->setVisibility($n->getStringValue()), ]); } + /** + * Gets the isMemberManagementRestricted property value. The isMemberManagementRestricted property + * @return bool|null + */ + public function getIsMemberManagementRestricted(): ?bool { + $val = $this->getBackingStore()->get('isMemberManagementRestricted'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isMemberManagementRestricted'"); + } + /** * Gets the members property value. Users and groups that are members of this administrative unit. Supports $expand. * @return array|null @@ -94,6 +110,42 @@ public function getMembers(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'members'"); } + /** + * Gets the membershipRule property value. The membershipRule property + * @return string|null + */ + public function getMembershipRule(): ?string { + $val = $this->getBackingStore()->get('membershipRule'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'membershipRule'"); + } + + /** + * Gets the membershipRuleProcessingState property value. The membershipRuleProcessingState property + * @return string|null + */ + public function getMembershipRuleProcessingState(): ?string { + $val = $this->getBackingStore()->get('membershipRuleProcessingState'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'membershipRuleProcessingState'"); + } + + /** + * Gets the membershipType property value. The membershipType property + * @return string|null + */ + public function getMembershipType(): ?string { + $val = $this->getBackingStore()->get('membershipType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'membershipType'"); + } + /** * Gets the scopedRoleMembers property value. Scoped-role members of this administrative unit. * @return array|null @@ -129,7 +181,11 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('description', $this->getDescription()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeCollectionOfObjectValues('extensions', $this->getExtensions()); + $writer->writeBooleanValue('isMemberManagementRestricted', $this->getIsMemberManagementRestricted()); $writer->writeCollectionOfObjectValues('members', $this->getMembers()); + $writer->writeStringValue('membershipRule', $this->getMembershipRule()); + $writer->writeStringValue('membershipRuleProcessingState', $this->getMembershipRuleProcessingState()); + $writer->writeStringValue('membershipType', $this->getMembershipType()); $writer->writeCollectionOfObjectValues('scopedRoleMembers', $this->getScopedRoleMembers()); $writer->writeStringValue('visibility', $this->getVisibility()); } @@ -158,6 +214,14 @@ public function setExtensions(?array $value): void { $this->getBackingStore()->set('extensions', $value); } + /** + * Sets the isMemberManagementRestricted property value. The isMemberManagementRestricted property + * @param bool|null $value Value to set for the isMemberManagementRestricted property. + */ + public function setIsMemberManagementRestricted(?bool $value): void { + $this->getBackingStore()->set('isMemberManagementRestricted', $value); + } + /** * Sets the members property value. Users and groups that are members of this administrative unit. Supports $expand. * @param array|null $value Value to set for the members property. @@ -166,6 +230,30 @@ public function setMembers(?array $value): void { $this->getBackingStore()->set('members', $value); } + /** + * Sets the membershipRule property value. The membershipRule property + * @param string|null $value Value to set for the membershipRule property. + */ + public function setMembershipRule(?string $value): void { + $this->getBackingStore()->set('membershipRule', $value); + } + + /** + * Sets the membershipRuleProcessingState property value. The membershipRuleProcessingState property + * @param string|null $value Value to set for the membershipRuleProcessingState property. + */ + public function setMembershipRuleProcessingState(?string $value): void { + $this->getBackingStore()->set('membershipRuleProcessingState', $value); + } + + /** + * Sets the membershipType property value. The membershipType property + * @param string|null $value Value to set for the membershipType property. + */ + public function setMembershipType(?string $value): void { + $this->getBackingStore()->set('membershipType', $value); + } + /** * Sets the scopedRoleMembers property value. Scoped-role members of this administrative unit. * @param array|null $value Value to set for the scopedRoleMembers property. diff --git a/src/Generated/Models/Device.php b/src/Generated/Models/Device.php index a1d115f7a08..c361e589fb0 100644 --- a/src/Generated/Models/Device.php +++ b/src/Generated/Models/Device.php @@ -209,6 +209,7 @@ public function getFieldDeserializers(): array { 'extensions' => fn(ParseNode $n) => $o->setExtensions($n->getCollectionOfObjectValues([Extension::class, 'createFromDiscriminatorValue'])), 'isCompliant' => fn(ParseNode $n) => $o->setIsCompliant($n->getBooleanValue()), 'isManaged' => fn(ParseNode $n) => $o->setIsManaged($n->getBooleanValue()), + 'isManagementRestricted' => fn(ParseNode $n) => $o->setIsManagementRestricted($n->getBooleanValue()), 'isRooted' => fn(ParseNode $n) => $o->setIsRooted($n->getBooleanValue()), 'managementType' => fn(ParseNode $n) => $o->setManagementType($n->getStringValue()), 'manufacturer' => fn(ParseNode $n) => $o->setManufacturer($n->getStringValue()), @@ -269,6 +270,18 @@ public function getIsManaged(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'isManaged'"); } + /** + * Gets the isManagementRestricted property value. The isManagementRestricted property + * @return bool|null + */ + public function getIsManagementRestricted(): ?bool { + $val = $this->getBackingStore()->get('isManagementRestricted'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isManagementRestricted'"); + } + /** * Gets the isRooted property value. true if the device is rooted or jail-broken. This property can only be updated by Intune. * @return bool|null @@ -530,6 +543,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('extensions', $this->getExtensions()); $writer->writeBooleanValue('isCompliant', $this->getIsCompliant()); $writer->writeBooleanValue('isManaged', $this->getIsManaged()); + $writer->writeBooleanValue('isManagementRestricted', $this->getIsManagementRestricted()); $writer->writeBooleanValue('isRooted', $this->getIsRooted()); $writer->writeStringValue('managementType', $this->getManagementType()); $writer->writeStringValue('manufacturer', $this->getManufacturer()); @@ -671,6 +685,14 @@ public function setIsManaged(?bool $value): void { $this->getBackingStore()->set('isManaged', $value); } + /** + * Sets the isManagementRestricted property value. The isManagementRestricted property + * @param bool|null $value Value to set for the isManagementRestricted property. + */ + public function setIsManagementRestricted(?bool $value): void { + $this->getBackingStore()->set('isManagementRestricted', $value); + } + /** * Sets the isRooted property value. true if the device is rooted or jail-broken. This property can only be updated by Intune. * @param bool|null $value Value to set for the isRooted property. diff --git a/src/Generated/Models/Domain.php b/src/Generated/Models/Domain.php index 2d1475d5298..e2e34d64022 100644 --- a/src/Generated/Models/Domain.php +++ b/src/Generated/Models/Domain.php @@ -97,6 +97,7 @@ public function getFieldDeserializers(): array { 'model' => fn(ParseNode $n) => $o->setModel($n->getStringValue()), 'passwordNotificationWindowInDays' => fn(ParseNode $n) => $o->setPasswordNotificationWindowInDays($n->getIntegerValue()), 'passwordValidityPeriodInDays' => fn(ParseNode $n) => $o->setPasswordValidityPeriodInDays($n->getIntegerValue()), + 'rootDomain' => fn(ParseNode $n) => $o->setRootDomain($n->getObjectValue([Domain::class, 'createFromDiscriminatorValue'])), 'serviceConfigurationRecords' => fn(ParseNode $n) => $o->setServiceConfigurationRecords($n->getCollectionOfObjectValues([DomainDnsRecord::class, 'createFromDiscriminatorValue'])), 'state' => fn(ParseNode $n) => $o->setState($n->getObjectValue([DomainState::class, 'createFromDiscriminatorValue'])), 'supportedServices' => function (ParseNode $n) { @@ -219,6 +220,18 @@ public function getPasswordValidityPeriodInDays(): ?int { throw new \UnexpectedValueException("Invalid type found in backing store for 'passwordValidityPeriodInDays'"); } + /** + * Gets the rootDomain property value. The rootDomain property + * @return Domain|null + */ + public function getRootDomain(): ?Domain { + $val = $this->getBackingStore()->get('rootDomain'); + if (is_null($val) || $val instanceof Domain) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'rootDomain'"); + } + /** * Gets the serviceConfigurationRecords property value. DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. * @return array|null @@ -292,6 +305,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('model', $this->getModel()); $writer->writeIntegerValue('passwordNotificationWindowInDays', $this->getPasswordNotificationWindowInDays()); $writer->writeIntegerValue('passwordValidityPeriodInDays', $this->getPasswordValidityPeriodInDays()); + $writer->writeObjectValue('rootDomain', $this->getRootDomain()); $writer->writeCollectionOfObjectValues('serviceConfigurationRecords', $this->getServiceConfigurationRecords()); $writer->writeObjectValue('state', $this->getState()); $writer->writeCollectionOfPrimitiveValues('supportedServices', $this->getSupportedServices()); @@ -402,6 +416,14 @@ public function setPasswordValidityPeriodInDays(?int $value): void { $this->getBackingStore()->set('passwordValidityPeriodInDays', $value); } + /** + * Sets the rootDomain property value. The rootDomain property + * @param Domain|null $value Value to set for the rootDomain property. + */ + public function setRootDomain(?Domain $value): void { + $this->getBackingStore()->set('rootDomain', $value); + } + /** * Sets the serviceConfigurationRecords property value. DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. * @param array|null $value Value to set for the serviceConfigurationRecords property. diff --git a/src/Generated/Models/FileStorageContainer.php b/src/Generated/Models/FileStorageContainer.php index ab97f7f80e5..ee15f0e47ea 100644 --- a/src/Generated/Models/FileStorageContainer.php +++ b/src/Generated/Models/FileStorageContainer.php @@ -132,7 +132,7 @@ public function getPermissions(): ?array { } /** - * Gets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. + * Gets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. * @return FileStorageContainerStatus|null */ public function getStatus(): ?FileStorageContainerStatus { @@ -229,7 +229,7 @@ public function setPermissions(?array $value): void { } /** - * Sets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. + * Sets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. * @param FileStorageContainerStatus|null $value Value to set for the status property. */ public function setStatus(?FileStorageContainerStatus $value): void { diff --git a/src/Generated/Models/Group.php b/src/Generated/Models/Group.php index 95d44696153..c145e22bbbf 100644 --- a/src/Generated/Models/Group.php +++ b/src/Generated/Models/Group.php @@ -313,6 +313,7 @@ public function getFieldDeserializers(): array { 'hideFromOutlookClients' => fn(ParseNode $n) => $o->setHideFromOutlookClients($n->getBooleanValue()), 'isArchived' => fn(ParseNode $n) => $o->setIsArchived($n->getBooleanValue()), 'isAssignableToRole' => fn(ParseNode $n) => $o->setIsAssignableToRole($n->getBooleanValue()), + 'isManagementRestricted' => fn(ParseNode $n) => $o->setIsManagementRestricted($n->getBooleanValue()), 'isSubscribedByMail' => fn(ParseNode $n) => $o->setIsSubscribedByMail($n->getBooleanValue()), 'licenseProcessingState' => fn(ParseNode $n) => $o->setLicenseProcessingState($n->getObjectValue([LicenseProcessingState::class, 'createFromDiscriminatorValue'])), 'mail' => fn(ParseNode $n) => $o->setMail($n->getStringValue()), @@ -452,6 +453,18 @@ public function getIsAssignableToRole(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'isAssignableToRole'"); } + /** + * Gets the isManagementRestricted property value. The isManagementRestricted property + * @return bool|null + */ + public function getIsManagementRestricted(): ?bool { + $val = $this->getBackingStore()->get('isManagementRestricted'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isManagementRestricted'"); + } + /** * Gets the isSubscribedByMail property value. Indicates whether the signed-in user is subscribed to receive email conversations. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). * @return bool|null @@ -677,7 +690,7 @@ public function getOnPremisesSyncEnabled(): ?bool { } /** - * Gets the owners property value. The owners of the group. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + * Gets the owners property value. The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). * @return array|null */ public function getOwners(): ?array { @@ -1006,6 +1019,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('hideFromOutlookClients', $this->getHideFromOutlookClients()); $writer->writeBooleanValue('isArchived', $this->getIsArchived()); $writer->writeBooleanValue('isAssignableToRole', $this->getIsAssignableToRole()); + $writer->writeBooleanValue('isManagementRestricted', $this->getIsManagementRestricted()); $writer->writeBooleanValue('isSubscribedByMail', $this->getIsSubscribedByMail()); $writer->writeObjectValue('licenseProcessingState', $this->getLicenseProcessingState()); $writer->writeStringValue('mail', $this->getMail()); @@ -1257,6 +1271,14 @@ public function setIsAssignableToRole(?bool $value): void { $this->getBackingStore()->set('isAssignableToRole', $value); } + /** + * Sets the isManagementRestricted property value. The isManagementRestricted property + * @param bool|null $value Value to set for the isManagementRestricted property. + */ + public function setIsManagementRestricted(?bool $value): void { + $this->getBackingStore()->set('isManagementRestricted', $value); + } + /** * Sets the isSubscribedByMail property value. Indicates whether the signed-in user is subscribed to receive email conversations. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). * @param bool|null $value Value to set for the isSubscribedByMail property. @@ -1402,7 +1424,7 @@ public function setOnPremisesSyncEnabled(?bool $value): void { } /** - * Sets the owners property value. The owners of the group. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + * Sets the owners property value. The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). * @param array|null $value Value to set for the owners property. */ public function setOwners(?array $value): void { diff --git a/src/Generated/Models/ScheduleInformation.php b/src/Generated/Models/ScheduleInformation.php index 5d55b95e0a0..d699c547203 100644 --- a/src/Generated/Models/ScheduleInformation.php +++ b/src/Generated/Models/ScheduleInformation.php @@ -49,7 +49,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the availabilityView property value. Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free or working elswhere, 1= tentative, 2= busy, 3= out of office.Note: Working elsewhere is set to 0 instead of 4 for backward compatibility. For details, see the Q&A. + * Gets the availabilityView property value. Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free or working elswhere, 1= tentative, 2= busy, 3= out of office.Note: Working elsewhere is set to 0 instead of 4 for backward compatibility. For details, see the Q&A and Exchange 2007 and Exchange 2010 do not use the WorkingElsewhere value. * @return string|null */ public function getAvailabilityView(): ?string { @@ -169,7 +169,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the availabilityView property value. Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free or working elswhere, 1= tentative, 2= busy, 3= out of office.Note: Working elsewhere is set to 0 instead of 4 for backward compatibility. For details, see the Q&A. + * Sets the availabilityView property value. Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free or working elswhere, 1= tentative, 2= busy, 3= out of office.Note: Working elsewhere is set to 0 instead of 4 for backward compatibility. For details, see the Q&A and Exchange 2007 and Exchange 2010 do not use the WorkingElsewhere value. * @param string|null $value Value to set for the availabilityView property. */ public function setAvailabilityView(?string $value): void { diff --git a/src/Generated/Models/Security/HealthIssue.php b/src/Generated/Models/Security/HealthIssue.php index 0ec4b9777d9..78f3bc82b83 100644 --- a/src/Generated/Models/Security/HealthIssue.php +++ b/src/Generated/Models/Security/HealthIssue.php @@ -28,7 +28,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Healt } /** - * Gets the additionalInformation property value. The additionalInformation property + * Gets the additionalInformation property value. Contains additional information about the issue, such as a list of items to fix. * @return array|null */ public function getAdditionalInformation(): ?array { @@ -42,7 +42,7 @@ public function getAdditionalInformation(): ?array { } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. The date and time when the health issue was generated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @return DateTime|null */ public function getCreatedDateTime(): ?DateTime { @@ -54,7 +54,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the description property value. The description property + * Gets the description property value. Contains more detailed information about the health issue. * @return string|null */ public function getDescription(): ?string { @@ -66,7 +66,7 @@ public function getDescription(): ?string { } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. The display name of the health issue. * @return string|null */ public function getDisplayName(): ?string { @@ -78,7 +78,7 @@ public function getDisplayName(): ?string { } /** - * Gets the domainNames property value. The domainNames property + * Gets the domainNames property value. A list of the fully qualified domain names of the domains or the sensors the health issue is related to. * @return array|null */ public function getDomainNames(): ?array { @@ -150,7 +150,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the healthIssueType property value. The healthIssueType property + * Gets the healthIssueType property value. The type of the health issue. The possible values are: sensor, global, unknownFutureValue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. * @return HealthIssueType|null */ public function getHealthIssueType(): ?HealthIssueType { @@ -162,7 +162,7 @@ public function getHealthIssueType(): ?HealthIssueType { } /** - * Gets the issueTypeId property value. The issueTypeId property + * Gets the issueTypeId property value. The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. * @return string|null */ public function getIssueTypeId(): ?string { @@ -174,7 +174,7 @@ public function getIssueTypeId(): ?string { } /** - * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property + * Gets the lastModifiedDateTime property value. The date and time when the health issue was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @return DateTime|null */ public function getLastModifiedDateTime(): ?DateTime { @@ -186,7 +186,7 @@ public function getLastModifiedDateTime(): ?DateTime { } /** - * Gets the recommendations property value. The recommendations property + * Gets the recommendations property value. A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses. * @return array|null */ public function getRecommendations(): ?array { @@ -200,7 +200,7 @@ public function getRecommendations(): ?array { } /** - * Gets the recommendedActionCommands property value. The recommendedActionCommands property + * Gets the recommendedActionCommands property value. A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix. * @return array|null */ public function getRecommendedActionCommands(): ?array { @@ -214,7 +214,7 @@ public function getRecommendedActionCommands(): ?array { } /** - * Gets the sensorDNSNames property value. The sensorDNSNames property + * Gets the sensorDNSNames property value. A list of the DNS names of the sensors the health issue is related to. * @return array|null */ public function getSensorDNSNames(): ?array { @@ -228,7 +228,7 @@ public function getSensorDNSNames(): ?array { } /** - * Gets the severity property value. The severity property + * Gets the severity property value. The severity of the health issue. The possible values are: low, medium, high, unknownFutureValue. * @return HealthIssueSeverity|null */ public function getSeverity(): ?HealthIssueSeverity { @@ -240,7 +240,7 @@ public function getSeverity(): ?HealthIssueSeverity { } /** - * Gets the status property value. The status property + * Gets the status property value. The status of the health issue. The possible values are: open, closed, suppressed, unknownFutureValue. * @return HealthIssueStatus|null */ public function getStatus(): ?HealthIssueStatus { @@ -273,7 +273,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the additionalInformation property value. The additionalInformation property + * Sets the additionalInformation property value. Contains additional information about the issue, such as a list of items to fix. * @param array|null $value Value to set for the additionalInformation property. */ public function setAdditionalInformation(?array $value): void { @@ -281,7 +281,7 @@ public function setAdditionalInformation(?array $value): void { } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. The date and time when the health issue was generated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the createdDateTime property. */ public function setCreatedDateTime(?DateTime $value): void { @@ -289,7 +289,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the description property value. The description property + * Sets the description property value. Contains more detailed information about the health issue. * @param string|null $value Value to set for the description property. */ public function setDescription(?string $value): void { @@ -297,7 +297,7 @@ public function setDescription(?string $value): void { } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. The display name of the health issue. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -305,7 +305,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the domainNames property value. The domainNames property + * Sets the domainNames property value. A list of the fully qualified domain names of the domains or the sensors the health issue is related to. * @param array|null $value Value to set for the domainNames property. */ public function setDomainNames(?array $value): void { @@ -313,7 +313,7 @@ public function setDomainNames(?array $value): void { } /** - * Sets the healthIssueType property value. The healthIssueType property + * Sets the healthIssueType property value. The type of the health issue. The possible values are: sensor, global, unknownFutureValue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. * @param HealthIssueType|null $value Value to set for the healthIssueType property. */ public function setHealthIssueType(?HealthIssueType $value): void { @@ -321,7 +321,7 @@ public function setHealthIssueType(?HealthIssueType $value): void { } /** - * Sets the issueTypeId property value. The issueTypeId property + * Sets the issueTypeId property value. The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. * @param string|null $value Value to set for the issueTypeId property. */ public function setIssueTypeId(?string $value): void { @@ -329,7 +329,7 @@ public function setIssueTypeId(?string $value): void { } /** - * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property + * Sets the lastModifiedDateTime property value. The date and time when the health issue was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the lastModifiedDateTime property. */ public function setLastModifiedDateTime(?DateTime $value): void { @@ -337,7 +337,7 @@ public function setLastModifiedDateTime(?DateTime $value): void { } /** - * Sets the recommendations property value. The recommendations property + * Sets the recommendations property value. A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses. * @param array|null $value Value to set for the recommendations property. */ public function setRecommendations(?array $value): void { @@ -345,7 +345,7 @@ public function setRecommendations(?array $value): void { } /** - * Sets the recommendedActionCommands property value. The recommendedActionCommands property + * Sets the recommendedActionCommands property value. A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix. * @param array|null $value Value to set for the recommendedActionCommands property. */ public function setRecommendedActionCommands(?array $value): void { @@ -353,7 +353,7 @@ public function setRecommendedActionCommands(?array $value): void { } /** - * Sets the sensorDNSNames property value. The sensorDNSNames property + * Sets the sensorDNSNames property value. A list of the DNS names of the sensors the health issue is related to. * @param array|null $value Value to set for the sensorDNSNames property. */ public function setSensorDNSNames(?array $value): void { @@ -361,7 +361,7 @@ public function setSensorDNSNames(?array $value): void { } /** - * Sets the severity property value. The severity property + * Sets the severity property value. The severity of the health issue. The possible values are: low, medium, high, unknownFutureValue. * @param HealthIssueSeverity|null $value Value to set for the severity property. */ public function setSeverity(?HealthIssueSeverity $value): void { @@ -369,7 +369,7 @@ public function setSeverity(?HealthIssueSeverity $value): void { } /** - * Sets the status property value. The status property + * Sets the status property value. The status of the health issue. The possible values are: open, closed, suppressed, unknownFutureValue. * @param HealthIssueStatus|null $value Value to set for the status property. */ public function setStatus(?HealthIssueStatus $value): void { diff --git a/src/Generated/Models/Security/IdentityContainer.php b/src/Generated/Models/Security/IdentityContainer.php index fbe7cf4c801..4f3694fbb77 100644 --- a/src/Generated/Models/Security/IdentityContainer.php +++ b/src/Generated/Models/Security/IdentityContainer.php @@ -38,7 +38,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the healthIssues property value. The healthIssues property + * Gets the healthIssues property value. Represents potential issues identified by Microsoft Defender for Identity within a customer's Microsoft Defender for Identity configuration. * @return array|null */ public function getHealthIssues(): ?array { @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the healthIssues property value. The healthIssues property + * Sets the healthIssues property value. Represents potential issues identified by Microsoft Defender for Identity within a customer's Microsoft Defender for Identity configuration. * @param array|null $value Value to set for the healthIssues property. */ public function setHealthIssues(?array $value): void { diff --git a/src/Generated/Models/Security/Security.php b/src/Generated/Models/Security/Security.php index 742b8881159..75b2f0118ca 100644 --- a/src/Generated/Models/Security/Security.php +++ b/src/Generated/Models/Security/Security.php @@ -107,7 +107,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the identities property value. The identities property + * Gets the identities property value. A container for security identities APIs. * @return IdentityContainer|null */ public function getIdentities(): ?IdentityContainer { @@ -276,7 +276,7 @@ public function setCases(?CasesRoot $value): void { } /** - * Sets the identities property value. The identities property + * Sets the identities property value. A container for security identities APIs. * @param IdentityContainer|null $value Value to set for the identities property. */ public function setIdentities(?IdentityContainer $value): void { diff --git a/src/Generated/Models/User.php b/src/Generated/Models/User.php index 4faf773b286..68f093d653c 100644 --- a/src/Generated/Models/User.php +++ b/src/Generated/Models/User.php @@ -710,6 +710,7 @@ public function getFieldDeserializers(): array { /** @var array|null $val */ $this->setInterests($val); }, + 'isManagementRestricted' => fn(ParseNode $n) => $o->setIsManagementRestricted($n->getBooleanValue()), 'isResourceAccount' => fn(ParseNode $n) => $o->setIsResourceAccount($n->getBooleanValue()), 'jobTitle' => fn(ParseNode $n) => $o->setJobTitle($n->getStringValue()), 'joinedTeams' => fn(ParseNode $n) => $o->setJoinedTeams($n->getCollectionOfObjectValues([Team::class, 'createFromDiscriminatorValue'])), @@ -932,6 +933,18 @@ public function getInterests(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'interests'"); } + /** + * Gets the isManagementRestricted property value. The isManagementRestricted property + * @return bool|null + */ + public function getIsManagementRestricted(): ?bool { + $val = $this->getBackingStore()->get('isManagementRestricted'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isManagementRestricted'"); + } + /** * Gets the isResourceAccount property value. Don't use – reserved for future use. * @return bool|null @@ -1729,7 +1742,7 @@ public function getSkills(): ?array { } /** - * Gets the solutions property value. The solutions property + * Gets the solutions property value. The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable * @return UserSolutionRoot|null */ public function getSolutions(): ?UserSolutionRoot { @@ -1925,6 +1938,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('inferenceClassification', $this->getInferenceClassification()); $writer->writeObjectValue('insights', $this->getInsights()); $writer->writeCollectionOfPrimitiveValues('interests', $this->getInterests()); + $writer->writeBooleanValue('isManagementRestricted', $this->getIsManagementRestricted()); $writer->writeBooleanValue('isResourceAccount', $this->getIsResourceAccount()); $writer->writeStringValue('jobTitle', $this->getJobTitle()); $writer->writeCollectionOfObjectValues('joinedTeams', $this->getJoinedTeams()); @@ -2440,6 +2454,14 @@ public function setInterests(?array $value): void { $this->getBackingStore()->set('interests', $value); } + /** + * Sets the isManagementRestricted property value. The isManagementRestricted property + * @param bool|null $value Value to set for the isManagementRestricted property. + */ + public function setIsManagementRestricted(?bool $value): void { + $this->getBackingStore()->set('isManagementRestricted', $value); + } + /** * Sets the isResourceAccount property value. Don't use – reserved for future use. * @param bool|null $value Value to set for the isResourceAccount property. @@ -2937,7 +2959,7 @@ public function setSkills(?array $value): void { } /** - * Sets the solutions property value. The solutions property + * Sets the solutions property value. The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable * @param UserSolutionRoot|null $value Value to set for the solutions property. */ public function setSolutions(?UserSolutionRoot $value): void { diff --git a/src/Generated/Models/UserSolutionRoot.php b/src/Generated/Models/UserSolutionRoot.php index d9be2ffaa2b..7bf2fc423a9 100644 --- a/src/Generated/Models/UserSolutionRoot.php +++ b/src/Generated/Models/UserSolutionRoot.php @@ -36,7 +36,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the workingTimeSchedule property value. The workingTimeSchedule property + * Gets the workingTimeSchedule property value. The working time schedule entity associated with the solution. * @return WorkingTimeSchedule|null */ public function getWorkingTimeSchedule(): ?WorkingTimeSchedule { @@ -57,7 +57,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the workingTimeSchedule property value. The workingTimeSchedule property + * Sets the workingTimeSchedule property value. The working time schedule entity associated with the solution. * @param WorkingTimeSchedule|null $value Value to set for the workingTimeSchedule property. */ public function setWorkingTimeSchedule(?WorkingTimeSchedule $value): void { diff --git a/src/Generated/Models/WorkbookWorksheetProtectionOptions.php b/src/Generated/Models/WorkbookWorksheetProtectionOptions.php index 5e08ab1aa53..eb3f1e6a2ec 100644 --- a/src/Generated/Models/WorkbookWorksheetProtectionOptions.php +++ b/src/Generated/Models/WorkbookWorksheetProtectionOptions.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. + * Gets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. * @return bool|null */ public function getAllowAutoFilter(): ?bool { @@ -60,7 +60,7 @@ public function getAllowAutoFilter(): ?bool { } /** - * Gets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. + * Gets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. * @return bool|null */ public function getAllowDeleteColumns(): ?bool { @@ -72,7 +72,7 @@ public function getAllowDeleteColumns(): ?bool { } /** - * Gets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. + * Gets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. * @return bool|null */ public function getAllowDeleteRows(): ?bool { @@ -84,7 +84,7 @@ public function getAllowDeleteRows(): ?bool { } /** - * Gets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. + * Gets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. * @return bool|null */ public function getAllowFormatCells(): ?bool { @@ -96,7 +96,7 @@ public function getAllowFormatCells(): ?bool { } /** - * Gets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. + * Gets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. * @return bool|null */ public function getAllowFormatColumns(): ?bool { @@ -108,7 +108,7 @@ public function getAllowFormatColumns(): ?bool { } /** - * Gets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. + * Gets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. * @return bool|null */ public function getAllowFormatRows(): ?bool { @@ -120,7 +120,7 @@ public function getAllowFormatRows(): ?bool { } /** - * Gets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. + * Gets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. * @return bool|null */ public function getAllowInsertColumns(): ?bool { @@ -132,7 +132,7 @@ public function getAllowInsertColumns(): ?bool { } /** - * Gets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. + * Gets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. * @return bool|null */ public function getAllowInsertHyperlinks(): ?bool { @@ -144,7 +144,7 @@ public function getAllowInsertHyperlinks(): ?bool { } /** - * Gets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. + * Gets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. * @return bool|null */ public function getAllowInsertRows(): ?bool { @@ -156,7 +156,7 @@ public function getAllowInsertRows(): ?bool { } /** - * Gets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. + * Gets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. * @return bool|null */ public function getAllowPivotTables(): ?bool { @@ -168,7 +168,7 @@ public function getAllowPivotTables(): ?bool { } /** - * Gets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. + * Gets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. * @return bool|null */ public function getAllowSort(): ?bool { @@ -250,7 +250,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. + * Sets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. * @param bool|null $value Value to set for the allowAutoFilter property. */ public function setAllowAutoFilter(?bool $value): void { @@ -258,7 +258,7 @@ public function setAllowAutoFilter(?bool $value): void { } /** - * Sets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. + * Sets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. * @param bool|null $value Value to set for the allowDeleteColumns property. */ public function setAllowDeleteColumns(?bool $value): void { @@ -266,7 +266,7 @@ public function setAllowDeleteColumns(?bool $value): void { } /** - * Sets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. + * Sets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. * @param bool|null $value Value to set for the allowDeleteRows property. */ public function setAllowDeleteRows(?bool $value): void { @@ -274,7 +274,7 @@ public function setAllowDeleteRows(?bool $value): void { } /** - * Sets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. + * Sets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. * @param bool|null $value Value to set for the allowFormatCells property. */ public function setAllowFormatCells(?bool $value): void { @@ -282,7 +282,7 @@ public function setAllowFormatCells(?bool $value): void { } /** - * Sets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. + * Sets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. * @param bool|null $value Value to set for the allowFormatColumns property. */ public function setAllowFormatColumns(?bool $value): void { @@ -290,7 +290,7 @@ public function setAllowFormatColumns(?bool $value): void { } /** - * Sets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. + * Sets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. * @param bool|null $value Value to set for the allowFormatRows property. */ public function setAllowFormatRows(?bool $value): void { @@ -298,7 +298,7 @@ public function setAllowFormatRows(?bool $value): void { } /** - * Sets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. + * Sets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. * @param bool|null $value Value to set for the allowInsertColumns property. */ public function setAllowInsertColumns(?bool $value): void { @@ -306,7 +306,7 @@ public function setAllowInsertColumns(?bool $value): void { } /** - * Sets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. + * Sets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. * @param bool|null $value Value to set for the allowInsertHyperlinks property. */ public function setAllowInsertHyperlinks(?bool $value): void { @@ -314,7 +314,7 @@ public function setAllowInsertHyperlinks(?bool $value): void { } /** - * Sets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. + * Sets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. * @param bool|null $value Value to set for the allowInsertRows property. */ public function setAllowInsertRows(?bool $value): void { @@ -322,7 +322,7 @@ public function setAllowInsertRows(?bool $value): void { } /** - * Sets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. + * Sets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. * @param bool|null $value Value to set for the allowPivotTables property. */ public function setAllowPivotTables(?bool $value): void { @@ -330,7 +330,7 @@ public function setAllowPivotTables(?bool $value): void { } /** - * Sets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. + * Sets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. * @param bool|null $value Value to set for the allowSort property. */ public function setAllowSort(?bool $value): void { diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php index fce821c0172..739ed13cbf9 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php @@ -132,12 +132,12 @@ public function get(?OrganizationItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. + * Update the properties of a organization object. * @param Organization $body The request body * @param OrganizationItemRequestBuilderPatchRequestConfiguration|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/organization-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0 Find more info here */ public function patch(Organization $body, ?OrganizationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -187,7 +187,7 @@ public function toGetRequestInformation(?OrganizationItemRequestBuilderGetReques } /** - * Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. + * Update the properties of a organization object. * @param Organization $body The request body * @param OrganizationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Organization/Item/Restore/RestorePostRequestBody.php b/src/Generated/Organization/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..3d9eced13df --- /dev/null +++ b/src/Generated/Organization/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/Organization/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Organization/Item/Restore/RestoreRequestBuilder.php index 3a1183ef344..638c8d310cb 100644 --- a/src/Generated/Organization/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Organization/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/Item/Restore/RestorePostRequestBody.php b/src/Generated/PermissionGrants/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..6ca51ce30d6 --- /dev/null +++ b/src/Generated/PermissionGrants/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/PermissionGrants/Item/Restore/RestoreRequestBuilder.php b/src/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.php index cc8817be6d0..84a2fda2b01 100644 --- a/src/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilder.php b/src/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilder.php index b24f478f5d7..6f19b9b60cd 100644 --- a/src/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilder.php +++ b/src/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get healthIssues from security + * Get a list of healthIssue objects and their properties. * @param HealthIssuesRequestBuilderGetRequestConfiguration|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/security-identitycontainer-list-healthissues?view=graph-rest-1.0 Find more info here */ public function get(?HealthIssuesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(HealthIssue $body, ?HealthIssuesRequestBuilderPostRequestCo } /** - * Get healthIssues from security + * Get a list of healthIssue objects and their properties. * @param HealthIssuesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilderGetQueryParameters.php index d1d7efeda63..406498bb0ef 100644 --- a/src/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get healthIssues from security + * Get a list of healthIssue objects and their properties. */ class HealthIssuesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilder.php b/src/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilder.php index 34a3baa143f..42cf83da605 100644 --- a/src/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilder.php +++ b/src/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?HealthIssueItemRequestBuilderDeleteRequestConfiguration } /** - * Get healthIssues from security + * Read the properties and relationships of a healthIssue object. * @param HealthIssueItemRequestBuilderGetRequestConfiguration|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/security-healthissue-get?view=graph-rest-1.0 Find more info here */ public function get(?HealthIssueItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -59,11 +60,12 @@ public function get(?HealthIssueItemRequestBuilderGetRequestConfiguration $reque } /** - * Update the navigation property healthIssues in security + * Update the properties of a healthIssue object. * @param HealthIssue $body The request body * @param HealthIssueItemRequestBuilderPatchRequestConfiguration|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/security-healthissue-update?view=graph-rest-1.0 Find more info here */ public function patch(HealthIssue $body, ?HealthIssueItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -92,7 +94,7 @@ public function toDeleteRequestInformation(?HealthIssueItemRequestBuilderDeleteR } /** - * Get healthIssues from security + * Read the properties and relationships of a healthIssue object. * @param HealthIssueItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +115,7 @@ public function toGetRequestInformation(?HealthIssueItemRequestBuilderGetRequest } /** - * Update the navigation property healthIssues in security + * Update the properties of a healthIssue object. * @param HealthIssue $body The request body * @param HealthIssueItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilderGetQueryParameters.php index fd39d0a41a5..1116cdef2c2 100644 --- a/src/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get healthIssues from security + * Read the properties and relationships of a healthIssue object. */ class HealthIssueItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Identities/IdentitiesRequestBuilder.php b/src/Generated/Security/Identities/IdentitiesRequestBuilder.php index 1abad7714bc..f67dd6f92ad 100644 --- a/src/Generated/Security/Identities/IdentitiesRequestBuilder.php +++ b/src/Generated/Security/Identities/IdentitiesRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?IdentitiesRequestBuilderDeleteRequestConfiguration $requ } /** - * Get identities from security + * A container for security identities APIs. * @param IdentitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?IdentitiesRequestBuilderDeleteReques } /** - * Get identities from security + * A container for security identities APIs. * @param IdentitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Identities/IdentitiesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Identities/IdentitiesRequestBuilderGetQueryParameters.php index 256bfe13063..0df66a51cae 100644 --- a/src/Generated/Security/Identities/IdentitiesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Identities/IdentitiesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get identities from security + * A container for security identities APIs. */ class IdentitiesRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/Restore/RestorePostRequestBody.php b/src/Generated/ServicePrincipals/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..e93e55b981b --- /dev/null +++ b/src/Generated/ServicePrincipals/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/ServicePrincipals/Item/Restore/RestoreRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.php index 6caf5339172..93a5c8645d8 100644 --- a/src/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.php index cb4735e0173..0b331678743 100644 --- a/src/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?ContainersRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new fileStorageContainer object. The respective container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. + * Create a new fileStorageContainer object. The container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. * @param FileStorageContainer $body The request body * @param ContainersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function toGetRequestInformation(?ContainersRequestBuilderGetRequestConfi } /** - * Create a new fileStorageContainer object. The respective container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. + * Create a new fileStorageContainer object. The container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. * @param FileStorageContainer $body The request body * @param ContainersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index e9cb83ccfe1..437b474e198 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -61,12 +61,12 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|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/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -116,7 +116,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php index b5e1fd33fed..d22a72d1ac6 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|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/channel-post-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 Find more info here */ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index a9a419c07bb..ba88609dded 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|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/channel-post-messagereply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php index f324450624a..53df36713d4 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|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/channel-post-messages?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } /** - * Send a new chatMessage in the specified channel. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php index ea912f9dee8..2abc4972dc7 100644 --- a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php +++ b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php @@ -62,12 +62,12 @@ public function get(?MultiTenantOrganizationRequestBuilderGetRequestConfiguratio } /** - * Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + * Update the properties of a multitenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|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/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 Find more info here */ public function patch(MultiTenantOrganization $body, ?MultiTenantOrganizationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MultiTenantOrganizationRequestBuilderGe } /** - * Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + * Update the properties of a multitenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php b/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php index fec5d4ad238..f3ddf3b4f3a 100644 --- a/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php +++ b/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. + * Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. Direct user licensing method is an alternative to group-based licensing. * @param AssignLicensePostRequestBody $body The request body * @param AssignLicenseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AssignLicensePostRequestBody $body, ?AssignLicenseRequestBu } /** - * Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. + * Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. Direct user licensing method is an alternative to group-based licensing. * @param AssignLicensePostRequestBody $body The request body * @param AssignLicenseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php index 9d61c5f6f27..d964ee26acc 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php @@ -85,11 +85,11 @@ public function delete(?PresenceRequestBuilderDeleteRequestConfiguration $reques } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param PresenceRequestBuilderGetRequestConfiguration|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/presence-setstatusmessage?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 Find more info here */ public function get(?PresenceRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,7 +133,7 @@ public function toDeleteRequestInformation(?PresenceRequestBuilderDeleteRequestC } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php index 7aecc5f7422..3794e0b7d32 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. */ class PresenceRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Restore/RestorePostRequestBody.php b/src/Generated/Users/Item/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..c26fb7d408f --- /dev/null +++ b/src/Generated/Users/Item/Restore/RestorePostRequestBody.php @@ -0,0 +1,114 @@ +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 RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @return bool|null + */ + public function getAutoReconcileProxyConflict(): ?bool { + $val = $this->getBackingStore()->get('autoReconcileProxyConflict'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoReconcileProxyConflict'"); + } + + /** + * 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 [ + 'autoReconcileProxyConflict' => fn(ParseNode $n) => $o->setAutoReconcileProxyConflict($n->getBooleanValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('autoReconcileProxyConflict', $this->getAutoReconcileProxyConflict()); + $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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property + * @param bool|null $value Value to set for the autoReconcileProxyConflict property. + */ + public function setAutoReconcileProxyConflict(?bool $value): void { + $this->getBackingStore()->set('autoReconcileProxyConflict', $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/Restore/RestoreRequestBuilder.php b/src/Generated/Users/Item/Restore/RestoreRequestBuilder.php index 829f10dd892..087c7a3b7cf 100644 --- a/src/Generated/Users/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Users/Item/Restore/RestoreRequestBuilder.php @@ -31,14 +31,15 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/directory-deleteditems-restore?view=graph-rest-1.0 Find more info here */ - public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($requestConfiguration); + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -46,11 +47,12 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -60,6 +62,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addRequestOptions(...$requestConfiguration->options); } $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Solutions/SolutionsRequestBuilder.php b/src/Generated/Users/Item/Solutions/SolutionsRequestBuilder.php index c36fa1737a5..27a8b1b114b 100644 --- a/src/Generated/Users/Item/Solutions/SolutionsRequestBuilder.php +++ b/src/Generated/Users/Item/Solutions/SolutionsRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?SolutionsRequestBuilderDeleteRequestConfiguration $reque } /** - * Get solutions from users + * The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable * @param SolutionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?SolutionsRequestBuilderDeleteRequest } /** - * Get solutions from users + * The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable * @param SolutionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Solutions/SolutionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Solutions/SolutionsRequestBuilderGetQueryParameters.php index b26012c3721..1c34bda1ff6 100644 --- a/src/Generated/Users/Item/Solutions/SolutionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Solutions/SolutionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get solutions from users + * The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable */ class SolutionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.php b/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.php index c68bb87b487..1c889b1ce05 100644 --- a/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.php +++ b/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.php @@ -30,10 +30,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Triggers the policies associated with the end of working hours for user. + * Trigger the policies associated with the end of working hours for a specific user. * @param EndWorkingTimeRequestBuilderPostRequestConfiguration|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/workingtimeschedule-endworkingtime?view=graph-rest-1.0 Find more info here */ public function post(?EndWorkingTimeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($requestConfiguration); @@ -44,7 +45,7 @@ public function post(?EndWorkingTimeRequestBuilderPostRequestConfiguration $requ } /** - * Triggers the policies associated with the end of working hours for user. + * Trigger the policies associated with the end of working hours for a specific user. * @param EndWorkingTimeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.php b/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.php index abcf9e6e00a..89503a74f3c 100644 --- a/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.php +++ b/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.php @@ -30,10 +30,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Triggers the policies associated with the start of working hours for user. + * Trigger the policies associated with the start of working hours for a specific user. * @param StartWorkingTimeRequestBuilderPostRequestConfiguration|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/workingtimeschedule-startworkingtime?view=graph-rest-1.0 Find more info here */ public function post(?StartWorkingTimeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($requestConfiguration); @@ -44,7 +45,7 @@ public function post(?StartWorkingTimeRequestBuilderPostRequestConfiguration $re } /** - * Triggers the policies associated with the start of working hours for user. + * Trigger the policies associated with the start of working hours for a specific user. * @param StartWorkingTimeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.php b/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.php index 6966cdab113..2ae28714dc6 100644 --- a/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.php +++ b/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.php @@ -61,7 +61,7 @@ public function delete(?WorkingTimeScheduleRequestBuilderDeleteRequestConfigurat } /** - * Get workingTimeSchedule from users + * The working time schedule entity associated with the solution. * @param WorkingTimeScheduleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function toDeleteRequestInformation(?WorkingTimeScheduleRequestBuilderDel } /** - * Get workingTimeSchedule from users + * The working time schedule entity associated with the solution. * @param WorkingTimeScheduleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilderGetQueryParameters.php index d481cced80b..679a31fa969 100644 --- a/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get workingTimeSchedule from users + * The working time schedule entity associated with the solution. */ class WorkingTimeScheduleRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index b42e4e652b6..d1135726efd 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -625,11 +625,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + * Deletes a user. * @param UserItemRequestBuilderDeleteRequestConfiguration|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/user-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UserItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -654,7 +654,7 @@ public function exportDeviceAndAppManagementDataWithSkipWithTop(int $skip, int $ * @param UserItemRequestBuilderGetRequestConfiguration|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/intune-mam-user-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 Find more info here */ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -670,7 +670,7 @@ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfi * @param UserItemRequestBuilderPatchRequestConfiguration|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/user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UserItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -691,7 +691,7 @@ public function reminderViewWithStartDateTimeWithEndDateTime(string $endDateTime } /** - * Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + * Deletes a user. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/UsersRequestBuilder.php b/src/Generated/Users/UsersRequestBuilder.php index a5d30dddb13..06425a513f1 100644 --- a/src/Generated/Users/UsersRequestBuilder.php +++ b/src/Generated/Users/UsersRequestBuilder.php @@ -88,7 +88,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param UsersRequestBuilderGetRequestConfiguration|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/intune-onboarding-user-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 Find more info here */ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index c068c03f6c8..52fdfaf7daa 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -2778,12 +2778,23 @@ Microsoft\Graph\Generated.applications.item.removePassword.RemovePasswordRequest Microsoft\Graph\Generated.applications.item.removePassword.RemovePasswordRequestBuilder::|public|WithUrl(rawUrl:string):RemovePasswordRequestBuilder Microsoft\Graph\Generated.applications.item.removePassword.removePasswordRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.applications.item.removePassword.removePasswordRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.applications.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.applications.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.applications.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.applications.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.applications.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.applications.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.applications.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.applications.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.applications.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.applications.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.applications.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.applications.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.applications.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.applications.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.applications.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.applications.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.applications.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.applications.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.applications.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.applications.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.applications.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.applications.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -8708,12 +8719,23 @@ Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderGetRequestCo Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):OrgContactItemRequestBuilderGetQueryParameters Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.contacts.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.contacts.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.contacts.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.contacts.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.contacts.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.contacts.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.contacts.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.contacts.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.contacts.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.contacts.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.contacts.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.contacts.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.contacts.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.contacts.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.contacts.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.contacts.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.contacts.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.contacts.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.contacts.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.contacts.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.contacts.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.contacts.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -9225,12 +9247,23 @@ Microsoft\Graph\Generated.contracts.item.getMemberObjects.GetMemberObjectsReques Microsoft\Graph\Generated.contracts.item.getMemberObjects.GetMemberObjectsRequestBuilder::|public|WithUrl(rawUrl:string):GetMemberObjectsRequestBuilder Microsoft\Graph\Generated.contracts.item.getMemberObjects.getMemberObjectsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.contracts.item.getMemberObjects.getMemberObjectsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.contracts.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.contracts.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.contracts.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.contracts.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.contracts.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.contracts.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.contracts.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.contracts.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.contracts.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.contracts.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.contracts.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.contracts.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.contracts.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.contracts.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.contracts.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.contracts.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.contracts.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.contracts.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.contracts.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.contracts.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.contracts.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.contracts.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -26591,12 +26624,23 @@ Microsoft\Graph\Generated.devices.item.registeredUsers.registeredUsersRequestBui Microsoft\Graph\Generated.devices.item.registeredUsers.registeredUsersRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RegisteredUsersRequestBuilderGetQueryParameters):void Microsoft\Graph\Generated.devices.item.registeredUsers.registeredUsersRequestBuilderGetRequestConfiguration::|public|queryParameters:RegisteredUsersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.devices.item.registeredUsers.registeredUsersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):RegisteredUsersRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.devices.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.devices.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.devices.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.devices.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.devices.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.devices.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.devices.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.devices.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.devices.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.devices.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.devices.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.devices.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.devices.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.devices.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.devices.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.devices.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.devices.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.devices.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.devices.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.devices.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.devices.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.devices.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -28208,12 +28252,23 @@ Microsoft\Graph\Generated.directory.deletedItems.item.graphUser.graphUserRequest Microsoft\Graph\Generated.directory.deletedItems.item.graphUser.graphUserRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GraphUserRequestBuilderGetQueryParameters):void Microsoft\Graph\Generated.directory.deletedItems.item.graphUser.graphUserRequestBuilderGetRequestConfiguration::|public|queryParameters:GraphUserRequestBuilderGetQueryParameters Microsoft\Graph\Generated.directory.deletedItems.item.graphUser.graphUserRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):GraphUserRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.directory.deletedItems.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.directory.deletedItems.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.directory.deletedItems.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.directory.deletedItems.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.directory.deletedItems.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.directory.deletedItems.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.directory.deletedItems.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.directory.deletedItems.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.directory.deletedItems.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.directory.deletedItems.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.directory.deletedItems.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.directory.deletedItems.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.directory.deletedItems.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.directory.deletedItems.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.directory.deletedItems.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.directory.deletedItems.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.directory.deletedItems.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.directory.deletedItems.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directory.deletedItems.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.directory.deletedItems.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.directory.deletedItems.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.directory.deletedItems.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -28854,12 +28909,23 @@ Microsoft\Graph\Generated.directoryObjects.item.getMemberObjects.GetMemberObject Microsoft\Graph\Generated.directoryObjects.item.getMemberObjects.GetMemberObjectsRequestBuilder::|public|WithUrl(rawUrl:string):GetMemberObjectsRequestBuilder Microsoft\Graph\Generated.directoryObjects.item.getMemberObjects.getMemberObjectsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.directoryObjects.item.getMemberObjects.getMemberObjectsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directoryObjects.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.directoryObjects.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.directoryObjects.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.directoryObjects.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.directoryObjects.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.directoryObjects.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.directoryObjects.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.directoryObjects.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.directoryObjects.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.directoryObjects.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.directoryObjects.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.directoryObjects.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.directoryObjects.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.directoryObjects.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.directoryObjects.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.directoryObjects.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.directoryObjects.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.directoryObjects.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directoryObjects.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.directoryObjects.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.directoryObjects.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.directoryObjects.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -29575,12 +29641,23 @@ Microsoft\Graph\Generated.directoryRoles.item.members.ref.RefRequestBuilderGetRe Microsoft\Graph\Generated.directoryRoles.item.members.ref.RefRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; filter?:string; orderby?:array; search?:string; skip?:int; top?:int):RefRequestBuilderGetQueryParameters Microsoft\Graph\Generated.directoryRoles.item.members.ref.RefRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.directoryRoles.item.members.ref.RefRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directoryRoles.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.directoryRoles.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.directoryRoles.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.directoryRoles.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.directoryRoles.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.directoryRoles.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.directoryRoles.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.directoryRoles.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.directoryRoles.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.directoryRoles.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.directoryRoles.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.directoryRoles.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.directoryRoles.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.directoryRoles.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.directoryRoles.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.directoryRoles.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.directoryRoles.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.directoryRoles.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directoryRoles.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.directoryRoles.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.directoryRoles.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.directoryRoles.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -29972,12 +30049,23 @@ Microsoft\Graph\Generated.directoryRoleTemplates.item.getMemberObjects.GetMember Microsoft\Graph\Generated.directoryRoleTemplates.item.getMemberObjects.GetMemberObjectsRequestBuilder::|public|WithUrl(rawUrl:string):GetMemberObjectsRequestBuilder Microsoft\Graph\Generated.directoryRoleTemplates.item.getMemberObjects.getMemberObjectsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.directoryRoleTemplates.item.getMemberObjects.getMemberObjectsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.directoryRoleTemplates.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -30127,6 +30215,7 @@ Microsoft\Graph\Generated.domains.item.DomainItemRequestBuilder::|public|Patch(b Microsoft\Graph\Generated.domains.item.DomainItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.domains.item.DomainItemRequestBuilder::|public|promote:PromoteRequestBuilder Microsoft\Graph\Generated.domains.item.DomainItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.domains.item.DomainItemRequestBuilder::|public|rootDomain:RootDomainRequestBuilder Microsoft\Graph\Generated.domains.item.DomainItemRequestBuilder::|public|serviceConfigurationRecords:ServiceConfigurationRecordsRequestBuilder Microsoft\Graph\Generated.domains.item.DomainItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DomainItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Generated.domains.item.DomainItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DomainItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -30306,6 +30395,21 @@ Microsoft\Graph\Generated.domains.item.promote.PromoteRequestBuilder::|public|ur Microsoft\Graph\Generated.domains.item.promote.PromoteRequestBuilder::|public|WithUrl(rawUrl:string):PromoteRequestBuilder Microsoft\Graph\Generated.domains.item.promote.promoteRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.domains.item.promote.promoteRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.domains.item.rootDomain.RootDomainRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.domains.item.rootDomain.RootDomainRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.domains.item.rootDomain.RootDomainRequestBuilder::|public|Get(requestConfiguration?:RootDomainRequestBuilderGetRequestConfiguration):Domain +Microsoft\Graph\Generated.domains.item.rootDomain.RootDomainRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.domains.item.rootDomain.RootDomainRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.domains.item.rootDomain.RootDomainRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RootDomainRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.domains.item.rootDomain.RootDomainRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.domains.item.rootDomain.RootDomainRequestBuilder::|public|WithUrl(rawUrl:string):RootDomainRequestBuilder +Microsoft\Graph\Generated.domains.item.rootDomain.rootDomainRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.domains.item.rootDomain.rootDomainRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.domains.item.rootDomain.rootDomainRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.domains.item.rootDomain.rootDomainRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.domains.item.rootDomain.rootDomainRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RootDomainRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.domains.item.rootDomain.rootDomainRequestBuilderGetRequestConfiguration::|public|queryParameters:RootDomainRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.domains.item.rootDomain.rootDomainRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RootDomainRequestBuilderGetQueryParameters Microsoft\Graph\Generated.domains.item.serviceConfigurationRecords.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.domains.item.serviceConfigurationRecords.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.domains.item.serviceConfigurationRecords.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -73714,12 +73818,23 @@ Microsoft\Graph\Generated.groups.item.resetUnseenCount.ResetUnseenCountRequestBu Microsoft\Graph\Generated.groups.item.resetUnseenCount.ResetUnseenCountRequestBuilder::|public|WithUrl(rawUrl:string):ResetUnseenCountRequestBuilder Microsoft\Graph\Generated.groups.item.resetUnseenCount.resetUnseenCountRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.groups.item.resetUnseenCount.resetUnseenCountRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.groups.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.groups.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.groups.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.groups.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groups.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.groups.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.groups.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.groups.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.groups.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.groups.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.groups.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.groups.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.groups.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.groups.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.groups.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.groups.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.groups.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.groups.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.groups.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -91596,12 +91711,23 @@ Microsoft\Graph\Generated.groupSettingTemplates.item.GroupSettingTemplateItemReq Microsoft\Graph\Generated.groupSettingTemplates.item.GroupSettingTemplateItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):GroupSettingTemplateItemRequestBuilderGetQueryParameters Microsoft\Graph\Generated.groupSettingTemplates.item.GroupSettingTemplateItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.groupSettingTemplates.item.GroupSettingTemplateItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.groupSettingTemplates.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.groupSettingTemplates.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.groupSettingTemplates.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.groupSettingTemplates.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.groupSettingTemplates.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.groupSettingTemplates.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groupSettingTemplates.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.groupSettingTemplates.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.groupSettingTemplates.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.groupSettingTemplates.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -111664,7 +111790,11 @@ Microsoft\Graph\Generated.models.administrativeUnit::|public|getDescription():st Microsoft\Graph\Generated.models.administrativeUnit::|public|getDisplayName():string Microsoft\Graph\Generated.models.administrativeUnit::|public|getExtensions():array Microsoft\Graph\Generated.models.administrativeUnit::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.administrativeUnit::|public|getIsMemberManagementRestricted():bool Microsoft\Graph\Generated.models.administrativeUnit::|public|getMembers():array +Microsoft\Graph\Generated.models.administrativeUnit::|public|getMembershipRule():string +Microsoft\Graph\Generated.models.administrativeUnit::|public|getMembershipRuleProcessingState():string +Microsoft\Graph\Generated.models.administrativeUnit::|public|getMembershipType():string Microsoft\Graph\Generated.models.administrativeUnit::|public|getScopedRoleMembers():array Microsoft\Graph\Generated.models.administrativeUnit::|public|getVisibility():string Microsoft\Graph\Generated.models.administrativeUnit::|public|OdataType:string @@ -111672,7 +111802,11 @@ Microsoft\Graph\Generated.models.administrativeUnit::|public|Serialize(writer:IS Microsoft\Graph\Generated.models.administrativeUnit::|public|setDescription(value?:string):void Microsoft\Graph\Generated.models.administrativeUnit::|public|setDisplayName(value?:string):void Microsoft\Graph\Generated.models.administrativeUnit::|public|setExtensions(value?:array):void +Microsoft\Graph\Generated.models.administrativeUnit::|public|setIsMemberManagementRestricted(value?:bool):void Microsoft\Graph\Generated.models.administrativeUnit::|public|setMembers(value?:array):void +Microsoft\Graph\Generated.models.administrativeUnit::|public|setMembershipRule(value?:string):void +Microsoft\Graph\Generated.models.administrativeUnit::|public|setMembershipRuleProcessingState(value?:string):void +Microsoft\Graph\Generated.models.administrativeUnit::|public|setMembershipType(value?:string):void Microsoft\Graph\Generated.models.administrativeUnit::|public|setScopedRoleMembers(value?:array):void Microsoft\Graph\Generated.models.administrativeUnit::|public|setVisibility(value?:string):void Microsoft\Graph\Generated.models.administrativeUnit::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AdministrativeUnit @@ -120931,6 +121065,7 @@ Microsoft\Graph\Generated.models.device::|public|getExtensions():array Microsoft\Graph\Generated.models.device::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.device::|public|getIsCompliant():bool Microsoft\Graph\Generated.models.device::|public|getIsManaged():bool +Microsoft\Graph\Generated.models.device::|public|getIsManagementRestricted():bool Microsoft\Graph\Generated.models.device::|public|getIsRooted():bool Microsoft\Graph\Generated.models.device::|public|getManagementType():string Microsoft\Graph\Generated.models.device::|public|getManufacturer():string @@ -120967,6 +121102,7 @@ Microsoft\Graph\Generated.models.device::|public|setEnrollmentType(value?:string Microsoft\Graph\Generated.models.device::|public|setExtensions(value?:array):void Microsoft\Graph\Generated.models.device::|public|setIsCompliant(value?:bool):void Microsoft\Graph\Generated.models.device::|public|setIsManaged(value?:bool):void +Microsoft\Graph\Generated.models.device::|public|setIsManagementRestricted(value?:bool):void Microsoft\Graph\Generated.models.device::|public|setIsRooted(value?:bool):void Microsoft\Graph\Generated.models.device::|public|setManagementType(value?:string):void Microsoft\Graph\Generated.models.device::|public|setManufacturer(value?:string):void @@ -122837,6 +122973,7 @@ Microsoft\Graph\Generated.models.domain::|public|getManufacturer():string Microsoft\Graph\Generated.models.domain::|public|getModel():string Microsoft\Graph\Generated.models.domain::|public|getPasswordNotificationWindowInDays():int Microsoft\Graph\Generated.models.domain::|public|getPasswordValidityPeriodInDays():int +Microsoft\Graph\Generated.models.domain::|public|getRootDomain():Domain Microsoft\Graph\Generated.models.domain::|public|getServiceConfigurationRecords():array Microsoft\Graph\Generated.models.domain::|public|getState():DomainState Microsoft\Graph\Generated.models.domain::|public|getSupportedServices():array @@ -122856,6 +122993,7 @@ Microsoft\Graph\Generated.models.domain::|public|setManufacturer(value?:string): Microsoft\Graph\Generated.models.domain::|public|setModel(value?:string):void Microsoft\Graph\Generated.models.domain::|public|setPasswordNotificationWindowInDays(value?:int):void Microsoft\Graph\Generated.models.domain::|public|setPasswordValidityPeriodInDays(value?:int):void +Microsoft\Graph\Generated.models.domain::|public|setRootDomain(value?:Domain):void Microsoft\Graph\Generated.models.domain::|public|setServiceConfigurationRecords(value?:array):void Microsoft\Graph\Generated.models.domain::|public|setState(value?:DomainState):void Microsoft\Graph\Generated.models.domain::|public|setSupportedServices(value?:array):void @@ -126103,6 +126241,7 @@ Microsoft\Graph\Generated.models.group::|public|getHideFromAddressLists():bool Microsoft\Graph\Generated.models.group::|public|getHideFromOutlookClients():bool Microsoft\Graph\Generated.models.group::|public|getIsArchived():bool Microsoft\Graph\Generated.models.group::|public|getIsAssignableToRole():bool +Microsoft\Graph\Generated.models.group::|public|getIsManagementRestricted():bool Microsoft\Graph\Generated.models.group::|public|getIsSubscribedByMail():bool Microsoft\Graph\Generated.models.group::|public|getLicenseProcessingState():LicenseProcessingState Microsoft\Graph\Generated.models.group::|public|getMail():string @@ -126172,6 +126311,7 @@ Microsoft\Graph\Generated.models.group::|public|setHideFromAddressLists(value?:b Microsoft\Graph\Generated.models.group::|public|setHideFromOutlookClients(value?:bool):void Microsoft\Graph\Generated.models.group::|public|setIsArchived(value?:bool):void Microsoft\Graph\Generated.models.group::|public|setIsAssignableToRole(value?:bool):void +Microsoft\Graph\Generated.models.group::|public|setIsManagementRestricted(value?:bool):void Microsoft\Graph\Generated.models.group::|public|setIsSubscribedByMail(value?:bool):void Microsoft\Graph\Generated.models.group::|public|setLicenseProcessingState(value?:LicenseProcessingState):void Microsoft\Graph\Generated.models.group::|public|setMail(value?:string):void @@ -149655,6 +149795,7 @@ Microsoft\Graph\Generated.models.user::|public|getImAddresses():array Microsoft\Graph\Generated.models.user::|public|getInferenceClassification():InferenceClassification Microsoft\Graph\Generated.models.user::|public|getInsights():ItemInsights Microsoft\Graph\Generated.models.user::|public|getInterests():array +Microsoft\Graph\Generated.models.user::|public|getIsManagementRestricted():bool Microsoft\Graph\Generated.models.user::|public|getIsResourceAccount():bool Microsoft\Graph\Generated.models.user::|public|getJobTitle():string Microsoft\Graph\Generated.models.user::|public|getJoinedTeams():array @@ -149785,6 +149926,7 @@ Microsoft\Graph\Generated.models.user::|public|setImAddresses(value?:array):void Microsoft\Graph\Generated.models.user::|public|setInferenceClassification(value?:InferenceClassification):void Microsoft\Graph\Generated.models.user::|public|setInsights(value?:ItemInsights):void Microsoft\Graph\Generated.models.user::|public|setInterests(value?:array):void +Microsoft\Graph\Generated.models.user::|public|setIsManagementRestricted(value?:bool):void Microsoft\Graph\Generated.models.user::|public|setIsResourceAccount(value?:bool):void Microsoft\Graph\Generated.models.user::|public|setJobTitle(value?:string):void Microsoft\Graph\Generated.models.user::|public|setJoinedTeams(value?:array):void @@ -156050,12 +156192,23 @@ Microsoft\Graph\Generated.organization.item.OrganizationItemRequestBuilderGetReq Microsoft\Graph\Generated.organization.item.OrganizationItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):OrganizationItemRequestBuilderGetQueryParameters Microsoft\Graph\Generated.organization.item.OrganizationItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.organization.item.OrganizationItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.organization.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.organization.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.organization.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.organization.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.organization.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.organization.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.organization.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.organization.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.organization.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.organization.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.organization.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.organization.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.organization.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.organization.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.organization.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.organization.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.organization.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.organization.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.organization.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.organization.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.organization.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.organization.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -156365,12 +156518,23 @@ Microsoft\Graph\Generated.permissionGrants.item.ResourceSpecificPermissionGrantI Microsoft\Graph\Generated.permissionGrants.item.ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ResourceSpecificPermissionGrantItemRequestBuilderGetQueryParameters Microsoft\Graph\Generated.permissionGrants.item.ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.permissionGrants.item.ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.permissionGrants.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.permissionGrants.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.permissionGrants.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.permissionGrants.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.permissionGrants.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.permissionGrants.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.permissionGrants.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.permissionGrants.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.permissionGrants.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.permissionGrants.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.permissionGrants.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.permissionGrants.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.permissionGrants.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.permissionGrants.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.permissionGrants.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.permissionGrants.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.permissionGrants.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.permissionGrants.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.permissionGrants.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.permissionGrants.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.permissionGrants.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.permissionGrants.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -174050,12 +174214,23 @@ Microsoft\Graph\Generated.servicePrincipals.item.removePassword.RemovePasswordRe Microsoft\Graph\Generated.servicePrincipals.item.removePassword.RemovePasswordRequestBuilder::|public|WithUrl(rawUrl:string):RemovePasswordRequestBuilder Microsoft\Graph\Generated.servicePrincipals.item.removePassword.removePasswordRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.servicePrincipals.item.removePassword.removePasswordRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.servicePrincipals.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.servicePrincipals.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.servicePrincipals.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.servicePrincipals.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.servicePrincipals.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.servicePrincipals.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.servicePrincipals.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.servicePrincipals.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.servicePrincipals.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.servicePrincipals.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.servicePrincipals.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.servicePrincipals.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.servicePrincipals.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.servicePrincipals.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.servicePrincipals.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.servicePrincipals.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.servicePrincipals.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.servicePrincipals.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.servicePrincipals.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.servicePrincipals.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.servicePrincipals.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.servicePrincipals.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration @@ -222903,12 +223078,23 @@ Microsoft\Graph\Generated.users.item.reprocessLicenseAssignment.ReprocessLicense Microsoft\Graph\Generated.users.item.reprocessLicenseAssignment.ReprocessLicenseAssignmentRequestBuilder::|public|WithUrl(rawUrl:string):ReprocessLicenseAssignmentRequestBuilder Microsoft\Graph\Generated.users.item.reprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.reprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.restore.restorePostRequestBody::|public|getAutoReconcileProxyConflict():bool +Microsoft\Graph\Generated.users.item.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.restore.restorePostRequestBody::|public|setAutoReconcileProxyConflict(value?:bool):void +Microsoft\Graph\Generated.users.item.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Generated.users.item.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.users.item.restore.RestoreRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.restore.RestoreRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.users.item.restore.RestoreRequestBuilder::|public|Post(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject +Microsoft\Graph\Generated.users.item.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):DirectoryObject Microsoft\Graph\Generated.users.item.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Generated.users.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.users.item.restore.RestoreRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.users.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.users.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 12ea26bd85a..4a39506fdd6 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,9 +1,10 @@ { - "descriptionHash": "2DB4FE3281A5A2DCF15E49B14B5D7DA9089C4640C1315753561EC20FD3B067A9B989A617D2FD0A55FC8A2D6A02875816E776585ADBA1841719621399CF80709A", + "descriptionHash": "E8C58B9E7D0737F125B46642DD10349452886D3991D072A5549EF231E3AB647E521BEEE339112445B6BBE5F42F0CD10593CA2E7B03AE41B325473F3F6C5DD3B8", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.19.0", "clientClassName": "BaseGraphClient", + "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft\\Graph\\Generated", "language": "PHP", "usesBackingStore": true,