diff --git a/src/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 98dfc454622..b829592b39b 100644 --- a/src/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.php b/src/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.php index 33037128c53..2bbae2f9b8c 100644 --- a/src/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.php +++ b/src/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. + * Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead. * @param AddKeyPostRequestBody $body The request body * @param AddKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddKeyPostRequestBody $body, ?AddKeyRequestBuilderPostReque } /** - * Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. + * Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead. * @param AddKeyPostRequestBody $body The request body * @param AddKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedPostRequestBody.php b/src/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedPostRequestBody.php new file mode 100644 index 00000000000..820112a7e94 --- /dev/null +++ b/src/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedPostRequestBody.php @@ -0,0 +1,124 @@ +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 ConfirmCompromisedPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ConfirmCompromisedPostRequestBody { + return new ConfirmCompromisedPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'requestIds' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setRequestIds($val); + }, + ]; + } + + /** + * Gets the requestIds property value. The requestIds property + * @return array|null + */ + public function getRequestIds(): ?array { + $val = $this->getBackingStore()->get('requestIds'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requestIds'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('requestIds', $this->getRequestIds()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the requestIds property value. The requestIds property + * @param array|null $value Value to set for the requestIds property. + */ + public function setRequestIds(?array $value): void { + $this->getBackingStore()->set('requestIds', $value); + } + +} diff --git a/src/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php b/src/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php new file mode 100644 index 00000000000..42331cf3354 --- /dev/null +++ b/src/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedRequestBuilder.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}/auditLogs/signIns/confirmCompromised'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Mark an event in the Microsoft Entra sign-in logs as risky. Events marked as risky by an admin are immediately flagged as high risk in Microsoft Entra ID Protection, overriding previous risk states. Admins can confirm that events flagged as risky by Microsoft Entra ID Protection are in fact risky. For details about investigating Identity Protection risks, see How to investigate risk. + * @param ConfirmCompromisedPostRequestBody $body The request body + * @param ConfirmCompromisedRequestBuilderPostRequestConfiguration|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/signin-confirmcompromised?view=graph-rest-1.0 Find more info here + */ + public function post(ConfirmCompromisedPostRequestBody $body, ?ConfirmCompromisedRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Mark an event in the Microsoft Entra sign-in logs as risky. Events marked as risky by an admin are immediately flagged as high risk in Microsoft Entra ID Protection, overriding previous risk states. Admins can confirm that events flagged as risky by Microsoft Entra ID Protection are in fact risky. For details about investigating Identity Protection risks, see How to investigate risk. + * @param ConfirmCompromisedPostRequestBody $body The request body + * @param ConfirmCompromisedRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ConfirmCompromisedPostRequestBody $body, ?ConfirmCompromisedRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ConfirmCompromisedRequestBuilder + */ + public function withUrl(string $rawUrl): ConfirmCompromisedRequestBuilder { + return new ConfirmCompromisedRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedRequestBuilderPostRequestConfiguration.php b/src/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..e60fe16a6f7 --- /dev/null +++ b/src/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafePostRequestBody.php b/src/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafePostRequestBody.php new file mode 100644 index 00000000000..4ab05fb1d55 --- /dev/null +++ b/src/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafePostRequestBody.php @@ -0,0 +1,124 @@ +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 ConfirmSafePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ConfirmSafePostRequestBody { + return new ConfirmSafePostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'requestIds' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setRequestIds($val); + }, + ]; + } + + /** + * Gets the requestIds property value. The requestIds property + * @return array|null + */ + public function getRequestIds(): ?array { + $val = $this->getBackingStore()->get('requestIds'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requestIds'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('requestIds', $this->getRequestIds()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the requestIds property value. The requestIds property + * @param array|null $value Value to set for the requestIds property. + */ + public function setRequestIds(?array $value): void { + $this->getBackingStore()->set('requestIds', $value); + } + +} diff --git a/src/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafeRequestBuilder.php b/src/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafeRequestBuilder.php new file mode 100644 index 00000000000..cb076b96aa6 --- /dev/null +++ b/src/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafeRequestBuilder.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}/auditLogs/signIns/confirmSafe'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Mark an event in Microsoft Entra sign-in logs as safe. Admins can either mark the events flagged as risky by Microsoft Entra ID Protection as safe, or they can mark unflagged events as safe. For details about investigating Identity Protection risks, see How to investigate risk. + * @param ConfirmSafePostRequestBody $body The request body + * @param ConfirmSafeRequestBuilderPostRequestConfiguration|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/signin-confirmsafe?view=graph-rest-1.0 Find more info here + */ + public function post(ConfirmSafePostRequestBody $body, ?ConfirmSafeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Mark an event in Microsoft Entra sign-in logs as safe. Admins can either mark the events flagged as risky by Microsoft Entra ID Protection as safe, or they can mark unflagged events as safe. For details about investigating Identity Protection risks, see How to investigate risk. + * @param ConfirmSafePostRequestBody $body The request body + * @param ConfirmSafeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ConfirmSafePostRequestBody $body, ?ConfirmSafeRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ConfirmSafeRequestBuilder + */ + public function withUrl(string $rawUrl): ConfirmSafeRequestBuilder { + return new ConfirmSafeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Contacts/Item/OrgContactItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafeRequestBuilderPostRequestConfiguration.php similarity index 66% rename from src/Generated/Contacts/Item/OrgContactItemRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafeRequestBuilderPostRequestConfiguration.php index be341bb643d..cf03fbc67fc 100644 --- a/src/Generated/Contacts/Item/OrgContactItemRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafeRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/AuditLogs/SignIns/Dismiss/DismissPostRequestBody.php b/src/Generated/AuditLogs/SignIns/Dismiss/DismissPostRequestBody.php new file mode 100644 index 00000000000..83575108092 --- /dev/null +++ b/src/Generated/AuditLogs/SignIns/Dismiss/DismissPostRequestBody.php @@ -0,0 +1,124 @@ +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 DismissPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DismissPostRequestBody { + return new DismissPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'requestIds' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setRequestIds($val); + }, + ]; + } + + /** + * Gets the requestIds property value. The requestIds property + * @return array|null + */ + public function getRequestIds(): ?array { + $val = $this->getBackingStore()->get('requestIds'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requestIds'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('requestIds', $this->getRequestIds()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the requestIds property value. The requestIds property + * @param array|null $value Value to set for the requestIds property. + */ + public function setRequestIds(?array $value): void { + $this->getBackingStore()->set('requestIds', $value); + } + +} diff --git a/src/Generated/AuditLogs/SignIns/Dismiss/DismissRequestBuilder.php b/src/Generated/AuditLogs/SignIns/Dismiss/DismissRequestBuilder.php new file mode 100644 index 00000000000..ebd2da3506a --- /dev/null +++ b/src/Generated/AuditLogs/SignIns/Dismiss/DismissRequestBuilder.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}/auditLogs/signIns/dismiss'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Mark an event in Microsoft Entra sign-in logs as dismissed. For details about investigating Identity Protection risks, see How to investigate risk. + * @param DismissPostRequestBody $body The request body + * @param DismissRequestBuilderPostRequestConfiguration|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/signin-dismiss?view=graph-rest-1.0 Find more info here + */ + public function post(DismissPostRequestBody $body, ?DismissRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Mark an event in Microsoft Entra sign-in logs as dismissed. For details about investigating Identity Protection risks, see How to investigate risk. + * @param DismissPostRequestBody $body The request body + * @param DismissRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(DismissPostRequestBody $body, ?DismissRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DismissRequestBuilder + */ + public function withUrl(string $rawUrl): DismissRequestBuilder { + return new DismissRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Contacts/ContactsRequestBuilderPostRequestConfiguration.php b/src/Generated/AuditLogs/SignIns/Dismiss/DismissRequestBuilderPostRequestConfiguration.php similarity index 67% rename from src/Generated/Contacts/ContactsRequestBuilderPostRequestConfiguration.php rename to src/Generated/AuditLogs/SignIns/Dismiss/DismissRequestBuilderPostRequestConfiguration.php index d9a0fda2b73..7b19c6012d6 100644 --- a/src/Generated/Contacts/ContactsRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/AuditLogs/SignIns/Dismiss/DismissRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php b/src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php index db15560fd18..bcb6c90572c 100644 --- a/src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php +++ b/src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php @@ -4,7 +4,10 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Generated\AuditLogs\SignIns\ConfirmCompromised\ConfirmCompromisedRequestBuilder; +use Microsoft\Graph\Generated\AuditLogs\SignIns\ConfirmSafe\ConfirmSafeRequestBuilder; use Microsoft\Graph\Generated\AuditLogs\SignIns\Count\CountRequestBuilder; +use Microsoft\Graph\Generated\AuditLogs\SignIns\Dismiss\DismissRequestBuilder; use Microsoft\Graph\Generated\AuditLogs\SignIns\Item\SignInItemRequestBuilder; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\SignIn; @@ -19,6 +22,20 @@ */ class SignInsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the confirmCompromised method. + */ + public function confirmCompromised(): ConfirmCompromisedRequestBuilder { + return new ConfirmCompromisedRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the confirmSafe method. + */ + public function confirmSafe(): ConfirmSafeRequestBuilder { + return new ConfirmSafeRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -26,6 +43,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the dismiss method. + */ + public function dismiss(): DismissRequestBuilder { + return new DismissRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity. * @param string $signInId The unique identifier of signIn diff --git a/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php index fc210c496a2..32f40e89a8e 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 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. + * 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/chat-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 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. + * 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/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php index 875ad5f8259..08ee9bb649b 100644 --- a/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipient' => fn(ParseNode $n) => $o->setRecipient($n->getObjectValue([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -170,6 +183,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeObjectValue('recipient', $this->getRecipient()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -210,6 +224,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. 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/ContactsRequestBuilder.php b/src/Generated/Contacts/ContactsRequestBuilder.php index e67cb07f9cb..1d251ee4430 100644 --- a/src/Generated/Contacts/ContactsRequestBuilder.php +++ b/src/Generated/Contacts/ContactsRequestBuilder.php @@ -11,7 +11,6 @@ use Microsoft\Graph\Generated\Contacts\Item\OrgContactItemRequestBuilder; use Microsoft\Graph\Generated\Contacts\ValidateProperties\ValidatePropertiesRequestBuilder; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; -use Microsoft\Graph\Generated\Models\OrgContact; use Microsoft\Graph\Generated\Models\OrgContactCollectionResponse; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -75,7 +74,7 @@ public function byOrgContactId(string $orgContactId): OrgContactItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -98,21 +97,6 @@ public function get(?ContactsRequestBuilderGetRequestConfiguration $requestConfi return $this->requestAdapter->sendAsync($requestInfo, [OrgContactCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } - /** - * Add new entity to contacts - * @param OrgContact $body The request body - * @param ContactsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(OrgContact $body, ?ContactsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [OrgContact::class, 'createFromDiscriminatorValue'], $errorMappings); - } - /** * Get the list of organizational contacts for this organization. * @param ContactsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. @@ -134,26 +118,6 @@ public function toGetRequestInformation(?ContactsRequestBuilderGetRequestConfigu return $requestInfo; } - /** - * Add new entity to contacts - * @param OrgContact $body The request body - * @param ContactsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(OrgContact $body, ?ContactsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::POST; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - /** * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param string $rawUrl The raw URL to use for the request builder. diff --git a/src/Generated/Contacts/ContactsRequestBuilderGetQueryParameters.php b/src/Generated/Contacts/ContactsRequestBuilderGetQueryParameters.php index cb209a72f31..be6b7da1882 100644 --- a/src/Generated/Contacts/ContactsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Contacts/ContactsRequestBuilderGetQueryParameters.php @@ -45,12 +45,6 @@ class ContactsRequestBuilderGetQueryParameters */ public ?array $select = null; - /** - * @QueryParameter("%24skip") - * @var int|null $skip Skip the first n items - */ - public ?int $skip = null; - /** * @QueryParameter("%24top") * @var int|null $top Show only the first n items @@ -65,17 +59,15 @@ class ContactsRequestBuilderGetQueryParameters * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $top = null) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; $this->select = $select; - $this->skip = $skip; $this->top = $top; } diff --git a/src/Generated/Contacts/ContactsRequestBuilderGetRequestConfiguration.php b/src/Generated/Contacts/ContactsRequestBuilderGetRequestConfiguration.php index ae1bb4aa551..e07ffbd0734 100644 --- a/src/Generated/Contacts/ContactsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Contacts/ContactsRequestBuilderGetRequestConfiguration.php @@ -34,12 +34,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Con * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned - * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ContactsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ContactsRequestBuilderGetQueryParameters { - return new ContactsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $top = null): ContactsRequestBuilderGetQueryParameters { + return new ContactsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $top); } } diff --git a/src/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 46ae88c373b..d896daa96f8 100644 --- a/src/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Contacts/Item/OrgContactItemRequestBuilder.php b/src/Generated/Contacts/Item/OrgContactItemRequestBuilder.php index d2ee38c9070..26cf2c66374 100644 --- a/src/Generated/Contacts/Item/OrgContactItemRequestBuilder.php +++ b/src/Generated/Contacts/Item/OrgContactItemRequestBuilder.php @@ -118,20 +118,6 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } } - /** - * Delete entity from contacts - * @param OrgContactItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function delete(?OrgContactItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - /** * Get the properties and relationships of an organizational contact. * @param OrgContactItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. @@ -147,39 +133,6 @@ public function get(?OrgContactItemRequestBuilderGetRequestConfiguration $reques return $this->requestAdapter->sendAsync($requestInfo, [OrgContact::class, 'createFromDiscriminatorValue'], $errorMappings); } - /** - * Update entity in contacts - * @param OrgContact $body The request body - * @param OrgContactItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(OrgContact $body, ?OrgContactItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [OrgContact::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete entity from contacts - * @param OrgContactItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?OrgContactItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::DELETE; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - /** * Get the properties and relationships of an organizational contact. * @param OrgContactItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. @@ -201,26 +154,6 @@ public function toGetRequestInformation(?OrgContactItemRequestBuilderGetRequestC return $requestInfo; } - /** - * Update entity in contacts - * @param OrgContact $body The request body - * @param OrgContactItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(OrgContact $body, ?OrgContactItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PATCH; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - /** * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param string $rawUrl The raw URL to use for the request builder. diff --git a/src/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 2df6222d768..796326e5995 100644 --- a/src/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php index 3aebcc91fb3..e1422d312c3 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-books-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-onboarding-deviceappmanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-unlock-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/ManagedAppPolicyItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php index 585633ea447..ea6ff0df539 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -53,11 +53,11 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the windowsInformationProtection object. + * Read properties and relationships of the managedAppConfiguration object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|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-windowsinformationprotection-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe } /** - * Read properties and relationships of the windowsInformationProtection object. + * Read properties and relationships of the managedAppConfiguration object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php index 01409153916..ef9bce96aef 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the windowsInformationProtection object. + * Read properties and relationships of the managedAppConfiguration object. */ class ManagedAppPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 2c92f59d08d..c9e0d3a0088 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-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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 53195d29d1f..afa996ecfce 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 windowsInformationProtection objects. + * List properties and relationships of the managedAppConfiguration 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-windowsinformationprotection-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-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 windowsInformationProtection objects. + * List properties and relationships of the managedAppConfiguration 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 e14d5359821..88d1f2c4ecd 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 windowsInformationProtection objects. + * List properties and relationships of the managedAppConfiguration 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 0cf00c54e3d..98d1e73293e 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-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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 d534a409ba9..f8dc868a894 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-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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/ManagedAppRegistrationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php index 49c7472578f..f2aeb41e1d8 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php @@ -69,11 +69,11 @@ public function delete(?ManagedAppRegistrationItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|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-managedappregistration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -117,7 +117,7 @@ public function toDeleteRequestInformation(?ManagedAppRegistrationItemRequestBui } /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php index 83949e72d79..bae004f29fe 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. */ class ManagedAppRegistrationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php index ac1991a5f10..81082a207c7 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 iosManagedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration 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-iosmanagedappregistration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-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 iosManagedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration 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 11cfc48ee3f..8163f822b71 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 iosManagedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. */ class ManagedAppRegistrationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php index 767ab2c7107..1b81a537200 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?ManagedAppStatusItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppStatus object. + * Read properties and relationships of the managedAppStatusRaw object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|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-managedappstatus-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedAppStatusItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppStatus object. + * Read properties and relationships of the managedAppStatusRaw object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php index 1a778e35b25..e257e0cbe70 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppStatus object. + * Read properties and relationships of the managedAppStatusRaw object. */ class ManagedAppStatusItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php index 1b6706769e5..09583ad8d7a 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 managedAppStatus objects. + * List properties and relationships of the managedAppStatusRaw 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-managedappstatus-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-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 managedAppStatus objects. + * List properties and relationships of the managedAppStatusRaw 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 1de2629bd1c..02671246a61 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 managedAppStatus objects. + * List properties and relationships of the managedAppStatusRaw objects. */ class ManagedAppStatusesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php index 28836c49d2a..7ddb41d88fd 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 iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment 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-iosvppebookassignment-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-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 iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment 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-iosvppebookassignment-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-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 iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment 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 iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment 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 fa920db8c52..854e051c551 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 iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. */ class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php index f82eae537ba..336d1feb54c 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 managedEBook objects. + * List properties and relationships of the iosVppEBook 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-managedebook-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-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 managedEBook objects. + * List properties and relationships of the iosVppEBook 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 eaa732c2dd0..0e5165889f1 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 managedEBook objects. + * List properties and relationships of the iosVppEBook 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 cf9be9b116c..e1747da6a31 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 managedIOSStoreApp. + * Deletes a iosiPadOSWebClip. * @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-managediosstoreapp-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-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 windowsMobileMSI object. + * Read properties and relationships of the iosLobApp 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-windowsmobilemsi-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-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 windowsWebApp object. + * Update the properties of a iosVppApp 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-windowswebapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosvppapp-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 managedIOSStoreApp. + * Deletes a iosiPadOSWebClip. * @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 windowsMobileMSI object. + * Read properties and relationships of the iosLobApp 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 windowsWebApp object. + * Update the properties of a iosVppApp 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 9352b2027eb..db31f6b6341 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 windowsMobileMSI object. + * Read properties and relationships of the iosLobApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index e13d4fbebe0..f6e7b3d3de2 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 managedAndroidStoreApp objects. + * List properties and relationships of the macOSLobApp 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-managedandroidstoreapp-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-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 managedAndroidLobApp 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-managedandroidlobapp-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 managedAndroidStoreApp objects. + * List properties and relationships of the macOSLobApp 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 managedAndroidLobApp 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 6b8544603fa..6f85747b153 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 managedAndroidStoreApp objects. + * List properties and relationships of the macOSLobApp objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index d64edc3309f..0b51202e536 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 androidWorkProfileCompliancePolicy objects. + * List properties and relationships of the macOSCompliancePolicy 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-androidworkprofilecompliancepolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-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 androidCompliancePolicy 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-androidcompliancepolicy-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 androidWorkProfileCompliancePolicy objects. + * List properties and relationships of the macOSCompliancePolicy 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 androidCompliancePolicy 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 5eb0d824f56..2f89606b58e 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 androidWorkProfileCompliancePolicy objects. + * List properties and relationships of the macOSCompliancePolicy objects. */ class DeviceCompliancePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index 972624e2b34..80e4f3d79ab 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 androidWorkProfileCompliancePolicy. * @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-androidworkprofilecompliancepolicy-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 deviceCompliancePolicy object. + * Read properties and relationships of the windows81CompliancePolicy 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-devicecompliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -149,7 +149,7 @@ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemR } /** - * Deletes a iosCompliancePolicy. + * Deletes a androidWorkProfileCompliancePolicy. * @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 deviceCompliancePolicy object. + * Read properties and relationships of the windows81CompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|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 d7debf15f83..72772bb5d47 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 deviceCompliancePolicy object. + * Read properties and relationships of the windows81CompliancePolicy object. */ class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index e710c592202..156ea1dd26b 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 windows10GeneralConfiguration objects. + * List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration 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-windows10generalconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsdefenderadvancedthreatprotectionconfiguration-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 windowsPhone81CustomConfiguration object. + * Create a new macOSGeneralDeviceConfiguration 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-windowsphone81customconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-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 windows10GeneralConfiguration objects. + * List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration 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 windowsPhone81CustomConfiguration object. + * Create a new macOSGeneralDeviceConfiguration 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 13b20c41243..8afa054954e 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 windows10GeneralConfiguration objects. + * List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index e3ff4610a14..b771f55e8aa 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 windows10GeneralConfiguration. + * Deletes a windows10CustomConfiguration. * @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-windows10generalconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-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 iosCustomConfiguration object. + * Read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration 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-ioscustomconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-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 windows10GeneralConfiguration object. + * Update the properties of a macOSCustomConfiguration 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-windows10generalconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscustomconfiguration-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 windows10GeneralConfiguration. + * Deletes a windows10CustomConfiguration. * @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 iosCustomConfiguration object. + * Read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration 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 windows10GeneralConfiguration object. + * Update the properties of a macOSCustomConfiguration 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 1839cd74639..62b41c599bb 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 iosCustomConfiguration object. + * Read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index f47aa1f4793..737b07129ef 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 deviceEnrollmentPlatformRestrictionsConfiguration objects. + * List properties and relationships of the deviceEnrollmentConfiguration 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-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfi } /** - * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + * List properties and relationships of the deviceEnrollmentConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|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 548f8e3b8a8..4120d08866e 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 deviceEnrollmentPlatformRestrictionsConfiguration objects. + * List properties and relationships of the deviceEnrollmentConfiguration objects. */ class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php index 4061df10f47..bc0b847d5c9 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -55,11 +55,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|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-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Read properties and relationships of the deviceEnrollmentLimitConfiguration 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-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-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 deviceEnrollmentPlatformRestrictionsConfiguration 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-deviceenrollmentplatformrestrictionsconfiguration-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); @@ -101,7 +101,7 @@ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConf } /** - * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,7 +119,7 @@ public function toDeleteRequestInformation(?DeviceEnrollmentConfigurationItemReq } /** - * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Read properties and relationships of the deviceEnrollmentLimitConfiguration 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 deviceEnrollmentPlatformRestrictionsConfiguration 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 6c181a7a96b..12796689b55 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 deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. */ class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php index 285a68c419e..b1f0ee940b0 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-reporting-devicemanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-androidforwork-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-tem-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-androidforwork-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 6ec9cfa20af..62929f86ced 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); @@ -54,11 +54,11 @@ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfigurati } /** - * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + * Read properties and relationships of the roleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|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-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -69,12 +69,12 @@ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionItemRequestBuilderPatchRequestConfiguration|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-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 Find more info here */ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $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 */ @@ -103,7 +103,7 @@ public function toDeleteRequestInformation(?RoleDefinitionItemRequestBuilderDele } /** - * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + * Read properties and relationships of the roleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,7 +124,7 @@ public function toGetRequestInformation(?RoleDefinitionItemRequestBuilderGetRequ } /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php index 66802fd4f88..6ab7af424b5 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + * Read properties and relationships of the roleDefinition object. */ class RoleDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 49eae0e7d67..8c6af19e281 100644 --- a/src/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Directory/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Directory/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index d3b5be988f8..066efdd622f 100644 --- a/src/Generated/Directory/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index febbdac8559..a5a9625e41d 100644 --- a/src/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index ee9fe202e6d..2d8acdecb77 100644 --- a/src/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 262329a394d..867de1336ca 100644 --- a/src/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Domains/Item/Verify/VerifyRequestBuilder.php b/src/Generated/Domains/Item/Verify/VerifyRequestBuilder.php index 37ff4ce9a6d..529801b733a 100644 --- a/src/Generated/Domains/Item/Verify/VerifyRequestBuilder.php +++ b/src/Generated/Domains/Item/Verify/VerifyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validates the ownership of the domain. + * Validate the ownership of a domain. This operation only applies to an unverified domain. For an unverified domain, the isVerified property is false. * @param VerifyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?VerifyRequestBuilderPostRequestConfiguration $requestConfi } /** - * Validates the ownership of the domain. + * Validate the ownership of a domain. This operation only applies to an unverified domain. For an unverified domain, the isVerified property is false. * @param VerifyRequestBuilderPostRequestConfiguration|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/CreateLink/CreateLinkRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php index 451a11cac85..9ed824a2dba 100644 --- a/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. + * Create a link to share a driveItem driveItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link is returned. DriveItem resources inherit sharing permissions from their ancestors. * @param CreateLinkPostRequestBody $body The request body * @param CreateLinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CreateLinkPostRequestBody $body, ?CreateLinkRequestBuilderP } /** - * You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. + * Create a link to share a driveItem driveItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link is returned. DriveItem resources inherit sharing permissions from their ancestors. * @param CreateLinkPostRequestBody $body The request body * @param CreateLinkRequestBuilderPostRequestConfiguration|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/Restore/RestoreRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.php index 49a1db1375e..95f68e7ca81 100644 --- a/src/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. + * Restore a driveItem that has been deleted and is currently in the recycle bin. * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostReq } /** - * Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. + * Restore a driveItem that has been deleted and is currently in the recycle bin. * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|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/RetentionLabel/RetentionLabelRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php index 419c92ac755..47be9ad9743 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 } /** - * 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. + * 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. * @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-setretentionlabel?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?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 } /** - * 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. + * 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. * @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/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index b1eb2d4c8f6..e49e40f796d 100644 --- a/src/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/GroupSettings/GroupSettingsRequestBuilder.php b/src/Generated/GroupSettings/GroupSettingsRequestBuilder.php index 31d5c36826a..3f206303d34 100644 --- a/src/Generated/GroupSettings/GroupSettingsRequestBuilder.php +++ b/src/Generated/GroupSettings/GroupSettingsRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?GroupSettingsRequestBuilderGetRequestConfiguration $request } /** - * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. + * Create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. * @param GroupSetting $body The request body * @param GroupSettingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function toGetRequestInformation(?GroupSettingsRequestBuilderGetRequestCo } /** - * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. + * Create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. * @param GroupSetting $body The request body * @param GroupSettingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 0fa76b1118c..a5e191eb2eb 100644 --- a/src/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php index 8598f814057..c4618ce7781 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?ConversationsRequestBuilderGetRequestConfiguration $request } /** - * Use reply thread or reply post to further post to that conversation. + * 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. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|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-post-conversations?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(Conversation $body, ?ConversationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?ConversationsRequestBuilderGetRequestCo } /** - * Use reply thread or reply post to further post to that conversation. + * 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. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|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 a21735b2eae..964d49d05dc 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php @@ -43,7 +43,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ConversationItemRequestBuilderDeleteRequestConfiguration|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-conversation?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); diff --git a/src/Generated/Groups/Item/Settings/SettingsRequestBuilder.php b/src/Generated/Groups/Item/Settings/SettingsRequestBuilder.php index 7381c0f48f5..6ba0228ec2f 100644 --- a/src/Generated/Groups/Item/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Groups/Item/Settings/SettingsRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?SettingsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. + * Create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. * @param GroupSetting $body The request body * @param SettingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } /** - * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. + * Create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. * @param GroupSetting $body The request body * @param SettingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.php index 88890eb85f3..ec2d57a16f9 100644 --- a/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipient' => fn(ParseNode $n) => $o->setRecipient($n->getObjectValue([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -170,6 +183,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeObjectValue('recipient', $this->getRecipient()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -210,6 +224,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php index e601115da0f..ed15aa44905 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php @@ -62,11 +62,11 @@ public function delete(?ConversationThreadItemRequestBuilderDeleteRequestConfigu } /** - * Get a thread object. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|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-get-thread?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0 Find more info here */ public function get(?ConversationThreadItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -111,7 +111,7 @@ public function toDeleteRequestInformation(?ConversationThreadItemRequestBuilder } /** - * Get a thread object. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php index fefa316602e..64e1539675a 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a thread object. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. */ class ConversationThreadItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php index 50b0c921966..5400772fd5f 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -51,11 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. * @param PostsRequestBuilderGetRequestConfiguration|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/post-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 Find more info here */ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,7 +66,7 @@ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php index 80d8fda794c..c3d334096ac 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. */ class PostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php index 87edf4131b2..8a6ae4d1cbf 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a namedLocation object. + * Delete an ipNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|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/namedlocation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,11 +46,11 @@ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of a countryNamedLocation object. + * Retrieve the properties and relationships of an ipNamedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|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/countrynamedlocation-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0 Find more info here */ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,12 +61,12 @@ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of a countryNamedLocation object. + * Update the properties of an ipNamedLocation object. * @param NamedLocation $body The request body * @param NamedLocationItemRequestBuilderPatchRequestConfiguration|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/countrynamedlocation-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0 Find more info here */ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -77,7 +77,7 @@ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatch } /** - * Delete a namedLocation object. + * Delete an ipNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?NamedLocationItemRequestBuilderDelet } /** - * Retrieve the properties and relationships of a countryNamedLocation object. + * Retrieve the properties and relationships of an ipNamedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?NamedLocationItemRequestBuilderGetReque } /** - * Update the properties of a countryNamedLocation object. + * Update the properties of an ipNamedLocation object. * @param NamedLocation $body The request body * @param NamedLocationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php index a8d1c5b81e0..7286eb829a7 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a countryNamedLocation object. + * Retrieve the properties and relationships of an ipNamedLocation object. */ class NamedLocationItemRequestBuilderGetQueryParameters { 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 75379f8964e..3ba70d05b9c 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 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: + * 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: * @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/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-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 accessPackageAssignmentWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension 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/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-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 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: + * 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: * @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 accessPackageAssignmentWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension 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 e76ab2b8876..dae8c9ba9e5 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 accessPackageAssignmentWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. */ class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php index 943430a02e7..4e607afdbae 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 all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. * @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-list-files?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/agreement-get?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 all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. * @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 c02c9925684..3ba58bfc831 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 all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. */ class AgreementItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/ActivitiesContainer.php b/src/Generated/Models/ActivitiesContainer.php new file mode 100644 index 00000000000..81b2c8af81f --- /dev/null +++ b/src/Generated/Models/ActivitiesContainer.php @@ -0,0 +1,70 @@ +|null + */ + public function getContentActivities(): ?array { + $val = $this->getBackingStore()->get('contentActivities'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ContentActivity::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentActivities'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'contentActivities' => fn(ParseNode $n) => $o->setContentActivities($n->getCollectionOfObjectValues([ContentActivity::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('contentActivities', $this->getContentActivities()); + } + + /** + * Sets the contentActivities property value. Collection of activity logs related to content processing. + * @param array|null $value Value to set for the contentActivities property. + */ + public function setContentActivities(?array $value): void { + $this->getBackingStore()->set('contentActivities', $value); + } + +} diff --git a/src/Generated/Models/ActivityMetadata.php b/src/Generated/Models/ActivityMetadata.php new file mode 100644 index 00000000000..35d8e28d067 --- /dev/null +++ b/src/Generated/Models/ActivityMetadata.php @@ -0,0 +1,136 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ActivityMetadata + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ActivityMetadata { + return new ActivityMetadata(); + } + + /** + * Gets the activity property value. The activity property + * @return UserActivityType|null + */ + public function getActivity(): ?UserActivityType { + $val = $this->getBackingStore()->get('activity'); + if (is_null($val) || $val instanceof UserActivityType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activity'"); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'activity' => fn(ParseNode $n) => $o->setActivity($n->getEnumValue(UserActivityType::class)), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('activity', $this->getActivity()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the activity property value. The activity property + * @param UserActivityType|null $value Value to set for the activity property. + */ + public function setActivity(?UserActivityType $value): void { + $this->getBackingStore()->set('activity', $value); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/AiInteractionPlugin.php b/src/Generated/Models/AiInteractionPlugin.php new file mode 100644 index 00000000000..2661aa8891c --- /dev/null +++ b/src/Generated/Models/AiInteractionPlugin.php @@ -0,0 +1,180 @@ +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 AiInteractionPlugin + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AiInteractionPlugin { + return new AiInteractionPlugin(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'identifier' => fn(ParseNode $n) => $o->setIdentifier($n->getStringValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'version' => fn(ParseNode $n) => $o->setVersion($n->getStringValue()), + ]; + } + + /** + * Gets the identifier property value. The unique identifier of the plugin. + * @return string|null + */ + public function getIdentifier(): ?string { + $val = $this->getBackingStore()->get('identifier'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'identifier'"); + } + + /** + * Gets the name property value. The display name of the plugin. + * @return string|null + */ + public function getName(): ?string { + $val = $this->getBackingStore()->get('name'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the version property value. The version of the plugin used. + * @return string|null + */ + public function getVersion(): ?string { + $val = $this->getBackingStore()->get('version'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'version'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('identifier', $this->getIdentifier()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('version', $this->getVersion()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the identifier property value. The unique identifier of the plugin. + * @param string|null $value Value to set for the identifier property. + */ + public function setIdentifier(?string $value): void { + $this->getBackingStore()->set('identifier', $value); + } + + /** + * Sets the name property value. The display name of the plugin. + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the version property value. The version of the plugin used. + * @param string|null $value Value to set for the version property. + */ + public function setVersion(?string $value): void { + $this->getBackingStore()->set('version', $value); + } + +} diff --git a/src/Generated/Models/BinaryContent.php b/src/Generated/Models/BinaryContent.php new file mode 100644 index 00000000000..c85a214e07a --- /dev/null +++ b/src/Generated/Models/BinaryContent.php @@ -0,0 +1,69 @@ +setOdataType('#microsoft.graph.binaryContent'); + } + + /** + * 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 BinaryContent + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): BinaryContent { + return new BinaryContent(); + } + + /** + * Gets the data property value. The binary content, encoded as a Base64 string. Inherited from contentBase. + * @return StreamInterface|null + */ + public function getData(): ?StreamInterface { + $val = $this->getBackingStore()->get('data'); + if (is_null($val) || $val instanceof StreamInterface) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'data'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'data' => fn(ParseNode $n) => $o->setData($n->getBinaryContent()), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeBinaryContent('data', $this->getData()); + } + + /** + * Sets the data property value. The binary content, encoded as a Base64 string. Inherited from contentBase. + * @param StreamInterface|null $value Value to set for the data property. + */ + public function setData(?StreamInterface $value): void { + $this->getBackingStore()->set('data', $value); + } + +} diff --git a/src/Generated/Models/ClassifcationErrorBase.php b/src/Generated/Models/ClassifcationErrorBase.php new file mode 100644 index 00000000000..859045d9bf8 --- /dev/null +++ b/src/Generated/Models/ClassifcationErrorBase.php @@ -0,0 +1,210 @@ +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 ClassifcationErrorBase + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ClassifcationErrorBase { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.classificationError': return new ClassificationError(); + case '#microsoft.graph.processingError': return new ProcessingError(); + } + } + return new ClassifcationErrorBase(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the code property value. A service-defined error code string. + * @return string|null + */ + public function getCode(): ?string { + $val = $this->getBackingStore()->get('code'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'code'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'code' => fn(ParseNode $n) => $o->setCode($n->getStringValue()), + 'innerError' => fn(ParseNode $n) => $o->setInnerError($n->getObjectValue([ClassificationInnerError::class, 'createFromDiscriminatorValue'])), + 'message' => fn(ParseNode $n) => $o->setMessage($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'target' => fn(ParseNode $n) => $o->setTarget($n->getStringValue()), + ]; + } + + /** + * Gets the innerError property value. Contains more specific, potentially internal error details. + * @return ClassificationInnerError|null + */ + public function getInnerError(): ?ClassificationInnerError { + $val = $this->getBackingStore()->get('innerError'); + if (is_null($val) || $val instanceof ClassificationInnerError) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'innerError'"); + } + + /** + * Gets the message property value. A human-readable representation of the error. + * @return string|null + */ + public function getMessage(): ?string { + $val = $this->getBackingStore()->get('message'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'message'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the target property value. The target of the error (for example, the specific property or item causing the issue). + * @return string|null + */ + public function getTarget(): ?string { + $val = $this->getBackingStore()->get('target'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'target'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('code', $this->getCode()); + $writer->writeObjectValue('innerError', $this->getInnerError()); + $writer->writeStringValue('message', $this->getMessage()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('target', $this->getTarget()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the code property value. A service-defined error code string. + * @param string|null $value Value to set for the code property. + */ + public function setCode(?string $value): void { + $this->getBackingStore()->set('code', $value); + } + + /** + * Sets the innerError property value. Contains more specific, potentially internal error details. + * @param ClassificationInnerError|null $value Value to set for the innerError property. + */ + public function setInnerError(?ClassificationInnerError $value): void { + $this->getBackingStore()->set('innerError', $value); + } + + /** + * Sets the message property value. A human-readable representation of the error. + * @param string|null $value Value to set for the message property. + */ + public function setMessage(?string $value): void { + $this->getBackingStore()->set('message', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the target property value. The target of the error (for example, the specific property or item causing the issue). + * @param string|null $value Value to set for the target property. + */ + public function setTarget(?string $value): void { + $this->getBackingStore()->set('target', $value); + } + +} diff --git a/src/Generated/Models/ClassificationError.php b/src/Generated/Models/ClassificationError.php new file mode 100644 index 00000000000..245453d2ac3 --- /dev/null +++ b/src/Generated/Models/ClassificationError.php @@ -0,0 +1,77 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.processingError': return new ProcessingError(); + } + } + return new ClassificationError(); + } + + /** + * Gets the details property value. A collection of more specific errors contributing to the overall error. + * @return array|null + */ + public function getDetails(): ?array { + $val = $this->getBackingStore()->get('details'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ClassifcationErrorBase::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'details'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'details' => fn(ParseNode $n) => $o->setDetails($n->getCollectionOfObjectValues([ClassifcationErrorBase::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('details', $this->getDetails()); + } + + /** + * Sets the details property value. A collection of more specific errors contributing to the overall error. + * @param array|null $value Value to set for the details property. + */ + public function setDetails(?array $value): void { + $this->getBackingStore()->set('details', $value); + } + +} diff --git a/src/Generated/Models/ClassificationInnerError.php b/src/Generated/Models/ClassificationInnerError.php new file mode 100644 index 00000000000..af203f394aa --- /dev/null +++ b/src/Generated/Models/ClassificationInnerError.php @@ -0,0 +1,203 @@ +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 ClassificationInnerError + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ClassificationInnerError { + return new ClassificationInnerError(); + } + + /** + * Gets the activityId property value. The activity ID associated with the request that generated the error. + * @return string|null + */ + public function getActivityId(): ?string { + $val = $this->getBackingStore()->get('activityId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activityId'"); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the clientRequestId property value. The client request ID, if provided by the caller. + * @return string|null + */ + public function getClientRequestId(): ?string { + $val = $this->getBackingStore()->get('clientRequestId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'clientRequestId'"); + } + + /** + * Gets the code property value. A more specific, potentially internal, error code string. + * @return string|null + */ + public function getCode(): ?string { + $val = $this->getBackingStore()->get('code'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'code'"); + } + + /** + * Gets the errorDateTime property value. The date and time the inner error occurred. + * @return DateTime|null + */ + public function getErrorDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('errorDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'errorDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'activityId' => fn(ParseNode $n) => $o->setActivityId($n->getStringValue()), + 'clientRequestId' => fn(ParseNode $n) => $o->setClientRequestId($n->getStringValue()), + 'code' => fn(ParseNode $n) => $o->setCode($n->getStringValue()), + 'errorDateTime' => fn(ParseNode $n) => $o->setErrorDateTime($n->getDateTimeValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('activityId', $this->getActivityId()); + $writer->writeStringValue('clientRequestId', $this->getClientRequestId()); + $writer->writeStringValue('code', $this->getCode()); + $writer->writeDateTimeValue('errorDateTime', $this->getErrorDateTime()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the activityId property value. The activity ID associated with the request that generated the error. + * @param string|null $value Value to set for the activityId property. + */ + public function setActivityId(?string $value): void { + $this->getBackingStore()->set('activityId', $value); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the clientRequestId property value. The client request ID, if provided by the caller. + * @param string|null $value Value to set for the clientRequestId property. + */ + public function setClientRequestId(?string $value): void { + $this->getBackingStore()->set('clientRequestId', $value); + } + + /** + * Sets the code property value. A more specific, potentially internal, error code string. + * @param string|null $value Value to set for the code property. + */ + public function setCode(?string $value): void { + $this->getBackingStore()->set('code', $value); + } + + /** + * Sets the errorDateTime property value. The date and time the inner error occurred. + * @param DateTime|null $value Value to set for the errorDateTime property. + */ + public function setErrorDateTime(?DateTime $value): void { + $this->getBackingStore()->set('errorDateTime', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/ContentActivity.php b/src/Generated/Models/ContentActivity.php new file mode 100644 index 00000000000..235a8abb251 --- /dev/null +++ b/src/Generated/Models/ContentActivity.php @@ -0,0 +1,111 @@ +getBackingStore()->get('contentMetadata'); + if (is_null($val) || $val instanceof ProcessContentRequest) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentMetadata'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'contentMetadata' => fn(ParseNode $n) => $o->setContentMetadata($n->getObjectValue([ProcessContentRequest::class, 'createFromDiscriminatorValue'])), + 'scopeIdentifier' => fn(ParseNode $n) => $o->setScopeIdentifier($n->getStringValue()), + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + ]); + } + + /** + * Gets the scopeIdentifier property value. The scope identified from computed protection scopes. + * @return string|null + */ + public function getScopeIdentifier(): ?string { + $val = $this->getBackingStore()->get('scopeIdentifier'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'scopeIdentifier'"); + } + + /** + * Gets the userId property value. ID of the user. + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('contentMetadata', $this->getContentMetadata()); + $writer->writeStringValue('scopeIdentifier', $this->getScopeIdentifier()); + $writer->writeStringValue('userId', $this->getUserId()); + } + + /** + * Sets the contentMetadata property value. The contentMetadata property + * @param ProcessContentRequest|null $value Value to set for the contentMetadata property. + */ + public function setContentMetadata(?ProcessContentRequest $value): void { + $this->getBackingStore()->set('contentMetadata', $value); + } + + /** + * Sets the scopeIdentifier property value. The scope identified from computed protection scopes. + * @param string|null $value Value to set for the scopeIdentifier property. + */ + public function setScopeIdentifier(?string $value): void { + $this->getBackingStore()->set('scopeIdentifier', $value); + } + + /** + * Sets the userId property value. ID of the user. + * @param string|null $value Value to set for the userId property. + */ + public function setUserId(?string $value): void { + $this->getBackingStore()->set('userId', $value); + } + +} diff --git a/src/Generated/Models/ContentActivityCollectionResponse.php b/src/Generated/Models/ContentActivityCollectionResponse.php new file mode 100644 index 00000000000..a32da9fb245 --- /dev/null +++ b/src/Generated/Models/ContentActivityCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ContentActivity::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ContentActivity::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/ContentBase.php b/src/Generated/Models/ContentBase.php new file mode 100644 index 00000000000..2cc499c026d --- /dev/null +++ b/src/Generated/Models/ContentBase.php @@ -0,0 +1,122 @@ +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 ContentBase + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ContentBase { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.binaryContent': return new BinaryContent(); + case '#microsoft.graph.textContent': return new TextContent(); + } + } + return new ContentBase(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/ContentProcessingErrorType.php b/src/Generated/Models/ContentProcessingErrorType.php new file mode 100644 index 00000000000..ff6ff9211a1 --- /dev/null +++ b/src/Generated/Models/ContentProcessingErrorType.php @@ -0,0 +1,11 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/DataSecurityAndGovernance.php b/src/Generated/Models/DataSecurityAndGovernance.php new file mode 100644 index 00000000000..b35c932ec63 --- /dev/null +++ b/src/Generated/Models/DataSecurityAndGovernance.php @@ -0,0 +1,53 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.tenantDataSecurityAndGovernance': return new TenantDataSecurityAndGovernance(); + case '#microsoft.graph.userDataSecurityAndGovernance': return new UserDataSecurityAndGovernance(); + } + } + return new DataSecurityAndGovernance(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/DeviceMetadata.php b/src/Generated/Models/DeviceMetadata.php new file mode 100644 index 00000000000..68d3544a9fc --- /dev/null +++ b/src/Generated/Models/DeviceMetadata.php @@ -0,0 +1,180 @@ +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 DeviceMetadata + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceMetadata { + return new DeviceMetadata(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the deviceType property value. Optional. The general type of the device (for example, 'Managed', 'Unmanaged'). + * @return string|null + */ + public function getDeviceType(): ?string { + $val = $this->getBackingStore()->get('deviceType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceType'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'deviceType' => fn(ParseNode $n) => $o->setDeviceType($n->getStringValue()), + 'ipAddress' => fn(ParseNode $n) => $o->setIpAddress($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'operatingSystemSpecifications' => fn(ParseNode $n) => $o->setOperatingSystemSpecifications($n->getObjectValue([OperatingSystemSpecifications::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the ipAddress property value. The Internet Protocol (IP) address of the device. + * @return string|null + */ + public function getIpAddress(): ?string { + $val = $this->getBackingStore()->get('ipAddress'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'ipAddress'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the operatingSystemSpecifications property value. Details about the operating system platform and version. + * @return OperatingSystemSpecifications|null + */ + public function getOperatingSystemSpecifications(): ?OperatingSystemSpecifications { + $val = $this->getBackingStore()->get('operatingSystemSpecifications'); + if (is_null($val) || $val instanceof OperatingSystemSpecifications) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'operatingSystemSpecifications'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('deviceType', $this->getDeviceType()); + $writer->writeStringValue('ipAddress', $this->getIpAddress()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('operatingSystemSpecifications', $this->getOperatingSystemSpecifications()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the deviceType property value. Optional. The general type of the device (for example, 'Managed', 'Unmanaged'). + * @param string|null $value Value to set for the deviceType property. + */ + public function setDeviceType(?string $value): void { + $this->getBackingStore()->set('deviceType', $value); + } + + /** + * Sets the ipAddress property value. The Internet Protocol (IP) address of the device. + * @param string|null $value Value to set for the ipAddress property. + */ + public function setIpAddress(?string $value): void { + $this->getBackingStore()->set('ipAddress', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the operatingSystemSpecifications property value. Details about the operating system platform and version. + * @param OperatingSystemSpecifications|null $value Value to set for the operatingSystemSpecifications property. + */ + public function setOperatingSystemSpecifications(?OperatingSystemSpecifications $value): void { + $this->getBackingStore()->set('operatingSystemSpecifications', $value); + } + +} diff --git a/src/Generated/Models/Dictionary.php b/src/Generated/Models/Dictionary.php index 5f0160252d7..c45e9e9c1bc 100644 --- a/src/Generated/Models/Dictionary.php +++ b/src/Generated/Models/Dictionary.php @@ -35,6 +35,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Dicti if ($mappingValueNode !== null) { $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { + case '#microsoft.graph.customMetadataDictionary': return new CustomMetadataDictionary(); case '#microsoft.graph.fileStorageContainerCustomPropertyDictionary': return new FileStorageContainerCustomPropertyDictionary(); case '#microsoft.graph.resultTemplateDictionary': return new ResultTemplateDictionary(); } diff --git a/src/Generated/Models/DlpAction.php b/src/Generated/Models/DlpAction.php new file mode 100644 index 00000000000..44f5dfa05d1 --- /dev/null +++ b/src/Generated/Models/DlpAction.php @@ -0,0 +1,20 @@ +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 DlpActionInfo + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DlpActionInfo { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.restrictAccessAction': return new RestrictAccessAction(); + case '#microsoft.graph.restrictAccessActionBase': return new RestrictAccessActionBase(); + } + } + return new DlpActionInfo(); + } + + /** + * Gets the action property value. The type of DLP action. Possible value is restrictAccessAction. + * @return DlpAction|null + */ + public function getAction(): ?DlpAction { + $val = $this->getBackingStore()->get('action'); + if (is_null($val) || $val instanceof DlpAction) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'action'"); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'action' => fn(ParseNode $n) => $o->setAction($n->getEnumValue(DlpAction::class)), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('action', $this->getAction()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the action property value. The type of DLP action. Possible value is restrictAccessAction. + * @param DlpAction|null $value Value to set for the action property. + */ + public function setAction(?DlpAction $value): void { + $this->getBackingStore()->set('action', $value); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index ce69ac81eab..05ea5f269c7 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -183,6 +183,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.accessReviewScheduleDefinition': return new AccessReviewScheduleDefinition(); case '#microsoft.graph.accessReviewSet': return new AccessReviewSet(); case '#microsoft.graph.accessReviewStage': return new AccessReviewStage(); + case '#microsoft.graph.activitiesContainer': return new ActivitiesContainer(); case '#microsoft.graph.activityBasedTimeoutPolicy': return new ActivityBasedTimeoutPolicy(); case '#microsoft.graph.activityHistoryItem': return new ActivityHistoryItem(); case '#microsoft.graph.addLargeGalleryViewOperation': return new AddLargeGalleryViewOperation(); @@ -326,6 +327,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.connectedOrganization': return new ConnectedOrganization(); case '#microsoft.graph.contact': return new Contact(); case '#microsoft.graph.contactFolder': return new ContactFolder(); + case '#microsoft.graph.contentActivity': return new ContentActivity(); case '#microsoft.graph.contentSharingSession': return new ContentSharingSession(); case '#microsoft.graph.contentType': return new ContentType(); case '#microsoft.graph.contract': return new Contract(); @@ -343,6 +345,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.customExtensionStageSetting': return new CustomExtensionStageSetting(); case '#microsoft.graph.customSecurityAttributeDefinition': return new CustomSecurityAttributeDefinition(); case '#microsoft.graph.dataPolicyOperation': return new DataPolicyOperation(); + case '#microsoft.graph.dataSecurityAndGovernance': return new DataSecurityAndGovernance(); case '#microsoft.graph.dayNote': return new DayNote(); case '#microsoft.graph.defaultManagedAppProtection': return new DefaultManagedAppProtection(); case '#microsoft.graph.delegatedAdminAccessAssignment': return new DelegatedAdminAccessAssignment(); @@ -549,6 +552,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.itemAttachment': return new ItemAttachment(); case '#microsoft.graph.itemInsights': return new ItemInsights(); case '#microsoft.graph.itemRetentionLabel': return new ItemRetentionLabel(); + case '#microsoft.graph.labelContentRight': return new LabelContentRight(); case '#microsoft.graph.landingPage': return new LandingPage(); case '#microsoft.graph.landingPageDetail': return new LandingPageDetail(); case '#microsoft.graph.learningAssignment': return new LearningAssignment(); @@ -953,6 +957,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.temporaryAccessPassAuthenticationMethod': return new TemporaryAccessPassAuthenticationMethod(); case '#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration': return new TemporaryAccessPassAuthenticationMethodConfiguration(); case '#microsoft.graph.tenantAppManagementPolicy': return new TenantAppManagementPolicy(); + case '#microsoft.graph.tenantDataSecurityAndGovernance': return new TenantDataSecurityAndGovernance(); + case '#microsoft.graph.tenantProtectionScopeContainer': return new TenantProtectionScopeContainer(); case '#microsoft.graph.termsAndConditions': return new TermsAndConditions(); case '#microsoft.graph.termsAndConditionsAcceptanceStatus': return new TermsAndConditionsAcceptanceStatus(); case '#microsoft.graph.termsAndConditionsAssignment': return new TermsAndConditionsAssignment(); @@ -1002,10 +1008,12 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.unmuteParticipantOperation': return new UnmuteParticipantOperation(); case '#microsoft.graph.updateRecordingStatusOperation': return new UpdateRecordingStatusOperation(); case '#microsoft.graph.urlAssessmentRequest': return new UrlAssessmentRequest(); + case '#microsoft.graph.usageRightsIncluded': return new UsageRightsIncluded(); case '#microsoft.graph.usedInsight': return new UsedInsight(); case '#microsoft.graph.user': return new User(); case '#microsoft.graph.userActivity': return new UserActivity(); case '#microsoft.graph.userConsentRequest': return new UserConsentRequest(); + case '#microsoft.graph.userDataSecurityAndGovernance': return new UserDataSecurityAndGovernance(); case '#microsoft.graph.userExperienceAnalyticsAppHealthApplicationPerformance': return new UserExperienceAnalyticsAppHealthApplicationPerformance(); case '#microsoft.graph.userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails': return new UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails(); case '#microsoft.graph.userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId': return new UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId(); @@ -1034,6 +1042,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.userFlowLanguagePage': return new UserFlowLanguagePage(); case '#microsoft.graph.userInsightsSettings': return new UserInsightsSettings(); case '#microsoft.graph.userInstallStateSummary': return new UserInstallStateSummary(); + case '#microsoft.graph.userProtectionScopeContainer': return new UserProtectionScopeContainer(); case '#microsoft.graph.userRegistrationDetails': return new UserRegistrationDetails(); case '#microsoft.graph.userScopeTeamsAppInstallation': return new UserScopeTeamsAppInstallation(); case '#microsoft.graph.userSettings': return new UserSettings(); diff --git a/src/Generated/Models/ExecutionMode.php b/src/Generated/Models/ExecutionMode.php new file mode 100644 index 00000000000..fffba10c975 --- /dev/null +++ b/src/Generated/Models/ExecutionMode.php @@ -0,0 +1,11 @@ +setOdataType('#microsoft.graph.groupScope'); + } + + /** + * 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 GroupScope + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): GroupScope { + return new GroupScope(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/IntegratedApplicationMetadata.php b/src/Generated/Models/IntegratedApplicationMetadata.php new file mode 100644 index 00000000000..f803011373a --- /dev/null +++ b/src/Generated/Models/IntegratedApplicationMetadata.php @@ -0,0 +1,165 @@ +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 IntegratedApplicationMetadata + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): IntegratedApplicationMetadata { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.protectedApplicationMetadata': return new ProtectedApplicationMetadata(); + } + } + return new IntegratedApplicationMetadata(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'version' => fn(ParseNode $n) => $o->setVersion($n->getStringValue()), + ]; + } + + /** + * Gets the name property value. The name of the integrated application. + * @return string|null + */ + public function getName(): ?string { + $val = $this->getBackingStore()->get('name'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the version property value. The version number of the integrated application. + * @return string|null + */ + public function getVersion(): ?string { + $val = $this->getBackingStore()->get('version'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'version'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('version', $this->getVersion()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the name property value. The name of the integrated application. + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the version property value. The version number of the integrated application. + * @param string|null $value Value to set for the version property. + */ + public function setVersion(?string $value): void { + $this->getBackingStore()->set('version', $value); + } + +} diff --git a/src/Generated/Models/LabelContentRight.php b/src/Generated/Models/LabelContentRight.php new file mode 100644 index 00000000000..4149a4ad53c --- /dev/null +++ b/src/Generated/Models/LabelContentRight.php @@ -0,0 +1,89 @@ +getBackingStore()->get('cid'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'cid'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'cid' => fn(ParseNode $n) => $o->setCid($n->getStringValue()), + 'format' => fn(ParseNode $n) => $o->setFormat($n->getStringValue()), + ]); + } + + /** + * Gets the format property value. The content format. + * @return string|null + */ + public function getFormat(): ?string { + $val = $this->getBackingStore()->get('format'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'format'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('cid', $this->getCid()); + $writer->writeStringValue('format', $this->getFormat()); + } + + /** + * Sets the cid property value. The content identifier. + * @param string|null $value Value to set for the cid property. + */ + public function setCid(?string $value): void { + $this->getBackingStore()->set('cid', $value); + } + + /** + * Sets the format property value. The content format. + * @param string|null $value Value to set for the format property. + */ + public function setFormat(?string $value): void { + $this->getBackingStore()->set('format', $value); + } + +} diff --git a/src/Generated/Models/OperatingSystemSpecifications.php b/src/Generated/Models/OperatingSystemSpecifications.php new file mode 100644 index 00000000000..f143481ac01 --- /dev/null +++ b/src/Generated/Models/OperatingSystemSpecifications.php @@ -0,0 +1,158 @@ +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 OperatingSystemSpecifications + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OperatingSystemSpecifications { + return new OperatingSystemSpecifications(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'operatingSystemPlatform' => fn(ParseNode $n) => $o->setOperatingSystemPlatform($n->getStringValue()), + 'operatingSystemVersion' => fn(ParseNode $n) => $o->setOperatingSystemVersion($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the operatingSystemPlatform property value. The platform of the operating system (for example, 'Windows'). + * @return string|null + */ + public function getOperatingSystemPlatform(): ?string { + $val = $this->getBackingStore()->get('operatingSystemPlatform'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'operatingSystemPlatform'"); + } + + /** + * Gets the operatingSystemVersion property value. The version string of the operating system. + * @return string|null + */ + public function getOperatingSystemVersion(): ?string { + $val = $this->getBackingStore()->get('operatingSystemVersion'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'operatingSystemVersion'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('operatingSystemPlatform', $this->getOperatingSystemPlatform()); + $writer->writeStringValue('operatingSystemVersion', $this->getOperatingSystemVersion()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the operatingSystemPlatform property value. The platform of the operating system (for example, 'Windows'). + * @param string|null $value Value to set for the operatingSystemPlatform property. + */ + public function setOperatingSystemPlatform(?string $value): void { + $this->getBackingStore()->set('operatingSystemPlatform', $value); + } + + /** + * Sets the operatingSystemVersion property value. The version string of the operating system. + * @param string|null $value Value to set for the operatingSystemVersion property. + */ + public function setOperatingSystemVersion(?string $value): void { + $this->getBackingStore()->set('operatingSystemVersion', $value); + } + +} diff --git a/src/Generated/Models/PolicyBinding.php b/src/Generated/Models/PolicyBinding.php new file mode 100644 index 00000000000..ad237924b4b --- /dev/null +++ b/src/Generated/Models/PolicyBinding.php @@ -0,0 +1,163 @@ +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 PolicyBinding + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyBinding { + return new PolicyBinding(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the exclusions property value. Specifies the users or groups to be explicitly excluded from this policy scope. Can be null or empty. + * @return array|null + */ + public function getExclusions(): ?array { + $val = $this->getBackingStore()->get('exclusions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ScopeBase::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'exclusions'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'exclusions' => fn(ParseNode $n) => $o->setExclusions($n->getCollectionOfObjectValues([ScopeBase::class, 'createFromDiscriminatorValue'])), + 'inclusions' => fn(ParseNode $n) => $o->setInclusions($n->getCollectionOfObjectValues([ScopeBase::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the inclusions property value. Specifies the users or groups to be included in this policy scope. Often set to tenantScope for 'All users'. + * @return array|null + */ + public function getInclusions(): ?array { + $val = $this->getBackingStore()->get('inclusions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ScopeBase::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'inclusions'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('exclusions', $this->getExclusions()); + $writer->writeCollectionOfObjectValues('inclusions', $this->getInclusions()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the exclusions property value. Specifies the users or groups to be explicitly excluded from this policy scope. Can be null or empty. + * @param array|null $value Value to set for the exclusions property. + */ + public function setExclusions(?array $value): void { + $this->getBackingStore()->set('exclusions', $value); + } + + /** + * Sets the inclusions property value. Specifies the users or groups to be included in this policy scope. Often set to tenantScope for 'All users'. + * @param array|null $value Value to set for the inclusions property. + */ + public function setInclusions(?array $value): void { + $this->getBackingStore()->set('inclusions', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/PolicyLocation.php b/src/Generated/Models/PolicyLocation.php new file mode 100644 index 00000000000..b90be9cc21a --- /dev/null +++ b/src/Generated/Models/PolicyLocation.php @@ -0,0 +1,145 @@ +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 PolicyLocation + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyLocation { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.policyLocationApplication': return new PolicyLocationApplication(); + case '#microsoft.graph.policyLocationDomain': return new PolicyLocationDomain(); + case '#microsoft.graph.policyLocationUrl': return new PolicyLocationUrl(); + } + } + return new PolicyLocation(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the value property value. The actual value representing the location. Location value is specific for concretetype of the policyLocation - policyLocationDomain, policyLocationUrl, or policyLocationApplication (for example, 'contoso.com', 'https://partner.contoso.com/upload', '83ef198a-0396-4893-9d4f-d36efbffcaaa'). + * @return string|null + */ + public function getValue(): ?string { + $val = $this->getBackingStore()->get('value'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('value', $this->getValue()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the value property value. The actual value representing the location. Location value is specific for concretetype of the policyLocation - policyLocationDomain, policyLocationUrl, or policyLocationApplication (for example, 'contoso.com', 'https://partner.contoso.com/upload', '83ef198a-0396-4893-9d4f-d36efbffcaaa'). + * @param string|null $value Value to set for the value property. + */ + public function setValue(?string $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/PolicyLocationApplication.php b/src/Generated/Models/PolicyLocationApplication.php new file mode 100644 index 00000000000..454b4f374fc --- /dev/null +++ b/src/Generated/Models/PolicyLocationApplication.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.policyLocationApplication'); + } + + /** + * 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 PolicyLocationApplication + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyLocationApplication { + return new PolicyLocationApplication(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/PolicyLocationDomain.php b/src/Generated/Models/PolicyLocationDomain.php new file mode 100644 index 00000000000..a4cea828d1e --- /dev/null +++ b/src/Generated/Models/PolicyLocationDomain.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.policyLocationDomain'); + } + + /** + * 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 PolicyLocationDomain + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyLocationDomain { + return new PolicyLocationDomain(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/PolicyLocationUrl.php b/src/Generated/Models/PolicyLocationUrl.php new file mode 100644 index 00000000000..74d982bacc9 --- /dev/null +++ b/src/Generated/Models/PolicyLocationUrl.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.policyLocationUrl'); + } + + /** + * 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 PolicyLocationUrl + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyLocationUrl { + return new PolicyLocationUrl(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/PolicyPivotProperty.php b/src/Generated/Models/PolicyPivotProperty.php new file mode 100644 index 00000000000..48a7139e5df --- /dev/null +++ b/src/Generated/Models/PolicyPivotProperty.php @@ -0,0 +1,12 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return PolicyScopeBase + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyScopeBase { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.policyTenantScope': return new PolicyTenantScope(); + case '#microsoft.graph.policyUserScope': return new PolicyUserScope(); + } + } + return new PolicyScopeBase(); + } + + /** + * Gets the activities property value. The activities property + * @return UserActivityTypes|null + */ + public function getActivities(): ?UserActivityTypes { + $val = $this->getBackingStore()->get('activities'); + if (is_null($val) || $val instanceof UserActivityTypes) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activities'"); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the executionMode property value. The executionMode property + * @return ExecutionMode|null + */ + public function getExecutionMode(): ?ExecutionMode { + $val = $this->getBackingStore()->get('executionMode'); + if (is_null($val) || $val instanceof ExecutionMode) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'executionMode'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'activities' => fn(ParseNode $n) => $o->setActivities($n->getEnumValue(UserActivityTypes::class)), + 'executionMode' => fn(ParseNode $n) => $o->setExecutionMode($n->getEnumValue(ExecutionMode::class)), + 'locations' => fn(ParseNode $n) => $o->setLocations($n->getCollectionOfObjectValues([PolicyLocation::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'policyActions' => fn(ParseNode $n) => $o->setPolicyActions($n->getCollectionOfObjectValues([DlpActionInfo::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the locations property value. The locations (like domains or URLs) to be protected. Required. + * @return array|null + */ + public function getLocations(): ?array { + $val = $this->getBackingStore()->get('locations'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, PolicyLocation::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locations'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the policyActions property value. The enforcement actions to take if the policy conditions are met within this scope. Required. + * @return array|null + */ + public function getPolicyActions(): ?array { + $val = $this->getBackingStore()->get('policyActions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DlpActionInfo::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyActions'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('activities', $this->getActivities()); + $writer->writeEnumValue('executionMode', $this->getExecutionMode()); + $writer->writeCollectionOfObjectValues('locations', $this->getLocations()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeCollectionOfObjectValues('policyActions', $this->getPolicyActions()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the activities property value. The activities property + * @param UserActivityTypes|null $value Value to set for the activities property. + */ + public function setActivities(?UserActivityTypes $value): void { + $this->getBackingStore()->set('activities', $value); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the executionMode property value. The executionMode property + * @param ExecutionMode|null $value Value to set for the executionMode property. + */ + public function setExecutionMode(?ExecutionMode $value): void { + $this->getBackingStore()->set('executionMode', $value); + } + + /** + * Sets the locations property value. The locations (like domains or URLs) to be protected. Required. + * @param array|null $value Value to set for the locations property. + */ + public function setLocations(?array $value): void { + $this->getBackingStore()->set('locations', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the policyActions property value. The enforcement actions to take if the policy conditions are met within this scope. Required. + * @param array|null $value Value to set for the policyActions property. + */ + public function setPolicyActions(?array $value): void { + $this->getBackingStore()->set('policyActions', $value); + } + +} diff --git a/src/Generated/Models/PolicyTenantScope.php b/src/Generated/Models/PolicyTenantScope.php new file mode 100644 index 00000000000..89091ea3bf9 --- /dev/null +++ b/src/Generated/Models/PolicyTenantScope.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.policyTenantScope'); + } + + /** + * 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 PolicyTenantScope + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyTenantScope { + return new PolicyTenantScope(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'policyScope' => fn(ParseNode $n) => $o->setPolicyScope($n->getObjectValue([PolicyBinding::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the policyScope property value. Specifies the users and groups included in or excluded from this tenant-level policy scope. + * @return PolicyBinding|null + */ + public function getPolicyScope(): ?PolicyBinding { + $val = $this->getBackingStore()->get('policyScope'); + if (is_null($val) || $val instanceof PolicyBinding) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyScope'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('policyScope', $this->getPolicyScope()); + } + + /** + * Sets the policyScope property value. Specifies the users and groups included in or excluded from this tenant-level policy scope. + * @param PolicyBinding|null $value Value to set for the policyScope property. + */ + public function setPolicyScope(?PolicyBinding $value): void { + $this->getBackingStore()->set('policyScope', $value); + } + +} diff --git a/src/Generated/Models/PolicyUserScope.php b/src/Generated/Models/PolicyUserScope.php new file mode 100644 index 00000000000..f9f229111b2 --- /dev/null +++ b/src/Generated/Models/PolicyUserScope.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.policyUserScope'); + } + + /** + * 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 PolicyUserScope + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyUserScope { + return new PolicyUserScope(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/ProcessContentBatchRequest.php b/src/Generated/Models/ProcessContentBatchRequest.php new file mode 100644 index 00000000000..61907f87d05 --- /dev/null +++ b/src/Generated/Models/ProcessContentBatchRequest.php @@ -0,0 +1,180 @@ +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 ProcessContentBatchRequest + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentBatchRequest { + return new ProcessContentBatchRequest(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the contentToProcess property value. The contentToProcess property + * @return ProcessContentRequest|null + */ + public function getContentToProcess(): ?ProcessContentRequest { + $val = $this->getBackingStore()->get('contentToProcess'); + if (is_null($val) || $val instanceof ProcessContentRequest) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentToProcess'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'contentToProcess' => fn(ParseNode $n) => $o->setContentToProcess($n->getObjectValue([ProcessContentRequest::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'requestId' => fn(ParseNode $n) => $o->setRequestId($n->getStringValue()), + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the requestId property value. A unique identifier provided by the client to correlate this specific request item within the batch. + * @return string|null + */ + public function getRequestId(): ?string { + $val = $this->getBackingStore()->get('requestId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requestId'"); + } + + /** + * Gets the userId property value. The unique identifier (Object ID or UPN) of the user in whose context the content should be processed. + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('contentToProcess', $this->getContentToProcess()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('requestId', $this->getRequestId()); + $writer->writeStringValue('userId', $this->getUserId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the contentToProcess property value. The contentToProcess property + * @param ProcessContentRequest|null $value Value to set for the contentToProcess property. + */ + public function setContentToProcess(?ProcessContentRequest $value): void { + $this->getBackingStore()->set('contentToProcess', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the requestId property value. A unique identifier provided by the client to correlate this specific request item within the batch. + * @param string|null $value Value to set for the requestId property. + */ + public function setRequestId(?string $value): void { + $this->getBackingStore()->set('requestId', $value); + } + + /** + * Sets the userId property value. The unique identifier (Object ID or UPN) of the user in whose context the content should be processed. + * @param string|null $value Value to set for the userId property. + */ + public function setUserId(?string $value): void { + $this->getBackingStore()->set('userId', $value); + } + +} diff --git a/src/Generated/Models/ProcessContentMetadataBase.php b/src/Generated/Models/ProcessContentMetadataBase.php new file mode 100644 index 00000000000..df3f3cc81ad --- /dev/null +++ b/src/Generated/Models/ProcessContentMetadataBase.php @@ -0,0 +1,321 @@ +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 ProcessContentMetadataBase + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentMetadataBase { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.processConversationMetadata': return new ProcessConversationMetadata(); + case '#microsoft.graph.processFileMetadata': return new ProcessFileMetadata(); + } + } + return new ProcessContentMetadataBase(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the content property value. Represents the actual content, either as text (textContent) or binary data (binaryContent). Optional if metadata alone is sufficient for policy evaluation. Do not use for contentActivities. + * @return ContentBase|null + */ + public function getContent(): ?ContentBase { + $val = $this->getBackingStore()->get('content'); + if (is_null($val) || $val instanceof ContentBase) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'content'"); + } + + /** + * Gets the correlationId property value. An identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation). + * @return string|null + */ + public function getCorrelationId(): ?string { + $val = $this->getBackingStore()->get('correlationId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'correlationId'"); + } + + /** + * Gets the createdDateTime property value. Required. Timestamp indicating when the original content was created (for example, file creation time, message sent time). + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'content' => fn(ParseNode $n) => $o->setContent($n->getObjectValue([ContentBase::class, 'createFromDiscriminatorValue'])), + 'correlationId' => fn(ParseNode $n) => $o->setCorrelationId($n->getStringValue()), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'identifier' => fn(ParseNode $n) => $o->setIdentifier($n->getStringValue()), + 'isTruncated' => fn(ParseNode $n) => $o->setIsTruncated($n->getBooleanValue()), + 'length' => fn(ParseNode $n) => $o->setLength($n->getIntegerValue()), + 'modifiedDateTime' => fn(ParseNode $n) => $o->setModifiedDateTime($n->getDateTimeValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'sequenceNumber' => fn(ParseNode $n) => $o->setSequenceNumber($n->getIntegerValue()), + ]; + } + + /** + * Gets the identifier property value. Required. A unique identifier for this specific content entry within the context of the calling application or enforcement plane (for example, message ID, file path/URL). + * @return string|null + */ + public function getIdentifier(): ?string { + $val = $this->getBackingStore()->get('identifier'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'identifier'"); + } + + /** + * Gets the isTruncated property value. Required. Indicates if the provided content has been truncated from its original form (for example, due to size limits). + * @return bool|null + */ + public function getIsTruncated(): ?bool { + $val = $this->getBackingStore()->get('isTruncated'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isTruncated'"); + } + + /** + * Gets the length property value. The length of the original content in bytes. + * @return int|null + */ + public function getLength(): ?int { + $val = $this->getBackingStore()->get('length'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'length'"); + } + + /** + * Gets the modifiedDateTime property value. Required. Timestamp indicating when the original content was last modified. For ephemeral content like messages, this might be the same as createdDateTime. + * @return DateTime|null + */ + public function getModifiedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('modifiedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'modifiedDateTime'"); + } + + /** + * Gets the name property value. Required. A descriptive name for the content (for example, file name, web page title, 'Chat Message'). + * @return string|null + */ + public function getName(): ?string { + $val = $this->getBackingStore()->get('name'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the sequenceNumber property value. A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used. + * @return int|null + */ + public function getSequenceNumber(): ?int { + $val = $this->getBackingStore()->get('sequenceNumber'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sequenceNumber'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('content', $this->getContent()); + $writer->writeStringValue('correlationId', $this->getCorrelationId()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeStringValue('identifier', $this->getIdentifier()); + $writer->writeBooleanValue('isTruncated', $this->getIsTruncated()); + $writer->writeIntegerValue('length', $this->getLength()); + $writer->writeDateTimeValue('modifiedDateTime', $this->getModifiedDateTime()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeIntegerValue('sequenceNumber', $this->getSequenceNumber()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the content property value. Represents the actual content, either as text (textContent) or binary data (binaryContent). Optional if metadata alone is sufficient for policy evaluation. Do not use for contentActivities. + * @param ContentBase|null $value Value to set for the content property. + */ + public function setContent(?ContentBase $value): void { + $this->getBackingStore()->set('content', $value); + } + + /** + * Sets the correlationId property value. An identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation). + * @param string|null $value Value to set for the correlationId property. + */ + public function setCorrelationId(?string $value): void { + $this->getBackingStore()->set('correlationId', $value); + } + + /** + * Sets the createdDateTime property value. Required. Timestamp indicating when the original content was created (for example, file creation time, message sent time). + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the identifier property value. Required. A unique identifier for this specific content entry within the context of the calling application or enforcement plane (for example, message ID, file path/URL). + * @param string|null $value Value to set for the identifier property. + */ + public function setIdentifier(?string $value): void { + $this->getBackingStore()->set('identifier', $value); + } + + /** + * Sets the isTruncated property value. Required. Indicates if the provided content has been truncated from its original form (for example, due to size limits). + * @param bool|null $value Value to set for the isTruncated property. + */ + public function setIsTruncated(?bool $value): void { + $this->getBackingStore()->set('isTruncated', $value); + } + + /** + * Sets the length property value. The length of the original content in bytes. + * @param int|null $value Value to set for the length property. + */ + public function setLength(?int $value): void { + $this->getBackingStore()->set('length', $value); + } + + /** + * Sets the modifiedDateTime property value. Required. Timestamp indicating when the original content was last modified. For ephemeral content like messages, this might be the same as createdDateTime. + * @param DateTime|null $value Value to set for the modifiedDateTime property. + */ + public function setModifiedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('modifiedDateTime', $value); + } + + /** + * Sets the name property value. Required. A descriptive name for the content (for example, file name, web page title, 'Chat Message'). + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the sequenceNumber property value. A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used. + * @param int|null $value Value to set for the sequenceNumber property. + */ + public function setSequenceNumber(?int $value): void { + $this->getBackingStore()->set('sequenceNumber', $value); + } + +} diff --git a/src/Generated/Models/ProcessContentRequest.php b/src/Generated/Models/ProcessContentRequest.php new file mode 100644 index 00000000000..ae878974d1d --- /dev/null +++ b/src/Generated/Models/ProcessContentRequest.php @@ -0,0 +1,227 @@ +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 ProcessContentRequest + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentRequest { + return new ProcessContentRequest(); + } + + /** + * Gets the activityMetadata property value. The activityMetadata property + * @return ActivityMetadata|null + */ + public function getActivityMetadata(): ?ActivityMetadata { + $val = $this->getBackingStore()->get('activityMetadata'); + if (is_null($val) || $val instanceof ActivityMetadata) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activityMetadata'"); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the contentEntries property value. A collection of content entries to be processed. Each entry contains the content itself and its metadata. Use conversation metadata for content like prompts and responses and file metadata for files. Required. + * @return array|null + */ + public function getContentEntries(): ?array { + $val = $this->getBackingStore()->get('contentEntries'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProcessContentMetadataBase::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentEntries'"); + } + + /** + * Gets the deviceMetadata property value. The deviceMetadata property + * @return DeviceMetadata|null + */ + public function getDeviceMetadata(): ?DeviceMetadata { + $val = $this->getBackingStore()->get('deviceMetadata'); + if (is_null($val) || $val instanceof DeviceMetadata) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceMetadata'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'activityMetadata' => fn(ParseNode $n) => $o->setActivityMetadata($n->getObjectValue([ActivityMetadata::class, 'createFromDiscriminatorValue'])), + 'contentEntries' => fn(ParseNode $n) => $o->setContentEntries($n->getCollectionOfObjectValues([ProcessContentMetadataBase::class, 'createFromDiscriminatorValue'])), + 'deviceMetadata' => fn(ParseNode $n) => $o->setDeviceMetadata($n->getObjectValue([DeviceMetadata::class, 'createFromDiscriminatorValue'])), + 'integratedAppMetadata' => fn(ParseNode $n) => $o->setIntegratedAppMetadata($n->getObjectValue([IntegratedApplicationMetadata::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'protectedAppMetadata' => fn(ParseNode $n) => $o->setProtectedAppMetadata($n->getObjectValue([ProtectedApplicationMetadata::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the integratedAppMetadata property value. The integratedAppMetadata property + * @return IntegratedApplicationMetadata|null + */ + public function getIntegratedAppMetadata(): ?IntegratedApplicationMetadata { + $val = $this->getBackingStore()->get('integratedAppMetadata'); + if (is_null($val) || $val instanceof IntegratedApplicationMetadata) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'integratedAppMetadata'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the protectedAppMetadata property value. Metadata about the protected application making the request. Required. + * @return ProtectedApplicationMetadata|null + */ + public function getProtectedAppMetadata(): ?ProtectedApplicationMetadata { + $val = $this->getBackingStore()->get('protectedAppMetadata'); + if (is_null($val) || $val instanceof ProtectedApplicationMetadata) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedAppMetadata'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('activityMetadata', $this->getActivityMetadata()); + $writer->writeCollectionOfObjectValues('contentEntries', $this->getContentEntries()); + $writer->writeObjectValue('deviceMetadata', $this->getDeviceMetadata()); + $writer->writeObjectValue('integratedAppMetadata', $this->getIntegratedAppMetadata()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('protectedAppMetadata', $this->getProtectedAppMetadata()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the activityMetadata property value. The activityMetadata property + * @param ActivityMetadata|null $value Value to set for the activityMetadata property. + */ + public function setActivityMetadata(?ActivityMetadata $value): void { + $this->getBackingStore()->set('activityMetadata', $value); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the contentEntries property value. A collection of content entries to be processed. Each entry contains the content itself and its metadata. Use conversation metadata for content like prompts and responses and file metadata for files. Required. + * @param array|null $value Value to set for the contentEntries property. + */ + public function setContentEntries(?array $value): void { + $this->getBackingStore()->set('contentEntries', $value); + } + + /** + * Sets the deviceMetadata property value. The deviceMetadata property + * @param DeviceMetadata|null $value Value to set for the deviceMetadata property. + */ + public function setDeviceMetadata(?DeviceMetadata $value): void { + $this->getBackingStore()->set('deviceMetadata', $value); + } + + /** + * Sets the integratedAppMetadata property value. The integratedAppMetadata property + * @param IntegratedApplicationMetadata|null $value Value to set for the integratedAppMetadata property. + */ + public function setIntegratedAppMetadata(?IntegratedApplicationMetadata $value): void { + $this->getBackingStore()->set('integratedAppMetadata', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the protectedAppMetadata property value. Metadata about the protected application making the request. Required. + * @param ProtectedApplicationMetadata|null $value Value to set for the protectedAppMetadata property. + */ + public function setProtectedAppMetadata(?ProtectedApplicationMetadata $value): void { + $this->getBackingStore()->set('protectedAppMetadata', $value); + } + +} diff --git a/src/Generated/Models/ProcessContentResponse.php b/src/Generated/Models/ProcessContentResponse.php new file mode 100644 index 00000000000..e33eaf0e490 --- /dev/null +++ b/src/Generated/Models/ProcessContentResponse.php @@ -0,0 +1,185 @@ +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 ProcessContentResponse + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentResponse { + return new ProcessContentResponse(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'policyActions' => fn(ParseNode $n) => $o->setPolicyActions($n->getCollectionOfObjectValues([DlpActionInfo::class, 'createFromDiscriminatorValue'])), + 'processingErrors' => fn(ParseNode $n) => $o->setProcessingErrors($n->getCollectionOfObjectValues([ProcessingError::class, 'createFromDiscriminatorValue'])), + 'protectionScopeState' => fn(ParseNode $n) => $o->setProtectionScopeState($n->getEnumValue(ProtectionScopeState::class)), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. NOTE: Currently, the only policy action supported in for this resource type is restrictAccess. + * @return array|null + */ + public function getPolicyActions(): ?array { + $val = $this->getBackingStore()->get('policyActions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DlpActionInfo::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyActions'"); + } + + /** + * Gets the processingErrors property value. A collection of errors encountered during the content processing. + * @return array|null + */ + public function getProcessingErrors(): ?array { + $val = $this->getBackingStore()->get('processingErrors'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProcessingError::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'processingErrors'"); + } + + /** + * Gets the protectionScopeState property value. The protectionScopeState property + * @return ProtectionScopeState|null + */ + public function getProtectionScopeState(): ?ProtectionScopeState { + $val = $this->getBackingStore()->get('protectionScopeState'); + if (is_null($val) || $val instanceof ProtectionScopeState) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectionScopeState'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeCollectionOfObjectValues('policyActions', $this->getPolicyActions()); + $writer->writeCollectionOfObjectValues('processingErrors', $this->getProcessingErrors()); + $writer->writeEnumValue('protectionScopeState', $this->getProtectionScopeState()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. NOTE: Currently, the only policy action supported in for this resource type is restrictAccess. + * @param array|null $value Value to set for the policyActions property. + */ + public function setPolicyActions(?array $value): void { + $this->getBackingStore()->set('policyActions', $value); + } + + /** + * Sets the processingErrors property value. A collection of errors encountered during the content processing. + * @param array|null $value Value to set for the processingErrors property. + */ + public function setProcessingErrors(?array $value): void { + $this->getBackingStore()->set('processingErrors', $value); + } + + /** + * Sets the protectionScopeState property value. The protectionScopeState property + * @param ProtectionScopeState|null $value Value to set for the protectionScopeState property. + */ + public function setProtectionScopeState(?ProtectionScopeState $value): void { + $this->getBackingStore()->set('protectionScopeState', $value); + } + +} diff --git a/src/Generated/Models/ProcessContentResponses.php b/src/Generated/Models/ProcessContentResponses.php new file mode 100644 index 00000000000..ecac7e884c7 --- /dev/null +++ b/src/Generated/Models/ProcessContentResponses.php @@ -0,0 +1,158 @@ +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 ProcessContentResponses + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentResponses { + return new ProcessContentResponses(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'requestId' => fn(ParseNode $n) => $o->setRequestId($n->getStringValue()), + 'results' => fn(ParseNode $n) => $o->setResults($n->getObjectValue([ProcessContentResponse::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the requestId property value. The unique identifier that matches the requestId provided in the corresponding processContentBatchRequest. + * @return string|null + */ + public function getRequestId(): ?string { + $val = $this->getBackingStore()->get('requestId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requestId'"); + } + + /** + * Gets the results property value. The results property + * @return ProcessContentResponse|null + */ + public function getResults(): ?ProcessContentResponse { + $val = $this->getBackingStore()->get('results'); + if (is_null($val) || $val instanceof ProcessContentResponse) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'results'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('requestId', $this->getRequestId()); + $writer->writeObjectValue('results', $this->getResults()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the requestId property value. The unique identifier that matches the requestId provided in the corresponding processContentBatchRequest. + * @param string|null $value Value to set for the requestId property. + */ + public function setRequestId(?string $value): void { + $this->getBackingStore()->set('requestId', $value); + } + + /** + * Sets the results property value. The results property + * @param ProcessContentResponse|null $value Value to set for the results property. + */ + public function setResults(?ProcessContentResponse $value): void { + $this->getBackingStore()->set('results', $value); + } + +} diff --git a/src/Generated/Models/ProcessConversationMetadata.php b/src/Generated/Models/ProcessConversationMetadata.php new file mode 100644 index 00000000000..ba3ec5d5dfd --- /dev/null +++ b/src/Generated/Models/ProcessConversationMetadata.php @@ -0,0 +1,124 @@ +setOdataType('#microsoft.graph.processConversationMetadata'); + } + + /** + * 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 ProcessConversationMetadata + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessConversationMetadata { + return new ProcessConversationMetadata(); + } + + /** + * Gets the accessedResources property value. List of resources (for example, file URLs, web URLs) accessed during the generation of this message (relevant for bot interactions). + * @return array|null + */ + public function getAccessedResources(): ?array { + $val = $this->getBackingStore()->get('accessedResources'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'accessedResources'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'accessedResources' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setAccessedResources($val); + }, + 'parentMessageId' => fn(ParseNode $n) => $o->setParentMessageId($n->getStringValue()), + 'plugins' => fn(ParseNode $n) => $o->setPlugins($n->getCollectionOfObjectValues([AiInteractionPlugin::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the parentMessageId property value. Identifier of the parent message in a threaded conversation, if applicable. + * @return string|null + */ + public function getParentMessageId(): ?string { + $val = $this->getBackingStore()->get('parentMessageId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'parentMessageId'"); + } + + /** + * Gets the plugins property value. List of plugins used during the generation of this message (relevant for AI/bot interactions). + * @return array|null + */ + public function getPlugins(): ?array { + $val = $this->getBackingStore()->get('plugins'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AiInteractionPlugin::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'plugins'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfPrimitiveValues('accessedResources', $this->getAccessedResources()); + $writer->writeStringValue('parentMessageId', $this->getParentMessageId()); + $writer->writeCollectionOfObjectValues('plugins', $this->getPlugins()); + } + + /** + * Sets the accessedResources property value. List of resources (for example, file URLs, web URLs) accessed during the generation of this message (relevant for bot interactions). + * @param array|null $value Value to set for the accessedResources property. + */ + public function setAccessedResources(?array $value): void { + $this->getBackingStore()->set('accessedResources', $value); + } + + /** + * Sets the parentMessageId property value. Identifier of the parent message in a threaded conversation, if applicable. + * @param string|null $value Value to set for the parentMessageId property. + */ + public function setParentMessageId(?string $value): void { + $this->getBackingStore()->set('parentMessageId', $value); + } + + /** + * Sets the plugins property value. List of plugins used during the generation of this message (relevant for AI/bot interactions). + * @param array|null $value Value to set for the plugins property. + */ + public function setPlugins(?array $value): void { + $this->getBackingStore()->set('plugins', $value); + } + +} diff --git a/src/Generated/Models/ProcessFileMetadata.php b/src/Generated/Models/ProcessFileMetadata.php new file mode 100644 index 00000000000..68f9704a8f2 --- /dev/null +++ b/src/Generated/Models/ProcessFileMetadata.php @@ -0,0 +1,90 @@ +setOdataType('#microsoft.graph.processFileMetadata'); + } + + /** + * 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 ProcessFileMetadata + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessFileMetadata { + return new ProcessFileMetadata(); + } + + /** + * Gets the customProperties property value. A dictionary containing custom metadata associated with the file, potentially extracted by the calling application. + * @return CustomMetadataDictionary|null + */ + public function getCustomProperties(): ?CustomMetadataDictionary { + $val = $this->getBackingStore()->get('customProperties'); + if (is_null($val) || $val instanceof CustomMetadataDictionary) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'customProperties'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'customProperties' => fn(ParseNode $n) => $o->setCustomProperties($n->getObjectValue([CustomMetadataDictionary::class, 'createFromDiscriminatorValue'])), + 'ownerId' => fn(ParseNode $n) => $o->setOwnerId($n->getStringValue()), + ]); + } + + /** + * Gets the ownerId property value. The unique identifier (for example, Entra User ID or UPN) of the owner of the file. + * @return string|null + */ + public function getOwnerId(): ?string { + $val = $this->getBackingStore()->get('ownerId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'ownerId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('customProperties', $this->getCustomProperties()); + $writer->writeStringValue('ownerId', $this->getOwnerId()); + } + + /** + * Sets the customProperties property value. A dictionary containing custom metadata associated with the file, potentially extracted by the calling application. + * @param CustomMetadataDictionary|null $value Value to set for the customProperties property. + */ + public function setCustomProperties(?CustomMetadataDictionary $value): void { + $this->getBackingStore()->set('customProperties', $value); + } + + /** + * Sets the ownerId property value. The unique identifier (for example, Entra User ID or UPN) of the owner of the file. + * @param string|null $value Value to set for the ownerId property. + */ + public function setOwnerId(?string $value): void { + $this->getBackingStore()->set('ownerId', $value); + } + +} diff --git a/src/Generated/Models/ProcessingError.php b/src/Generated/Models/ProcessingError.php new file mode 100644 index 00000000000..c3228b62235 --- /dev/null +++ b/src/Generated/Models/ProcessingError.php @@ -0,0 +1,67 @@ +getBackingStore()->get('errorType'); + if (is_null($val) || $val instanceof ContentProcessingErrorType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'errorType'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'errorType' => fn(ParseNode $n) => $o->setErrorType($n->getEnumValue(ContentProcessingErrorType::class)), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeEnumValue('errorType', $this->getErrorType()); + } + + /** + * Sets the errorType property value. The errorType property + * @param ContentProcessingErrorType|null $value Value to set for the errorType property. + */ + public function setErrorType(?ContentProcessingErrorType $value): void { + $this->getBackingStore()->set('errorType', $value); + } + +} diff --git a/src/Generated/Models/ProtectedApplicationMetadata.php b/src/Generated/Models/ProtectedApplicationMetadata.php new file mode 100644 index 00000000000..cc9e3c4d1fe --- /dev/null +++ b/src/Generated/Models/ProtectedApplicationMetadata.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.protectedApplicationMetadata'); + } + + /** + * 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 ProtectedApplicationMetadata + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProtectedApplicationMetadata { + return new ProtectedApplicationMetadata(); + } + + /** + * Gets the applicationLocation property value. The client (application) ID of the Microsoft Entra application. Required. + * @return PolicyLocation|null + */ + public function getApplicationLocation(): ?PolicyLocation { + $val = $this->getBackingStore()->get('applicationLocation'); + if (is_null($val) || $val instanceof PolicyLocation) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applicationLocation'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'applicationLocation' => fn(ParseNode $n) => $o->setApplicationLocation($n->getObjectValue([PolicyLocation::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('applicationLocation', $this->getApplicationLocation()); + } + + /** + * Sets the applicationLocation property value. The client (application) ID of the Microsoft Entra application. Required. + * @param PolicyLocation|null $value Value to set for the applicationLocation property. + */ + public function setApplicationLocation(?PolicyLocation $value): void { + $this->getBackingStore()->set('applicationLocation', $value); + } + +} diff --git a/src/Generated/Models/ProtectionScopeState.php b/src/Generated/Models/ProtectionScopeState.php new file mode 100644 index 00000000000..24c8c8899e1 --- /dev/null +++ b/src/Generated/Models/ProtectionScopeState.php @@ -0,0 +1,11 @@ +setOdataType('#microsoft.graph.restrictAccessAction'); + } + + /** + * 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 RestrictAccessAction + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestrictAccessAction { + return new RestrictAccessAction(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/RestrictAccessActionBase.php b/src/Generated/Models/RestrictAccessActionBase.php new file mode 100644 index 00000000000..15ee27f2886 --- /dev/null +++ b/src/Generated/Models/RestrictAccessActionBase.php @@ -0,0 +1,74 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.restrictAccessAction': return new RestrictAccessAction(); + } + } + return new RestrictAccessActionBase(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'restrictionAction' => fn(ParseNode $n) => $o->setRestrictionAction($n->getEnumValue(RestrictionAction::class)), + ]); + } + + /** + * Gets the restrictionAction property value. Action for the app to take. The possible values are: warn, audit, block. + * @return RestrictionAction|null + */ + public function getRestrictionAction(): ?RestrictionAction { + $val = $this->getBackingStore()->get('restrictionAction'); + if (is_null($val) || $val instanceof RestrictionAction) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'restrictionAction'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeEnumValue('restrictionAction', $this->getRestrictionAction()); + } + + /** + * Sets the restrictionAction property value. Action for the app to take. The possible values are: warn, audit, block. + * @param RestrictionAction|null $value Value to set for the restrictionAction property. + */ + public function setRestrictionAction(?RestrictionAction $value): void { + $this->getBackingStore()->set('restrictionAction', $value); + } + +} diff --git a/src/Generated/Models/RestrictionAction.php b/src/Generated/Models/RestrictionAction.php new file mode 100644 index 00000000000..4f010b1142d --- /dev/null +++ b/src/Generated/Models/RestrictionAction.php @@ -0,0 +1,11 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ScopeBase + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ScopeBase { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.groupScope': return new GroupScope(); + case '#microsoft.graph.tenantScope': return new TenantScope(); + case '#microsoft.graph.userScope': return new UserScope(); + } + } + return new ScopeBase(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'identity' => fn(ParseNode $n) => $o->setIdentity($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the identity property value. The identifier for the scope. This could be a user ID, group ID, or a keyword like 'All' for tenant scope. + * @return string|null + */ + public function getIdentity(): ?string { + $val = $this->getBackingStore()->get('identity'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'identity'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('identity', $this->getIdentity()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the identity property value. The identifier for the scope. This could be a user ID, group ID, or a keyword like 'All' for tenant scope. + * @param string|null $value Value to set for the identity property. + */ + public function setIdentity(?string $value): void { + $this->getBackingStore()->set('identity', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/Security/Security.php b/src/Generated/Models/Security/Security.php index 75b2f0118ca..33eeba04935 100644 --- a/src/Generated/Models/Security/Security.php +++ b/src/Generated/Models/Security/Security.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Generated\Models\SecureScore; use Microsoft\Graph\Generated\Models\SecureScoreControlProfile; use Microsoft\Graph\Generated\Models\SubjectRightsRequest; +use Microsoft\Graph\Generated\Models\TenantDataSecurityAndGovernance; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -83,6 +84,18 @@ public function getCases(): ?CasesRoot { throw new \UnexpectedValueException("Invalid type found in backing store for 'cases'"); } + /** + * Gets the dataSecurityAndGovernance property value. The dataSecurityAndGovernance property + * @return TenantDataSecurityAndGovernance|null + */ + public function getDataSecurityAndGovernance(): ?TenantDataSecurityAndGovernance { + $val = $this->getBackingStore()->get('dataSecurityAndGovernance'); + if (is_null($val) || $val instanceof TenantDataSecurityAndGovernance) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'dataSecurityAndGovernance'"); + } + /** * The deserialization information for the current model * @return array @@ -94,6 +107,7 @@ public function getFieldDeserializers(): array { 'alerts_v2' => fn(ParseNode $n) => $o->setAlertsV2($n->getCollectionOfObjectValues([Alert::class, 'createFromDiscriminatorValue'])), 'attackSimulation' => fn(ParseNode $n) => $o->setAttackSimulation($n->getObjectValue([AttackSimulationRoot::class, 'createFromDiscriminatorValue'])), 'cases' => fn(ParseNode $n) => $o->setCases($n->getObjectValue([CasesRoot::class, 'createFromDiscriminatorValue'])), + 'dataSecurityAndGovernance' => fn(ParseNode $n) => $o->setDataSecurityAndGovernance($n->getObjectValue([TenantDataSecurityAndGovernance::class, 'createFromDiscriminatorValue'])), 'identities' => fn(ParseNode $n) => $o->setIdentities($n->getObjectValue([IdentityContainer::class, 'createFromDiscriminatorValue'])), 'incidents' => fn(ParseNode $n) => $o->setIncidents($n->getCollectionOfObjectValues([Incident::class, 'createFromDiscriminatorValue'])), 'labels' => fn(ParseNode $n) => $o->setLabels($n->getObjectValue([LabelsRoot::class, 'createFromDiscriminatorValue'])), @@ -232,6 +246,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('alerts_v2', $this->getAlertsV2()); $writer->writeObjectValue('attackSimulation', $this->getAttackSimulation()); $writer->writeObjectValue('cases', $this->getCases()); + $writer->writeObjectValue('dataSecurityAndGovernance', $this->getDataSecurityAndGovernance()); $writer->writeObjectValue('identities', $this->getIdentities()); $writer->writeCollectionOfObjectValues('incidents', $this->getIncidents()); $writer->writeObjectValue('labels', $this->getLabels()); @@ -275,6 +290,14 @@ public function setCases(?CasesRoot $value): void { $this->getBackingStore()->set('cases', $value); } + /** + * Sets the dataSecurityAndGovernance property value. The dataSecurityAndGovernance property + * @param TenantDataSecurityAndGovernance|null $value Value to set for the dataSecurityAndGovernance property. + */ + public function setDataSecurityAndGovernance(?TenantDataSecurityAndGovernance $value): void { + $this->getBackingStore()->set('dataSecurityAndGovernance', $value); + } + /** * Sets the identities property value. A container for security identities APIs. * @param IdentityContainer|null $value Value to set for the identities property. diff --git a/src/Generated/Models/TenantDataSecurityAndGovernance.php b/src/Generated/Models/TenantDataSecurityAndGovernance.php new file mode 100644 index 00000000000..0d36ee71545 --- /dev/null +++ b/src/Generated/Models/TenantDataSecurityAndGovernance.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.tenantDataSecurityAndGovernance'); + } + + /** + * 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 TenantDataSecurityAndGovernance + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TenantDataSecurityAndGovernance { + return new TenantDataSecurityAndGovernance(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'protectionScopes' => fn(ParseNode $n) => $o->setProtectionScopes($n->getObjectValue([TenantProtectionScopeContainer::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the protectionScopes property value. The protectionScopes property + * @return TenantProtectionScopeContainer|null + */ + public function getProtectionScopes(): ?TenantProtectionScopeContainer { + $val = $this->getBackingStore()->get('protectionScopes'); + if (is_null($val) || $val instanceof TenantProtectionScopeContainer) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectionScopes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('protectionScopes', $this->getProtectionScopes()); + } + + /** + * Sets the protectionScopes property value. The protectionScopes property + * @param TenantProtectionScopeContainer|null $value Value to set for the protectionScopes property. + */ + public function setProtectionScopes(?TenantProtectionScopeContainer $value): void { + $this->getBackingStore()->set('protectionScopes', $value); + } + +} diff --git a/src/Generated/Models/TenantProtectionScopeContainer.php b/src/Generated/Models/TenantProtectionScopeContainer.php new file mode 100644 index 00000000000..e6f6c1c5280 --- /dev/null +++ b/src/Generated/Models/TenantProtectionScopeContainer.php @@ -0,0 +1,45 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/TenantScope.php b/src/Generated/Models/TenantScope.php new file mode 100644 index 00000000000..e323d882dce --- /dev/null +++ b/src/Generated/Models/TenantScope.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.tenantScope'); + } + + /** + * 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 TenantScope + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TenantScope { + return new TenantScope(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/TextContent.php b/src/Generated/Models/TextContent.php new file mode 100644 index 00000000000..e7b91668e1a --- /dev/null +++ b/src/Generated/Models/TextContent.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.textContent'); + } + + /** + * 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 TextContent + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TextContent { + return new TextContent(); + } + + /** + * Gets the data property value. The text content data. Inherits properties from contentBase. + * @return string|null + */ + public function getData(): ?string { + $val = $this->getBackingStore()->get('data'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'data'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'data' => fn(ParseNode $n) => $o->setData($n->getStringValue()), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('data', $this->getData()); + } + + /** + * Sets the data property value. The text content data. Inherits properties from contentBase. + * @param string|null $value Value to set for the data property. + */ + public function setData(?string $value): void { + $this->getBackingStore()->set('data', $value); + } + +} diff --git a/src/Generated/Models/UploadSession.php b/src/Generated/Models/UploadSession.php index 8b827001968..190490de301 100644 --- a/src/Generated/Models/UploadSession.php +++ b/src/Generated/Models/UploadSession.php @@ -58,7 +58,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the expirationDateTime property value. The date and time in UTC that the upload session will expire. The complete file must be uploaded before this expiration time is reached. + * Gets the expirationDateTime property value. The date and time in UTC that the upload session expires. The complete file must be uploaded before this expiration time is reached. Each fragment uploaded during the session extends the expiration time. * @return DateTime|null */ public function getExpirationDateTime(): ?DateTime { @@ -157,7 +157,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the expirationDateTime property value. The date and time in UTC that the upload session will expire. The complete file must be uploaded before this expiration time is reached. + * Sets the expirationDateTime property value. The date and time in UTC that the upload session expires. The complete file must be uploaded before this expiration time is reached. Each fragment uploaded during the session extends the expiration time. * @param DateTime|null $value Value to set for the expirationDateTime property. */ public function setExpirationDateTime(?DateTime $value): void { diff --git a/src/Generated/Models/UsageRights.php b/src/Generated/Models/UsageRights.php new file mode 100644 index 00000000000..50ebc754d69 --- /dev/null +++ b/src/Generated/Models/UsageRights.php @@ -0,0 +1,29 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'ownerEmail' => fn(ParseNode $n) => $o->setOwnerEmail($n->getStringValue()), + 'userEmail' => fn(ParseNode $n) => $o->setUserEmail($n->getStringValue()), + 'value' => fn(ParseNode $n) => $o->setValue($n->getEnumValue(UsageRights::class)), + ]); + } + + /** + * Gets the ownerEmail property value. The email of owner label rights. + * @return string|null + */ + public function getOwnerEmail(): ?string { + $val = $this->getBackingStore()->get('ownerEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'ownerEmail'"); + } + + /** + * Gets the userEmail property value. The email of user with label user rights. + * @return string|null + */ + public function getUserEmail(): ?string { + $val = $this->getBackingStore()->get('userEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userEmail'"); + } + + /** + * Gets the value property value. The value property + * @return UsageRights|null + */ + public function getValue(): ?UsageRights { + $val = $this->getBackingStore()->get('value'); + if (is_null($val) || $val instanceof UsageRights) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('ownerEmail', $this->getOwnerEmail()); + $writer->writeStringValue('userEmail', $this->getUserEmail()); + $writer->writeEnumValue('value', $this->getValue()); + } + + /** + * Sets the ownerEmail property value. The email of owner label rights. + * @param string|null $value Value to set for the ownerEmail property. + */ + public function setOwnerEmail(?string $value): void { + $this->getBackingStore()->set('ownerEmail', $value); + } + + /** + * Sets the userEmail property value. The email of user with label user rights. + * @param string|null $value Value to set for the userEmail property. + */ + public function setUserEmail(?string $value): void { + $this->getBackingStore()->set('userEmail', $value); + } + + /** + * Sets the value property value. The value property + * @param UsageRights|null $value Value to set for the value property. + */ + public function setValue(?UsageRights $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/User.php b/src/Generated/Models/User.php index e528da88929..9327b5fed33 100644 --- a/src/Generated/Models/User.php +++ b/src/Generated/Models/User.php @@ -392,6 +392,18 @@ public function getCustomSecurityAttributes(): ?CustomSecurityAttributeValue { throw new \UnexpectedValueException("Invalid type found in backing store for 'customSecurityAttributes'"); } + /** + * Gets the dataSecurityAndGovernance property value. The data security and governance settings for the user. Read-only. Nullable. + * @return UserDataSecurityAndGovernance|null + */ + public function getDataSecurityAndGovernance(): ?UserDataSecurityAndGovernance { + $val = $this->getBackingStore()->get('dataSecurityAndGovernance'); + if (is_null($val) || $val instanceof UserDataSecurityAndGovernance) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'dataSecurityAndGovernance'"); + } + /** * Gets the department property value. The name of the department in which the user works. Maximum length is 64 characters. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, and eq on null values). * @return string|null @@ -672,6 +684,7 @@ public function getFieldDeserializers(): array { 'createdObjects' => fn(ParseNode $n) => $o->setCreatedObjects($n->getCollectionOfObjectValues([DirectoryObject::class, 'createFromDiscriminatorValue'])), 'creationType' => fn(ParseNode $n) => $o->setCreationType($n->getStringValue()), 'customSecurityAttributes' => fn(ParseNode $n) => $o->setCustomSecurityAttributes($n->getObjectValue([CustomSecurityAttributeValue::class, 'createFromDiscriminatorValue'])), + 'dataSecurityAndGovernance' => fn(ParseNode $n) => $o->setDataSecurityAndGovernance($n->getObjectValue([UserDataSecurityAndGovernance::class, 'createFromDiscriminatorValue'])), 'department' => fn(ParseNode $n) => $o->setDepartment($n->getStringValue()), 'deviceEnrollmentLimit' => fn(ParseNode $n) => $o->setDeviceEnrollmentLimit($n->getIntegerValue()), 'deviceManagementTroubleshootingEvents' => fn(ParseNode $n) => $o->setDeviceManagementTroubleshootingEvents($n->getCollectionOfObjectValues([DeviceManagementTroubleshootingEvent::class, 'createFromDiscriminatorValue'])), @@ -1914,6 +1927,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('createdObjects', $this->getCreatedObjects()); $writer->writeStringValue('creationType', $this->getCreationType()); $writer->writeObjectValue('customSecurityAttributes', $this->getCustomSecurityAttributes()); + $writer->writeObjectValue('dataSecurityAndGovernance', $this->getDataSecurityAndGovernance()); $writer->writeStringValue('department', $this->getDepartment()); $writer->writeIntegerValue('deviceEnrollmentLimit', $this->getDeviceEnrollmentLimit()); $writer->writeCollectionOfObjectValues('deviceManagementTroubleshootingEvents', $this->getDeviceManagementTroubleshootingEvents()); @@ -2241,6 +2255,14 @@ public function setCustomSecurityAttributes(?CustomSecurityAttributeValue $value $this->getBackingStore()->set('customSecurityAttributes', $value); } + /** + * Sets the dataSecurityAndGovernance property value. The data security and governance settings for the user. Read-only. Nullable. + * @param UserDataSecurityAndGovernance|null $value Value to set for the dataSecurityAndGovernance property. + */ + public function setDataSecurityAndGovernance(?UserDataSecurityAndGovernance $value): void { + $this->getBackingStore()->set('dataSecurityAndGovernance', $value); + } + /** * Sets the department property value. The name of the department in which the user works. Maximum length is 64 characters. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, and eq on null values). * @param string|null $value Value to set for the department property. diff --git a/src/Generated/Models/UserActivityType.php b/src/Generated/Models/UserActivityType.php new file mode 100644 index 00000000000..ba4aeb8daa9 --- /dev/null +++ b/src/Generated/Models/UserActivityType.php @@ -0,0 +1,13 @@ +setOdataType('#microsoft.graph.userDataSecurityAndGovernance'); + } + + /** + * 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 UserDataSecurityAndGovernance + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserDataSecurityAndGovernance { + return new UserDataSecurityAndGovernance(); + } + + /** + * Gets the activities property value. Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. + * @return ActivitiesContainer|null + */ + public function getActivities(): ?ActivitiesContainer { + $val = $this->getBackingStore()->get('activities'); + if (is_null($val) || $val instanceof ActivitiesContainer) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activities'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'activities' => fn(ParseNode $n) => $o->setActivities($n->getObjectValue([ActivitiesContainer::class, 'createFromDiscriminatorValue'])), + 'protectionScopes' => fn(ParseNode $n) => $o->setProtectionScopes($n->getObjectValue([UserProtectionScopeContainer::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the protectionScopes property value. The protectionScopes property + * @return UserProtectionScopeContainer|null + */ + public function getProtectionScopes(): ?UserProtectionScopeContainer { + $val = $this->getBackingStore()->get('protectionScopes'); + if (is_null($val) || $val instanceof UserProtectionScopeContainer) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectionScopes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('activities', $this->getActivities()); + $writer->writeObjectValue('protectionScopes', $this->getProtectionScopes()); + } + + /** + * Sets the activities property value. Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. + * @param ActivitiesContainer|null $value Value to set for the activities property. + */ + public function setActivities(?ActivitiesContainer $value): void { + $this->getBackingStore()->set('activities', $value); + } + + /** + * Sets the protectionScopes property value. The protectionScopes property + * @param UserProtectionScopeContainer|null $value Value to set for the protectionScopes property. + */ + public function setProtectionScopes(?UserProtectionScopeContainer $value): void { + $this->getBackingStore()->set('protectionScopes', $value); + } + +} diff --git a/src/Generated/Models/UserProtectionScopeContainer.php b/src/Generated/Models/UserProtectionScopeContainer.php new file mode 100644 index 00000000000..2ce76912663 --- /dev/null +++ b/src/Generated/Models/UserProtectionScopeContainer.php @@ -0,0 +1,45 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/UserScope.php b/src/Generated/Models/UserScope.php new file mode 100644 index 00000000000..5a3a9aed573 --- /dev/null +++ b/src/Generated/Models/UserScope.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.userScope'); + } + + /** + * 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 UserScope + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserScope { + return new UserScope(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/WorkbookWorksheetProtectionOptions.php b/src/Generated/Models/WorkbookWorksheetProtectionOptions.php index eb3f1e6a2ec..5e08ab1aa53 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. Represents the worksheet protection option of allowing using auto filter feature. + * Gets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. * @return bool|null */ public function getAllowAutoFilter(): ?bool { @@ -60,7 +60,7 @@ public function getAllowAutoFilter(): ?bool { } /** - * Gets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. + * Gets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. * @return bool|null */ public function getAllowDeleteColumns(): ?bool { @@ -72,7 +72,7 @@ public function getAllowDeleteColumns(): ?bool { } /** - * Gets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. + * Gets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. * @return bool|null */ public function getAllowDeleteRows(): ?bool { @@ -84,7 +84,7 @@ public function getAllowDeleteRows(): ?bool { } /** - * Gets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. + * Gets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. * @return bool|null */ public function getAllowFormatCells(): ?bool { @@ -96,7 +96,7 @@ public function getAllowFormatCells(): ?bool { } /** - * Gets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. + * Gets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. * @return bool|null */ public function getAllowFormatColumns(): ?bool { @@ -108,7 +108,7 @@ public function getAllowFormatColumns(): ?bool { } /** - * Gets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. + * Gets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. * @return bool|null */ public function getAllowFormatRows(): ?bool { @@ -120,7 +120,7 @@ public function getAllowFormatRows(): ?bool { } /** - * Gets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. + * Gets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. * @return bool|null */ public function getAllowInsertColumns(): ?bool { @@ -132,7 +132,7 @@ public function getAllowInsertColumns(): ?bool { } /** - * Gets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. + * Gets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. * @return bool|null */ public function getAllowInsertHyperlinks(): ?bool { @@ -144,7 +144,7 @@ public function getAllowInsertHyperlinks(): ?bool { } /** - * Gets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. + * Gets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. * @return bool|null */ public function getAllowInsertRows(): ?bool { @@ -156,7 +156,7 @@ public function getAllowInsertRows(): ?bool { } /** - * Gets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. + * Gets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. * @return bool|null */ public function getAllowPivotTables(): ?bool { @@ -168,7 +168,7 @@ public function getAllowPivotTables(): ?bool { } /** - * Gets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. + * Gets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. * @return bool|null */ public function getAllowSort(): ?bool { @@ -250,7 +250,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. + * Sets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. * @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. Represents the worksheet protection option of allowing deleting columns. + * Sets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. * @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. Represents the worksheet protection option of allowing deleting rows. + * Sets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. * @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. Represents the worksheet protection option of allowing formatting cells. + * Sets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. * @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. Represents the worksheet protection option of allowing formatting columns. + * Sets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. * @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. Represents the worksheet protection option of allowing formatting rows. + * Sets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. * @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. Represents the worksheet protection option of allowing inserting columns. + * Sets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. * @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. Represents the worksheet protection option of allowing inserting hyperlinks. + * Sets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. * @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. Represents the worksheet protection option of allowing inserting rows. + * Sets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. * @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. Represents the worksheet protection option of allowing using pivot table feature. + * Sets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. * @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. Represents the worksheet protection option of allowing using sort feature. + * Sets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. * @param bool|null $value Value to set for the allowSort property. */ public function setAllowSort(?bool $value): void { diff --git a/src/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index b0d6555d145..7d00e8929c0 100644 --- a/src/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php index 7b3508bdb1f..fce821c0172 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php @@ -117,11 +117,11 @@ public function delete(?OrganizationItemRequestBuilderDeleteRequestConfiguration } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|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-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -166,7 +166,7 @@ public function toDeleteRequestInformation(?OrganizationItemRequestBuilderDelete } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php index 4f144e8136a..8c22067b457 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. */ class OrganizationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/OrganizationRequestBuilder.php b/src/Generated/Organization/OrganizationRequestBuilder.php index 219b772dec8..ac128723db2 100644 --- a/src/Generated/Organization/OrganizationRequestBuilder.php +++ b/src/Generated/Organization/OrganizationRequestBuilder.php @@ -84,11 +84,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @param OrganizationRequestBuilderGetRequestConfiguration|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-organization-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -114,7 +114,7 @@ public function post(Organization $body, ?OrganizationRequestBuilderPostRequestC } /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @param OrganizationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php b/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php index dbe1dd5d054..10597c442ed 100644 --- a/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. */ class OrganizationRequestBuilderGetQueryParameters { diff --git a/src/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 92176d7605c..d019c1b05af 100644 --- a/src/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php index 9553a58e1a3..ffa340b7fe4 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php @@ -61,12 +61,12 @@ public function get(?IdentitySynchronizationRequestBuilderGetRequestConfiguratio } /** - * Create a cross-tenant user synchronization policy for a partner-specific configuration. + * Update the user synchronization policy of a partner-specific configuration. * @param CrossTenantIdentitySyncPolicyPartner $body The request body * @param IdentitySynchronizationRequestBuilderPutRequestConfiguration|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/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0 Find more info here */ public function put(CrossTenantIdentitySyncPolicyPartner $body, ?IdentitySynchronizationRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -116,7 +116,7 @@ public function toGetRequestInformation(?IdentitySynchronizationRequestBuilderGe } /** - * Create a cross-tenant user synchronization policy for a partner-specific configuration. + * Update the user synchronization policy of a partner-specific configuration. * @param CrossTenantIdentitySyncPolicyPartner $body The request body * @param IdentitySynchronizationRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.php new file mode 100644 index 00000000000..49b117e73bf --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.php @@ -0,0 +1,160 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the protectionScopes property of the microsoft.graph.tenantDataSecurityAndGovernance entity. + */ + public function protectionScopes(): ProtectionScopesRequestBuilder { + return new ProtectionScopesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new DataSecurityAndGovernanceRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/security/dataSecurityAndGovernance{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property dataSecurityAndGovernance for security + * @param DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get dataSecurityAndGovernance from security + * @param DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantDataSecurityAndGovernance::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property dataSecurityAndGovernance in security + * @param TenantDataSecurityAndGovernance $body The request body + * @param DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TenantDataSecurityAndGovernance $body, ?DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantDataSecurityAndGovernance::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property dataSecurityAndGovernance for security + * @param DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get dataSecurityAndGovernance from security + * @param DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property dataSecurityAndGovernance in security + * @param TenantDataSecurityAndGovernance $body The request body + * @param DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TenantDataSecurityAndGovernance $body, ?DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DataSecurityAndGovernanceRequestBuilder + */ + public function withUrl(string $rawUrl): DataSecurityAndGovernanceRequestBuilder { + return new DataSecurityAndGovernanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..cb732908be8 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..8af81934d7e --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.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 DataSecurityAndGovernanceRequestBuilderGetQueryParameters 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/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..789775ec4c5 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DataSecurityAndGovernanceRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DataSecurityAndGovernanceRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DataSecurityAndGovernanceRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return DataSecurityAndGovernanceRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): DataSecurityAndGovernanceRequestBuilderGetQueryParameters { + return new DataSecurityAndGovernanceRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..52057aead3d --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostRequestBody.php b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostRequestBody.php new file mode 100644 index 00000000000..f78f6f2e24a --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostRequestBody.php @@ -0,0 +1,118 @@ +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 ProcessContentAsyncPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentAsyncPostRequestBody { + return new ProcessContentAsyncPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'processContentRequests' => fn(ParseNode $n) => $o->setProcessContentRequests($n->getCollectionOfObjectValues([ProcessContentBatchRequest::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the processContentRequests property value. The processContentRequests property + * @return array|null + */ + public function getProcessContentRequests(): ?array { + $val = $this->getBackingStore()->get('processContentRequests'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProcessContentBatchRequest::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'processContentRequests'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('processContentRequests', $this->getProcessContentRequests()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the processContentRequests property value. The processContentRequests property + * @param array|null $value Value to set for the processContentRequests property. + */ + public function setProcessContentRequests(?array $value): void { + $this->getBackingStore()->set('processContentRequests', $value); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostResponse.php b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostResponse.php new file mode 100644 index 00000000000..07bec48686f --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ProcessContentResponses::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProcessContentResponses::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilder.php new file mode 100644 index 00000000000..ce705677027 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/security/dataSecurityAndGovernance/processContentAsync'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action processContentAsync + * @param ProcessContentAsyncPostRequestBody $body The request body + * @param ProcessContentAsyncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ProcessContentAsyncPostRequestBody $body, ?ProcessContentAsyncRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProcessContentAsyncPostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action processContentAsync + * @param ProcessContentAsyncPostRequestBody $body The request body + * @param ProcessContentAsyncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ProcessContentAsyncPostRequestBody $body, ?ProcessContentAsyncRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ProcessContentAsyncRequestBuilder + */ + public function withUrl(string $rawUrl): ProcessContentAsyncRequestBuilder { + return new ProcessContentAsyncRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..ab754fe4981 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.php new file mode 100644 index 00000000000..9dce233c57a --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.php @@ -0,0 +1,210 @@ +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 ComputePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputePostRequestBody { + return new ComputePostRequestBody(); + } + + /** + * Gets the activities property value. The activities property + * @return UserActivityTypes|null + */ + public function getActivities(): ?UserActivityTypes { + $val = $this->getBackingStore()->get('activities'); + if (is_null($val) || $val instanceof UserActivityTypes) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activities'"); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the deviceMetadata property value. The deviceMetadata property + * @return DeviceMetadata|null + */ + public function getDeviceMetadata(): ?DeviceMetadata { + $val = $this->getBackingStore()->get('deviceMetadata'); + if (is_null($val) || $val instanceof DeviceMetadata) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceMetadata'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'activities' => fn(ParseNode $n) => $o->setActivities($n->getEnumValue(UserActivityTypes::class)), + 'deviceMetadata' => fn(ParseNode $n) => $o->setDeviceMetadata($n->getObjectValue([DeviceMetadata::class, 'createFromDiscriminatorValue'])), + 'integratedAppMetadata' => fn(ParseNode $n) => $o->setIntegratedAppMetadata($n->getObjectValue([IntegratedApplicationMetadata::class, 'createFromDiscriminatorValue'])), + 'locations' => fn(ParseNode $n) => $o->setLocations($n->getCollectionOfObjectValues([PolicyLocation::class, 'createFromDiscriminatorValue'])), + 'pivotOn' => fn(ParseNode $n) => $o->setPivotOn($n->getEnumValue(PolicyPivotProperty::class)), + ]; + } + + /** + * Gets the integratedAppMetadata property value. The integratedAppMetadata property + * @return IntegratedApplicationMetadata|null + */ + public function getIntegratedAppMetadata(): ?IntegratedApplicationMetadata { + $val = $this->getBackingStore()->get('integratedAppMetadata'); + if (is_null($val) || $val instanceof IntegratedApplicationMetadata) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'integratedAppMetadata'"); + } + + /** + * Gets the locations property value. The locations property + * @return array|null + */ + public function getLocations(): ?array { + $val = $this->getBackingStore()->get('locations'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, PolicyLocation::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locations'"); + } + + /** + * Gets the pivotOn property value. The pivotOn property + * @return PolicyPivotProperty|null + */ + public function getPivotOn(): ?PolicyPivotProperty { + $val = $this->getBackingStore()->get('pivotOn'); + if (is_null($val) || $val instanceof PolicyPivotProperty) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'pivotOn'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('activities', $this->getActivities()); + $writer->writeObjectValue('deviceMetadata', $this->getDeviceMetadata()); + $writer->writeObjectValue('integratedAppMetadata', $this->getIntegratedAppMetadata()); + $writer->writeCollectionOfObjectValues('locations', $this->getLocations()); + $writer->writeEnumValue('pivotOn', $this->getPivotOn()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the activities property value. The activities property + * @param UserActivityTypes|null $value Value to set for the activities property. + */ + public function setActivities(?UserActivityTypes $value): void { + $this->getBackingStore()->set('activities', $value); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the deviceMetadata property value. The deviceMetadata property + * @param DeviceMetadata|null $value Value to set for the deviceMetadata property. + */ + public function setDeviceMetadata(?DeviceMetadata $value): void { + $this->getBackingStore()->set('deviceMetadata', $value); + } + + /** + * Sets the integratedAppMetadata property value. The integratedAppMetadata property + * @param IntegratedApplicationMetadata|null $value Value to set for the integratedAppMetadata property. + */ + public function setIntegratedAppMetadata(?IntegratedApplicationMetadata $value): void { + $this->getBackingStore()->set('integratedAppMetadata', $value); + } + + /** + * Sets the locations property value. The locations property + * @param array|null $value Value to set for the locations property. + */ + public function setLocations(?array $value): void { + $this->getBackingStore()->set('locations', $value); + } + + /** + * Sets the pivotOn property value. The pivotOn property + * @param PolicyPivotProperty|null $value Value to set for the pivotOn property. + */ + public function setPivotOn(?PolicyPivotProperty $value): void { + $this->getBackingStore()->set('pivotOn', $value); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.php new file mode 100644 index 00000000000..f928dc3b503 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([PolicyTenantScope::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, PolicyTenantScope::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.php new file mode 100644 index 00000000000..c7a7835995a --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/security/dataSecurityAndGovernance/protectionScopes/compute'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action compute + * @param ComputePostRequestBody $body The request body + * @param ComputeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ComputePostRequestBody $body, ?ComputeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action compute + * @param ComputePostRequestBody $body The request body + * @param ComputeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputePostRequestBody $body, ?ComputeRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ComputeRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRequestBuilder { + return new ComputeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..cbe209aecb3 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.php new file mode 100644 index 00000000000..ebbae37a1a5 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new ProtectionScopesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/security/dataSecurityAndGovernance/protectionScopes{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property protectionScopes for security + * @param ProtectionScopesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ProtectionScopesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Container for actions related to computing tenant-wide data protection scopes. + * @param ProtectionScopesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ProtectionScopesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantProtectionScopeContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property protectionScopes in security + * @param TenantProtectionScopeContainer $body The request body + * @param ProtectionScopesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TenantProtectionScopeContainer $body, ?ProtectionScopesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantProtectionScopeContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property protectionScopes for security + * @param ProtectionScopesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ProtectionScopesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Container for actions related to computing tenant-wide data protection scopes. + * @param ProtectionScopesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ProtectionScopesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property protectionScopes in security + * @param TenantProtectionScopeContainer $body The request body + * @param ProtectionScopesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TenantProtectionScopeContainer $body, ?ProtectionScopesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ProtectionScopesRequestBuilder + */ + public function withUrl(string $rawUrl): ProtectionScopesRequestBuilder { + return new ProtectionScopesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..d446a807a1c --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c7af3e0f9a8 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.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 ProtectionScopesRequestBuilderGetQueryParameters 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/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9a35131a27e --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ProtectionScopesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ProtectionScopesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ProtectionScopesRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ProtectionScopesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ProtectionScopesRequestBuilderGetQueryParameters { + return new ProtectionScopesRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..71daf10143a --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Security/SecurityRequestBuilder.php b/src/Generated/Security/SecurityRequestBuilder.php index d13383a71ae..7c8d249bd55 100644 --- a/src/Generated/Security/SecurityRequestBuilder.php +++ b/src/Generated/Security/SecurityRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Security\Alerts\AlertsRequestBuilder; use Microsoft\Graph\Generated\Security\AttackSimulation\AttackSimulationRequestBuilder; use Microsoft\Graph\Generated\Security\Cases\CasesRequestBuilder; +use Microsoft\Graph\Generated\Security\DataSecurityAndGovernance\DataSecurityAndGovernanceRequestBuilder; use Microsoft\Graph\Generated\Security\Identities\IdentitiesRequestBuilder; use Microsoft\Graph\Generated\Security\Incidents\IncidentsRequestBuilder; use Microsoft\Graph\Generated\Security\Labels\LabelsRequestBuilder; @@ -58,6 +59,13 @@ public function cases(): CasesRequestBuilder { return new CasesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity. + */ + public function dataSecurityAndGovernance(): DataSecurityAndGovernanceRequestBuilder { + return new DataSecurityAndGovernanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the identities property of the microsoft.graph.security entity. */ diff --git a/src/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 782537592c1..951aa93f9bd 100644 --- a/src/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.php b/src/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.php index 84f28247563..370ac8c0268 100644 --- a/src/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead. + * Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don't have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won't be able to use this service action. Update servicePrincipal can be used to perform an update instead. * @param AddKeyPostRequestBody $body The request body * @param AddKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddKeyPostRequestBody $body, ?AddKeyRequestBuilderPostReque } /** - * Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead. + * Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don't have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won't be able to use this service action. Update servicePrincipal can be used to perform an update instead. * @param AddKeyPostRequestBody $body The request body * @param AddKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php index 624c79020e2..c03e7cf99ff 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php @@ -109,11 +109,11 @@ public function delete(?ListItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Get a list of rich long-running operations associated with a list. + * Returns the metadata for a list. * @param ListItemRequestBuilderGetRequestConfiguration|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/list-list-operations?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 Find more info here */ public function get(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -157,7 +157,7 @@ public function toDeleteRequestInformation(?ListItemRequestBuilderDeleteRequestC } /** - * Get a list of rich long-running operations associated with a list. + * Returns the metadata for a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php index 779041bf847..aed7732a9cd 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of rich long-running operations associated with a list. + * Returns the metadata for a list. */ class ListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/SitesRequestBuilder.php b/src/Generated/Sites/SitesRequestBuilder.php index 5762865a54b..3d7f8acc4b4 100644 --- a/src/Generated/Sites/SitesRequestBuilder.php +++ b/src/Generated/Sites/SitesRequestBuilder.php @@ -83,11 +83,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. * @param SitesRequestBuilderGetRequestConfiguration|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/site-search?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0 Find more info here */ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -98,7 +98,7 @@ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php index 8e8b1c7a645..66d728ca0a9 100644 --- a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. */ class SitesRequestBuilderGetQueryParameters { 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..d4737b4d6cd 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|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-delete-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|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 f1f33b70042..9c38996ccac 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php @@ -83,12 +83,12 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/conversationmember-add?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 Find more info here */ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -120,7 +120,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php index a4cba0db502..aecc3a908a2 100644 --- a/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipient' => fn(ParseNode $n) => $o->setRecipient($n->getObjectValue([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -170,6 +183,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeObjectValue('recipient', $this->getRecipient()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -210,6 +224,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.php b/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.php index a0166ac4a8b..5573e166f06 100644 --- a/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.php +++ b/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipients' => fn(ParseNode $n) => $o->setRecipients($n->getCollectionOfObjectValues([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -172,6 +185,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeCollectionOfObjectValues('recipients', $this->getRecipients()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -212,6 +226,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 13c04aa6baf..4c142580e18 100644 --- a/src/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + * Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php index 409497a7f3d..7e3dacd8d7c 100644 --- a/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipient' => fn(ParseNode $n) => $o->setRecipient($n->getObjectValue([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -170,6 +183,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeObjectValue('recipient', $this->getRecipient()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -210,6 +224,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.php new file mode 100644 index 00000000000..06141461930 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new ActivitiesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property activities for users + * @param ActivitiesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ActivitiesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. + * @param ActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ActivitiesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ActivitiesContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property activities in users + * @param ActivitiesContainer $body The request body + * @param ActivitiesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(ActivitiesContainer $body, ?ActivitiesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ActivitiesContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property activities for users + * @param ActivitiesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ActivitiesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. + * @param ActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ActivitiesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property activities in users + * @param ActivitiesContainer $body The request body + * @param ActivitiesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ActivitiesContainer $body, ?ActivitiesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ActivitiesRequestBuilder + */ + public function withUrl(string $rawUrl): ActivitiesRequestBuilder { + return new ActivitiesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..dd52a5bf791 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..6e9acaf6fa4 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderGetQueryParameters.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 ActivitiesRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..12cf2b68bcb --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ActivitiesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ActivitiesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ActivitiesRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ActivitiesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ActivitiesRequestBuilderGetQueryParameters { + return new ActivitiesRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Contacts/Item/OrgContactItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderPatchRequestConfiguration.php similarity index 65% rename from src/Generated/Contacts/Item/OrgContactItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderPatchRequestConfiguration.php index 2ea9fd19a82..2cd773b682c 100644 --- a/src/Generated/Contacts/Item/OrgContactItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.php new file mode 100644 index 00000000000..a937f671a22 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. + * @param string $contentActivityId The unique identifier of contentActivity + * @return ContentActivityItemRequestBuilder + */ + public function byContentActivityId(string $contentActivityId): ContentActivityItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['contentActivity%2Did'] = $contentActivityId; + return new ContentActivityItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ContentActivitiesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Collection of activity logs related to content processing. + * @param ContentActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ContentActivitiesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ContentActivityCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to contentActivities for users + * @param ContentActivity $body The request body + * @param ContentActivitiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ContentActivity $body, ?ContentActivitiesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ContentActivity::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Collection of activity logs related to content processing. + * @param ContentActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ContentActivitiesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to contentActivities for users + * @param ContentActivity $body The request body + * @param ContentActivitiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ContentActivity $body, ?ContentActivitiesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ContentActivitiesRequestBuilder + */ + public function withUrl(string $rawUrl): ContentActivitiesRequestBuilder { + return new ContentActivitiesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e335d82c94a --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new ContentActivitiesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e0ecdf19ae8 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ContentActivitiesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ContentActivitiesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ContentActivitiesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return ContentActivitiesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ContentActivitiesRequestBuilderGetQueryParameters { + return new ContentActivitiesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..c113ab0b524 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..008f150afbc --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..605a26b7a35 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..adeb6617e69 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.php new file mode 100644 index 00000000000..df73593f328 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities/{contentActivity%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property contentActivities for users + * @param ContentActivityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ContentActivityItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Collection of activity logs related to content processing. + * @param ContentActivityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ContentActivityItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ContentActivity::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property contentActivities in users + * @param ContentActivity $body The request body + * @param ContentActivityItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(ContentActivity $body, ?ContentActivityItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ContentActivity::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property contentActivities for users + * @param ContentActivityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ContentActivityItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Collection of activity logs related to content processing. + * @param ContentActivityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ContentActivityItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property contentActivities in users + * @param ContentActivity $body The request body + * @param ContentActivityItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ContentActivity $body, ?ContentActivityItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ContentActivityItemRequestBuilder + */ + public function withUrl(string $rawUrl): ContentActivityItemRequestBuilder { + return new ContentActivityItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..7158a55e259 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..fa675fab2d2 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetQueryParameters.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 ContentActivityItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..61df6810909 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ContentActivityItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ContentActivityItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ContentActivityItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ContentActivityItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ContentActivityItemRequestBuilderGetQueryParameters { + return new ContentActivityItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..a28e408e657 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.php new file mode 100644 index 00000000000..ab691d1313f --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.php @@ -0,0 +1,168 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the processContent method. + */ + public function processContent(): ProcessContentRequestBuilder { + return new ProcessContentRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. + */ + public function protectionScopes(): ProtectionScopesRequestBuilder { + return new ProtectionScopesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new DataSecurityAndGovernanceRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property dataSecurityAndGovernance for users + * @param DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The data security and governance settings for the user. Read-only. Nullable. + * @param DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserDataSecurityAndGovernance::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property dataSecurityAndGovernance in users + * @param UserDataSecurityAndGovernance $body The request body + * @param DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(UserDataSecurityAndGovernance $body, ?DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserDataSecurityAndGovernance::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property dataSecurityAndGovernance for users + * @param DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The data security and governance settings for the user. Read-only. Nullable. + * @param DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property dataSecurityAndGovernance in users + * @param UserDataSecurityAndGovernance $body The request body + * @param DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(UserDataSecurityAndGovernance $body, ?DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DataSecurityAndGovernanceRequestBuilder + */ + public function withUrl(string $rawUrl): DataSecurityAndGovernanceRequestBuilder { + return new DataSecurityAndGovernanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..a7851c8588a --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..de1e95d680a --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.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 DataSecurityAndGovernanceRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2574750cd6f --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DataSecurityAndGovernanceRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DataSecurityAndGovernanceRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DataSecurityAndGovernanceRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return DataSecurityAndGovernanceRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): DataSecurityAndGovernanceRequestBuilderGetQueryParameters { + return new DataSecurityAndGovernanceRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..faa2b98278d --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.php new file mode 100644 index 00000000000..effffb3dfab --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ProcessContentPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentPostRequestBody { + return new ProcessContentPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the contentToProcess property value. The contentToProcess property + * @return ProcessContentRequest|null + */ + public function getContentToProcess(): ?ProcessContentRequest { + $val = $this->getBackingStore()->get('contentToProcess'); + if (is_null($val) || $val instanceof ProcessContentRequest) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentToProcess'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'contentToProcess' => fn(ParseNode $n) => $o->setContentToProcess($n->getObjectValue([ProcessContentRequest::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('contentToProcess', $this->getContentToProcess()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the contentToProcess property value. The contentToProcess property + * @param ProcessContentRequest|null $value Value to set for the contentToProcess property. + */ + public function setContentToProcess(?ProcessContentRequest $value): void { + $this->getBackingStore()->set('contentToProcess', $value); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.php new file mode 100644 index 00000000000..57ed263607f --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/processContent'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Process content against data protection policies in the context of the current, or specified, user. + * @param ProcessContentPostRequestBody $body The request body + * @param ProcessContentRequestBuilderPostRequestConfiguration|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/userdatasecurityandgovernance-processcontent?view=graph-rest-1.0 Find more info here + */ + public function post(ProcessContentPostRequestBody $body, ?ProcessContentRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProcessContentResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Process content against data protection policies in the context of the current, or specified, user. + * @param ProcessContentPostRequestBody $body The request body + * @param ProcessContentRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ProcessContentPostRequestBody $body, ?ProcessContentRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ProcessContentRequestBuilder + */ + public function withUrl(string $rawUrl): ProcessContentRequestBuilder { + return new ProcessContentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..cbece5e16c5 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.php new file mode 100644 index 00000000000..6786f1c0d99 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.php @@ -0,0 +1,210 @@ +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 ComputePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputePostRequestBody { + return new ComputePostRequestBody(); + } + + /** + * Gets the activities property value. The activities property + * @return UserActivityTypes|null + */ + public function getActivities(): ?UserActivityTypes { + $val = $this->getBackingStore()->get('activities'); + if (is_null($val) || $val instanceof UserActivityTypes) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activities'"); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the deviceMetadata property value. The deviceMetadata property + * @return DeviceMetadata|null + */ + public function getDeviceMetadata(): ?DeviceMetadata { + $val = $this->getBackingStore()->get('deviceMetadata'); + if (is_null($val) || $val instanceof DeviceMetadata) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceMetadata'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'activities' => fn(ParseNode $n) => $o->setActivities($n->getEnumValue(UserActivityTypes::class)), + 'deviceMetadata' => fn(ParseNode $n) => $o->setDeviceMetadata($n->getObjectValue([DeviceMetadata::class, 'createFromDiscriminatorValue'])), + 'integratedAppMetadata' => fn(ParseNode $n) => $o->setIntegratedAppMetadata($n->getObjectValue([IntegratedApplicationMetadata::class, 'createFromDiscriminatorValue'])), + 'locations' => fn(ParseNode $n) => $o->setLocations($n->getCollectionOfObjectValues([PolicyLocation::class, 'createFromDiscriminatorValue'])), + 'pivotOn' => fn(ParseNode $n) => $o->setPivotOn($n->getEnumValue(PolicyPivotProperty::class)), + ]; + } + + /** + * Gets the integratedAppMetadata property value. The integratedAppMetadata property + * @return IntegratedApplicationMetadata|null + */ + public function getIntegratedAppMetadata(): ?IntegratedApplicationMetadata { + $val = $this->getBackingStore()->get('integratedAppMetadata'); + if (is_null($val) || $val instanceof IntegratedApplicationMetadata) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'integratedAppMetadata'"); + } + + /** + * Gets the locations property value. The locations property + * @return array|null + */ + public function getLocations(): ?array { + $val = $this->getBackingStore()->get('locations'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, PolicyLocation::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locations'"); + } + + /** + * Gets the pivotOn property value. The pivotOn property + * @return PolicyPivotProperty|null + */ + public function getPivotOn(): ?PolicyPivotProperty { + $val = $this->getBackingStore()->get('pivotOn'); + if (is_null($val) || $val instanceof PolicyPivotProperty) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'pivotOn'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('activities', $this->getActivities()); + $writer->writeObjectValue('deviceMetadata', $this->getDeviceMetadata()); + $writer->writeObjectValue('integratedAppMetadata', $this->getIntegratedAppMetadata()); + $writer->writeCollectionOfObjectValues('locations', $this->getLocations()); + $writer->writeEnumValue('pivotOn', $this->getPivotOn()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the activities property value. The activities property + * @param UserActivityTypes|null $value Value to set for the activities property. + */ + public function setActivities(?UserActivityTypes $value): void { + $this->getBackingStore()->set('activities', $value); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the deviceMetadata property value. The deviceMetadata property + * @param DeviceMetadata|null $value Value to set for the deviceMetadata property. + */ + public function setDeviceMetadata(?DeviceMetadata $value): void { + $this->getBackingStore()->set('deviceMetadata', $value); + } + + /** + * Sets the integratedAppMetadata property value. The integratedAppMetadata property + * @param IntegratedApplicationMetadata|null $value Value to set for the integratedAppMetadata property. + */ + public function setIntegratedAppMetadata(?IntegratedApplicationMetadata $value): void { + $this->getBackingStore()->set('integratedAppMetadata', $value); + } + + /** + * Sets the locations property value. The locations property + * @param array|null $value Value to set for the locations property. + */ + public function setLocations(?array $value): void { + $this->getBackingStore()->set('locations', $value); + } + + /** + * Sets the pivotOn property value. The pivotOn property + * @param PolicyPivotProperty|null $value Value to set for the pivotOn property. + */ + public function setPivotOn(?PolicyPivotProperty $value): void { + $this->getBackingStore()->set('pivotOn', $value); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.php new file mode 100644 index 00000000000..f2cd12531ce --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([PolicyUserScope::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, PolicyUserScope::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.php new file mode 100644 index 00000000000..5a4963b111b --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/protectionScopes/compute'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action compute + * @param ComputePostRequestBody $body The request body + * @param ComputeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ComputePostRequestBody $body, ?ComputeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action compute + * @param ComputePostRequestBody $body The request body + * @param ComputeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputePostRequestBody $body, ?ComputeRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ComputeRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRequestBuilder { + return new ComputeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..aed6c662997 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.php new file mode 100644 index 00000000000..a7d7bff3ec1 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new ProtectionScopesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/protectionScopes{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property protectionScopes for users + * @param ProtectionScopesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ProtectionScopesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get protectionScopes from users + * @param ProtectionScopesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ProtectionScopesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserProtectionScopeContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property protectionScopes in users + * @param UserProtectionScopeContainer $body The request body + * @param ProtectionScopesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(UserProtectionScopeContainer $body, ?ProtectionScopesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserProtectionScopeContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property protectionScopes for users + * @param ProtectionScopesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ProtectionScopesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get protectionScopes from users + * @param ProtectionScopesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ProtectionScopesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property protectionScopes in users + * @param UserProtectionScopeContainer $body The request body + * @param ProtectionScopesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(UserProtectionScopeContainer $body, ?ProtectionScopesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ProtectionScopesRequestBuilder + */ + public function withUrl(string $rawUrl): ProtectionScopesRequestBuilder { + return new ProtectionScopesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c8d0bb230c2 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7b04bb3aa41 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.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 ProtectionScopesRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..788c96e7785 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ProtectionScopesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ProtectionScopesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ProtectionScopesRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ProtectionScopesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ProtectionScopesRequestBuilderGetQueryParameters { + return new ProtectionScopesRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..e30d37e714b --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php index d13d77c0225..dec82315f5e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipient' => fn(ParseNode $n) => $o->setRecipient($n->getObjectValue([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -170,6 +183,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeObjectValue('recipient', $this->getRecipient()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -210,6 +224,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php index d964ee26acc..9d61c5f6f27 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 } /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @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-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/presence-setstatusmessage?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 } /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @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 3794e0b7d32..7aecc5f7422 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; /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. */ class PresenceRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.php index dc3e55574a2..79039adc641 100644 --- a/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -92,6 +92,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), 'templateParameters' => fn(ParseNode $n) => $o->setTemplateParameters($n->getCollectionOfObjectValues([KeyValuePair::class, 'createFromDiscriminatorValue'])), @@ -99,6 +100,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -156,6 +169,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); $writer->writeCollectionOfObjectValues('templateParameters', $this->getTemplateParameters()); @@ -195,6 +209,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index bda5eb64f44..8be9653e4ee 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -23,6 +23,7 @@ use Microsoft\Graph\Generated\Users\Item\ContactFolders\ContactFoldersRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Contacts\ContactsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\CreatedObjects\CreatedObjectsRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\DataSecurityAndGovernance\DataSecurityAndGovernanceRequestBuilder; use Microsoft\Graph\Generated\Users\Item\DeviceManagementTroubleshootingEvents\DeviceManagementTroubleshootingEventsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\DirectReports\DirectReportsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Drive\DriveRequestBuilder; @@ -211,6 +212,13 @@ public function createdObjects(): CreatedObjectsRequestBuilder { return new CreatedObjectsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity. + */ + public function dataSecurityAndGovernance(): DataSecurityAndGovernanceRequestBuilder { + return new DataSecurityAndGovernanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity. */ @@ -625,11 +633,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-onboarding-user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UserItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -670,7 +678,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/intune-mam-user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/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 +699,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 eea528d269c..a5d30dddb13 100644 --- a/src/Generated/Users/UsersRequestBuilder.php +++ b/src/Generated/Users/UsersRequestBuilder.php @@ -84,11 +84,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @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/user-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-list?view=graph-rest-1.0 Find more info here */ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,12 +99,12 @@ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. + * Create a new user object. * @param User $body The request body * @param UsersRequestBuilderPostRequestConfiguration|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-post-users?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-create?view=graph-rest-1.0 Find more info here */ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -115,7 +115,7 @@ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $r } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?UsersRequestBuilderGetRequestConfigurat } /** - * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. + * Create a new user object. * @param User $body The request body * @param UsersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php index 1e989d3b59e..3e762ac4482 100644 --- a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. */ class UsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php b/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php index 03e79b80927..54fd814305d 100644 --- a/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php +++ b/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php @@ -34,11 +34,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 UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration|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-onboarding-user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -69,7 +69,7 @@ public function get(?UsersWithUserPrincipalNameRequestBuilderGetRequestConfigura * @param UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration|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-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -80,7 +80,7 @@ public function patch(User $body, ?UsersWithUserPrincipalNameRequestBuilderPatch } /** - * 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 UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index 7c16e00d882..f65b37b1cf8 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -4054,6 +4054,48 @@ Microsoft\Graph\Generated.auditLogs.provisioning.provisioningRequestBuilderGetRe Microsoft\Graph\Generated.auditLogs.provisioning.provisioningRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ProvisioningRequestBuilderGetQueryParameters Microsoft\Graph\Generated.auditLogs.provisioning.provisioningRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.auditLogs.provisioning.provisioningRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedPostRequestBody::|public|getRequestIds():array +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedPostRequestBody::|public|setRequestIds(value?:array):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfirmCompromisedPostRequestBody +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.ConfirmCompromisedRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|Post(body:ConfirmCompromisedPostRequestBody; requestConfiguration?:ConfirmCompromisedRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|ToPostRequestInformation(body:ConfirmCompromisedPostRequestBody; requestConfiguration?:ConfirmCompromisedRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmCompromisedRequestBuilder +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.auditLogs.signIns.confirmCompromised.confirmCompromisedRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafePostRequestBody::|public|getRequestIds():array +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafePostRequestBody::|public|setRequestIds(value?:array):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfirmSafePostRequestBody +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.ConfirmSafeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.ConfirmSafeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.ConfirmSafeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.ConfirmSafeRequestBuilder::|public|Post(body:ConfirmSafePostRequestBody; requestConfiguration?:ConfirmSafeRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.ConfirmSafeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.ConfirmSafeRequestBuilder::|public|ToPostRequestInformation(body:ConfirmSafePostRequestBody; requestConfiguration?:ConfirmSafeRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.ConfirmSafeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.ConfirmSafeRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmSafeRequestBuilder +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.auditLogs.signIns.confirmSafe.confirmSafeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.auditLogs.signIns.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.auditLogs.signIns.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.auditLogs.signIns.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -4069,6 +4111,27 @@ Microsoft\Graph\Generated.auditLogs.signIns.count.CountRequestBuilderGetRequestC Microsoft\Graph\Generated.auditLogs.signIns.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void Microsoft\Graph\Generated.auditLogs.signIns.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters Microsoft\Graph\Generated.auditLogs.signIns.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissPostRequestBody::|public|getRequestIds():array +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissPostRequestBody::|public|setRequestIds(value?:array):void +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DismissPostRequestBody +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.DismissRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.DismissRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.DismissRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.DismissRequestBuilder::|public|Post(body:DismissPostRequestBody; requestConfiguration?:DismissRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.DismissRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.DismissRequestBuilder::|public|ToPostRequestInformation(body:DismissPostRequestBody; requestConfiguration?:DismissRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.DismissRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.DismissRequestBuilder::|public|WithUrl(rawUrl:string):DismissRequestBuilder +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.auditLogs.signIns.dismiss.dismissRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.auditLogs.signIns.item.SignInItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.auditLogs.signIns.item.SignInItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.auditLogs.signIns.item.SignInItemRequestBuilder::|public|Delete(requestConfiguration?:SignInItemRequestBuilderDeleteRequestConfiguration):void @@ -4094,8 +4157,11 @@ Microsoft\Graph\Generated.auditLogs.signIns.item.SignInItemRequestBuilderPatchRe Microsoft\Graph\Generated.auditLogs.signIns.item.SignInItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.auditLogs.signIns.SignInsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.auditLogs.signIns.SignInsRequestBuilder::|public|BySignInId(signInId:string):SignInItemRequestBuilder +Microsoft\Graph\Generated.auditLogs.signIns.SignInsRequestBuilder::|public|confirmCompromised:ConfirmCompromisedRequestBuilder +Microsoft\Graph\Generated.auditLogs.signIns.SignInsRequestBuilder::|public|confirmSafe:ConfirmSafeRequestBuilder Microsoft\Graph\Generated.auditLogs.signIns.SignInsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.auditLogs.signIns.SignInsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.auditLogs.signIns.SignInsRequestBuilder::|public|dismiss:DismissRequestBuilder Microsoft\Graph\Generated.auditLogs.signIns.SignInsRequestBuilder::|public|Get(requestConfiguration?:SignInsRequestBuilderGetRequestConfiguration):SignInCollectionResponse Microsoft\Graph\Generated.auditLogs.signIns.SignInsRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.auditLogs.signIns.SignInsRequestBuilder::|public|Post(body:SignIn; requestConfiguration?:SignInsRequestBuilderPostRequestConfiguration):SignIn @@ -5523,6 +5589,7 @@ Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotifi Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getRecipient():TeamworkNotificationRecipient Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string @@ -5533,6 +5600,7 @@ Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotifi Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setRecipient(value?:TeamworkNotificationRecipient):void Microsoft\Graph\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -8134,28 +8202,23 @@ Microsoft\Graph\Generated.contacts.ContactsRequestBuilder::|public|Get(requestCo Microsoft\Graph\Generated.contacts.ContactsRequestBuilder::|public|getAvailableExtensionProperties:GetAvailableExtensionPropertiesRequestBuilder Microsoft\Graph\Generated.contacts.ContactsRequestBuilder::|public|getByIds:GetByIdsRequestBuilder Microsoft\Graph\Generated.contacts.ContactsRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Generated.contacts.ContactsRequestBuilder::|public|Post(body:OrgContact; requestConfiguration?:ContactsRequestBuilderPostRequestConfiguration):OrgContact Microsoft\Graph\Generated.contacts.ContactsRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.contacts.ContactsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ContactsRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Generated.contacts.ContactsRequestBuilder::|public|ToPostRequestInformation(body:OrgContact; requestConfiguration?:ContactsRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Generated.contacts.ContactsRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.contacts.ContactsRequestBuilder::|public|validateProperties:ValidatePropertiesRequestBuilder Microsoft\Graph\Generated.contacts.ContactsRequestBuilder::|public|WithUrl(rawUrl:string):ContactsRequestBuilder -Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; top?:int):void Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetQueryParameters::|public|count:bool Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetQueryParameters::|public|expand:array Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetQueryParameters::|public|filter:string Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetQueryParameters::|public|orderby:array Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetQueryParameters::|public|search:string Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetQueryParameters::|public|select:array -Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetQueryParameters::|public|skip:int Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetQueryParameters::|public|top:int Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ContactsRequestBuilderGetQueryParameters):void Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetRequestConfiguration::|public|queryParameters:ContactsRequestBuilderGetQueryParameters -Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ContactsRequestBuilderGetQueryParameters -Microsoft\Graph\Generated.contacts.contactsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Generated.contacts.contactsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.contacts.contactsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; top?:int):ContactsRequestBuilderGetQueryParameters Microsoft\Graph\Generated.contacts.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.contacts.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.contacts.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -8710,27 +8773,21 @@ Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder-->BaseReque Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|checkMemberGroups:CheckMemberGroupsRequestBuilder Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|checkMemberObjects:CheckMemberObjectsRequestBuilder Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|Delete(requestConfiguration?:OrgContactItemRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|directReports:DirectReportsRequestBuilder Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|Get(requestConfiguration?:OrgContactItemRequestBuilderGetRequestConfiguration):OrgContact Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|getMemberGroups:GetMemberGroupsRequestBuilder Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|getMemberObjects:GetMemberObjectsRequestBuilder Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|manager:ManagerRequestBuilder Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|memberOf:MemberOfRequestBuilder -Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|Patch(body:OrgContact; requestConfiguration?:OrgContactItemRequestBuilderPatchRequestConfiguration):OrgContact Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|restore:RestoreRequestBuilder Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|retryServiceProvisioning:RetryServiceProvisioningRequestBuilder Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|serviceProvisioningErrors:ServiceProvisioningErrorsRequestBuilder -Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:OrgContactItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:OrgContactItemRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|ToPatchRequestInformation(body:OrgContact; requestConfiguration?:OrgContactItemRequestBuilderPatchRequestConfiguration):RequestInformation Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|transitiveMemberOf:TransitiveMemberOfRequestBuilder Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilder::|public|WithUrl(rawUrl:string):OrgContactItemRequestBuilder -Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderGetQueryParameters::|public|expand:array Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderGetQueryParameters::|public|select:array @@ -8738,8 +8795,6 @@ Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderGetRequestCo Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:OrgContactItemRequestBuilderGetQueryParameters):void Microsoft\Graph\Generated.contacts.item.OrgContactItemRequestBuilderGetRequestConfiguration::|public|queryParameters:OrgContactItemRequestBuilderGetQueryParameters 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.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 @@ -88614,6 +88669,7 @@ Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivity Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getRecipient():TeamworkNotificationRecipient Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string @@ -88624,6 +88680,7 @@ Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivity Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setRecipient(value?:TeamworkNotificationRecipient):void Microsoft\Graph\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -110757,6 +110814,14 @@ Microsoft\Graph\Generated.models.actionState::0003-active Microsoft\Graph\Generated.models.actionState::0004-done Microsoft\Graph\Generated.models.actionState::0005-failed Microsoft\Graph\Generated.models.actionState::0006-notSupported +Microsoft\Graph\Generated.models.activitiesContainer-->Entity +Microsoft\Graph\Generated.models.activitiesContainer::|public|constructor():void +Microsoft\Graph\Generated.models.activitiesContainer::|public|getContentActivities():array +Microsoft\Graph\Generated.models.activitiesContainer::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.activitiesContainer::|public|OdataType:string +Microsoft\Graph\Generated.models.activitiesContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.activitiesContainer::|public|setContentActivities(value?:array):void +Microsoft\Graph\Generated.models.activitiesContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ActivitiesContainer Microsoft\Graph\Generated.models.activityBasedTimeoutPolicy-->StsPolicy Microsoft\Graph\Generated.models.activityBasedTimeoutPolicy::|public|constructor():void Microsoft\Graph\Generated.models.activityBasedTimeoutPolicy::|public|GetFieldDeserializers():array @@ -110805,6 +110870,19 @@ Microsoft\Graph\Generated.models.activityHistoryItemCollectionResponse::|public| Microsoft\Graph\Generated.models.activityHistoryItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.activityHistoryItemCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.activityHistoryItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ActivityHistoryItemCollectionResponse +Microsoft\Graph\Generated.models.activityMetadata::|public|constructor():void +Microsoft\Graph\Generated.models.activityMetadata::|public|getActivity():UserActivityType +Microsoft\Graph\Generated.models.activityMetadata::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.activityMetadata::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.activityMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.activityMetadata::|public|getOdataType():string +Microsoft\Graph\Generated.models.activityMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.activityMetadata::|public|setActivity(value?:UserActivityType):void +Microsoft\Graph\Generated.models.activityMetadata::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.activityMetadata::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.activityMetadata::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.activityMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ActivityMetadata +Microsoft\Graph\Generated.models.activityMetadata~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.activityType::0000-signin Microsoft\Graph\Generated.models.activityType::0001-user Microsoft\Graph\Generated.models.activityType::0002-unknownFutureValue @@ -111193,6 +111271,23 @@ Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|public|Seri Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|public|setConversation(value?:TeamworkConversationIdentity):void Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|public|setTag(value?:TeamworkTagIdentity):void Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionMentionedIdentitySet +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|constructor():void +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getIdentifier():string +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getName():string +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getOdataType():string +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getVersion():string +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setIdentifier(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setVersion(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionPlugin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionPlugin +Microsoft\Graph\Generated.models.aiInteractionPlugin~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.aiInteractionType::0000-userPrompt Microsoft\Graph\Generated.models.aiInteractionType::0001-aiResponse Microsoft\Graph\Generated.models.aiInteractionType::0002-unknownFutureValue @@ -114427,6 +114522,14 @@ Microsoft\Graph\Generated.models.basicAuthentication::|public|Serialize(writer:I Microsoft\Graph\Generated.models.basicAuthentication::|public|setPassword(value?:string):void Microsoft\Graph\Generated.models.basicAuthentication::|public|setUsername(value?:string):void Microsoft\Graph\Generated.models.basicAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BasicAuthentication +Microsoft\Graph\Generated.models.binaryContent-->ContentBase +Microsoft\Graph\Generated.models.binaryContent::|public|constructor():void +Microsoft\Graph\Generated.models.binaryContent::|public|getData():StreamInterface +Microsoft\Graph\Generated.models.binaryContent::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.binaryContent::|public|OdataType:string +Microsoft\Graph\Generated.models.binaryContent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.binaryContent::|public|setData(value?:StreamInterface):void +Microsoft\Graph\Generated.models.binaryContent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BinaryContent Microsoft\Graph\Generated.models.binaryOperator::0000-or Microsoft\Graph\Generated.models.binaryOperator::0001-and Microsoft\Graph\Generated.models.bitlocker-->Entity @@ -117300,6 +117403,52 @@ Microsoft\Graph\Generated.models.claimsMappingPolicyCollectionResponse::|public| Microsoft\Graph\Generated.models.claimsMappingPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.claimsMappingPolicyCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.claimsMappingPolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClaimsMappingPolicyCollectionResponse +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|constructor():void +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|getCode():string +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|getInnerError():ClassificationInnerError +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|getMessage():string +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|getOdataType():string +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|getTarget():string +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|setCode(value?:string):void +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|setInnerError(value?:ClassificationInnerError):void +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|setMessage(value?:string):void +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.classifcationErrorBase::|public|setTarget(value?:string):void +Microsoft\Graph\Generated.models.classifcationErrorBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClassifcationErrorBase +Microsoft\Graph\Generated.models.classifcationErrorBase~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.classificationError-->ClassifcationErrorBase +Microsoft\Graph\Generated.models.classificationError::|public|constructor():void +Microsoft\Graph\Generated.models.classificationError::|public|getDetails():array +Microsoft\Graph\Generated.models.classificationError::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.classificationError::|public|OdataType:string +Microsoft\Graph\Generated.models.classificationError::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.classificationError::|public|setDetails(value?:array):void +Microsoft\Graph\Generated.models.classificationError::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClassificationError +Microsoft\Graph\Generated.models.classificationInnerError::|public|constructor():void +Microsoft\Graph\Generated.models.classificationInnerError::|public|getActivityId():string +Microsoft\Graph\Generated.models.classificationInnerError::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.classificationInnerError::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.classificationInnerError::|public|getClientRequestId():string +Microsoft\Graph\Generated.models.classificationInnerError::|public|getCode():string +Microsoft\Graph\Generated.models.classificationInnerError::|public|getErrorDateTime():DateTime +Microsoft\Graph\Generated.models.classificationInnerError::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.classificationInnerError::|public|getOdataType():string +Microsoft\Graph\Generated.models.classificationInnerError::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.classificationInnerError::|public|setActivityId(value?:string):void +Microsoft\Graph\Generated.models.classificationInnerError::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.classificationInnerError::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.classificationInnerError::|public|setClientRequestId(value?:string):void +Microsoft\Graph\Generated.models.classificationInnerError::|public|setCode(value?:string):void +Microsoft\Graph\Generated.models.classificationInnerError::|public|setErrorDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.classificationInnerError::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.classificationInnerError::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ClassificationInnerError +Microsoft\Graph\Generated.models.classificationInnerError~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.clickSource::0000-unknown Microsoft\Graph\Generated.models.clickSource::0001-qrCode Microsoft\Graph\Generated.models.clickSource::0002-phishingUrl @@ -119113,6 +119262,25 @@ Microsoft\Graph\Generated.models.containerFilter::|public|setIncludedContainers( Microsoft\Graph\Generated.models.containerFilter::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.containerFilter::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContainerFilter Microsoft\Graph\Generated.models.containerFilter~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.contentActivity-->Entity +Microsoft\Graph\Generated.models.contentActivity::|public|constructor():void +Microsoft\Graph\Generated.models.contentActivity::|public|getContentMetadata():ProcessContentRequest +Microsoft\Graph\Generated.models.contentActivity::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.contentActivity::|public|getScopeIdentifier():string +Microsoft\Graph\Generated.models.contentActivity::|public|getUserId():string +Microsoft\Graph\Generated.models.contentActivity::|public|OdataType:string +Microsoft\Graph\Generated.models.contentActivity::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.contentActivity::|public|setContentMetadata(value?:ProcessContentRequest):void +Microsoft\Graph\Generated.models.contentActivity::|public|setScopeIdentifier(value?:string):void +Microsoft\Graph\Generated.models.contentActivity::|public|setUserId(value?:string):void +Microsoft\Graph\Generated.models.contentActivity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContentActivity +Microsoft\Graph\Generated.models.contentActivityCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.contentActivityCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.contentActivityCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.contentActivityCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.contentActivityCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.contentActivityCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.contentActivityCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContentActivityCollectionResponse Microsoft\Graph\Generated.models.contentApprovalStatusColumn::|public|constructor():void Microsoft\Graph\Generated.models.contentApprovalStatusColumn::|public|getAdditionalData():array Microsoft\Graph\Generated.models.contentApprovalStatusColumn::|public|getBackingStore():BackingStore @@ -119124,6 +119292,17 @@ Microsoft\Graph\Generated.models.contentApprovalStatusColumn::|public|setBacking Microsoft\Graph\Generated.models.contentApprovalStatusColumn::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.contentApprovalStatusColumn::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContentApprovalStatusColumn Microsoft\Graph\Generated.models.contentApprovalStatusColumn~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.contentBase::|public|constructor():void +Microsoft\Graph\Generated.models.contentBase::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.contentBase::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.contentBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.contentBase::|public|getOdataType():string +Microsoft\Graph\Generated.models.contentBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.contentBase::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.contentBase::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.contentBase::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.contentBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContentBase +Microsoft\Graph\Generated.models.contentBase~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.contentCustomization::|public|constructor():void Microsoft\Graph\Generated.models.contentCustomization::|public|getAdditionalData():array Microsoft\Graph\Generated.models.contentCustomization::|public|getAttributeCollection():array @@ -119143,6 +119322,9 @@ Microsoft\Graph\Generated.models.contentCustomization::|public|setRegistrationCa Microsoft\Graph\Generated.models.contentCustomization::|public|setRegistrationCampaignRelativeUrl(value?:string):void Microsoft\Graph\Generated.models.contentCustomization::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContentCustomization Microsoft\Graph\Generated.models.contentCustomization~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.contentProcessingErrorType::0000-transient +Microsoft\Graph\Generated.models.contentProcessingErrorType::0001-permanent +Microsoft\Graph\Generated.models.contentProcessingErrorType::0002-unknownFutureValue Microsoft\Graph\Generated.models.contentSharingSession-->Entity Microsoft\Graph\Generated.models.contentSharingSession::|public|constructor():void Microsoft\Graph\Generated.models.contentSharingSession::|public|GetFieldDeserializers():array @@ -119837,6 +120019,12 @@ Microsoft\Graph\Generated.models.customExtensionStageSettingCollectionResponse:: Microsoft\Graph\Generated.models.customExtensionStageSettingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.customExtensionStageSettingCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.customExtensionStageSettingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CustomExtensionStageSettingCollectionResponse +Microsoft\Graph\Generated.models.customMetadataDictionary-->Dictionary +Microsoft\Graph\Generated.models.customMetadataDictionary::|public|constructor():void +Microsoft\Graph\Generated.models.customMetadataDictionary::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.customMetadataDictionary::|public|OdataType:string +Microsoft\Graph\Generated.models.customMetadataDictionary::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.customMetadataDictionary::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CustomMetadataDictionary Microsoft\Graph\Generated.models.customSecurityAttributeDefinition-->Entity Microsoft\Graph\Generated.models.customSecurityAttributeDefinition::|public|constructor():void Microsoft\Graph\Generated.models.customSecurityAttributeDefinition::|public|getAllowedValues():array @@ -119937,6 +120125,12 @@ Microsoft\Graph\Generated.models.dataPolicyOperationStatus::0001-running Microsoft\Graph\Generated.models.dataPolicyOperationStatus::0002-complete Microsoft\Graph\Generated.models.dataPolicyOperationStatus::0003-failed Microsoft\Graph\Generated.models.dataPolicyOperationStatus::0004-unknownFutureValue +Microsoft\Graph\Generated.models.dataSecurityAndGovernance-->Entity +Microsoft\Graph\Generated.models.dataSecurityAndGovernance::|public|constructor():void +Microsoft\Graph\Generated.models.dataSecurityAndGovernance::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.dataSecurityAndGovernance::|public|OdataType:string +Microsoft\Graph\Generated.models.dataSecurityAndGovernance::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.dataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DataSecurityAndGovernance Microsoft\Graph\Generated.models.dataSubject::|public|constructor():void Microsoft\Graph\Generated.models.dataSubject::|public|getAdditionalData():array Microsoft\Graph\Generated.models.dataSubject::|public|getBackingStore():BackingStore @@ -121998,6 +122192,23 @@ Microsoft\Graph\Generated.models.deviceManagementTroubleshootingEventCollectionR Microsoft\Graph\Generated.models.deviceManagementTroubleshootingEventCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.deviceManagementTroubleshootingEventCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.deviceManagementTroubleshootingEventCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceManagementTroubleshootingEventCollectionResponse +Microsoft\Graph\Generated.models.deviceMetadata::|public|constructor():void +Microsoft\Graph\Generated.models.deviceMetadata::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.deviceMetadata::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.deviceMetadata::|public|getDeviceType():string +Microsoft\Graph\Generated.models.deviceMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.deviceMetadata::|public|getIpAddress():string +Microsoft\Graph\Generated.models.deviceMetadata::|public|getOdataType():string +Microsoft\Graph\Generated.models.deviceMetadata::|public|getOperatingSystemSpecifications():OperatingSystemSpecifications +Microsoft\Graph\Generated.models.deviceMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.deviceMetadata::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.deviceMetadata::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.deviceMetadata::|public|setDeviceType(value?:string):void +Microsoft\Graph\Generated.models.deviceMetadata::|public|setIpAddress(value?:string):void +Microsoft\Graph\Generated.models.deviceMetadata::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.deviceMetadata::|public|setOperatingSystemSpecifications(value?:OperatingSystemSpecifications):void +Microsoft\Graph\Generated.models.deviceMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceMetadata +Microsoft\Graph\Generated.models.deviceMetadata~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.deviceOperatingSystemSummary::|public|constructor():void Microsoft\Graph\Generated.models.deviceOperatingSystemSummary::|public|getAdditionalData():array Microsoft\Graph\Generated.models.deviceOperatingSystemSummary::|public|getAndroidCorporateWorkProfileCount():int @@ -122343,6 +122554,31 @@ Microsoft\Graph\Generated.models.displayNameLocalization::|public|setLanguageTag Microsoft\Graph\Generated.models.displayNameLocalization::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.displayNameLocalization::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DisplayNameLocalization Microsoft\Graph\Generated.models.displayNameLocalization~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.dlpAction::0000-notifyUser +Microsoft\Graph\Generated.models.dlpAction::0001-blockAccess +Microsoft\Graph\Generated.models.dlpAction::0002-deviceRestriction +Microsoft\Graph\Generated.models.dlpAction::0003-browserRestriction +Microsoft\Graph\Generated.models.dlpAction::0004-unknownFutureValue +Microsoft\Graph\Generated.models.dlpAction::0005-restrictAccess +Microsoft\Graph\Generated.models.dlpAction::0006-generateAlert +Microsoft\Graph\Generated.models.dlpAction::0007-generateIncidentReportAction +Microsoft\Graph\Generated.models.dlpAction::0008-sPBlockAnonymousAccess +Microsoft\Graph\Generated.models.dlpAction::0009-sPRuntimeAccessControl +Microsoft\Graph\Generated.models.dlpAction::0010-sPSharingNotifyUser +Microsoft\Graph\Generated.models.dlpAction::0011-sPSharingGenerateIncidentReport +Microsoft\Graph\Generated.models.dlpActionInfo::|public|constructor():void +Microsoft\Graph\Generated.models.dlpActionInfo::|public|getAction():DlpAction +Microsoft\Graph\Generated.models.dlpActionInfo::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.dlpActionInfo::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.dlpActionInfo::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.dlpActionInfo::|public|getOdataType():string +Microsoft\Graph\Generated.models.dlpActionInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.dlpActionInfo::|public|setAction(value?:DlpAction):void +Microsoft\Graph\Generated.models.dlpActionInfo::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.dlpActionInfo::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.dlpActionInfo::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.dlpActionInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DlpActionInfo +Microsoft\Graph\Generated.models.dlpActionInfo~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.documentSet::|public|constructor():void Microsoft\Graph\Generated.models.documentSet::|public|getAdditionalData():array Microsoft\Graph\Generated.models.documentSet::|public|getAllowedContentTypes():array @@ -124623,6 +124859,9 @@ Microsoft\Graph\Generated.models.exclusionGroupAssignmentTarget::|public|GetFiel Microsoft\Graph\Generated.models.exclusionGroupAssignmentTarget::|public|OdataType:string Microsoft\Graph\Generated.models.exclusionGroupAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.exclusionGroupAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExclusionGroupAssignmentTarget +Microsoft\Graph\Generated.models.executionMode::0000-evaluateInline +Microsoft\Graph\Generated.models.executionMode::0001-evaluateOffline +Microsoft\Graph\Generated.models.executionMode::0002-unknownFutureValue Microsoft\Graph\Generated.models.expirationPattern::|public|constructor():void Microsoft\Graph\Generated.models.expirationPattern::|public|getAdditionalData():array Microsoft\Graph\Generated.models.expirationPattern::|public|getBackingStore():BackingStore @@ -126001,6 +126240,12 @@ Microsoft\Graph\Generated.models.groupPeerOutlierRecommendationInsightSettings:: Microsoft\Graph\Generated.models.groupPeerOutlierRecommendationInsightSettings::|public|OdataType:string Microsoft\Graph\Generated.models.groupPeerOutlierRecommendationInsightSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.groupPeerOutlierRecommendationInsightSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GroupPeerOutlierRecommendationInsightSettings +Microsoft\Graph\Generated.models.groupScope-->ScopeBase +Microsoft\Graph\Generated.models.groupScope::|public|constructor():void +Microsoft\Graph\Generated.models.groupScope::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.groupScope::|public|OdataType:string +Microsoft\Graph\Generated.models.groupScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.groupScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GroupScope Microsoft\Graph\Generated.models.groupSetting-->Entity Microsoft\Graph\Generated.models.groupSetting::|public|constructor():void Microsoft\Graph\Generated.models.groupSetting::|public|getDisplayName():string @@ -127487,6 +127732,21 @@ Microsoft\Graph\Generated.models.integerRange::|public|setOdataType(value?:strin Microsoft\Graph\Generated.models.integerRange::|public|setStart(value?:int):void Microsoft\Graph\Generated.models.integerRange::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IntegerRange Microsoft\Graph\Generated.models.integerRange~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|constructor():void +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|getName():string +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|getOdataType():string +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|getVersion():string +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|public|setVersion(value?:string):void +Microsoft\Graph\Generated.models.integratedApplicationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IntegratedApplicationMetadata +Microsoft\Graph\Generated.models.integratedApplicationMetadata~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.internalDomainFederation-->SamlOrWsFedProvider Microsoft\Graph\Generated.models.internalDomainFederation::|public|constructor():void Microsoft\Graph\Generated.models.internalDomainFederation::|public|getActiveSignInUri():string @@ -128793,6 +129053,16 @@ Microsoft\Graph\Generated.models.keyValuePair::|public|setValue(value?:string):v Microsoft\Graph\Generated.models.keyValuePair::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):KeyValuePair Microsoft\Graph\Generated.models.keyValuePair~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.keyValue~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.labelContentRight-->Entity +Microsoft\Graph\Generated.models.labelContentRight::|public|constructor():void +Microsoft\Graph\Generated.models.labelContentRight::|public|getCid():string +Microsoft\Graph\Generated.models.labelContentRight::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.labelContentRight::|public|getFormat():string +Microsoft\Graph\Generated.models.labelContentRight::|public|OdataType:string +Microsoft\Graph\Generated.models.labelContentRight::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.labelContentRight::|public|setCid(value?:string):void +Microsoft\Graph\Generated.models.labelContentRight::|public|setFormat(value?:string):void +Microsoft\Graph\Generated.models.labelContentRight::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):LabelContentRight Microsoft\Graph\Generated.models.landingPage-->Entity Microsoft\Graph\Generated.models.landingPage::|public|constructor():void Microsoft\Graph\Generated.models.landingPage::|public|getCreatedBy():EmailIdentity @@ -133521,6 +133791,21 @@ Microsoft\Graph\Generated.models.openTypeExtension::|public|OdataType:string Microsoft\Graph\Generated.models.openTypeExtension::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.openTypeExtension::|public|setExtensionName(value?:string):void Microsoft\Graph\Generated.models.openTypeExtension::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OpenTypeExtension +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|constructor():void +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|getOdataType():string +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|getOperatingSystemPlatform():string +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|getOperatingSystemVersion():string +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|setOperatingSystemPlatform(value?:string):void +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|public|setOperatingSystemVersion(value?:string):void +Microsoft\Graph\Generated.models.operatingSystemSpecifications::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OperatingSystemSpecifications +Microsoft\Graph\Generated.models.operatingSystemSpecifications~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.operatingSystemUpgradeEligibility::0000-upgraded Microsoft\Graph\Generated.models.operatingSystemUpgradeEligibility::0001-unknown Microsoft\Graph\Generated.models.operatingSystemUpgradeEligibility::0002-notCapable @@ -135333,6 +135618,56 @@ Microsoft\Graph\Generated.models.policyBase::|public|Serialize(writer:ISerializa Microsoft\Graph\Generated.models.policyBase::|public|setDescription(value?:string):void Microsoft\Graph\Generated.models.policyBase::|public|setDisplayName(value?:string):void Microsoft\Graph\Generated.models.policyBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyBase +Microsoft\Graph\Generated.models.policyBinding::|public|constructor():void +Microsoft\Graph\Generated.models.policyBinding::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.policyBinding::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.policyBinding::|public|getExclusions():array +Microsoft\Graph\Generated.models.policyBinding::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.policyBinding::|public|getInclusions():array +Microsoft\Graph\Generated.models.policyBinding::|public|getOdataType():string +Microsoft\Graph\Generated.models.policyBinding::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.policyBinding::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.policyBinding::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.policyBinding::|public|setExclusions(value?:array):void +Microsoft\Graph\Generated.models.policyBinding::|public|setInclusions(value?:array):void +Microsoft\Graph\Generated.models.policyBinding::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.policyBinding::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyBinding +Microsoft\Graph\Generated.models.policyBinding~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.policyLocation::|public|constructor():void +Microsoft\Graph\Generated.models.policyLocation::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.policyLocation::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.policyLocation::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.policyLocation::|public|getOdataType():string +Microsoft\Graph\Generated.models.policyLocation::|public|getValue():string +Microsoft\Graph\Generated.models.policyLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.policyLocation::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.policyLocation::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.policyLocation::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.policyLocation::|public|setValue(value?:string):void +Microsoft\Graph\Generated.models.policyLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyLocation +Microsoft\Graph\Generated.models.policyLocationApplication-->PolicyLocation +Microsoft\Graph\Generated.models.policyLocationApplication::|public|constructor():void +Microsoft\Graph\Generated.models.policyLocationApplication::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.policyLocationApplication::|public|OdataType:string +Microsoft\Graph\Generated.models.policyLocationApplication::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.policyLocationApplication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyLocationApplication +Microsoft\Graph\Generated.models.policyLocationDomain-->PolicyLocation +Microsoft\Graph\Generated.models.policyLocationDomain::|public|constructor():void +Microsoft\Graph\Generated.models.policyLocationDomain::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.policyLocationDomain::|public|OdataType:string +Microsoft\Graph\Generated.models.policyLocationDomain::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.policyLocationDomain::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyLocationDomain +Microsoft\Graph\Generated.models.policyLocationUrl-->PolicyLocation +Microsoft\Graph\Generated.models.policyLocationUrl::|public|constructor():void +Microsoft\Graph\Generated.models.policyLocationUrl::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.policyLocationUrl::|public|OdataType:string +Microsoft\Graph\Generated.models.policyLocationUrl::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.policyLocationUrl::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyLocationUrl +Microsoft\Graph\Generated.models.policyLocation~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.policyPivotProperty::0000-none +Microsoft\Graph\Generated.models.policyPivotProperty::0001-activity +Microsoft\Graph\Generated.models.policyPivotProperty::0002-location +Microsoft\Graph\Generated.models.policyPivotProperty::0003-unknownFutureValue Microsoft\Graph\Generated.models.policyPlatformType::0000-android Microsoft\Graph\Generated.models.policyPlatformType::0001-androidForWork Microsoft\Graph\Generated.models.policyPlatformType::0002-iOS @@ -135387,6 +135722,25 @@ Microsoft\Graph\Generated.models.policyRoot::|public|setRoleManagementPolicyAssi Microsoft\Graph\Generated.models.policyRoot::|public|setTokenIssuancePolicies(value?:array):void Microsoft\Graph\Generated.models.policyRoot::|public|setTokenLifetimePolicies(value?:array):void Microsoft\Graph\Generated.models.policyRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyRoot +Microsoft\Graph\Generated.models.policyScopeBase::|public|constructor():void +Microsoft\Graph\Generated.models.policyScopeBase::|public|getActivities():UserActivityTypes +Microsoft\Graph\Generated.models.policyScopeBase::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.policyScopeBase::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.policyScopeBase::|public|getExecutionMode():ExecutionMode +Microsoft\Graph\Generated.models.policyScopeBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.policyScopeBase::|public|getLocations():array +Microsoft\Graph\Generated.models.policyScopeBase::|public|getOdataType():string +Microsoft\Graph\Generated.models.policyScopeBase::|public|getPolicyActions():array +Microsoft\Graph\Generated.models.policyScopeBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.policyScopeBase::|public|setActivities(value?:UserActivityTypes):void +Microsoft\Graph\Generated.models.policyScopeBase::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.policyScopeBase::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.policyScopeBase::|public|setExecutionMode(value?:ExecutionMode):void +Microsoft\Graph\Generated.models.policyScopeBase::|public|setLocations(value?:array):void +Microsoft\Graph\Generated.models.policyScopeBase::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.policyScopeBase::|public|setPolicyActions(value?:array):void +Microsoft\Graph\Generated.models.policyScopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyScopeBase +Microsoft\Graph\Generated.models.policyScopeBase~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.policyTemplate-->Entity Microsoft\Graph\Generated.models.policyTemplate::|public|constructor():void Microsoft\Graph\Generated.models.policyTemplate::|public|GetFieldDeserializers():array @@ -135397,6 +135751,20 @@ Microsoft\Graph\Generated.models.policyTemplate::|public|Serialize(writer:ISeria Microsoft\Graph\Generated.models.policyTemplate::|public|setMultiTenantOrganizationIdentitySynchronization(value?:MultiTenantOrganizationIdentitySyncPolicyTemplate):void Microsoft\Graph\Generated.models.policyTemplate::|public|setMultiTenantOrganizationPartnerConfiguration(value?:MultiTenantOrganizationPartnerConfigurationTemplate):void Microsoft\Graph\Generated.models.policyTemplate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyTemplate +Microsoft\Graph\Generated.models.policyTenantScope-->PolicyScopeBase +Microsoft\Graph\Generated.models.policyTenantScope::|public|constructor():void +Microsoft\Graph\Generated.models.policyTenantScope::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.policyTenantScope::|public|getPolicyScope():PolicyBinding +Microsoft\Graph\Generated.models.policyTenantScope::|public|OdataType:string +Microsoft\Graph\Generated.models.policyTenantScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.policyTenantScope::|public|setPolicyScope(value?:PolicyBinding):void +Microsoft\Graph\Generated.models.policyTenantScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyTenantScope +Microsoft\Graph\Generated.models.policyUserScope-->PolicyScopeBase +Microsoft\Graph\Generated.models.policyUserScope::|public|constructor():void +Microsoft\Graph\Generated.models.policyUserScope::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.policyUserScope::|public|OdataType:string +Microsoft\Graph\Generated.models.policyUserScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.policyUserScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyUserScope Microsoft\Graph\Generated.models.positiveReinforcementNotification-->BaseEndUserNotification Microsoft\Graph\Generated.models.positiveReinforcementNotification::|public|constructor():void Microsoft\Graph\Generated.models.positiveReinforcementNotification::|public|getDeliveryPreference():NotificationDeliveryPreference @@ -137477,6 +137845,135 @@ Microsoft\Graph\Generated.models.process::|public|setParentProcessName(value?:st Microsoft\Graph\Generated.models.process::|public|setPath(value?:string):void Microsoft\Graph\Generated.models.process::|public|setProcessId(value?:int):void Microsoft\Graph\Generated.models.process::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Process +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|constructor():void +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|getContentToProcess():ProcessContentRequest +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|getOdataType():string +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|getRequestId():string +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|getUserId():string +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|setContentToProcess(value?:ProcessContentRequest):void +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|setRequestId(value?:string):void +Microsoft\Graph\Generated.models.processContentBatchRequest::|public|setUserId(value?:string):void +Microsoft\Graph\Generated.models.processContentBatchRequest::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentBatchRequest +Microsoft\Graph\Generated.models.processContentBatchRequest~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|constructor():void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getContent():ContentBase +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getCorrelationId():string +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getIdentifier():string +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getIsTruncated():bool +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getLength():int +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getModifiedDateTime():DateTime +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getName():string +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getOdataType():string +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|getSequenceNumber():int +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setContent(value?:ContentBase):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setCorrelationId(value?:string):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setIdentifier(value?:string):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setIsTruncated(value?:bool):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setLength(value?:int):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setModifiedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|public|setSequenceNumber(value?:int):void +Microsoft\Graph\Generated.models.processContentMetadataBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentMetadataBase +Microsoft\Graph\Generated.models.processContentMetadataBase~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.processContentRequest::|public|constructor():void +Microsoft\Graph\Generated.models.processContentRequest::|public|getActivityMetadata():ActivityMetadata +Microsoft\Graph\Generated.models.processContentRequest::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.processContentRequest::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.processContentRequest::|public|getContentEntries():array +Microsoft\Graph\Generated.models.processContentRequest::|public|getDeviceMetadata():DeviceMetadata +Microsoft\Graph\Generated.models.processContentRequest::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.processContentRequest::|public|getIntegratedAppMetadata():IntegratedApplicationMetadata +Microsoft\Graph\Generated.models.processContentRequest::|public|getOdataType():string +Microsoft\Graph\Generated.models.processContentRequest::|public|getProtectedAppMetadata():ProtectedApplicationMetadata +Microsoft\Graph\Generated.models.processContentRequest::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.processContentRequest::|public|setActivityMetadata(value?:ActivityMetadata):void +Microsoft\Graph\Generated.models.processContentRequest::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.processContentRequest::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.processContentRequest::|public|setContentEntries(value?:array):void +Microsoft\Graph\Generated.models.processContentRequest::|public|setDeviceMetadata(value?:DeviceMetadata):void +Microsoft\Graph\Generated.models.processContentRequest::|public|setIntegratedAppMetadata(value?:IntegratedApplicationMetadata):void +Microsoft\Graph\Generated.models.processContentRequest::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.processContentRequest::|public|setProtectedAppMetadata(value?:ProtectedApplicationMetadata):void +Microsoft\Graph\Generated.models.processContentRequest::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentRequest +Microsoft\Graph\Generated.models.processContentRequest~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.processContentResponse::|public|constructor():void +Microsoft\Graph\Generated.models.processContentResponse::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.processContentResponse::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.processContentResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.processContentResponse::|public|getOdataType():string +Microsoft\Graph\Generated.models.processContentResponse::|public|getPolicyActions():array +Microsoft\Graph\Generated.models.processContentResponse::|public|getProcessingErrors():array +Microsoft\Graph\Generated.models.processContentResponse::|public|getProtectionScopeState():ProtectionScopeState +Microsoft\Graph\Generated.models.processContentResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.processContentResponse::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.processContentResponse::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.processContentResponse::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.processContentResponse::|public|setPolicyActions(value?:array):void +Microsoft\Graph\Generated.models.processContentResponse::|public|setProcessingErrors(value?:array):void +Microsoft\Graph\Generated.models.processContentResponse::|public|setProtectionScopeState(value?:ProtectionScopeState):void +Microsoft\Graph\Generated.models.processContentResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentResponse +Microsoft\Graph\Generated.models.processContentResponses::|public|constructor():void +Microsoft\Graph\Generated.models.processContentResponses::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.processContentResponses::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.processContentResponses::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.processContentResponses::|public|getOdataType():string +Microsoft\Graph\Generated.models.processContentResponses::|public|getRequestId():string +Microsoft\Graph\Generated.models.processContentResponses::|public|getResults():ProcessContentResponse +Microsoft\Graph\Generated.models.processContentResponses::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.processContentResponses::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.processContentResponses::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.processContentResponses::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.processContentResponses::|public|setRequestId(value?:string):void +Microsoft\Graph\Generated.models.processContentResponses::|public|setResults(value?:ProcessContentResponse):void +Microsoft\Graph\Generated.models.processContentResponses::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentResponses +Microsoft\Graph\Generated.models.processContentResponses~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.processContentResponse~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.processConversationMetadata-->ProcessContentMetadataBase +Microsoft\Graph\Generated.models.processConversationMetadata::|public|constructor():void +Microsoft\Graph\Generated.models.processConversationMetadata::|public|getAccessedResources():array +Microsoft\Graph\Generated.models.processConversationMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.processConversationMetadata::|public|getParentMessageId():string +Microsoft\Graph\Generated.models.processConversationMetadata::|public|getPlugins():array +Microsoft\Graph\Generated.models.processConversationMetadata::|public|OdataType:string +Microsoft\Graph\Generated.models.processConversationMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.processConversationMetadata::|public|setAccessedResources(value?:array):void +Microsoft\Graph\Generated.models.processConversationMetadata::|public|setParentMessageId(value?:string):void +Microsoft\Graph\Generated.models.processConversationMetadata::|public|setPlugins(value?:array):void +Microsoft\Graph\Generated.models.processConversationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessConversationMetadata +Microsoft\Graph\Generated.models.processFileMetadata-->ProcessContentMetadataBase +Microsoft\Graph\Generated.models.processFileMetadata::|public|constructor():void +Microsoft\Graph\Generated.models.processFileMetadata::|public|getCustomProperties():CustomMetadataDictionary +Microsoft\Graph\Generated.models.processFileMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.processFileMetadata::|public|getOwnerId():string +Microsoft\Graph\Generated.models.processFileMetadata::|public|OdataType:string +Microsoft\Graph\Generated.models.processFileMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.processFileMetadata::|public|setCustomProperties(value?:CustomMetadataDictionary):void +Microsoft\Graph\Generated.models.processFileMetadata::|public|setOwnerId(value?:string):void +Microsoft\Graph\Generated.models.processFileMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessFileMetadata +Microsoft\Graph\Generated.models.processingError-->ClassificationError +Microsoft\Graph\Generated.models.processingError::|public|constructor():void +Microsoft\Graph\Generated.models.processingError::|public|getErrorType():ContentProcessingErrorType +Microsoft\Graph\Generated.models.processingError::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.processingError::|public|OdataType:string +Microsoft\Graph\Generated.models.processingError::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.processingError::|public|setErrorType(value?:ContentProcessingErrorType):void +Microsoft\Graph\Generated.models.processingError::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessingError Microsoft\Graph\Generated.models.processIntegrityLevel::0000-unknown Microsoft\Graph\Generated.models.processIntegrityLevel::0001-untrusted Microsoft\Graph\Generated.models.processIntegrityLevel::0002-low @@ -137557,6 +138054,14 @@ Microsoft\Graph\Generated.models.pronounsSettings::|public|OdataType:string Microsoft\Graph\Generated.models.pronounsSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.pronounsSettings::|public|setIsEnabledInOrganization(value?:bool):void Microsoft\Graph\Generated.models.pronounsSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PronounsSettings +Microsoft\Graph\Generated.models.protectedApplicationMetadata-->IntegratedApplicationMetadata +Microsoft\Graph\Generated.models.protectedApplicationMetadata::|public|constructor():void +Microsoft\Graph\Generated.models.protectedApplicationMetadata::|public|getApplicationLocation():PolicyLocation +Microsoft\Graph\Generated.models.protectedApplicationMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.protectedApplicationMetadata::|public|OdataType:string +Microsoft\Graph\Generated.models.protectedApplicationMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.protectedApplicationMetadata::|public|setApplicationLocation(value?:PolicyLocation):void +Microsoft\Graph\Generated.models.protectedApplicationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProtectedApplicationMetadata Microsoft\Graph\Generated.models.protectionPolicyBase-->Entity Microsoft\Graph\Generated.models.protectionPolicyBase::|public|constructor():void Microsoft\Graph\Generated.models.protectionPolicyBase::|public|getCreatedBy():IdentitySet @@ -137614,6 +138119,9 @@ Microsoft\Graph\Generated.models.protectionRuleStatus::0001-active Microsoft\Graph\Generated.models.protectionRuleStatus::0002-completed Microsoft\Graph\Generated.models.protectionRuleStatus::0003-completedWithErrors Microsoft\Graph\Generated.models.protectionRuleStatus::0004-unknownFutureValue +Microsoft\Graph\Generated.models.protectionScopeState::0000-notModified +Microsoft\Graph\Generated.models.protectionScopeState::0001-modified +Microsoft\Graph\Generated.models.protectionScopeState::0002-unknownFutureValue Microsoft\Graph\Generated.models.protectionUnitBase-->Entity Microsoft\Graph\Generated.models.protectionUnitBase::|public|constructor():void Microsoft\Graph\Generated.models.protectionUnitBase::|public|getCreatedBy():IdentitySet @@ -139122,6 +139630,23 @@ Microsoft\Graph\Generated.models.restoreSessionStatus::0003-completedWithError Microsoft\Graph\Generated.models.restoreSessionStatus::0004-completed Microsoft\Graph\Generated.models.restoreSessionStatus::0005-unknownFutureValue Microsoft\Graph\Generated.models.restoreSessionStatus::0006-failed +Microsoft\Graph\Generated.models.restrictAccessAction-->RestrictAccessActionBase +Microsoft\Graph\Generated.models.restrictAccessAction::|public|constructor():void +Microsoft\Graph\Generated.models.restrictAccessAction::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.restrictAccessAction::|public|OdataType:string +Microsoft\Graph\Generated.models.restrictAccessAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.restrictAccessAction::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestrictAccessAction +Microsoft\Graph\Generated.models.restrictAccessActionBase-->DlpActionInfo +Microsoft\Graph\Generated.models.restrictAccessActionBase::|public|constructor():void +Microsoft\Graph\Generated.models.restrictAccessActionBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.restrictAccessActionBase::|public|getRestrictionAction():RestrictionAction +Microsoft\Graph\Generated.models.restrictAccessActionBase::|public|OdataType:string +Microsoft\Graph\Generated.models.restrictAccessActionBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.restrictAccessActionBase::|public|setRestrictionAction(value?:RestrictionAction):void +Microsoft\Graph\Generated.models.restrictAccessActionBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestrictAccessActionBase +Microsoft\Graph\Generated.models.restrictionAction::0000-warn +Microsoft\Graph\Generated.models.restrictionAction::0001-audit +Microsoft\Graph\Generated.models.restrictionAction::0002-block Microsoft\Graph\Generated.models.resultInfo::|public|constructor():void Microsoft\Graph\Generated.models.resultInfo::|public|getAdditionalData():array Microsoft\Graph\Generated.models.resultInfo::|public|getBackingStore():BackingStore @@ -139958,6 +140483,19 @@ Microsoft\Graph\Generated.models.schemaExtensionCollectionResponse::|public|getV Microsoft\Graph\Generated.models.schemaExtensionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.schemaExtensionCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.schemaExtensionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SchemaExtensionCollectionResponse +Microsoft\Graph\Generated.models.scopeBase::|public|constructor():void +Microsoft\Graph\Generated.models.scopeBase::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.scopeBase::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.scopeBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.scopeBase::|public|getIdentity():string +Microsoft\Graph\Generated.models.scopeBase::|public|getOdataType():string +Microsoft\Graph\Generated.models.scopeBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.scopeBase::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.scopeBase::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.scopeBase::|public|setIdentity(value?:string):void +Microsoft\Graph\Generated.models.scopeBase::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.scopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ScopeBase +Microsoft\Graph\Generated.models.scopeBase~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.scopedRoleMembership-->Entity Microsoft\Graph\Generated.models.scopedRoleMembership::|public|constructor():void Microsoft\Graph\Generated.models.scopedRoleMembership::|public|getAdministrativeUnitId():string @@ -143402,6 +143940,7 @@ Microsoft\Graph\Generated.models.security.security::|public|getAlerts():array Microsoft\Graph\Generated.models.security.security::|public|getAlertsV2():array Microsoft\Graph\Generated.models.security.security::|public|getAttackSimulation():AttackSimulationRoot Microsoft\Graph\Generated.models.security.security::|public|getCases():CasesRoot +Microsoft\Graph\Generated.models.security.security::|public|getDataSecurityAndGovernance():TenantDataSecurityAndGovernance Microsoft\Graph\Generated.models.security.security::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.security.security::|public|getIdentities():IdentityContainer Microsoft\Graph\Generated.models.security.security::|public|getIncidents():array @@ -143418,6 +143957,7 @@ Microsoft\Graph\Generated.models.security.security::|public|setAlerts(value?:arr Microsoft\Graph\Generated.models.security.security::|public|setAlertsV2(value?:array):void Microsoft\Graph\Generated.models.security.security::|public|setAttackSimulation(value?:AttackSimulationRoot):void Microsoft\Graph\Generated.models.security.security::|public|setCases(value?:CasesRoot):void +Microsoft\Graph\Generated.models.security.security::|public|setDataSecurityAndGovernance(value?:TenantDataSecurityAndGovernance):void Microsoft\Graph\Generated.models.security.security::|public|setIdentities(value?:IdentityContainer):void Microsoft\Graph\Generated.models.security.security::|public|setIncidents(value?:array):void Microsoft\Graph\Generated.models.security.security::|public|setLabels(value?:LabelsRoot):void @@ -148249,6 +148789,14 @@ Microsoft\Graph\Generated.models.tenantAppManagementPolicy::|public|setApplicati Microsoft\Graph\Generated.models.tenantAppManagementPolicy::|public|setIsEnabled(value?:bool):void Microsoft\Graph\Generated.models.tenantAppManagementPolicy::|public|setServicePrincipalRestrictions(value?:AppManagementServicePrincipalConfiguration):void Microsoft\Graph\Generated.models.tenantAppManagementPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantAppManagementPolicy +Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance-->DataSecurityAndGovernance +Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance::|public|constructor():void +Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance::|public|getProtectionScopes():TenantProtectionScopeContainer +Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance::|public|OdataType:string +Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance::|public|setProtectionScopes(value?:TenantProtectionScopeContainer):void +Microsoft\Graph\Generated.models.tenantDataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantDataSecurityAndGovernance Microsoft\Graph\Generated.models.tenantInformation::|public|constructor():void Microsoft\Graph\Generated.models.tenantInformation::|public|getAdditionalData():array Microsoft\Graph\Generated.models.tenantInformation::|public|getBackingStore():BackingStore @@ -148268,6 +148816,12 @@ Microsoft\Graph\Generated.models.tenantInformation::|public|setOdataType(value?: Microsoft\Graph\Generated.models.tenantInformation::|public|setTenantId(value?:string):void Microsoft\Graph\Generated.models.tenantInformation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantInformation Microsoft\Graph\Generated.models.tenantInformation~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.tenantProtectionScopeContainer-->Entity +Microsoft\Graph\Generated.models.tenantProtectionScopeContainer::|public|constructor():void +Microsoft\Graph\Generated.models.tenantProtectionScopeContainer::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.tenantProtectionScopeContainer::|public|OdataType:string +Microsoft\Graph\Generated.models.tenantProtectionScopeContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.tenantProtectionScopeContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantProtectionScopeContainer Microsoft\Graph\Generated.models.tenantRelationship::|public|constructor():void Microsoft\Graph\Generated.models.tenantRelationship::|public|getAdditionalData():array Microsoft\Graph\Generated.models.tenantRelationship::|public|getBackingStore():BackingStore @@ -148285,6 +148839,12 @@ Microsoft\Graph\Generated.models.tenantRelationship::|public|setMultiTenantOrgan Microsoft\Graph\Generated.models.tenantRelationship::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.tenantRelationship::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantRelationship Microsoft\Graph\Generated.models.tenantRelationship~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.tenantScope-->ScopeBase +Microsoft\Graph\Generated.models.tenantScope::|public|constructor():void +Microsoft\Graph\Generated.models.tenantScope::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.tenantScope::|public|OdataType:string +Microsoft\Graph\Generated.models.tenantScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.tenantScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantScope Microsoft\Graph\Generated.models.termColumn::|public|constructor():void Microsoft\Graph\Generated.models.termColumn::|public|getAdditionalData():array Microsoft\Graph\Generated.models.termColumn::|public|getAllowMultipleValues():bool @@ -148600,6 +149160,14 @@ Microsoft\Graph\Generated.models.textColumn::|public|setOdataType(value?:string) Microsoft\Graph\Generated.models.textColumn::|public|setTextType(value?:string):void Microsoft\Graph\Generated.models.textColumn::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TextColumn Microsoft\Graph\Generated.models.textColumn~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.textContent-->ContentBase +Microsoft\Graph\Generated.models.textContent::|public|constructor():void +Microsoft\Graph\Generated.models.textContent::|public|getData():string +Microsoft\Graph\Generated.models.textContent::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.textContent::|public|OdataType:string +Microsoft\Graph\Generated.models.textContent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.textContent::|public|setData(value?:string):void +Microsoft\Graph\Generated.models.textContent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TextContent Microsoft\Graph\Generated.models.textWebPart-->WebPart Microsoft\Graph\Generated.models.textWebPart::|public|constructor():void Microsoft\Graph\Generated.models.textWebPart::|public|GetFieldDeserializers():array @@ -150073,6 +150641,39 @@ Microsoft\Graph\Generated.models.usageDetails::|public|setLastModifiedDateTime(v Microsoft\Graph\Generated.models.usageDetails::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.usageDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UsageDetails Microsoft\Graph\Generated.models.usageDetails~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.usageRights::0000-unknown +Microsoft\Graph\Generated.models.usageRights::0001-docEdit +Microsoft\Graph\Generated.models.usageRights::0002-edit +Microsoft\Graph\Generated.models.usageRights::0003-comment +Microsoft\Graph\Generated.models.usageRights::0004-export +Microsoft\Graph\Generated.models.usageRights::0005-forward +Microsoft\Graph\Generated.models.usageRights::0006-owner +Microsoft\Graph\Generated.models.usageRights::0007-print +Microsoft\Graph\Generated.models.usageRights::0008-reply +Microsoft\Graph\Generated.models.usageRights::0009-replyAll +Microsoft\Graph\Generated.models.usageRights::0010-view +Microsoft\Graph\Generated.models.usageRights::0011-extract +Microsoft\Graph\Generated.models.usageRights::0012-viewRightsData +Microsoft\Graph\Generated.models.usageRights::0013-editRightsData +Microsoft\Graph\Generated.models.usageRights::0014-objModel +Microsoft\Graph\Generated.models.usageRights::0015-accessDenied +Microsoft\Graph\Generated.models.usageRights::0016-userDefinedProtectionTypeNotSupportedException +Microsoft\Graph\Generated.models.usageRights::0017-encryptedProtectionTypeNotSupportedException +Microsoft\Graph\Generated.models.usageRights::0018-purviewClaimsChallengeNotSupportedException +Microsoft\Graph\Generated.models.usageRights::0019-exception +Microsoft\Graph\Generated.models.usageRights::0020-unknownFutureValue +Microsoft\Graph\Generated.models.usageRightsIncluded-->Entity +Microsoft\Graph\Generated.models.usageRightsIncluded::|public|constructor():void +Microsoft\Graph\Generated.models.usageRightsIncluded::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.usageRightsIncluded::|public|getOwnerEmail():string +Microsoft\Graph\Generated.models.usageRightsIncluded::|public|getUserEmail():string +Microsoft\Graph\Generated.models.usageRightsIncluded::|public|getValue():UsageRights +Microsoft\Graph\Generated.models.usageRightsIncluded::|public|OdataType:string +Microsoft\Graph\Generated.models.usageRightsIncluded::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.usageRightsIncluded::|public|setOwnerEmail(value?:string):void +Microsoft\Graph\Generated.models.usageRightsIncluded::|public|setUserEmail(value?:string):void +Microsoft\Graph\Generated.models.usageRightsIncluded::|public|setValue(value?:UsageRights):void +Microsoft\Graph\Generated.models.usageRightsIncluded::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UsageRightsIncluded Microsoft\Graph\Generated.models.usedInsight-->Entity Microsoft\Graph\Generated.models.usedInsight::|public|constructor():void Microsoft\Graph\Generated.models.usedInsight::|public|GetFieldDeserializers():array @@ -150124,6 +150725,7 @@ Microsoft\Graph\Generated.models.user::|public|getCreatedDateTime():DateTime Microsoft\Graph\Generated.models.user::|public|getCreatedObjects():array Microsoft\Graph\Generated.models.user::|public|getCreationType():string Microsoft\Graph\Generated.models.user::|public|getCustomSecurityAttributes():CustomSecurityAttributeValue +Microsoft\Graph\Generated.models.user::|public|getDataSecurityAndGovernance():UserDataSecurityAndGovernance Microsoft\Graph\Generated.models.user::|public|getDepartment():string Microsoft\Graph\Generated.models.user::|public|getDeviceEnrollmentLimit():int Microsoft\Graph\Generated.models.user::|public|getDeviceManagementTroubleshootingEvents():array @@ -150256,6 +150858,7 @@ Microsoft\Graph\Generated.models.user::|public|setCreatedDateTime(value?:DateTim Microsoft\Graph\Generated.models.user::|public|setCreatedObjects(value?:array):void Microsoft\Graph\Generated.models.user::|public|setCreationType(value?:string):void Microsoft\Graph\Generated.models.user::|public|setCustomSecurityAttributes(value?:CustomSecurityAttributeValue):void +Microsoft\Graph\Generated.models.user::|public|setDataSecurityAndGovernance(value?:UserDataSecurityAndGovernance):void Microsoft\Graph\Generated.models.user::|public|setDepartment(value?:string):void Microsoft\Graph\Generated.models.user::|public|setDeviceEnrollmentLimit(value?:int):void Microsoft\Graph\Generated.models.user::|public|setDeviceManagementTroubleshootingEvents(value?:array):void @@ -150402,6 +151005,17 @@ Microsoft\Graph\Generated.models.userActivityCollectionResponse::|public|getValu Microsoft\Graph\Generated.models.userActivityCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userActivityCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.userActivityCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserActivityCollectionResponse +Microsoft\Graph\Generated.models.userActivityType::0000-uploadText +Microsoft\Graph\Generated.models.userActivityType::0001-uploadFile +Microsoft\Graph\Generated.models.userActivityType::0002-downloadText +Microsoft\Graph\Generated.models.userActivityType::0003-downloadFile +Microsoft\Graph\Generated.models.userActivityType::0004-unknownFutureValue +Microsoft\Graph\Generated.models.userActivityTypes::0000-none +Microsoft\Graph\Generated.models.userActivityTypes::0001-uploadText +Microsoft\Graph\Generated.models.userActivityTypes::0002-uploadFile +Microsoft\Graph\Generated.models.userActivityTypes::0003-downloadText +Microsoft\Graph\Generated.models.userActivityTypes::0004-downloadFile +Microsoft\Graph\Generated.models.userActivityTypes::0005-unknownFutureValue Microsoft\Graph\Generated.models.userAttributeValuesItem::|public|constructor():void Microsoft\Graph\Generated.models.userAttributeValuesItem::|public|getAdditionalData():array Microsoft\Graph\Generated.models.userAttributeValuesItem::|public|getBackingStore():BackingStore @@ -150443,6 +151057,16 @@ Microsoft\Graph\Generated.models.userConsentRequestCollectionResponse::|public|g Microsoft\Graph\Generated.models.userConsentRequestCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userConsentRequestCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.userConsentRequestCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserConsentRequestCollectionResponse +Microsoft\Graph\Generated.models.userDataSecurityAndGovernance-->DataSecurityAndGovernance +Microsoft\Graph\Generated.models.userDataSecurityAndGovernance::|public|constructor():void +Microsoft\Graph\Generated.models.userDataSecurityAndGovernance::|public|getActivities():ActivitiesContainer +Microsoft\Graph\Generated.models.userDataSecurityAndGovernance::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userDataSecurityAndGovernance::|public|getProtectionScopes():UserProtectionScopeContainer +Microsoft\Graph\Generated.models.userDataSecurityAndGovernance::|public|OdataType:string +Microsoft\Graph\Generated.models.userDataSecurityAndGovernance::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userDataSecurityAndGovernance::|public|setActivities(value?:ActivitiesContainer):void +Microsoft\Graph\Generated.models.userDataSecurityAndGovernance::|public|setProtectionScopes(value?:UserProtectionScopeContainer):void +Microsoft\Graph\Generated.models.userDataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserDataSecurityAndGovernance Microsoft\Graph\Generated.models.userDefaultAuthenticationMethod::0000-push Microsoft\Graph\Generated.models.userDefaultAuthenticationMethod::0001-oath Microsoft\Graph\Generated.models.userDefaultAuthenticationMethod::0002-voiceMobile @@ -151435,6 +152059,12 @@ Microsoft\Graph\Generated.models.userPrint::|public|setOdataType(value?:string): Microsoft\Graph\Generated.models.userPrint::|public|setRecentPrinterShares(value?:array):void Microsoft\Graph\Generated.models.userPrint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserPrint Microsoft\Graph\Generated.models.userPrint~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.userProtectionScopeContainer-->Entity +Microsoft\Graph\Generated.models.userProtectionScopeContainer::|public|constructor():void +Microsoft\Graph\Generated.models.userProtectionScopeContainer::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userProtectionScopeContainer::|public|OdataType:string +Microsoft\Graph\Generated.models.userProtectionScopeContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userProtectionScopeContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserProtectionScopeContainer Microsoft\Graph\Generated.models.userPurpose::0000-user Microsoft\Graph\Generated.models.userPurpose::0001-linked Microsoft\Graph\Generated.models.userPurpose::0002-shared @@ -151553,6 +152183,12 @@ Microsoft\Graph\Generated.models.userRegistrationMethodSummary::|public|setUserR Microsoft\Graph\Generated.models.userRegistrationMethodSummary::|public|setUserTypes(value?:IncludedUserTypes):void Microsoft\Graph\Generated.models.userRegistrationMethodSummary::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserRegistrationMethodSummary Microsoft\Graph\Generated.models.userRegistrationMethodSummary~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.userScope-->ScopeBase +Microsoft\Graph\Generated.models.userScope::|public|constructor():void +Microsoft\Graph\Generated.models.userScope::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userScope::|public|OdataType:string +Microsoft\Graph\Generated.models.userScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserScope Microsoft\Graph\Generated.models.userScopeTeamsAppInstallation-->TeamsAppInstallation Microsoft\Graph\Generated.models.userScopeTeamsAppInstallation::|public|constructor():void Microsoft\Graph\Generated.models.userScopeTeamsAppInstallation::|public|getChat():Chat @@ -168749,6 +169385,119 @@ Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.tags.tagsRequestBu Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.tags.tagsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):TagsRequestBuilderGetQueryParameters Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.tags.tagsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.tags.tagsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Delete(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Get(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):TenantDataSecurityAndGovernance +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Patch(body:TenantDataSecurityAndGovernance; requestConfiguration?:DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):TenantDataSecurityAndGovernance +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|processContentAsync:ProcessContentAsyncRequestBuilder +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|protectionScopes:ProtectionScopesRequestBuilder +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToPatchRequestInformation(body:TenantDataSecurityAndGovernance; requestConfiguration?:DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|WithUrl(rawUrl:string):DataSecurityAndGovernanceRequestBuilder +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DataSecurityAndGovernanceRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|queryParameters:DataSecurityAndGovernanceRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DataSecurityAndGovernanceRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|getProcessContentRequests():array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|setProcessContentRequests(value?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentAsyncPostRequestBody +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|public|constructor():void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|public|getValue():array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentAsyncPostResponse +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|Post(body:ProcessContentAsyncPostRequestBody; requestConfiguration?:ProcessContentAsyncRequestBuilderPostRequestConfiguration):ProcessContentAsyncPostResponse +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|ToPostRequestInformation(body:ProcessContentAsyncPostRequestBody; requestConfiguration?:ProcessContentAsyncRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|WithUrl(rawUrl:string):ProcessContentAsyncRequestBuilder +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getActivities():UserActivityTypes +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getDeviceMetadata():DeviceMetadata +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getIntegratedAppMetadata():IntegratedApplicationMetadata +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getLocations():array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getPivotOn():PolicyPivotProperty +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setActivities(value?:UserActivityTypes):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setDeviceMetadata(value?:DeviceMetadata):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setIntegratedAppMetadata(value?:IntegratedApplicationMetadata):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setLocations(value?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setPivotOn(value?:PolicyPivotProperty):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputePostRequestBody +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|public|constructor():void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|public|getValue():array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputePostResponse +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|Post(body:ComputePostRequestBody; requestConfiguration?:ComputeRequestBuilderPostRequestConfiguration):ComputePostResponse +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|ToPostRequestInformation(body:ComputePostRequestBody; requestConfiguration?:ComputeRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRequestBuilder +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.compute.computeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|compute:ComputeRequestBuilder +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Delete(requestConfiguration?:ProtectionScopesRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Get(requestConfiguration?:ProtectionScopesRequestBuilderGetRequestConfiguration):TenantProtectionScopeContainer +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Patch(body:TenantProtectionScopeContainer; requestConfiguration?:ProtectionScopesRequestBuilderPatchRequestConfiguration):TenantProtectionScopeContainer +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ProtectionScopesRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ProtectionScopesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:TenantProtectionScopeContainer; requestConfiguration?:ProtectionScopesRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):ProtectionScopesRequestBuilder +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ProtectionScopesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|public|queryParameters:ProtectionScopesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ProtectionScopesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.security.identities.healthIssues.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.security.identities.healthIssues.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.security.identities.healthIssues.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -169967,6 +170716,7 @@ Microsoft\Graph\Generated.security.SecurityRequestBuilder::|public|alerts_v2:Ale Microsoft\Graph\Generated.security.SecurityRequestBuilder::|public|attackSimulation:AttackSimulationRequestBuilder Microsoft\Graph\Generated.security.SecurityRequestBuilder::|public|cases:CasesRequestBuilder Microsoft\Graph\Generated.security.SecurityRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.security.SecurityRequestBuilder::|public|dataSecurityAndGovernance:DataSecurityAndGovernanceRequestBuilder Microsoft\Graph\Generated.security.SecurityRequestBuilder::|public|Get(requestConfiguration?:SecurityRequestBuilderGetRequestConfiguration):Security Microsoft\Graph\Generated.security.SecurityRequestBuilder::|public|identities:IdentitiesRequestBuilder Microsoft\Graph\Generated.security.SecurityRequestBuilder::|public|incidents:IncidentsRequestBuilder @@ -201110,6 +201860,7 @@ Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotifi Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getRecipient():TeamworkNotificationRecipient Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string @@ -201120,6 +201871,7 @@ Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotifi Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setRecipient(value?:TeamworkNotificationRecipient):void Microsoft\Graph\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -202820,6 +203572,7 @@ Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActi Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getChainId():int Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getIconId():string Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getRecipients():array Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getTeamsAppId():string @@ -202830,6 +203583,7 @@ Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActi Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setRecipients(value?:array):void Microsoft\Graph\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -208137,6 +208891,7 @@ Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendAct Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getRecipient():TeamworkNotificationRecipient Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string @@ -208147,6 +208902,7 @@ Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendAct Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setRecipient(value?:TeamworkNotificationRecipient):void Microsoft\Graph\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -209361,6 +210117,202 @@ Microsoft\Graph\Generated.users.item.createdObjects.item.graphServicePrincipal.g Microsoft\Graph\Generated.users.item.createdObjects.item.graphServicePrincipal.graphServicePrincipalRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GraphServicePrincipalRequestBuilderGetQueryParameters):void Microsoft\Graph\Generated.users.item.createdObjects.item.graphServicePrincipal.graphServicePrincipalRequestBuilderGetRequestConfiguration::|public|queryParameters:GraphServicePrincipalRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.createdObjects.item.graphServicePrincipal.graphServicePrincipalRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):GraphServicePrincipalRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|contentActivities:ContentActivitiesRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|Delete(requestConfiguration?:ActivitiesRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|Get(requestConfiguration?:ActivitiesRequestBuilderGetRequestConfiguration):ActivitiesContainer +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|Patch(body:ActivitiesContainer; requestConfiguration?:ActivitiesRequestBuilderPatchRequestConfiguration):ActivitiesContainer +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ActivitiesRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ActivitiesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|ToPatchRequestInformation(body:ActivitiesContainer; requestConfiguration?:ActivitiesRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|WithUrl(rawUrl:string):ActivitiesRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ActivitiesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetRequestConfiguration::|public|queryParameters:ActivitiesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ActivitiesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|ByContentActivityId(contentActivityId:string):ContentActivityItemRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|Get(requestConfiguration?:ContentActivitiesRequestBuilderGetRequestConfiguration):ContentActivityCollectionResponse +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|Post(body:ContentActivity; requestConfiguration?:ContentActivitiesRequestBuilderPostRequestConfiguration):ContentActivity +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ContentActivitiesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|ToPostRequestInformation(body:ContentActivity; requestConfiguration?:ContentActivitiesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|WithUrl(rawUrl:string):ContentActivitiesRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ContentActivitiesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetRequestConfiguration::|public|queryParameters:ContentActivitiesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ContentActivitiesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|Delete(requestConfiguration?:ContentActivityItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|Get(requestConfiguration?:ContentActivityItemRequestBuilderGetRequestConfiguration):ContentActivity +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|Patch(body:ContentActivity; requestConfiguration?:ContentActivityItemRequestBuilderPatchRequestConfiguration):ContentActivity +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ContentActivityItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ContentActivityItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|ToPatchRequestInformation(body:ContentActivity; requestConfiguration?:ContentActivityItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|WithUrl(rawUrl:string):ContentActivityItemRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ContentActivityItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ContentActivityItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ContentActivityItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|activities:ActivitiesRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Delete(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Get(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):UserDataSecurityAndGovernance +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Patch(body:UserDataSecurityAndGovernance; requestConfiguration?:DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):UserDataSecurityAndGovernance +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|processContent:ProcessContentRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|protectionScopes:ProtectionScopesRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToPatchRequestInformation(body:UserDataSecurityAndGovernance; requestConfiguration?:DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|WithUrl(rawUrl:string):DataSecurityAndGovernanceRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DataSecurityAndGovernanceRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|queryParameters:DataSecurityAndGovernanceRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DataSecurityAndGovernanceRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|getContentToProcess():ProcessContentRequest +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|setContentToProcess(value?:ProcessContentRequest):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentPostRequestBody +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|Post(body:ProcessContentPostRequestBody; requestConfiguration?:ProcessContentRequestBuilderPostRequestConfiguration):ProcessContentResponse +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|ToPostRequestInformation(body:ProcessContentPostRequestBody; requestConfiguration?:ProcessContentRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|WithUrl(rawUrl:string):ProcessContentRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.processContent.processContentRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getActivities():UserActivityTypes +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getDeviceMetadata():DeviceMetadata +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getIntegratedAppMetadata():IntegratedApplicationMetadata +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getLocations():array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|getPivotOn():PolicyPivotProperty +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setActivities(value?:UserActivityTypes):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setDeviceMetadata(value?:DeviceMetadata):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setIntegratedAppMetadata(value?:IntegratedApplicationMetadata):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setLocations(value?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|public|setPivotOn(value?:PolicyPivotProperty):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputePostRequestBody +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|public|constructor():void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|public|getValue():array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputePostResponse +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|Post(body:ComputePostRequestBody; requestConfiguration?:ComputeRequestBuilderPostRequestConfiguration):ComputePostResponse +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|ToPostRequestInformation(body:ComputePostRequestBody; requestConfiguration?:ComputeRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.ComputeRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.compute.computeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|compute:ComputeRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Delete(requestConfiguration?:ProtectionScopesRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Get(requestConfiguration?:ProtectionScopesRequestBuilderGetRequestConfiguration):UserProtectionScopeContainer +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Patch(body:UserProtectionScopeContainer; requestConfiguration?:ProtectionScopesRequestBuilderPatchRequestConfiguration):UserProtectionScopeContainer +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ProtectionScopesRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ProtectionScopesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:UserProtectionScopeContainer; requestConfiguration?:ProtectionScopesRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):ProtectionScopesRequestBuilder +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ProtectionScopesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|public|queryParameters:ProtectionScopesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ProtectionScopesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.deviceManagementTroubleshootingEvents.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.deviceManagementTroubleshootingEvents.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.deviceManagementTroubleshootingEvents.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -214911,6 +215863,7 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.s Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getRecipient():TeamworkNotificationRecipient Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string @@ -214921,6 +215874,7 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.s Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setRecipient(value?:TeamworkNotificationRecipient):void Microsoft\Graph\Generated.users.item.joinedTeams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -223625,6 +224579,7 @@ Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActiv Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTemplateParameters():array @@ -223634,6 +224589,7 @@ Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActiv Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void Microsoft\Graph\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTemplateParameters(value?:array):void @@ -224603,6 +225559,7 @@ Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|constructor Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|contactFolders:ContactFoldersRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|contacts:ContactsRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|createdObjects:CreatedObjectsRequestBuilder +Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|dataSecurityAndGovernance:DataSecurityAndGovernanceRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|Delete(requestConfiguration?:UserItemRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|deviceManagementTroubleshootingEvents:DeviceManagementTroubleshootingEventsRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|directReports:DirectReportsRequestBuilder diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index c3e8e38075a..ce15a637be8 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "D30AE728B02B4955989D20416397BFCF71ACE641A7F6394AB926849E078B3ADAC03C2E4AC6219CDBAD366474CD6FE047BAA29452865D993B65AE503698935A13", + "descriptionHash": "645999DA4E657EB400D8A694456CA5F9D1E62FE46056F8B00797AD20C48BFD4522A925588EF4DD2AD33AE76361C65DDDEDB5C4C77BE6167C97F26B389CDD0E3D", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.28.0",