diff --git a/README.md b/README.md index 746f7258a07..02ad47364a7 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ You can install the PHP SDK with Composer by editing your `composer.json` file: { "minimum-stability": "RC", "require": { - "microsoft/microsoft-graph": "^2.0.0-RC23", + "microsoft/microsoft-graph": "^2.0.0-RC24", } } ``` @@ -17,7 +17,7 @@ OR ``` { "require": { - "microsoft/microsoft-graph": "^2.0.0-RC23", + "microsoft/microsoft-graph": "^2.0.0-RC24", "microsoft/microsoft-graph-core": "@RC" } } diff --git a/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php b/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php index cd22da1ec4e..db5311e4d31 100644 --- a/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Generated\Communications\Presences\Item\ClearPresence\ClearPresenceRequestBuilder; use Microsoft\Graph\Generated\Communications\Presences\Item\ClearUserPreferredPresence\ClearUserPreferredPresenceRequestBuilder; use Microsoft\Graph\Generated\Communications\Presences\Item\SetPresence\SetPresenceRequestBuilder; +use Microsoft\Graph\Generated\Communications\Presences\Item\SetStatusMessage\SetStatusMessageRequestBuilder; use Microsoft\Graph\Generated\Communications\Presences\Item\SetUserPreferredPresence\SetUserPreferredPresenceRequestBuilder; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\Presence; @@ -42,6 +43,13 @@ public function setPresence(): SetPresenceRequestBuilder { return new SetPresenceRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the setStatusMessage method. + */ + public function setStatusMessage(): SetStatusMessageRequestBuilder { + return new SetStatusMessageRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the setUserPreferredPresence method. */ diff --git a/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessagePostRequestBody.php b/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessagePostRequestBody.php new file mode 100644 index 00000000000..afc300825cd --- /dev/null +++ b/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessagePostRequestBody.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 SetStatusMessagePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SetStatusMessagePostRequestBody { + return new SetStatusMessagePostRequestBody(); + } + + /** + * 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 [ + 'statusMessage' => fn(ParseNode $n) => $o->setStatusMessage($n->getObjectValue([PresenceStatusMessage::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the statusMessage property value. The statusMessage property + * @return PresenceStatusMessage|null + */ + public function getStatusMessage(): ?PresenceStatusMessage { + $val = $this->getBackingStore()->get('statusMessage'); + if (is_null($val) || $val instanceof PresenceStatusMessage) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'statusMessage'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('statusMessage', $this->getStatusMessage()); + $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 statusMessage property value. The statusMessage property + * @param PresenceStatusMessage|null $value Value to set for the statusMessage property. + */ + public function setStatusMessage(?PresenceStatusMessage $value): void { + $this->getBackingStore()->set('statusMessage', $value); + } + +} diff --git a/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.php b/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.php new file mode 100644 index 00000000000..2499a77b27a --- /dev/null +++ b/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.php @@ -0,0 +1,80 @@ +|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}/communications/presences/{presence%2Did}/setStatusMessage'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action setStatusMessage + * @param SetStatusMessagePostRequestBody $body The request body + * @param SetStatusMessageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function post(SetStatusMessagePostRequestBody $body, ?SetStatusMessageRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Invoke action setStatusMessage + * @param SetStatusMessagePostRequestBody $body The request body + * @param SetStatusMessageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SetStatusMessagePostRequestBody $body, ?SetStatusMessageRequestBuilderPostRequestConfiguration $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->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 SetStatusMessageRequestBuilder + */ + public function withUrl(string $rawUrl): SetStatusMessageRequestBuilder { + return new SetStatusMessageRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilderPostRequestConfiguration.php b/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..8f9a2fb1c23 --- /dev/null +++ b/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilderPostRequestConfiguration.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/DeviceAppManagement/DeviceAppManagementRequestBuilder.php b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php index 1f7049bc908..3c4e9922907 100644 --- a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php @@ -155,7 +155,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Read properties and relationships of the deviceAppManagement object. * @param DeviceAppManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -175,7 +175,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r * @param DeviceAppManagement $body The request body * @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-policyset-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 7a7afc8dc23..25bc9f1c3a2 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -58,10 +58,10 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the targetedManagedAppProtection 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 - * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-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); @@ -113,7 +113,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe } /** - * Read properties and relationships of the targetedManagedAppProtection 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 612793385c9..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 targetedManagedAppProtection 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 c594913e156..06635593790 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 TargetAppsPostRequestBody $body The request body * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-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 02b11be98a9..5e6103d95e8 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppPolicy 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 - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -91,7 +91,7 @@ public function post(ManagedAppPolicy $body, ?ManagedAppPoliciesRequestBuilderPo } /** - * List properties and relationships of the managedAppPolicy 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 4df728afddc..cc1020bd8d9 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the 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 1832b8006e6..b7a0a8d63eb 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 TargetAppsPostRequestBody $body The request body * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-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 bd964350653..56235227841 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 TargetAppsPostRequestBody $body The request body * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-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 0fa90b561ce..2ad06aa1c0f 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php @@ -74,10 +74,10 @@ public function delete(?ManagedAppRegistrationItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @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-iosmanagedappregistration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -129,7 +129,7 @@ public function toDeleteRequestInformation(?ManagedAppRegistrationItemRequestBui } /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration 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..92858399e1b 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 iosManagedAppRegistration object. */ class ManagedAppRegistrationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php index 158e32bc199..e5d479ccfbe 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php @@ -61,10 +61,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -100,7 +100,7 @@ public function post(ManagedAppRegistration $body, ?ManagedAppRegistrationsReque } /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php index 327ac218e6b..6712257a390 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. */ class ManagedAppRegistrationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php index 874f3fc346b..2a94d9aefde 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php @@ -50,10 +50,10 @@ public function delete(?ManagedAppStatusItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -105,7 +105,7 @@ public function toDeleteRequestInformation(?ManagedAppStatusItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus 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 e257e0cbe70..1a778e35b25 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 managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. */ class ManagedAppStatusItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php index f97b5ce1ac5..f33f77bfca0 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php @@ -72,11 +72,11 @@ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new iosVppEBookAssignment object. + * Create a new managedEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0 Find more info here */ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } /** - * Create a new iosVppEBookAssignment object. + * Create a new managedEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php index 470916c72c5..8f53e998663 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php @@ -70,11 +70,11 @@ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a managedEBookAssignment object. + * Update the properties of a iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 Find more info here */ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ManagedEBookAssignmentItemRequestBuilde } /** - * Update the properties of a managedEBookAssignment object. + * Update the properties of a iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php index 15f9f96891d..d680c427b80 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosVppEBook objects. + * List properties and relationships of the managedEBook objects. * @param ManagedEBooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBooksRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +92,7 @@ public function post(ManagedEBook $body, ?ManagedEBooksRequestBuilderPostRequest } /** - * List properties and relationships of the iosVppEBook objects. + * List properties and relationships of the managedEBook objects. * @param ManagedEBooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php index 9b712311faf..be54e5f866d 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the iosVppEBook objects. + * List properties and relationships of the managedEBook objects. */ class ManagedEBooksRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php index 1cc800fc1f2..b7acfa85075 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php @@ -99,10 +99,10 @@ 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 - * @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); @@ -155,7 +155,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/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php index 793aafd86c0..6a63283400d 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedDeviceMobileAppConfiguration objects. + * List properties and relationships of the iosMobileAppConfiguration objects. * @param MobileAppConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +92,7 @@ public function post(ManagedDeviceMobileAppConfiguration $body, ?MobileAppConfig } /** - * List properties and relationships of the managedDeviceMobileAppConfiguration objects. + * List properties and relationships of the iosMobileAppConfiguration objects. * @param MobileAppConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php index ff7c68f0b4a..819202019ad 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedDeviceMobileAppConfiguration objects. + * List properties and relationships of the iosMobileAppConfiguration objects. */ class MobileAppConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php index f58a9776409..f3b31c223d9 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php @@ -72,10 +72,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a managedIOSLobApp. + * Deletes a webApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-webapp-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -91,10 +91,10 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read properties and relationships of the win32LobApp 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 - * @link https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-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); @@ -110,11 +110,11 @@ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $request } /** - * Update the properties of a webApp object. + * Update the properties of a windowsAppX 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 - * @link https://learn.microsoft.com/graph/api/intune-apps-webapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-windowsappx-update?view=graph-rest-1.0 Find more info here */ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -130,7 +130,7 @@ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestC } /** - * Deletes a managedIOSLobApp. + * Deletes a webApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -147,7 +147,7 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the win32LobApp 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 */ @@ -168,7 +168,7 @@ public function toGetRequestInformation(?MobileAppItemRequestBuilderGetRequestCo } /** - * Update the properties of a webApp object. + * Update the properties of a windowsAppX 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 6755f5b832b..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 win32LobApp 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 c0601dee409..464f0f9c5cd 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php @@ -69,10 +69,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the win32LobApp objects. + * List properties and relationships of the windowsUniversalAppX objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-windowsuniversalappx-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -88,11 +88,11 @@ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new webApp object. + * Create a new macOSOfficeSuiteApp 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 - * @link https://learn.microsoft.com/graph/api/intune-apps-webapp-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-create?view=graph-rest-1.0 Find more info here */ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -108,7 +108,7 @@ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfig } /** - * List properties and relationships of the win32LobApp objects. + * List properties and relationships of the windowsUniversalAppX objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?MobileAppsRequestBuilderGetRequestConfi } /** - * Create a new webApp object. + * Create a new macOSOfficeSuiteApp 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 ee26d51f179..733f15dc8d9 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 win32LobApp objects. + * List properties and relationships of the windowsUniversalAppX objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index f69322d1d23..f8c8feb5811 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php @@ -72,11 +72,11 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new androidCompliancePolicy object. + * Create a new androidWorkProfileCompliancePolicy 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 - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceCompliancePoliciesRequestBuilderG } /** - * Create a new androidCompliancePolicy object. + * Create a new androidWorkProfileCompliancePolicy 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/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index 984bc832bf7..0f2be37c8ca 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php @@ -104,10 +104,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a windowsPhone81CompliancePolicy. + * Deletes a androidWorkProfileCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-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); @@ -142,11 +142,11 @@ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a windows10MobileCompliancePolicy object. + * Update the properties of a androidCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -162,7 +162,7 @@ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemR } /** - * Deletes a windowsPhone81CompliancePolicy. + * Deletes a androidWorkProfileCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -200,7 +200,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyItemRequestBuilde } /** - * Update the properties of a windows10MobileCompliancePolicy object. + * Update the properties of a androidCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index 638dc9b5428..2f20726b272 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + * List properties and relationships of the androidWorkProfileCustomConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecustomconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -72,11 +72,11 @@ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $ } /** - * Create a new iosUpdateConfiguration object. + * Create a new windowsPhone81GeneralConfiguration 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 - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosupdateconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81generalconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -92,7 +92,7 @@ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuil } /** - * List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + * List properties and relationships of the androidWorkProfileCustomConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceConfigurationsRequestBuilderGetRe } /** - * Create a new iosUpdateConfiguration object. + * Create a new windowsPhone81GeneralConfiguration 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 c022ffd7cfe..d5a1ae0841d 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 androidWorkProfileGeneralDeviceConfiguration objects. + * List properties and relationships of the androidWorkProfileCustomConfiguration objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index 2a372091bca..a42e0747c25 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php @@ -89,10 +89,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a macOSGeneralDeviceConfiguration. + * Deletes a windows10EnterpriseModernAppManagementConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -108,10 +108,10 @@ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfig } /** - * Read properties and relationships of the iosDeviceFeaturesConfiguration object. + * Read properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsdefenderadvancedthreatprotectionconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -136,11 +136,11 @@ public function getOmaSettingPlainTextValueWithSecretReferenceValueId(string $se } /** - * Update the properties of a androidWorkProfileCustomConfiguration 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 - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecustomconfiguration-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); @@ -156,7 +156,7 @@ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequest } /** - * Deletes a macOSGeneralDeviceConfiguration. + * Deletes a windows10EnterpriseModernAppManagementConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -173,7 +173,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationItemRequestBuilde } /** - * Read properties and relationships of the iosDeviceFeaturesConfiguration object. + * Read properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -194,7 +194,7 @@ public function toGetRequestInformation(?DeviceConfigurationItemRequestBuilderGe } /** - * Update the properties of a androidWorkProfileCustomConfiguration 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 84547978255..8301e6546ab 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 iosDeviceFeaturesConfiguration object. + * Read properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index 25e1349e3d9..d439c9461dc 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -72,11 +72,11 @@ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfi } /** - * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -92,7 +92,7 @@ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfi } /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationsRequestBu } /** - * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php index 648974d1478..0e1a5b8ac93 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 deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. */ class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php index 6d146958375..c27ba6f86bd 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -56,10 +56,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -75,10 +75,10 @@ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -114,7 +114,7 @@ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConf } /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -131,7 +131,7 @@ public function toDeleteRequestInformation(?DeviceEnrollmentConfigurationItemReq } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php index 12796689b55..382c8125da1 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. */ class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php index 1d3cc50a235..173169fb49e 100644 --- a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php @@ -493,7 +493,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Read properties and relationships of the deviceManagement object. * @param DeviceManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-rbac-devicemanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-reporting-devicemanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -522,7 +522,7 @@ public function getEffectivePermissionsWithScope(string $scope): GetEffectivePer * @param DeviceManagement $body The request body * @param DeviceManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-notification-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-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 e07bbd1b814..6f201005d65 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php @@ -40,10 +40,10 @@ 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 - * @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); @@ -78,11 +78,11 @@ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of a roleDefinition object. + * Update the properties of a deviceAndAppManagementRoleDefinition 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 - * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 Find more info here */ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -98,7 +98,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 */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?RoleDefinitionItemRequestBuilderGetRequ } /** - * Update the properties of a roleDefinition object. + * Update the properties of a deviceAndAppManagementRoleDefinition 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/RoleDefinitionsRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php index 6ddf5b929b3..d37905744d2 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +92,7 @@ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostReq } /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php index 6dc159750ec..679716e13ea 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. */ class RoleDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.php index 5be56e39953..5d60d47ef23 100644 --- a/src/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.php @@ -308,11 +308,11 @@ public function getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInter } /** - * To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. + * Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. * @param DriveItem $body The request body * @param DriveItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/driveitem-move?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/driveitem-update?view=graph-rest-1.0 Find more info here */ public function patch(DriveItem $body, ?DriveItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -375,7 +375,7 @@ public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestCo } /** - * To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. + * Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. * @param DriveItem $body The request body * @param DriveItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php index 7dd11ab02ed..b1703bb547a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php @@ -72,7 +72,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Retrieve a list of nameditem objects. * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/nameditem-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/workbook-list-names?view=graph-rest-1.0 Find more info here */ public function get(?NamesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php index e3c547bf227..6792c8ec782 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Retrieve a list of tablerow objects. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 Find more info here */ public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php index 8d532a33519..6fb5f6bd862 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php @@ -66,7 +66,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Retrieve a list of chart objects. * @param ChartsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/chart-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/worksheet-list-charts?view=graph-rest-1.0 Find more info here */ public function get(?ChartsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php index 32c15af7cbe..68ae67e1483 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php @@ -54,10 +54,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of chartpoints objects. + * Retrieve a list of chartpoint objects. * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chartpoint-list?view=graph-rest-1.0 Find more info here */ public function get(?PointsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -102,7 +102,7 @@ public function post(WorkbookChartPoint $body, ?PointsRequestBuilderPostRequestC } /** - * Retrieve a list of chartpoints objects. + * Retrieve a list of chartpoint objects. * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php index 8b8410d6e7e..5241a3d84b0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of chartpoints objects. + * Retrieve a list of chartpoint objects. */ class PointsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php index 975dbff923b..4b8b309a147 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Retrieve a list of tablerow objects. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 Find more info here */ public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php index 53ee7a11d3e..83c890f06d1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php @@ -64,7 +64,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Retrieve a list of worksheet objects. * @param WorksheetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/worksheet-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/workbook-list-worksheets?view=graph-rest-1.0 Find more info here */ public function get(?WorksheetsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index fb1b5adb5d0..5c7aa5a46d7 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 6c565a9dd8f..aed8c7c2011 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 50a38055ef9..8d20750a70a 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index fe6e0f82ab3..18419352e36 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index dde2b63d5ae..cef3f0455c0 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 196de72a307..b653c99603c 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php index 17df5f7c1fc..75b7d6306b8 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php @@ -72,11 +72,11 @@ public function get(?ConversationsRequestBuilderGetRequestConfiguration $request } /** - * 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. + * Use reply thread or reply post to further post to that conversation. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 Find more info here */ public function post(Conversation $body, ?ConversationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ConversationsRequestBuilderGetRequestCo } /** - * 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. + * Use reply thread or reply post to further post to that conversation. * @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 bb257c6978f..a77aac8ce30 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 * Delete conversation. * @param ConversationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @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/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 24bf4b8e87d..e46bee106d2 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 70c363c0880..fbbe2febd9c 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php index 56fa76bc9f4..76828eb6adf 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -51,7 +51,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php index 42930038ca4..823c6c9e47a 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -51,7 +51,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php index 8958f0e5ab1..49112253db1 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -52,10 +52,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * 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. + * 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. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 Find more info here */ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -71,7 +71,7 @@ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * 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. + * 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. * @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/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php index 29feeb1465f..c4eb742c284 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * 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. + * 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. */ class PostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index e10bbd122dc..9aa430258ee 100644 --- a/src/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 42793200a85..ee1b999dd61 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.php index b603f37e805..d8e2d1406ca 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.php @@ -114,10 +114,10 @@ public function delete(?ListItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Returns the metadata for a [list][]. + * Get a list of rich long-running operations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 Find more info here */ public function get(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -169,7 +169,7 @@ public function toDeleteRequestInformation(?ListItemRequestBuilderDeleteRequestC } /** - * Returns the metadata for a [list][]. + * Get a list of rich long-running operations associated with 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/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php index 0a9535f9c2d..83726327c23 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the metadata for a [list][]. + * Get a list of rich long-running operations associated with a list. */ class ListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php b/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php index 9d5e915c40a..5fad2064ad2 100644 --- a/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -51,7 +51,7 @@ public function post(ClonePostRequestBody $body, ?CloneRequestBuilderPostRequest } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|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/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 03f601b0a7a..84e113d9b37 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index b0948e1511e..3e8f70c6ae2 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php index b93d2cbd5e5..b5c0692747e 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -51,7 +51,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php index c43936aabce..a8e4fe3d0ec 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -51,7 +51,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php index 0d4a91ae889..63499afadde 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -52,10 +52,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * 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. + * 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. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 Find more info here */ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -71,7 +71,7 @@ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * 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. + * 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. * @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 91ed3aa47ec..9259e8b6123 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 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. + * 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. */ class PostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php index 5edfb0f2b36..fcb9dfb6630 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php @@ -32,10 +32,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a countryNamedLocation object. + * Delete a namedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -51,10 +51,10 @@ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of a countryNamedLocation object. + * Retrieve the properties and relationships of a namedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @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/namedlocation-get?view=graph-rest-1.0 Find more info here */ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -90,7 +90,7 @@ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatch } /** - * Delete a countryNamedLocation object. + * Delete a namedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -107,7 +107,7 @@ public function toDeleteRequestInformation(?NamedLocationItemRequestBuilderDelet } /** - * Retrieve the properties and relationships of a countryNamedLocation object. + * Retrieve the properties and relationships of a namedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|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..1082619bb8a 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 a namedLocation object. */ class NamedLocationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/LearningSelfInitiatedCourse.php b/src/Generated/Models/LearningSelfInitiatedCourse.php index 57c06747cda..17e357621b0 100644 --- a/src/Generated/Models/LearningSelfInitiatedCourse.php +++ b/src/Generated/Models/LearningSelfInitiatedCourse.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the startedDateTime property value. The date time value on which the self-initiated course was started by the learner. Optional. + * Gets the startedDateTime property value. The date and time on which the self-initiated course was started by the learner. Optional. * @return DateTime|null */ public function getStartedDateTime(): ?DateTime { @@ -58,7 +58,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the startedDateTime property value. The date time value on which the self-initiated course was started by the learner. Optional. + * Sets the startedDateTime property value. The date and time on which the self-initiated course was started by the learner. Optional. * @param DateTime|null $value Value to set for the startedDateTime property. */ public function setStartedDateTime(?DateTime $value): void { diff --git a/src/Generated/Models/Presence.php b/src/Generated/Models/Presence.php index e3f0631a0b2..7b29fd6402e 100644 --- a/src/Generated/Models/Presence.php +++ b/src/Generated/Models/Presence.php @@ -57,9 +57,22 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'activity' => fn(ParseNode $n) => $o->setActivity($n->getStringValue()), 'availability' => fn(ParseNode $n) => $o->setAvailability($n->getStringValue()), + 'statusMessage' => fn(ParseNode $n) => $o->setStatusMessage($n->getObjectValue([PresenceStatusMessage::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the statusMessage property value. The statusMessage property + * @return PresenceStatusMessage|null + */ + public function getStatusMessage(): ?PresenceStatusMessage { + $val = $this->getBackingStore()->get('statusMessage'); + if (is_null($val) || $val instanceof PresenceStatusMessage) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'statusMessage'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -68,6 +81,7 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeStringValue('activity', $this->getActivity()); $writer->writeStringValue('availability', $this->getAvailability()); + $writer->writeObjectValue('statusMessage', $this->getStatusMessage()); } /** @@ -86,4 +100,12 @@ public function setAvailability(?string $value): void { $this->getBackingStore()->set('availability', $value); } + /** + * Sets the statusMessage property value. The statusMessage property + * @param PresenceStatusMessage|null $value Value to set for the statusMessage property. + */ + public function setStatusMessage(?PresenceStatusMessage $value): void { + $this->getBackingStore()->set('statusMessage', $value); + } + } diff --git a/src/Generated/Models/PresenceStatusMessage.php b/src/Generated/Models/PresenceStatusMessage.php new file mode 100644 index 00000000000..240763c3940 --- /dev/null +++ b/src/Generated/Models/PresenceStatusMessage.php @@ -0,0 +1,181 @@ +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 PresenceStatusMessage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PresenceStatusMessage { + return new PresenceStatusMessage(); + } + + /** + * 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 expiryDateTime property value. The expiryDateTime property + * @return DateTimeTimeZone|null + */ + public function getExpiryDateTime(): ?DateTimeTimeZone { + $val = $this->getBackingStore()->get('expiryDateTime'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'expiryDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'expiryDateTime' => fn(ParseNode $n) => $o->setExpiryDateTime($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'message' => fn(ParseNode $n) => $o->setMessage($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'publishedDateTime' => fn(ParseNode $n) => $o->setPublishedDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Gets the message property value. The message property + * @return ItemBody|null + */ + public function getMessage(): ?ItemBody { + $val = $this->getBackingStore()->get('message'); + if (is_null($val) || $val instanceof ItemBody) { + 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 publishedDateTime property value. The publishedDateTime property + * @return DateTime|null + */ + public function getPublishedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('publishedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'publishedDateTime'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('expiryDateTime', $this->getExpiryDateTime()); + $writer->writeObjectValue('message', $this->getMessage()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeDateTimeValue('publishedDateTime', $this->getPublishedDateTime()); + $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 expiryDateTime property value. The expiryDateTime property + * @param DateTimeTimeZone|null $value Value to set for the expiryDateTime property. + */ + public function setExpiryDateTime(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('expiryDateTime', $value); + } + + /** + * Sets the message property value. The message property + * @param ItemBody|null $value Value to set for the message property. + */ + public function setMessage(?ItemBody $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 publishedDateTime property value. The publishedDateTime property + * @param DateTime|null $value Value to set for the publishedDateTime property. + */ + public function setPublishedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('publishedDateTime', $value); + } + +} diff --git a/src/Generated/Models/PublicationFacet.php b/src/Generated/Models/PublicationFacet.php index 157a49cd05e..4e97e8c7e80 100644 --- a/src/Generated/Models/PublicationFacet.php +++ b/src/Generated/Models/PublicationFacet.php @@ -56,7 +56,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the checkedOutBy property value. The checkedOutBy property + * Gets the checkedOutBy property value. User who has checked out the file. * @return IdentitySet|null */ public function getCheckedOutBy(): ?IdentitySet { @@ -146,7 +146,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the checkedOutBy property value. The checkedOutBy property + * Sets the checkedOutBy property value. User who has checked out the file. * @param IdentitySet|null $value Value to set for the checkedOutBy property. */ public function setCheckedOutBy(?IdentitySet $value): void { diff --git a/src/Generated/Models/Security/Security.php b/src/Generated/Models/Security/Security.php index a8bc18a48f1..0efc12988e0 100644 --- a/src/Generated/Models/Security/Security.php +++ b/src/Generated/Models/Security/Security.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Generated\Models\Entity; use Microsoft\Graph\Generated\Models\SecureScore; use Microsoft\Graph\Generated\Models\SecureScoreControlProfile; +use Microsoft\Graph\Generated\Models\SubjectRightsRequest; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -96,6 +97,7 @@ public function getFieldDeserializers(): array { 'incidents' => fn(ParseNode $n) => $o->setIncidents($n->getCollectionOfObjectValues([Incident::class, 'createFromDiscriminatorValue'])), 'secureScoreControlProfiles' => fn(ParseNode $n) => $o->setSecureScoreControlProfiles($n->getCollectionOfObjectValues([SecureScoreControlProfile::class, 'createFromDiscriminatorValue'])), 'secureScores' => fn(ParseNode $n) => $o->setSecureScores($n->getCollectionOfObjectValues([SecureScore::class, 'createFromDiscriminatorValue'])), + 'subjectRightsRequests' => fn(ParseNode $n) => $o->setSubjectRightsRequests($n->getCollectionOfObjectValues([SubjectRightsRequest::class, 'createFromDiscriminatorValue'])), 'threatIntelligence' => fn(ParseNode $n) => $o->setThreatIntelligence($n->getObjectValue([ThreatIntelligence::class, 'createFromDiscriminatorValue'])), 'triggers' => fn(ParseNode $n) => $o->setTriggers($n->getObjectValue([TriggersRoot::class, 'createFromDiscriminatorValue'])), 'triggerTypes' => fn(ParseNode $n) => $o->setTriggerTypes($n->getObjectValue([TriggerTypesRoot::class, 'createFromDiscriminatorValue'])), @@ -144,6 +146,20 @@ public function getSecureScores(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'secureScores'"); } + /** + * Gets the subjectRightsRequests property value. The subjectRightsRequests property + * @return array|null + */ + public function getSubjectRightsRequests(): ?array { + $val = $this->getBackingStore()->get('subjectRightsRequests'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, SubjectRightsRequest::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'subjectRightsRequests'"); + } + /** * Gets the threatIntelligence property value. The threatIntelligence property * @return ThreatIntelligence|null @@ -193,6 +209,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('incidents', $this->getIncidents()); $writer->writeCollectionOfObjectValues('secureScoreControlProfiles', $this->getSecureScoreControlProfiles()); $writer->writeCollectionOfObjectValues('secureScores', $this->getSecureScores()); + $writer->writeCollectionOfObjectValues('subjectRightsRequests', $this->getSubjectRightsRequests()); $writer->writeObjectValue('threatIntelligence', $this->getThreatIntelligence()); $writer->writeObjectValue('triggers', $this->getTriggers()); $writer->writeObjectValue('triggerTypes', $this->getTriggerTypes()); @@ -254,6 +271,14 @@ public function setSecureScores(?array $value): void { $this->getBackingStore()->set('secureScores', $value); } + /** + * Sets the subjectRightsRequests property value. The subjectRightsRequests property + * @param array|null $value Value to set for the subjectRightsRequests property. + */ + public function setSubjectRightsRequests(?array $value): void { + $this->getBackingStore()->set('subjectRightsRequests', $value); + } + /** * Sets the threatIntelligence property value. The threatIntelligence property * @param ThreatIntelligence|null $value Value to set for the threatIntelligence property. diff --git a/src/Generated/Models/SubjectRightsRequest.php b/src/Generated/Models/SubjectRightsRequest.php index 59b9072609e..e282988142f 100644 --- a/src/Generated/Models/SubjectRightsRequest.php +++ b/src/Generated/Models/SubjectRightsRequest.php @@ -26,6 +26,20 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Subje return new SubjectRightsRequest(); } + /** + * Gets the approvers property value. The approvers property + * @return array|null + */ + public function getApprovers(): ?array { + $val = $this->getBackingStore()->get('approvers'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, User::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'approvers'"); + } + /** * Gets the assignedTo property value. Identity that the request is assigned to. * @return Identity|null @@ -50,6 +64,32 @@ public function getClosedDateTime(): ?DateTime { throw new \UnexpectedValueException("Invalid type found in backing store for 'closedDateTime'"); } + /** + * Gets the collaborators property value. The collaborators property + * @return array|null + */ + public function getCollaborators(): ?array { + $val = $this->getBackingStore()->get('collaborators'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, User::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'collaborators'"); + } + + /** + * Gets the contentQuery property value. The contentQuery property + * @return string|null + */ + public function getContentQuery(): ?string { + $val = $this->getBackingStore()->get('contentQuery'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentQuery'"); + } + /** * Gets the createdBy property value. Identity information for the entity that created the request. * @return IdentitySet|null @@ -122,6 +162,18 @@ public function getDisplayName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); } + /** + * Gets the externalId property value. The externalId property + * @return string|null + */ + public function getExternalId(): ?string { + $val = $this->getBackingStore()->get('externalId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'externalId'"); + } + /** * The deserialization information for the current model * @return array @@ -129,20 +181,28 @@ public function getDisplayName(): ?string { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'approvers' => fn(ParseNode $n) => $o->setApprovers($n->getCollectionOfObjectValues([User::class, 'createFromDiscriminatorValue'])), 'assignedTo' => fn(ParseNode $n) => $o->setAssignedTo($n->getObjectValue([Identity::class, 'createFromDiscriminatorValue'])), 'closedDateTime' => fn(ParseNode $n) => $o->setClosedDateTime($n->getDateTimeValue()), + 'collaborators' => fn(ParseNode $n) => $o->setCollaborators($n->getCollectionOfObjectValues([User::class, 'createFromDiscriminatorValue'])), + 'contentQuery' => fn(ParseNode $n) => $o->setContentQuery($n->getStringValue()), 'createdBy' => fn(ParseNode $n) => $o->setCreatedBy($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'dataSubject' => fn(ParseNode $n) => $o->setDataSubject($n->getObjectValue([DataSubject::class, 'createFromDiscriminatorValue'])), 'dataSubjectType' => fn(ParseNode $n) => $o->setDataSubjectType($n->getEnumValue(DataSubjectType::class)), 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'externalId' => fn(ParseNode $n) => $o->setExternalId($n->getStringValue()), 'history' => fn(ParseNode $n) => $o->setHistory($n->getCollectionOfObjectValues([SubjectRightsRequestHistory::class, 'createFromDiscriminatorValue'])), + 'includeAllVersions' => fn(ParseNode $n) => $o->setIncludeAllVersions($n->getBooleanValue()), + 'includeAuthoredContent' => fn(ParseNode $n) => $o->setIncludeAuthoredContent($n->getBooleanValue()), 'insight' => fn(ParseNode $n) => $o->setInsight($n->getObjectValue([SubjectRightsRequestDetail::class, 'createFromDiscriminatorValue'])), 'internalDueDateTime' => fn(ParseNode $n) => $o->setInternalDueDateTime($n->getDateTimeValue()), 'lastModifiedBy' => fn(ParseNode $n) => $o->setLastModifiedBy($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), + 'mailboxlocations' => fn(ParseNode $n) => $o->setMailboxlocations($n->getObjectValue([SubjectRightsRequestMailboxLocation::class, 'createFromDiscriminatorValue'])), 'notes' => fn(ParseNode $n) => $o->setNotes($n->getCollectionOfObjectValues([AuthoredNote::class, 'createFromDiscriminatorValue'])), + 'pauseAfterEstimate' => fn(ParseNode $n) => $o->setPauseAfterEstimate($n->getBooleanValue()), 'regulations' => function (ParseNode $n) { $val = $n->getCollectionOfPrimitiveValues(); if (is_array($val)) { @@ -151,6 +211,7 @@ public function getFieldDeserializers(): array { /** @var array|null $val */ $this->setRegulations($val); }, + 'sitelocations' => fn(ParseNode $n) => $o->setSitelocations($n->getObjectValue([SubjectRightsRequestSiteLocation::class, 'createFromDiscriminatorValue'])), 'stages' => fn(ParseNode $n) => $o->setStages($n->getCollectionOfObjectValues([SubjectRightsRequestStageDetail::class, 'createFromDiscriminatorValue'])), 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(SubjectRightsRequestStatus::class)), 'team' => fn(ParseNode $n) => $o->setTeam($n->getObjectValue([Team::class, 'createFromDiscriminatorValue'])), @@ -172,6 +233,30 @@ public function getHistory(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'history'"); } + /** + * Gets the includeAllVersions property value. The includeAllVersions property + * @return bool|null + */ + public function getIncludeAllVersions(): ?bool { + $val = $this->getBackingStore()->get('includeAllVersions'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'includeAllVersions'"); + } + + /** + * Gets the includeAuthoredContent property value. The includeAuthoredContent property + * @return bool|null + */ + public function getIncludeAuthoredContent(): ?bool { + $val = $this->getBackingStore()->get('includeAuthoredContent'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'includeAuthoredContent'"); + } + /** * Gets the insight property value. Insight about the request. * @return SubjectRightsRequestDetail|null @@ -220,6 +305,18 @@ public function getLastModifiedDateTime(): ?DateTime { throw new \UnexpectedValueException("Invalid type found in backing store for 'lastModifiedDateTime'"); } + /** + * Gets the mailboxlocations property value. The mailboxlocations property + * @return SubjectRightsRequestMailboxLocation|null + */ + public function getMailboxlocations(): ?SubjectRightsRequestMailboxLocation { + $val = $this->getBackingStore()->get('mailboxlocations'); + if (is_null($val) || $val instanceof SubjectRightsRequestMailboxLocation) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'mailboxlocations'"); + } + /** * Gets the notes property value. List of notes associcated with the request. * @return array|null @@ -234,6 +331,18 @@ public function getNotes(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'notes'"); } + /** + * Gets the pauseAfterEstimate property value. The pauseAfterEstimate property + * @return bool|null + */ + public function getPauseAfterEstimate(): ?bool { + $val = $this->getBackingStore()->get('pauseAfterEstimate'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'pauseAfterEstimate'"); + } + /** * Gets the regulations property value. List of regulations that this request will fulfill. * @return array|null @@ -248,6 +357,18 @@ public function getRegulations(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'regulations'"); } + /** + * Gets the sitelocations property value. The sitelocations property + * @return SubjectRightsRequestSiteLocation|null + */ + public function getSitelocations(): ?SubjectRightsRequestSiteLocation { + $val = $this->getBackingStore()->get('sitelocations'); + if (is_null($val) || $val instanceof SubjectRightsRequestSiteLocation) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sitelocations'"); + } + /** * Gets the stages property value. Information about the different stages for the request. * @return array|null @@ -304,27 +425,44 @@ public function getType(): ?SubjectRightsRequestType { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeCollectionOfObjectValues('approvers', $this->getApprovers()); $writer->writeObjectValue('assignedTo', $this->getAssignedTo()); $writer->writeDateTimeValue('closedDateTime', $this->getClosedDateTime()); + $writer->writeCollectionOfObjectValues('collaborators', $this->getCollaborators()); + $writer->writeStringValue('contentQuery', $this->getContentQuery()); $writer->writeObjectValue('createdBy', $this->getCreatedBy()); $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeObjectValue('dataSubject', $this->getDataSubject()); $writer->writeEnumValue('dataSubjectType', $this->getDataSubjectType()); $writer->writeStringValue('description', $this->getDescription()); $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeStringValue('externalId', $this->getExternalId()); $writer->writeCollectionOfObjectValues('history', $this->getHistory()); + $writer->writeBooleanValue('includeAllVersions', $this->getIncludeAllVersions()); + $writer->writeBooleanValue('includeAuthoredContent', $this->getIncludeAuthoredContent()); $writer->writeObjectValue('insight', $this->getInsight()); $writer->writeDateTimeValue('internalDueDateTime', $this->getInternalDueDateTime()); $writer->writeObjectValue('lastModifiedBy', $this->getLastModifiedBy()); $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); + $writer->writeObjectValue('mailboxlocations', $this->getMailboxlocations()); $writer->writeCollectionOfObjectValues('notes', $this->getNotes()); + $writer->writeBooleanValue('pauseAfterEstimate', $this->getPauseAfterEstimate()); $writer->writeCollectionOfPrimitiveValues('regulations', $this->getRegulations()); + $writer->writeObjectValue('sitelocations', $this->getSitelocations()); $writer->writeCollectionOfObjectValues('stages', $this->getStages()); $writer->writeEnumValue('status', $this->getStatus()); $writer->writeObjectValue('team', $this->getTeam()); $writer->writeEnumValue('type', $this->getType()); } + /** + * Sets the approvers property value. The approvers property + * @param array|null $value Value to set for the approvers property. + */ + public function setApprovers(?array $value): void { + $this->getBackingStore()->set('approvers', $value); + } + /** * Sets the assignedTo property value. Identity that the request is assigned to. * @param Identity|null $value Value to set for the assignedTo property. @@ -341,6 +479,22 @@ public function setClosedDateTime(?DateTime $value): void { $this->getBackingStore()->set('closedDateTime', $value); } + /** + * Sets the collaborators property value. The collaborators property + * @param array|null $value Value to set for the collaborators property. + */ + public function setCollaborators(?array $value): void { + $this->getBackingStore()->set('collaborators', $value); + } + + /** + * Sets the contentQuery property value. The contentQuery property + * @param string|null $value Value to set for the contentQuery property. + */ + public function setContentQuery(?string $value): void { + $this->getBackingStore()->set('contentQuery', $value); + } + /** * Sets the createdBy property value. Identity information for the entity that created the request. * @param IdentitySet|null $value Value to set for the createdBy property. @@ -389,6 +543,14 @@ public function setDisplayName(?string $value): void { $this->getBackingStore()->set('displayName', $value); } + /** + * Sets the externalId property value. The externalId property + * @param string|null $value Value to set for the externalId property. + */ + public function setExternalId(?string $value): void { + $this->getBackingStore()->set('externalId', $value); + } + /** * Sets the history property value. Collection of history change events. * @param array|null $value Value to set for the history property. @@ -397,6 +559,22 @@ public function setHistory(?array $value): void { $this->getBackingStore()->set('history', $value); } + /** + * Sets the includeAllVersions property value. The includeAllVersions property + * @param bool|null $value Value to set for the includeAllVersions property. + */ + public function setIncludeAllVersions(?bool $value): void { + $this->getBackingStore()->set('includeAllVersions', $value); + } + + /** + * Sets the includeAuthoredContent property value. The includeAuthoredContent property + * @param bool|null $value Value to set for the includeAuthoredContent property. + */ + public function setIncludeAuthoredContent(?bool $value): void { + $this->getBackingStore()->set('includeAuthoredContent', $value); + } + /** * Sets the insight property value. Insight about the request. * @param SubjectRightsRequestDetail|null $value Value to set for the insight property. @@ -429,6 +607,14 @@ public function setLastModifiedDateTime(?DateTime $value): void { $this->getBackingStore()->set('lastModifiedDateTime', $value); } + /** + * Sets the mailboxlocations property value. The mailboxlocations property + * @param SubjectRightsRequestMailboxLocation|null $value Value to set for the mailboxlocations property. + */ + public function setMailboxlocations(?SubjectRightsRequestMailboxLocation $value): void { + $this->getBackingStore()->set('mailboxlocations', $value); + } + /** * Sets the notes property value. List of notes associcated with the request. * @param array|null $value Value to set for the notes property. @@ -437,6 +623,14 @@ public function setNotes(?array $value): void { $this->getBackingStore()->set('notes', $value); } + /** + * Sets the pauseAfterEstimate property value. The pauseAfterEstimate property + * @param bool|null $value Value to set for the pauseAfterEstimate property. + */ + public function setPauseAfterEstimate(?bool $value): void { + $this->getBackingStore()->set('pauseAfterEstimate', $value); + } + /** * Sets the regulations property value. List of regulations that this request will fulfill. * @param array|null $value Value to set for the regulations property. @@ -445,6 +639,14 @@ public function setRegulations(?array $value): void { $this->getBackingStore()->set('regulations', $value); } + /** + * Sets the sitelocations property value. The sitelocations property + * @param SubjectRightsRequestSiteLocation|null $value Value to set for the sitelocations property. + */ + public function setSitelocations(?SubjectRightsRequestSiteLocation $value): void { + $this->getBackingStore()->set('sitelocations', $value); + } + /** * Sets the stages property value. Information about the different stages for the request. * @param array|null $value Value to set for the stages property. diff --git a/src/Generated/Models/SubjectRightsRequestAllMailboxLocation.php b/src/Generated/Models/SubjectRightsRequestAllMailboxLocation.php new file mode 100644 index 00000000000..3a099e77565 --- /dev/null +++ b/src/Generated/Models/SubjectRightsRequestAllMailboxLocation.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.subjectRightsRequestAllMailboxLocation'); + } + + /** + * 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 SubjectRightsRequestAllMailboxLocation + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SubjectRightsRequestAllMailboxLocation { + return new SubjectRightsRequestAllMailboxLocation(); + } + + /** + * 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/SubjectRightsRequestAllSiteLocation.php b/src/Generated/Models/SubjectRightsRequestAllSiteLocation.php new file mode 100644 index 00000000000..0f9a870be6a --- /dev/null +++ b/src/Generated/Models/SubjectRightsRequestAllSiteLocation.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.subjectRightsRequestAllSiteLocation'); + } + + /** + * 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 SubjectRightsRequestAllSiteLocation + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SubjectRightsRequestAllSiteLocation { + return new SubjectRightsRequestAllSiteLocation(); + } + + /** + * 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/SubjectRightsRequestEnumeratedMailboxLocation.php b/src/Generated/Models/SubjectRightsRequestEnumeratedMailboxLocation.php new file mode 100644 index 00000000000..a80ccc1f62e --- /dev/null +++ b/src/Generated/Models/SubjectRightsRequestEnumeratedMailboxLocation.php @@ -0,0 +1,78 @@ +setOdataType('#microsoft.graph.subjectRightsRequestEnumeratedMailboxLocation'); + } + + /** + * 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 SubjectRightsRequestEnumeratedMailboxLocation + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SubjectRightsRequestEnumeratedMailboxLocation { + return new SubjectRightsRequestEnumeratedMailboxLocation(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'userPrincipalNames' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setUserPrincipalNames($val); + }, + ]); + } + + /** + * Gets the userPrincipalNames property value. The userPrincipalNames property + * @return array|null + */ + public function getUserPrincipalNames(): ?array { + $val = $this->getBackingStore()->get('userPrincipalNames'); + 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 'userPrincipalNames'"); + } + + /** + * 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('userPrincipalNames', $this->getUserPrincipalNames()); + } + + /** + * Sets the userPrincipalNames property value. The userPrincipalNames property + * @param array|null $value Value to set for the userPrincipalNames property. + */ + public function setUserPrincipalNames(?array $value): void { + $this->getBackingStore()->set('userPrincipalNames', $value); + } + +} diff --git a/src/Generated/Models/SubjectRightsRequestEnumeratedSiteLocation.php b/src/Generated/Models/SubjectRightsRequestEnumeratedSiteLocation.php new file mode 100644 index 00000000000..1ea66d3b600 --- /dev/null +++ b/src/Generated/Models/SubjectRightsRequestEnumeratedSiteLocation.php @@ -0,0 +1,78 @@ +setOdataType('#microsoft.graph.subjectRightsRequestEnumeratedSiteLocation'); + } + + /** + * 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 SubjectRightsRequestEnumeratedSiteLocation + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SubjectRightsRequestEnumeratedSiteLocation { + return new SubjectRightsRequestEnumeratedSiteLocation(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'urls' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setUrls($val); + }, + ]); + } + + /** + * Gets the urls property value. The urls property + * @return array|null + */ + public function getUrls(): ?array { + $val = $this->getBackingStore()->get('urls'); + 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 'urls'"); + } + + /** + * 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('urls', $this->getUrls()); + } + + /** + * Sets the urls property value. The urls property + * @param array|null $value Value to set for the urls property. + */ + public function setUrls(?array $value): void { + $this->getBackingStore()->set('urls', $value); + } + +} diff --git a/src/Generated/Models/SubjectRightsRequestMailboxLocation.php b/src/Generated/Models/SubjectRightsRequestMailboxLocation.php new file mode 100644 index 00000000000..f3c54004556 --- /dev/null +++ b/src/Generated/Models/SubjectRightsRequestMailboxLocation.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 SubjectRightsRequestMailboxLocation + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SubjectRightsRequestMailboxLocation { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.subjectRightsRequestAllMailboxLocation': return new SubjectRightsRequestAllMailboxLocation(); + case '#microsoft.graph.subjectRightsRequestEnumeratedMailboxLocation': return new SubjectRightsRequestEnumeratedMailboxLocation(); + } + } + return new SubjectRightsRequestMailboxLocation(); + } + + /** + * 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/SubjectRightsRequestSiteLocation.php b/src/Generated/Models/SubjectRightsRequestSiteLocation.php new file mode 100644 index 00000000000..0e405e47e7f --- /dev/null +++ b/src/Generated/Models/SubjectRightsRequestSiteLocation.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 SubjectRightsRequestSiteLocation + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SubjectRightsRequestSiteLocation { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.subjectRightsRequestAllSiteLocation': return new SubjectRightsRequestAllSiteLocation(); + case '#microsoft.graph.subjectRightsRequestEnumeratedSiteLocation': return new SubjectRightsRequestEnumeratedSiteLocation(); + } + } + return new SubjectRightsRequestSiteLocation(); + } + + /** + * 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/SubjectRightsRequestStage.php b/src/Generated/Models/SubjectRightsRequestStage.php index 39b55537e9b..b6cddcc55d5 100644 --- a/src/Generated/Models/SubjectRightsRequestStage.php +++ b/src/Generated/Models/SubjectRightsRequestStage.php @@ -12,4 +12,5 @@ class SubjectRightsRequestStage extends Enum { public const CASE_RESOLVED = 'caseResolved'; public const CONTENT_ESTIMATE = 'contentEstimate'; public const UNKNOWN_FUTURE_VALUE = 'unknownFutureValue'; + public const APPROVAL = 'approval'; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php new file mode 100644 index 00000000000..9823ec4e0b2 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php @@ -0,0 +1,102 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. + * @param string $userId The unique identifier of user + * @return UserItemRequestBuilder + */ + public function byUserId(string $userId): UserItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['user%2Did'] = $userId; + return new UserItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ApproversRequestBuilder 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}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get approvers from privacy + * @param ApproversRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?ApproversRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get approvers from privacy + * @param ApproversRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ApproversRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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 ApproversRequestBuilder + */ + public function withUrl(string $rawUrl): ApproversRequestBuilder { + return new ApproversRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..cd730e0622a --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetQueryParameters.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 approversRequestBuilderGetQueryParameters 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/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetRequestConfiguration.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c5366b8a1df --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ApproversRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ApproversRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new approversRequestBuilderGetQueryParameters. + * @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 ApproversRequestBuilderGetQueryParameters + */ + 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): ApproversRequestBuilderGetQueryParameters { + return new ApproversRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..0f2b8b2354f --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|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}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers/$count{?%24search,%24filter}'); + 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 + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * 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; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7e25b7ad2fb --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..52a1cc896d4 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/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/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php new file mode 100644 index 00000000000..60bd1df220a --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -0,0 +1,121 @@ +|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}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers/{user%2Did}/mailboxSettings{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $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 MailboxSettingsRequestBuilder + */ + public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { + return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d8d01ddf6ec --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.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 mailboxSettingsRequestBuilderGetQueryParameters 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/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9a528d6ae13 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new mailboxSettingsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MailboxSettingsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { + return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..5438366b5c7 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.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/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php new file mode 100644 index 00000000000..9a0579e2334 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new UserItemRequestBuilder 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}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers/{user%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get approvers from privacy + * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get approvers from privacy + * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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 UserItemRequestBuilder + */ + public function withUrl(string $rawUrl): UserItemRequestBuilder { + return new UserItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1abed7ca658 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetQueryParameters.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 UserItemRequestBuilderGetQueryParameters 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/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fe7bceed2aa --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UserItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UserItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UserItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return UserItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): UserItemRequestBuilderGetQueryParameters { + return new UserItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php new file mode 100644 index 00000000000..d7d8f4bcd23 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php @@ -0,0 +1,102 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. + * @param string $userId The unique identifier of user + * @return UserItemRequestBuilder + */ + public function byUserId(string $userId): UserItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['user%2Did'] = $userId; + return new UserItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new CollaboratorsRequestBuilder 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}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get collaborators from privacy + * @param CollaboratorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CollaboratorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get collaborators from privacy + * @param CollaboratorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CollaboratorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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 CollaboratorsRequestBuilder + */ + public function withUrl(string $rawUrl): CollaboratorsRequestBuilder { + return new CollaboratorsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..823a32485f7 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetQueryParameters.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 collaboratorsRequestBuilderGetQueryParameters 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/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..64e2a7a4df5 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CollaboratorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CollaboratorsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new collaboratorsRequestBuilderGetQueryParameters. + * @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 CollaboratorsRequestBuilderGetQueryParameters + */ + 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): CollaboratorsRequestBuilderGetQueryParameters { + return new CollaboratorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..c04cd22a051 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|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}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/$count{?%24search,%24filter}'); + 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 + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * 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; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9266f1f9fa8 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..cffc83b85cf --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/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/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php new file mode 100644 index 00000000000..45dd9e5190e --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -0,0 +1,121 @@ +|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}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}/mailboxSettings{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $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 MailboxSettingsRequestBuilder + */ + public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { + return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..757d600b3de --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.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 mailboxSettingsRequestBuilderGetQueryParameters 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/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..34071842574 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new mailboxSettingsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MailboxSettingsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { + return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..3f1a843f198 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.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/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php new file mode 100644 index 00000000000..d89f2856273 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new UserItemRequestBuilder 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}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get collaborators from privacy + * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get collaborators from privacy + * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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 UserItemRequestBuilder + */ + public function withUrl(string $rawUrl): UserItemRequestBuilder { + return new UserItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1c7a918233e --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetQueryParameters.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 UserItemRequestBuilderGetQueryParameters 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/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f92de8e5666 --- /dev/null +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UserItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UserItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UserItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return UserItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): UserItemRequestBuilderGetQueryParameters { + return new UserItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php index 34e20f927ce..81c8df1f7d3 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php @@ -7,6 +7,8 @@ use Http\Promise\RejectedPromise; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\SubjectRightsRequest; +use Microsoft\Graph\Generated\Privacy\SubjectRightsRequests\Item\Approvers\ApproversRequestBuilder; +use Microsoft\Graph\Generated\Privacy\SubjectRightsRequests\Item\Collaborators\CollaboratorsRequestBuilder; use Microsoft\Graph\Generated\Privacy\SubjectRightsRequests\Item\GetFinalAttachment\GetFinalAttachmentRequestBuilder; use Microsoft\Graph\Generated\Privacy\SubjectRightsRequests\Item\GetFinalReport\GetFinalReportRequestBuilder; use Microsoft\Graph\Generated\Privacy\SubjectRightsRequests\Item\Notes\NotesRequestBuilder; @@ -21,6 +23,20 @@ */ class SubjectRightsRequestItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. + */ + public function approvers(): ApproversRequestBuilder { + return new ApproversRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. + */ + public function collaborators(): CollaboratorsRequestBuilder { + return new CollaboratorsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the getFinalAttachment method. */ diff --git a/src/Generated/Security/SecurityRequestBuilder.php b/src/Generated/Security/SecurityRequestBuilder.php index 65f57d836ef..5fd6ffc4bb5 100644 --- a/src/Generated/Security/SecurityRequestBuilder.php +++ b/src/Generated/Security/SecurityRequestBuilder.php @@ -15,6 +15,7 @@ use Microsoft\Graph\Generated\Security\MicrosoftGraphSecurityRunHuntingQuery\MicrosoftGraphSecurityRunHuntingQueryRequestBuilder; use Microsoft\Graph\Generated\Security\SecureScoreControlProfiles\SecureScoreControlProfilesRequestBuilder; use Microsoft\Graph\Generated\Security\SecureScores\SecureScoresRequestBuilder; +use Microsoft\Graph\Generated\Security\SubjectRightsRequests\SubjectRightsRequestsRequestBuilder; use Microsoft\Graph\Generated\Security\ThreatIntelligence\ThreatIntelligenceRequestBuilder; use Microsoft\Graph\Generated\Security\Triggers\TriggersRequestBuilder; use Microsoft\Graph\Generated\Security\TriggerTypes\TriggerTypesRequestBuilder; @@ -84,6 +85,13 @@ public function secureScores(): SecureScoresRequestBuilder { return new SecureScoresRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the subjectRightsRequests property of the microsoft.graph.security entity. + */ + public function subjectRightsRequests(): SubjectRightsRequestsRequestBuilder { + return new SubjectRightsRequestsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the threatIntelligence property of the microsoft.graph.security entity. */ diff --git a/src/Generated/Security/SubjectRightsRequests/Count/CountRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..baabe64d66a --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|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/subjectRightsRequests/$count{?%24search,%24filter}'); + 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 + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * 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; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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/Security/SubjectRightsRequests/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a7fa7c2611b --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8c6da191f69 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/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/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php new file mode 100644 index 00000000000..f4c876a8ed2 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php @@ -0,0 +1,102 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. + * @param string $userId The unique identifier of user + * @return UserItemRequestBuilder + */ + public function byUserId(string $userId): UserItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['user%2Did'] = $userId; + return new UserItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ApproversRequestBuilder 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/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get approvers from security + * @param ApproversRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?ApproversRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get approvers from security + * @param ApproversRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ApproversRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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 ApproversRequestBuilder + */ + public function withUrl(string $rawUrl): ApproversRequestBuilder { + return new ApproversRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5591b98fdc7 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetQueryParameters.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 approversRequestBuilderGetQueryParameters 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/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c25d3e3cf4b --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ApproversRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ApproversRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new approversRequestBuilderGetQueryParameters. + * @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 ApproversRequestBuilderGetQueryParameters + */ + 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): ApproversRequestBuilderGetQueryParameters { + return new ApproversRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..02a0eb7f0a5 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|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/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers/$count{?%24search,%24filter}'); + 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 + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * 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; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3d1d5ab2164 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..0a4a41496e7 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/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/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php new file mode 100644 index 00000000000..5c7a199c764 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -0,0 +1,121 @@ +|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/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers/{user%2Did}/mailboxSettings{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $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 MailboxSettingsRequestBuilder + */ + public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { + return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..32a30615559 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.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 mailboxSettingsRequestBuilderGetQueryParameters 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/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..08b80dd6265 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new mailboxSettingsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MailboxSettingsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { + return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..4f56802191b --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.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/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php new file mode 100644 index 00000000000..0cd20c6dcbd --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new UserItemRequestBuilder 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/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers/{user%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get approvers from security + * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get approvers from security + * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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 UserItemRequestBuilder + */ + public function withUrl(string $rawUrl): UserItemRequestBuilder { + return new UserItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..376ef97b551 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetQueryParameters.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 UserItemRequestBuilderGetQueryParameters 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/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f0729e5e20c --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UserItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UserItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UserItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return UserItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): UserItemRequestBuilderGetQueryParameters { + return new UserItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php new file mode 100644 index 00000000000..09ab62ae464 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php @@ -0,0 +1,102 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. + * @param string $userId The unique identifier of user + * @return UserItemRequestBuilder + */ + public function byUserId(string $userId): UserItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['user%2Did'] = $userId; + return new UserItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new CollaboratorsRequestBuilder 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/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get collaborators from security + * @param CollaboratorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CollaboratorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get collaborators from security + * @param CollaboratorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CollaboratorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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 CollaboratorsRequestBuilder + */ + public function withUrl(string $rawUrl): CollaboratorsRequestBuilder { + return new CollaboratorsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d51edb6dd1c --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetQueryParameters.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 collaboratorsRequestBuilderGetQueryParameters 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/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..23346db0ecc --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CollaboratorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CollaboratorsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new collaboratorsRequestBuilderGetQueryParameters. + * @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 CollaboratorsRequestBuilderGetQueryParameters + */ + 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): CollaboratorsRequestBuilderGetQueryParameters { + return new CollaboratorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..59cf5fe25ca --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|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/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/$count{?%24search,%24filter}'); + 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 + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * 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; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3d8e5d5d444 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..40993b51b40 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/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/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php new file mode 100644 index 00000000000..47f98711e13 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -0,0 +1,121 @@ +|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/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}/mailboxSettings{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $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 MailboxSettingsRequestBuilder + */ + public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { + return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b3cdf42853b --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.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 mailboxSettingsRequestBuilderGetQueryParameters 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/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..91f1705548c --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new mailboxSettingsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MailboxSettingsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { + return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..56ff016ea22 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.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/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php new file mode 100644 index 00000000000..01362689c65 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new UserItemRequestBuilder 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/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get collaborators from security + * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get collaborators from security + * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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 UserItemRequestBuilder + */ + public function withUrl(string $rawUrl): UserItemRequestBuilder { + return new UserItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..06d857d946a --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetQueryParameters.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 UserItemRequestBuilderGetQueryParameters 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/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fda0bfdd808 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UserItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UserItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UserItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return UserItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): UserItemRequestBuilderGetQueryParameters { + return new UserItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.php new file mode 100644 index 00000000000..c997ec6663d --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.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}/security/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalAttachment()'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function getFinalAttachment + * @param GetFinalAttachmentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GetFinalAttachmentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Invoke function getFinalAttachment + * @param GetFinalAttachmentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GetFinalAttachmentRequestBuilderGetRequestConfiguration $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); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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 GetFinalAttachmentRequestBuilder + */ + public function withUrl(string $rawUrl): GetFinalAttachmentRequestBuilder { + return new GetFinalAttachmentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4d0b2db0d8a --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilderGetRequestConfiguration.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/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.php new file mode 100644 index 00000000000..9a3ac701760 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.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}/security/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalReport()'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function getFinalReport + * @param GetFinalReportRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GetFinalReportRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Invoke function getFinalReport + * @param GetFinalReportRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GetFinalReportRequestBuilderGetRequestConfiguration $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); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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 GetFinalReportRequestBuilder + */ + public function withUrl(string $rawUrl): GetFinalReportRequestBuilder { + return new GetFinalReportRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..aefd7daf0dc --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilderGetRequestConfiguration.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/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..c658611f463 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|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/subjectRightsRequests/{subjectRightsRequest%2Did}/notes/$count{?%24search,%24filter}'); + 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 + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * 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; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..6e46bb11abf --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c5b43e31bcf --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php new file mode 100644 index 00000000000..ab73a3b2a01 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php @@ -0,0 +1,156 @@ +|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/subjectRightsRequests/{subjectRightsRequest%2Did}/notes/{authoredNote%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property notes for security + * @param AuthoredNoteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function delete(?AuthoredNoteItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * List of notes associcated with the request. + * @param AuthoredNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?AuthoredNoteItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AuthoredNote::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Update the navigation property notes in security + * @param AuthoredNote $body The request body + * @param AuthoredNoteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function patch(AuthoredNote $body, ?AuthoredNoteItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AuthoredNote::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Delete navigation property notes for security + * @param AuthoredNoteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?AuthoredNoteItemRequestBuilderDeleteRequestConfiguration $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); + } + return $requestInfo; + } + + /** + * List of notes associcated with the request. + * @param AuthoredNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AuthoredNoteItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Update the navigation property notes in security + * @param AuthoredNote $body The request body + * @param AuthoredNoteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(AuthoredNote $body, ?AuthoredNoteItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $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 AuthoredNoteItemRequestBuilder + */ + public function withUrl(string $rawUrl): AuthoredNoteItemRequestBuilder { + return new AuthoredNoteItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..a6815d7d161 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderDeleteRequestConfiguration.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/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3b76f77b4a1 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetQueryParameters.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 AuthoredNoteItemRequestBuilderGetQueryParameters 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/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..72a78c68c33 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AuthoredNoteItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AuthoredNoteItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AuthoredNoteItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AuthoredNoteItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AuthoredNoteItemRequestBuilderGetQueryParameters { + return new AuthoredNoteItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..69580a446d9 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderPatchRequestConfiguration.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/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php new file mode 100644 index 00000000000..708231dc133 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php @@ -0,0 +1,144 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity. + * @param string $authoredNoteId The unique identifier of authoredNote + * @return AuthoredNoteItemRequestBuilder + */ + public function byAuthoredNoteId(string $authoredNoteId): AuthoredNoteItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['authoredNote%2Did'] = $authoredNoteId; + return new AuthoredNoteItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new NotesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/security/subjectRightsRequests/{subjectRightsRequest%2Did}/notes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the list of authored notes assoicated with a subject rights request. + * @param NotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @link https://learn.microsoft.com/graph/api/subjectrightsrequest-list-notes?view=graph-rest-1.0 Find more info here + */ + public function get(?NotesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AuthoredNoteCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Create a new authoredNote object. + * @param AuthoredNote $body The request body + * @param NotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @link https://learn.microsoft.com/graph/api/subjectrightsrequest-post-notes?view=graph-rest-1.0 Find more info here + */ + public function post(AuthoredNote $body, ?NotesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AuthoredNote::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the list of authored notes assoicated with a subject rights request. + * @param NotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?NotesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Create a new authoredNote object. + * @param AuthoredNote $body The request body + * @param NotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(AuthoredNote $body, ?NotesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return NotesRequestBuilder + */ + public function withUrl(string $rawUrl): NotesRequestBuilder { + return new NotesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..f5d525bb79a --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new notesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..5cda73d89e3 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param NotesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?NotesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new notesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return NotesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): NotesRequestBuilderGetQueryParameters { + return new NotesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..ebd3fdd6313 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php new file mode 100644 index 00000000000..4d8f8dbfa26 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php @@ -0,0 +1,204 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. + */ + public function collaborators(): CollaboratorsRequestBuilder { + return new CollaboratorsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the getFinalAttachment method. + */ + public function getFinalAttachment(): GetFinalAttachmentRequestBuilder { + return new GetFinalAttachmentRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the getFinalReport method. + */ + public function getFinalReport(): GetFinalReportRequestBuilder { + return new GetFinalReportRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity. + */ + public function notes(): NotesRequestBuilder { + return new NotesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the team property of the microsoft.graph.subjectRightsRequest entity. + */ + public function team(): TeamRequestBuilder { + return new TeamRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new SubjectRightsRequestItemRequestBuilder 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/subjectRightsRequests/{subjectRightsRequest%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property subjectRightsRequests for security + * @param SubjectRightsRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function delete(?SubjectRightsRequestItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get subjectRightsRequests from security + * @param SubjectRightsRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?SubjectRightsRequestItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SubjectRightsRequest::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Update the navigation property subjectRightsRequests in security + * @param SubjectRightsRequest $body The request body + * @param SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function patch(SubjectRightsRequest $body, ?SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SubjectRightsRequest::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Delete navigation property subjectRightsRequests for security + * @param SubjectRightsRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?SubjectRightsRequestItemRequestBuilderDeleteRequestConfiguration $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); + } + return $requestInfo; + } + + /** + * Get subjectRightsRequests from security + * @param SubjectRightsRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SubjectRightsRequestItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Update the navigation property subjectRightsRequests in security + * @param SubjectRightsRequest $body The request body + * @param SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(SubjectRightsRequest $body, ?SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $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 SubjectRightsRequestItemRequestBuilder + */ + public function withUrl(string $rawUrl): SubjectRightsRequestItemRequestBuilder { + return new SubjectRightsRequestItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..3fbddb12376 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderDeleteRequestConfiguration.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/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2efd590c2b2 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderGetQueryParameters.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 SubjectRightsRequestItemRequestBuilderGetQueryParameters 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/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..154b3e86f75 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SubjectRightsRequestItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SubjectRightsRequestItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new SubjectRightsRequestItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return SubjectRightsRequestItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): SubjectRightsRequestItemRequestBuilderGetQueryParameters { + return new SubjectRightsRequestItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..c2da2bd788c --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration.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/SubjectRightsRequests/Item/Team/TeamRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilder.php new file mode 100644 index 00000000000..69785580cee --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilder.php @@ -0,0 +1,82 @@ +|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/subjectRightsRequests/{subjectRightsRequest%2Did}/team{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Information about the Microsoft Teams team that was created for the request. + * @param TeamRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?TeamRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Team::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Information about the Microsoft Teams team that was created for the request. + * @param TeamRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + 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 TeamRequestBuilder + */ + public function withUrl(string $rawUrl): TeamRequestBuilder { + return new TeamRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a9bcfaa143b --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilderGetQueryParameters.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 teamRequestBuilderGetQueryParameters 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/SubjectRightsRequests/Item/Team/TeamRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b21d14ab36b --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TeamRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TeamRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new teamRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TeamRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TeamRequestBuilderGetQueryParameters { + return new TeamRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php new file mode 100644 index 00000000000..ba5b7a83c01 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php @@ -0,0 +1,142 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the subjectRightsRequests property of the microsoft.graph.security entity. + * @param string $subjectRightsRequestId The unique identifier of subjectRightsRequest + * @return SubjectRightsRequestItemRequestBuilder + */ + public function bySubjectRightsRequestId(string $subjectRightsRequestId): SubjectRightsRequestItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['subjectRightsRequest%2Did'] = $subjectRightsRequestId; + return new SubjectRightsRequestItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new SubjectRightsRequestsRequestBuilder 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/subjectRightsRequests{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get subjectRightsRequests from security + * @param SubjectRightsRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?SubjectRightsRequestsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SubjectRightsRequestCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Create new navigation property to subjectRightsRequests for security + * @param SubjectRightsRequest $body The request body + * @param SubjectRightsRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function post(SubjectRightsRequest $body, ?SubjectRightsRequestsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SubjectRightsRequest::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get subjectRightsRequests from security + * @param SubjectRightsRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SubjectRightsRequestsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Create new navigation property to subjectRightsRequests for security + * @param SubjectRightsRequest $body The request body + * @param SubjectRightsRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SubjectRightsRequest $body, ?SubjectRightsRequestsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $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 SubjectRightsRequestsRequestBuilder + */ + public function withUrl(string $rawUrl): SubjectRightsRequestsRequestBuilder { + return new SubjectRightsRequestsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2bc6db12819 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderGetQueryParameters.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 subjectRightsRequestsRequestBuilderGetQueryParameters 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/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..0989b895035 --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SubjectRightsRequestsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SubjectRightsRequestsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new subjectRightsRequestsRequestBuilderGetQueryParameters. + * @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 SubjectRightsRequestsRequestBuilderGetQueryParameters + */ + 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): SubjectRightsRequestsRequestBuilderGetQueryParameters { + return new SubjectRightsRequestsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..ecbb3d7288f --- /dev/null +++ b/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderPostRequestConfiguration.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/Sites/Item/Lists/Item/ListItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php index c37ef32303e..12c956343e3 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php @@ -114,10 +114,10 @@ public function delete(?ListItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Returns the metadata for a [list][]. + * Get a list of rich long-running operations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 Find more info here */ public function get(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -169,7 +169,7 @@ public function toDeleteRequestInformation(?ListItemRequestBuilderDeleteRequestC } /** - * Returns the metadata for a [list][]. + * Get a list of rich long-running operations associated with 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 15c5dae2c08..779041bf847 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; /** - * Returns the metadata for a [list][]. + * Get a list of rich long-running operations associated with a list. */ class ListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php b/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php index a348fe4d557..6f43cc8f972 100644 --- a/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -51,7 +51,7 @@ public function post(ClonePostRequestBody $body, ?CloneRequestBuilderPostRequest } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php b/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php index 5ab44857b91..7102eff7055 100644 --- a/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php +++ b/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php @@ -76,11 +76,11 @@ public function get(?ActivityHistoryItemItemRequestBuilderGetRequestConfiguratio } /** - * Delete an existing history item for an existing user activity. + * Create a new or replace an existing history item for an existing user activity. * @param ActivityHistoryItem $body The request body * @param ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/projectrome-delete-historyitem?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/projectrome-put-historyitem?view=graph-rest-1.0 Find more info here */ public function patch(ActivityHistoryItem $body, ?ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -134,7 +134,7 @@ public function toGetRequestInformation(?ActivityHistoryItemItemRequestBuilderGe } /** - * Delete an existing history item for an existing user activity. + * Create a new or replace an existing history item for an existing user activity. * @param ActivityHistoryItem $body The request body * @param ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index d74193d41e1..016dff59dd1 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index a98f16ebd9c..b3eb38f41d0 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 52ecbbbc9f4..360f9964fa2 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 2295eb7a387..b819980cf6a 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 8881782ee66..26c96f36745 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index f8f4989acfd..293a5beafe7 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index c082eaa0e4b..faf5cfc3139 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index e2fc282d62b..83a2f1abf8b 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 9eaa9250952..9b960b687b2 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 8d17b32c165..6ae972c64e5 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index d9d0abe1079..431ec87449b 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index cfa52d88221..0ab97b81630 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index f13a3d59403..7f8f057a10e 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 269e5ba82f6..0f71c6f30a0 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index f6cc61dcb8b..daba748666d 100644 --- a/src/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index bda100868b1..eb5aceb24a5 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.php b/src/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.php index ce7a7cace70..9867eb7e80d 100644 --- a/src/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.php +++ b/src/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips to be returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. + * Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. * @param GetMailTipsPostRequestBody $body The request body * @param GetMailTipsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -51,7 +51,7 @@ public function post(GetMailTipsPostRequestBody $body, ?GetMailTipsRequestBuilde } /** - * Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips to be returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. + * Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. * @param GetMailTipsPostRequestBody $body The request body * @param GetMailTipsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php index 9302eb673dd..b17073cda22 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -51,7 +51,7 @@ public function post(ClonePostRequestBody $body, ?CloneRequestBuilderPostRequest } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.php index 35146904c95..ab5f515ae04 100644 --- a/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilderGetQueryParameters.php index d708ebbf188..c3175aad461 100644 --- a/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php index 14013ec16d9..06d204636d6 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php index 09a58213cf5..e932555a538 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php index 6cbb00c2834..b4e6874f55e 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php @@ -72,7 +72,7 @@ public function get(?MessageRulesRequestBuilderGetRequestConfiguration $requestC } /** - * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. + * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. * @param MessageRule $body The request body * @param MessageRulesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -113,7 +113,7 @@ public function toGetRequestInformation(?MessageRulesRequestBuilderGetRequestCon } /** - * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. + * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. * @param MessageRule $body The request body * @param MessageRulesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php index 9b814264eb6..4389914ef65 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index d788ebbcf50..918f087b732 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index 8ed8f580008..f18f323615c 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -80,7 +80,7 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -121,7 +121,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 48ec0bcf782..c4a980b77b0 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 30ee1d9d5fd..23202e9b895 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -50,7 +50,7 @@ public function delete(?AttachmentItemRequestBuilderDeleteRequestConfiguration $ } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 Find more info here @@ -86,7 +86,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php index 4a114a372b6..296b4f61170 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. */ class AttachmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php index a12c44277a2..a3a12f447e1 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateReplyAllPostRequestBody $body, ?CreateReplyAllRequest } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.php index 2161a384fb4..302ad9a24a2 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/message-send?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function post(?SendRequestBuilderPostRequestConfiguration $requestConfigu } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php index ff84495376f..cba89dbf540 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php @@ -72,7 +72,7 @@ public function get(?MessageRulesRequestBuilderGetRequestConfiguration $requestC } /** - * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. + * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. * @param MessageRule $body The request body * @param MessageRulesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -113,7 +113,7 @@ public function toGetRequestInformation(?MessageRulesRequestBuilderGetRequestCon } /** - * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. + * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. * @param MessageRule $body The request body * @param MessageRulesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php index 6ed9f3ffcde..1cd9f92e77c 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 9a559b3673b..9f5244fb1db 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index a67e5ef227f..a3685d88600 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -80,7 +80,7 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -121,7 +121,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 2cfd62905f3..7f266a9d964 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php index fbbde75a652..055a599920e 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -50,7 +50,7 @@ public function delete(?AttachmentItemRequestBuilderDeleteRequestConfiguration $ } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 Find more info here @@ -86,7 +86,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php index 9a6841d740d..17e11361404 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. */ class AttachmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php index 3fb6464c7f4..e215c9f9416 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateReplyAllPostRequestBody $body, ?CreateReplyAllRequest } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.php index 054c890ea07..f8d0b46d74d 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/message-send?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function post(?SendRequestBuilderPostRequestConfiguration $requestConfigu } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php index 1b38edc353f..a7b661489f2 100644 --- a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 97ebed6690a..f77fdfde8af 100644 --- a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index 49f20d15bd5..23f663a9566 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -80,7 +80,7 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -121,7 +121,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 21bab94e437..68c2cd72874 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 01b2a3e671f..6dbc28fdff2 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -50,7 +50,7 @@ public function delete(?AttachmentItemRequestBuilderDeleteRequestConfiguration $ } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 Find more info here @@ -86,7 +86,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php index 838a1b542ef..187ebcc8e0a 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. */ class AttachmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php index effe2d62338..dcbcdb658e3 100644 --- a/src/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(CreateReplyAllPostRequestBody $body, ?CreateReplyAllRequest } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php index 954bff6fcac..dcf33c26727 100644 --- a/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php @@ -128,10 +128,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete eventMessage. + * Delete a message in the specified user's mailbox, or delete a relationship of the message. * @param MessageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MessageItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -150,7 +150,7 @@ public function delete(?MessageItemRequestBuilderDeleteRequestConfiguration $req * The messages in a mailbox or folder. Read-only. Nullable. * @param MessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/eventmessage-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 Find more info here */ public function get(?MessageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -166,11 +166,11 @@ public function get(?MessageItemRequestBuilderGetRequestConfiguration $requestCo } /** - * Update the properties of an eventMessage object. + * Update the properties of a message object. * @param Message $body The request body * @param MessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/eventmessage-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-update?view=graph-rest-1.0 Find more info here */ public function patch(Message $body, ?MessageItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -186,7 +186,7 @@ public function patch(Message $body, ?MessageItemRequestBuilderPatchRequestConfi } /** - * Delete eventMessage. + * Delete a message in the specified user's mailbox, or delete a relationship of the message. * @param MessageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -224,7 +224,7 @@ public function toGetRequestInformation(?MessageItemRequestBuilderGetRequestConf } /** - * Update the properties of an eventMessage object. + * Update the properties of a message object. * @param Message $body The request body * @param MessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.php index fa627e90ac6..fa632c90f79 100644 --- a/src/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/message-send?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function post(?SendRequestBuilderPostRequestConfiguration $requestConfigu } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php index ba5359ce82a..06635b0471c 100644 --- a/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * 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. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. * @param Message $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-post-messages?view=graph-rest-1.0 Find more info here */ public function post(Message $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } /** - * 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. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. * @param Message $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/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php index dd01fbdb9cc..176c8dbc7e4 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php @@ -70,7 +70,7 @@ public function get(?OutlookCategoryItemRequestBuilderGetRequestConfiguration $r } /** - * Update the writable property, color, of the specified outlookCategory object. You cannot modify the displayName property once you have created the category. + * Update the writable property, color, of the specified outlookCategory object. You cannot modify the displayName propertyonce you have created the category. * @param OutlookCategory $body The request body * @param OutlookCategoryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -128,7 +128,7 @@ public function toGetRequestInformation(?OutlookCategoryItemRequestBuilderGetReq } /** - * Update the writable property, color, of the specified outlookCategory object. You cannot modify the displayName property once you have created the category. + * Update the writable property, color, of the specified outlookCategory object. You cannot modify the displayName propertyonce you have created the category. * @param OutlookCategory $body The request body * @param OutlookCategoryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.php b/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.php index 4273e7ef1c7..1ccccbf5c65 100644 --- a/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language by getting the user's mailbox settings. + * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. * @param SupportedLanguagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/outlookuser-supportedlanguages?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function get(?SupportedLanguagesRequestBuilderGetRequestConfiguration $re } /** - * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language by getting the user's mailbox settings. + * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. * @param SupportedLanguagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilderGetQueryParameters.php index a5f67a5f786..188357e9151 100644 --- a/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language by getting the user's mailbox settings. + * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. */ class SupportedLanguagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php index 325dcf66d29..6a7f6e4afa3 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Users\Item\Presence\ClearPresence\ClearPresenceRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Presence\ClearUserPreferredPresence\ClearUserPreferredPresenceRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Presence\SetPresence\SetPresenceRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\Presence\SetStatusMessage\SetStatusMessageRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Presence\SetUserPreferredPresence\SetUserPreferredPresenceRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -42,6 +43,13 @@ public function setPresence(): SetPresenceRequestBuilder { return new SetPresenceRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the setStatusMessage method. + */ + public function setStatusMessage(): SetStatusMessageRequestBuilder { + return new SetStatusMessageRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the setUserPreferredPresence method. */ diff --git a/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessagePostRequestBody.php b/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessagePostRequestBody.php new file mode 100644 index 00000000000..de5b559cce1 --- /dev/null +++ b/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessagePostRequestBody.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 SetStatusMessagePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SetStatusMessagePostRequestBody { + return new SetStatusMessagePostRequestBody(); + } + + /** + * 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 [ + 'statusMessage' => fn(ParseNode $n) => $o->setStatusMessage($n->getObjectValue([PresenceStatusMessage::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the statusMessage property value. The statusMessage property + * @return PresenceStatusMessage|null + */ + public function getStatusMessage(): ?PresenceStatusMessage { + $val = $this->getBackingStore()->get('statusMessage'); + if (is_null($val) || $val instanceof PresenceStatusMessage) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'statusMessage'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('statusMessage', $this->getStatusMessage()); + $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 statusMessage property value. The statusMessage property + * @param PresenceStatusMessage|null $value Value to set for the statusMessage property. + */ + public function setStatusMessage(?PresenceStatusMessage $value): void { + $this->getBackingStore()->set('statusMessage', $value); + } + +} diff --git a/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.php b/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.php new file mode 100644 index 00000000000..d3f1ebdd4c4 --- /dev/null +++ b/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.php @@ -0,0 +1,80 @@ +|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}/presence/setStatusMessage'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action setStatusMessage + * @param SetStatusMessagePostRequestBody $body The request body + * @param SetStatusMessageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function post(SetStatusMessagePostRequestBody $body, ?SetStatusMessageRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Invoke action setStatusMessage + * @param SetStatusMessagePostRequestBody $body The request body + * @param SetStatusMessageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SetStatusMessagePostRequestBody $body, ?SetStatusMessageRequestBuilderPostRequestConfiguration $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->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 SetStatusMessageRequestBuilder + */ + public function withUrl(string $rawUrl): SetStatusMessageRequestBuilder { + return new SetStatusMessageRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..a0aaa7a2434 --- /dev/null +++ b/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilderPostRequestConfiguration.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/SendMail/SendMailRequestBuilder.php b/src/Generated/Users/Item/SendMail/SendMailRequestBuilder.php index 4e56e15e5db..c6dd3c1489c 100644 --- a/src/Generated/Users/Item/SendMail/SendMailRequestBuilder.php +++ b/src/Generated/Users/Item/SendMail/SendMailRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send the message specified in the request body using either JSON or MIME format. When using JSON format you can include a file attachment in the same sendMail action call. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. + * Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. * @param SendMailPostRequestBody $body The request body * @param SendMailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -51,7 +51,7 @@ public function post(SendMailPostRequestBody $body, ?SendMailRequestBuilderPostR } /** - * Send the message specified in the request body using either JSON or MIME format. When using JSON format you can include a file attachment in the same sendMail action call. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. + * Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. * @param SendMailPostRequestBody $body The request body * @param SendMailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index eed1e38fd78..4fb631d914f 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -589,7 +589,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Deletes a user. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-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); @@ -634,11 +634,11 @@ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. + * Update the properties of a user object. * @param User $body The request body * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UserItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -702,7 +702,7 @@ public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfigu } /** - * Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. + * Update the properties of a user object. * @param User $body The request body * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 6575717fd9b..471a284b5d1 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "9500EB0B2B30427DA80994DC8696CC018D7CA96FC23192FEF2A36ACF2696ECDC9E09404EDC06F31614EF635336D43EED5705C3EE01DDBA466CC728A5CAE2A4B6", + "descriptionHash": "0DC2DBFA14D9A992B2CAEB4E07825E3869D17D2D90ED444216F8493DAA54603D9A14823A7897E4A6D6CB29B05CDD4671B788626969104CA0698F287DBBE69365", "descriptionLocation": "/mnt/vss/_work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.6.0", diff --git a/src/GraphConstants.php b/src/GraphConstants.php index 1096f01366f..d5a94fa6cfd 100644 --- a/src/GraphConstants.php +++ b/src/GraphConstants.php @@ -19,5 +19,5 @@ final class GraphConstants { const API_VERSION = "v1.0"; - const SDK_VERSION = "2.0.0-RC23"; + const SDK_VERSION = "2.0.0-RC24"; }