diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 95257bc5ead..73cebe29760 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve a conversationMember from a chat. + * Retrieve a conversationMember from a chat or channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 Find more info here */ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -94,7 +94,7 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder } /** - * Retrieve a conversationMember from a chat. + * Retrieve a conversationMember from a chat or channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index 421bd7f2048..13da59c62c1 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a conversationMember from a chat. + * Retrieve a conversationMember from a chat or channel. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php index e445dd4543d..20e79d57822 100644 --- a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php @@ -14,6 +14,7 @@ use Microsoft\Graph\Generated\DeviceAppManagement\MdmWindowsInformationProtectionPolicies\MdmWindowsInformationProtectionPoliciesRequestBuilder; use Microsoft\Graph\Generated\DeviceAppManagement\MobileAppCategories\MobileAppCategoriesRequestBuilder; use Microsoft\Graph\Generated\DeviceAppManagement\MobileAppConfigurations\MobileAppConfigurationsRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileAppRelationships\MobileAppRelationshipsRequestBuilder; use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\MobileAppsRequestBuilder; use Microsoft\Graph\Generated\DeviceAppManagement\SyncMicrosoftStoreForBusinessApps\SyncMicrosoftStoreForBusinessAppsRequestBuilder; use Microsoft\Graph\Generated\DeviceAppManagement\TargetedManagedAppConfigurations\TargetedManagedAppConfigurationsRequestBuilder; @@ -101,6 +102,13 @@ public function mobileAppConfigurations(): MobileAppConfigurationsRequestBuilder return new MobileAppConfigurationsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the mobileAppRelationships property of the microsoft.graph.deviceAppManagement entity. + */ + public function mobileAppRelationships(): MobileAppRelationshipsRequestBuilder { + return new MobileAppRelationshipsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the mobileApps property of the microsoft.graph.deviceAppManagement entity. */ @@ -171,7 +179,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r * @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceAppManagement $body, ?DeviceAppManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php index 585633ea447..b87ed38f982 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -53,11 +53,11 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the windowsInformationProtection object. + * Read properties and relationships of the managedAppPolicy object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe } /** - * Read properties and relationships of the windowsInformationProtection object. + * Read properties and relationships of the managedAppPolicy object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php index 01409153916..58b0bb0c0c9 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the windowsInformationProtection object. + * Read properties and relationships of the managedAppPolicy object. */ class ManagedAppPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index c9e0d3a0088..2c92f59d08d 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-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 8f7f96bcc46..5230cbcc5ad 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppProtection objects. + * List properties and relationships of the managedAppPolicy objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(ManagedAppPolicy $body, ?ManagedAppPoliciesRequestBuilderPo } /** - * List properties and relationships of the managedAppProtection objects. + * List properties and relationships of the managedAppPolicy 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 9d829b0f939..075c0ea67e0 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 managedAppProtection objects. + * List properties and relationships of the managedAppPolicy objects. */ class ManagedAppPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 98d1e73293e..0cf00c54e3d 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index f8dc868a894..d534a409ba9 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php index 49c7472578f..8fffbf674ef 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php @@ -69,11 +69,11 @@ public function delete(?ManagedAppRegistrationItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -117,7 +117,7 @@ public function toDeleteRequestInformation(?ManagedAppRegistrationItemRequestBui } /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the 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 0e65ab6bf24..81082a207c7 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php @@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -91,7 +91,7 @@ public function post(ManagedAppRegistration $body, ?ManagedAppRegistrationsReque } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php index b4f489ab30a..8163f822b71 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. */ class ManagedAppRegistrationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php index 767ab2c7107..1b81a537200 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?ManagedAppStatusItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppStatus object. + * Read properties and relationships of the managedAppStatusRaw object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedAppStatusItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppStatus object. + * Read properties and relationships of the managedAppStatusRaw object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php index 1a778e35b25..e257e0cbe70 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppStatus object. + * Read properties and relationships of the managedAppStatusRaw object. */ class ManagedAppStatusItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php index 09583ad8d7a..1b6706769e5 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(ManagedAppStatus $body, ?ManagedAppStatusesRequestBuilderPo } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php index 02671246a61..1de2629bd1c 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. */ class ManagedAppStatusesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php index bf46e5a230f..e6210e194fc 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 Find more info here */ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPos } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|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/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php index 166b758024b..fcec5d957a0 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. */ class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php index dd971dd2c2c..724f1b87c4e 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,12 +61,12 @@ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a managedEBookAssignment object. + * Update the properties of a iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 Find more info here */ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?ManagedEBookAssignmentItemRequestBui } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?ManagedEBookAssignmentItemRequestBuilde } /** - * Update the properties of a managedEBookAssignment object. + * Update the properties of a iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php index fa920db8c52..854e051c551 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. */ class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php index f82eae537ba..336d1feb54c 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedEBook objects. + * List properties and relationships of the iosVppEBook objects. * @param ManagedEBooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBooksRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(ManagedEBook $body, ?ManagedEBooksRequestBuilderPostRequest } /** - * List properties and relationships of the managedEBook objects. + * List properties and relationships of the iosVppEBook objects. * @param ManagedEBooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php index eaa732c2dd0..0e5165889f1 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedEBook objects. + * List properties and relationships of the iosVppEBook objects. */ class ManagedEBooksRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php index 6cfa31634c9..3e80867291c 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php @@ -94,11 +94,11 @@ public function delete(?ManagedDeviceMobileAppConfigurationItemRequestBuilderDel } /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. * @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -143,7 +143,7 @@ public function toDeleteRequestInformation(?ManagedDeviceMobileAppConfigurationI } /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration 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 4b0240dadba..22dd29d03d8 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 iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. */ class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php index feacdc9ddcd..b7f2940d11f 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ 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 * @throws Exception - * @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); @@ -83,7 +83,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 b6d9410cd6a..804ed807506 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/MobileAppRelationships/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..3a09bd1f11b --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileAppRelationships/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileAppRelationships/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..271f5ab51fe --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileAppRelationships/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..87233e19519 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/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/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilder.php new file mode 100644 index 00000000000..0190831b34c --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileAppRelationships/{mobileAppRelationship%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property mobileAppRelationships for deviceAppManagement + * @param MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications. + * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MobileAppRelationshipItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MobileAppRelationship::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property mobileAppRelationships in deviceAppManagement + * @param MobileAppRelationship $body The request body + * @param MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(MobileAppRelationship $body, ?MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MobileAppRelationship::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property mobileAppRelationships for deviceAppManagement + * @param MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications. + * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MobileAppRelationshipItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property mobileAppRelationships in deviceAppManagement + * @param MobileAppRelationship $body The request body + * @param MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MobileAppRelationship $body, ?MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return MobileAppRelationshipItemRequestBuilder + */ + public function withUrl(string $rawUrl): MobileAppRelationshipItemRequestBuilder { + return new MobileAppRelationshipItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..4435c2d3051 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration.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/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..6bd7b751afc --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.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 MobileAppRelationshipItemRequestBuilderGetQueryParameters 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/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..1e74e7b5975 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MobileAppRelationshipItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MobileAppRelationshipItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MobileAppRelationshipItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MobileAppRelationshipItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MobileAppRelationshipItemRequestBuilderGetQueryParameters { + return new MobileAppRelationshipItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..d3dc50471d9 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/Item/MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration.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/MobileAppRelationships/MobileAppRelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/MobileAppRelationshipsRequestBuilder.php new file mode 100644 index 00000000000..f0d2fc4ed92 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/MobileAppRelationshipsRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the mobileAppRelationships property of the microsoft.graph.deviceAppManagement entity. + * @param string $mobileAppRelationshipId The unique identifier of mobileAppRelationship + * @return MobileAppRelationshipItemRequestBuilder + */ + public function byMobileAppRelationshipId(string $mobileAppRelationshipId): MobileAppRelationshipItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['mobileAppRelationship%2Did'] = $mobileAppRelationshipId; + return new MobileAppRelationshipItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new MobileAppRelationshipsRequestBuilder 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}/deviceAppManagement/mobileAppRelationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications. + * @param MobileAppRelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MobileAppRelationshipsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MobileAppRelationshipCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to mobileAppRelationships for deviceAppManagement + * @param MobileAppRelationship $body The request body + * @param MobileAppRelationshipsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(MobileAppRelationship $body, ?MobileAppRelationshipsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MobileAppRelationship::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications. + * @param MobileAppRelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MobileAppRelationshipsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to mobileAppRelationships for deviceAppManagement + * @param MobileAppRelationship $body The request body + * @param MobileAppRelationshipsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(MobileAppRelationship $body, ?MobileAppRelationshipsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return MobileAppRelationshipsRequestBuilder + */ + public function withUrl(string $rawUrl): MobileAppRelationshipsRequestBuilder { + return new MobileAppRelationshipsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileAppRelationships/MobileAppRelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/MobileAppRelationshipsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0e0e69efcec --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/MobileAppRelationshipsRequestBuilderGetQueryParameters.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 MobileAppRelationshipsRequestBuilderGetQueryParameters 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/DeviceAppManagement/MobileAppRelationships/MobileAppRelationshipsRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/MobileAppRelationshipsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..00db449351b --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/MobileAppRelationshipsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MobileAppRelationshipsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MobileAppRelationshipsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MobileAppRelationshipsRequestBuilderGetQueryParameters. + * @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 MobileAppRelationshipsRequestBuilderGetQueryParameters + */ + 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): MobileAppRelationshipsRequestBuilderGetQueryParameters { + return new MobileAppRelationshipsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileAppRelationships/MobileAppRelationshipsRequestBuilderPostRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileAppRelationships/MobileAppRelationshipsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..67d81675b31 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileAppRelationships/MobileAppRelationshipsRequestBuilderPostRequestConfiguration.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/MobileApps/Item/MobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php index dfd1f3fac71..eb9faaaaad8 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php @@ -183,11 +183,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a windowsMobileMSI. + * Deletes a iosiPadOSWebClip. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -198,11 +198,11 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read properties and relationships of the macOSLobApp object. + * Read properties and relationships of the macOSOfficeSuiteApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-get?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -229,7 +229,7 @@ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestC } /** - * Deletes a windowsMobileMSI. + * Deletes a iosiPadOSWebClip. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -247,7 +247,7 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the macOSLobApp object. + * Read properties and relationships of the macOSOfficeSuiteApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php index 38b4d07e5cf..7bc1b9d9607 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the macOSLobApp object. + * Read properties and relationships of the macOSOfficeSuiteApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index 5f2993a18f6..f0f2021da38 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php @@ -180,11 +180,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the macOSLobApp objects. + * List properties and relationships of the managedApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-managedapp-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -195,12 +195,12 @@ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new windowsAppX object. + * Create a new win32LobApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-windowsappx-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-create?view=graph-rest-1.0 Find more info here */ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -211,7 +211,7 @@ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfig } /** - * List properties and relationships of the macOSLobApp objects. + * List properties and relationships of the managedApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -232,7 +232,7 @@ public function toGetRequestInformation(?MobileAppsRequestBuilderGetRequestConfi } /** - * Create a new windowsAppX object. + * Create a new win32LobApp 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 6f85747b153..36abf853155 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 macOSLobApp objects. + * List properties and relationships of the managedApp objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index f245cacf9fe..69e636d3803 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the windows10MobileCompliancePolicy objects. + * List properties and relationships of the iosCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new windows10MobileCompliancePolicy 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 * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-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); @@ -83,7 +83,7 @@ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequ } /** - * List properties and relationships of the windows10MobileCompliancePolicy objects. + * List properties and relationships of the iosCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceCompliancePoliciesRequestBuilderG } /** - * Create a new windows10MobileCompliancePolicy 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/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php index c302cd790e2..b5124d1f52d 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the windows10MobileCompliancePolicy objects. + * List properties and relationships of the iosCompliancePolicy objects. */ class DeviceCompliancePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index 719efd121ae..a8f6663eef9 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php @@ -103,11 +103,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a windows10CompliancePolicy. + * Deletes a androidWorkProfileCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -118,11 +118,11 @@ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the deviceCompliancePolicy object. + * Read properties and relationships of the iosCompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,12 +133,12 @@ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a androidCompliancePolicy object. + * Update the properties of a androidWorkProfileCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -149,7 +149,7 @@ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemR } /** - * Deletes a windows10CompliancePolicy. + * Deletes a androidWorkProfileCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -167,7 +167,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyItemRequestBui } /** - * Read properties and relationships of the deviceCompliancePolicy object. + * Read properties and relationships of the iosCompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -188,7 +188,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyItemRequestBuilde } /** - * Update the properties of a androidCompliancePolicy object. + * Update the properties of a androidWorkProfileCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php index d7debf15f83..e9ffddf600f 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceCompliancePolicy object. + * Read properties and relationships of the iosCompliancePolicy object. */ class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index 0d1bd59c249..a13c266cd9d 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the windows10SecureAssessmentConfiguration objects. + * List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $ } /** - * Create a new iosDeviceFeaturesConfiguration 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 * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-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); @@ -83,7 +83,7 @@ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuil } /** - * List properties and relationships of the windows10SecureAssessmentConfiguration objects. + * List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceConfigurationsRequestBuilderGetRe } /** - * Create a new iosDeviceFeaturesConfiguration 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 7b02ac4adb7..68426f016a8 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 windows10SecureAssessmentConfiguration objects. + * List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index 658e6919479..01a6226d60d 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php @@ -88,11 +88,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a windows10GeneralConfiguration. + * Deletes a macOSDeviceFeaturesConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -103,11 +103,11 @@ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfig } /** - * Read properties and relationships of the windows10TeamGeneralConfiguration object. + * Read properties and relationships of the macOSCustomConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10teamgeneralconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscustomconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -127,12 +127,12 @@ public function getOmaSettingPlainTextValueWithSecretReferenceValueId(string $se } /** - * Update the properties of a windowsPhone81GeneralConfiguration object. + * Update the properties of a windows10TeamGeneralConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81generalconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10teamgeneralconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -143,7 +143,7 @@ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequest } /** - * Deletes a windows10GeneralConfiguration. + * Deletes a macOSDeviceFeaturesConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationItemRequestBuilde } /** - * Read properties and relationships of the windows10TeamGeneralConfiguration object. + * Read properties and relationships of the macOSCustomConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -182,7 +182,7 @@ public function toGetRequestInformation(?DeviceConfigurationItemRequestBuilderGe } /** - * Update the properties of a windowsPhone81GeneralConfiguration object. + * Update the properties of a windows10TeamGeneralConfiguration 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 3e4d7dfd5e1..5af56d20802 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 windows10TeamGeneralConfiguration object. + * Read properties and relationships of the macOSCustomConfiguration object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index a0221999506..f47aa1f4793 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfi } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfi } /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationsRequestBu } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php index 05b922dacc3..548f8e3b8a8 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. */ class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php index 848bc2f3925..c7961ab8c7d 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -55,11 +55,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -85,12 +85,12 @@ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestCo } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -101,7 +101,7 @@ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConf } /** - * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,7 +119,7 @@ public function toDeleteRequestInformation(?DeviceEnrollmentConfigurationItemReq } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,7 +140,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationItemReques } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php index 12796689b55..3eb55aa0e82 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. */ class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php index 811bc7375ca..8a1513d9356 100644 --- a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php @@ -509,7 +509,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-devicemanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -534,7 +534,7 @@ public function getEffectivePermissionsWithScope(string $scope): GetEffectivePer * @param DeviceManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-reporting-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-androidforwork-devicemanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceManagement $body, ?DeviceManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php index 32b369eb31c..ced2af61043 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php @@ -39,11 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 Find more info here */ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -69,12 +69,12 @@ 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 * @throws Exception - * @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); @@ -85,7 +85,7 @@ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPat } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,7 +124,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 db6bd1c2b2c..e13378d3623 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the 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 * @throws Exception - * @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); @@ -67,12 +67,12 @@ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new roleDefinition object. + * Create a new deviceAndAppManagementRoleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0 Find more info here */ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,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 */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?RoleDefinitionsRequestBuilderGetRequest } /** - * Create a new roleDefinition object. + * Create a new deviceAndAppManagementRoleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|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 448a7624ee5..5b0c2ffab4f 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/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Resize/ResizeRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Resize/ResizeRequestBuilder.php index 45f5220eb00..60b5f23789e 100644 --- a/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Resize/ResizeRequestBuilder.php +++ b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Resize/ResizeRequestBuilder.php @@ -30,11 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Invoke action resize + * Upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. * @param ResizePostRequestBody $body The request body * @param ResizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/cloudpc-resize?view=graph-rest-1.0 Find more info here */ public function post(ResizePostRequestBody $body, ?ResizeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -45,7 +46,7 @@ public function post(ResizePostRequestBody $body, ?ResizeRequestBuilderPostReque } /** - * Invoke action resize + * Upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. * @param ResizePostRequestBody $body The request body * @param ResizeRequestBuilderPostRequestConfiguration|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/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php index 02cf8f938d1..12be304bc7c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|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/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php index cc31d651f51..817867f8755 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php index a21735b2eae..964d49d05dc 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php @@ -43,7 +43,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ConversationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php index 5400772fd5f..50b0c921966 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -51,11 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the 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 * @throws Exception - * @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); @@ -66,7 +66,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 c3d334096ac..80d8fda794c 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 c5d8a51a55f..7b8f1fb0c95 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of an ipNamedLocation 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 * @throws Exception - * @link https://learn.microsoft.com/graph/api/ipnamedlocation-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); @@ -61,12 +61,12 @@ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of a countryNamedLocation object. + * Update the properties of an ipNamedLocation object. * @param NamedLocation $body The request body * @param NamedLocationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0 Find more info here */ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?NamedLocationItemRequestBuilderDelet } /** - * Retrieve the properties and relationships of an ipNamedLocation 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 */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?NamedLocationItemRequestBuilderGetReque } /** - * Update the properties of a countryNamedLocation object. + * Update the properties of an ipNamedLocation object. * @param NamedLocation $body The request body * @param NamedLocationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php index 7286eb829a7..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 an ipNamedLocation object. + * Retrieve the properties and relationships of a namedLocation object. */ class NamedLocationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php index 7ed57d3f26d..1ade86add76 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php @@ -102,11 +102,11 @@ public function delete(?AccessPackageItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 Find more info here */ public function get(?AccessPackageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -151,7 +151,7 @@ public function toDeleteRequestInformation(?AccessPackageItemRequestBuilderDelet } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php index b0dedf46c49..95e920d4be4 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. */ class AccessPackageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index a0f01050229..75379f8964e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestCon } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 Find more info here */ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?CustomCalloutExtensionItemRequestBui } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php index dae8c9ba9e5..e76ab2b8876 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. */ class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/AiInteraction.php b/src/Generated/Models/AiInteraction.php index 87f5eddaeea..447a3140bc8 100644 --- a/src/Generated/Models/AiInteraction.php +++ b/src/Generated/Models/AiInteraction.php @@ -27,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): AiInt } /** - * Gets the appClass property value. The data source for Copilot data. For example, IPM.SkypeTeams.Message.Copilot.Excel or IPM.SkypeTeams.Message.Copilot.Loop. + * Gets the appClass property value. The appClass property * @return string|null */ public function getAppClass(): ?string { @@ -39,7 +39,7 @@ public function getAppClass(): ?string { } /** - * Gets the attachments property value. The collection of documents attached to the interaction, such as cards and images. + * Gets the attachments property value. The attachments property * @return array|null */ public function getAttachments(): ?array { @@ -53,7 +53,7 @@ public function getAttachments(): ?array { } /** - * Gets the body property value. The body of the message, including the text of the body and its body type. + * Gets the body property value. The body property * @return ItemBody|null */ public function getBody(): ?ItemBody { @@ -65,7 +65,7 @@ public function getBody(): ?ItemBody { } /** - * Gets the contexts property value. The identifer that maps to all contexts associated with an interaction. + * Gets the contexts property value. The contexts property * @return array|null */ public function getContexts(): ?array { @@ -79,7 +79,7 @@ public function getContexts(): ?array { } /** - * Gets the conversationType property value. The type of the conversation. For example, appchat or bizchat. + * Gets the conversationType property value. The conversationType property * @return string|null */ public function getConversationType(): ?string { @@ -91,7 +91,7 @@ public function getConversationType(): ?string { } /** - * Gets the createdDateTime property value. The time when the interaction was created. + * Gets the createdDateTime property value. The createdDateTime property * @return DateTime|null */ public function getCreatedDateTime(): ?DateTime { @@ -103,7 +103,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the etag property value. The timestamp of when the interaction was last modified. + * Gets the etag property value. The etag property * @return string|null */ public function getEtag(): ?string { @@ -163,7 +163,7 @@ public function getInteractionType(): ?AiInteractionType { } /** - * Gets the links property value. The collection of links that appear in the interaction. + * Gets the links property value. The links property * @return array|null */ public function getLinks(): ?array { @@ -177,7 +177,7 @@ public function getLinks(): ?array { } /** - * Gets the locale property value. The locale of the sender. + * Gets the locale property value. The locale property * @return string|null */ public function getLocale(): ?string { @@ -189,7 +189,7 @@ public function getLocale(): ?string { } /** - * Gets the mentions property value. The collection of the entities that were mentioned in the interaction, including users, bots, and so on. + * Gets the mentions property value. The mentions property * @return array|null */ public function getMentions(): ?array { @@ -203,7 +203,7 @@ public function getMentions(): ?array { } /** - * Gets the requestId property value. The identifier that groups a user prompt with its Copilot response. + * Gets the requestId property value. The requestId property * @return string|null */ public function getRequestId(): ?string { @@ -215,7 +215,7 @@ public function getRequestId(): ?string { } /** - * Gets the sessionId property value. The thread ID or conversation identifier that maps to all Copilot sessions for the user. + * Gets the sessionId property value. The sessionId property * @return string|null */ public function getSessionId(): ?string { @@ -249,7 +249,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the appClass property value. The data source for Copilot data. For example, IPM.SkypeTeams.Message.Copilot.Excel or IPM.SkypeTeams.Message.Copilot.Loop. + * Sets the appClass property value. The appClass property * @param string|null $value Value to set for the appClass property. */ public function setAppClass(?string $value): void { @@ -257,7 +257,7 @@ public function setAppClass(?string $value): void { } /** - * Sets the attachments property value. The collection of documents attached to the interaction, such as cards and images. + * Sets the attachments property value. The attachments property * @param array|null $value Value to set for the attachments property. */ public function setAttachments(?array $value): void { @@ -265,7 +265,7 @@ public function setAttachments(?array $value): void { } /** - * Sets the body property value. The body of the message, including the text of the body and its body type. + * Sets the body property value. The body property * @param ItemBody|null $value Value to set for the body property. */ public function setBody(?ItemBody $value): void { @@ -273,7 +273,7 @@ public function setBody(?ItemBody $value): void { } /** - * Sets the contexts property value. The identifer that maps to all contexts associated with an interaction. + * Sets the contexts property value. The contexts property * @param array|null $value Value to set for the contexts property. */ public function setContexts(?array $value): void { @@ -281,7 +281,7 @@ public function setContexts(?array $value): void { } /** - * Sets the conversationType property value. The type of the conversation. For example, appchat or bizchat. + * Sets the conversationType property value. The conversationType property * @param string|null $value Value to set for the conversationType property. */ public function setConversationType(?string $value): void { @@ -289,7 +289,7 @@ public function setConversationType(?string $value): void { } /** - * Sets the createdDateTime property value. The time when the interaction was created. + * Sets the createdDateTime property value. The createdDateTime property * @param DateTime|null $value Value to set for the createdDateTime property. */ public function setCreatedDateTime(?DateTime $value): void { @@ -297,7 +297,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the etag property value. The timestamp of when the interaction was last modified. + * Sets the etag property value. The etag property * @param string|null $value Value to set for the etag property. */ public function setEtag(?string $value): void { @@ -321,7 +321,7 @@ public function setInteractionType(?AiInteractionType $value): void { } /** - * Sets the links property value. The collection of links that appear in the interaction. + * Sets the links property value. The links property * @param array|null $value Value to set for the links property. */ public function setLinks(?array $value): void { @@ -329,7 +329,7 @@ public function setLinks(?array $value): void { } /** - * Sets the locale property value. The locale of the sender. + * Sets the locale property value. The locale property * @param string|null $value Value to set for the locale property. */ public function setLocale(?string $value): void { @@ -337,7 +337,7 @@ public function setLocale(?string $value): void { } /** - * Sets the mentions property value. The collection of the entities that were mentioned in the interaction, including users, bots, and so on. + * Sets the mentions property value. The mentions property * @param array|null $value Value to set for the mentions property. */ public function setMentions(?array $value): void { @@ -345,7 +345,7 @@ public function setMentions(?array $value): void { } /** - * Sets the requestId property value. The identifier that groups a user prompt with its Copilot response. + * Sets the requestId property value. The requestId property * @param string|null $value Value to set for the requestId property. */ public function setRequestId(?string $value): void { @@ -353,7 +353,7 @@ public function setRequestId(?string $value): void { } /** - * Sets the sessionId property value. The thread ID or conversation identifier that maps to all Copilot sessions for the user. + * Sets the sessionId property value. The sessionId property * @param string|null $value Value to set for the sessionId property. */ public function setSessionId(?string $value): void { diff --git a/src/Generated/Models/AiInteractionAttachment.php b/src/Generated/Models/AiInteractionAttachment.php index 58a3183d119..6f8ff871799 100644 --- a/src/Generated/Models/AiInteractionAttachment.php +++ b/src/Generated/Models/AiInteractionAttachment.php @@ -2,17 +2,27 @@ namespace Microsoft\Graph\Generated\Models; +use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Microsoft\Kiota\Abstractions\Store\BackedModel; +use Microsoft\Kiota\Abstractions\Store\BackingStore; +use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; -class AiInteractionAttachment extends Entity implements Parsable +class AiInteractionAttachment implements AdditionalDataHolder, BackedModel, Parsable { + /** + * @var BackingStore $backingStore Stores model information. + */ + private BackingStore $backingStore; + /** * Instantiates a new AiInteractionAttachment and sets the default values. */ public function __construct() { - parent::__construct(); + $this->backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); } /** @@ -25,7 +35,20 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): AiInt } /** - * Gets the attachmentId property value. The identifier for the attachment. This identifier is only unique within the message scope. + * 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 attachmentId property value. The attachmentId property * @return string|null */ public function getAttachmentId(): ?string { @@ -37,7 +60,15 @@ public function getAttachmentId(): ?string { } /** - * Gets the content property value. The content of the attachment. + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the content property value. The content property * @return string|null */ public function getContent(): ?string { @@ -49,7 +80,7 @@ public function getContent(): ?string { } /** - * Gets the contentType property value. The type of the content. For example, reference, file, and image/imageType. + * Gets the contentType property value. The contentType property * @return string|null */ public function getContentType(): ?string { @@ -61,7 +92,7 @@ public function getContentType(): ?string { } /** - * Gets the contentUrl property value. The URL of the content. + * Gets the contentUrl property value. The contentUrl property * @return string|null */ public function getContentUrl(): ?string { @@ -78,17 +109,18 @@ public function getContentUrl(): ?string { */ public function getFieldDeserializers(): array { $o = $this; - return array_merge(parent::getFieldDeserializers(), [ + return [ 'attachmentId' => fn(ParseNode $n) => $o->setAttachmentId($n->getStringValue()), 'content' => fn(ParseNode $n) => $o->setContent($n->getStringValue()), 'contentType' => fn(ParseNode $n) => $o->setContentType($n->getStringValue()), 'contentUrl' => fn(ParseNode $n) => $o->setContentUrl($n->getStringValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - ]); + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; } /** - * Gets the name property value. The name of the attachment. + * Gets the name property value. The name property * @return string|null */ public function getName(): ?string { @@ -99,21 +131,42 @@ public function getName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); } + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); $writer->writeStringValue('attachmentId', $this->getAttachmentId()); $writer->writeStringValue('content', $this->getContent()); $writer->writeStringValue('contentType', $this->getContentType()); $writer->writeStringValue('contentUrl', $this->getContentUrl()); $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); } /** - * Sets the attachmentId property value. The identifier for the attachment. This identifier is only unique within the message scope. + * Sets the attachmentId property value. The attachmentId property * @param string|null $value Value to set for the attachmentId property. */ public function setAttachmentId(?string $value): void { @@ -121,7 +174,15 @@ public function setAttachmentId(?string $value): void { } /** - * Sets the content property value. The content of the attachment. + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the content property value. The content property * @param string|null $value Value to set for the content property. */ public function setContent(?string $value): void { @@ -129,7 +190,7 @@ public function setContent(?string $value): void { } /** - * Sets the contentType property value. The type of the content. For example, reference, file, and image/imageType. + * Sets the contentType property value. The contentType property * @param string|null $value Value to set for the contentType property. */ public function setContentType(?string $value): void { @@ -137,7 +198,7 @@ public function setContentType(?string $value): void { } /** - * Sets the contentUrl property value. The URL of the content. + * Sets the contentUrl property value. The contentUrl property * @param string|null $value Value to set for the contentUrl property. */ public function setContentUrl(?string $value): void { @@ -145,11 +206,19 @@ public function setContentUrl(?string $value): void { } /** - * Sets the name property value. The name of the attachment. + * Sets the name property value. The name property * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { $this->getBackingStore()->set('name', $value); } + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + } diff --git a/src/Generated/Models/AiInteractionContext.php b/src/Generated/Models/AiInteractionContext.php index 9e4407d8feb..fd86a81db74 100644 --- a/src/Generated/Models/AiInteractionContext.php +++ b/src/Generated/Models/AiInteractionContext.php @@ -2,17 +2,27 @@ namespace Microsoft\Graph\Generated\Models; +use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Microsoft\Kiota\Abstractions\Store\BackedModel; +use Microsoft\Kiota\Abstractions\Store\BackingStore; +use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; -class AiInteractionContext extends Entity implements Parsable +class AiInteractionContext implements AdditionalDataHolder, BackedModel, Parsable { + /** + * @var BackingStore $backingStore Stores model information. + */ + private BackingStore $backingStore; + /** * Instantiates a new AiInteractionContext and sets the default values. */ public function __construct() { - parent::__construct(); + $this->backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); } /** @@ -25,7 +35,28 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): AiInt } /** - * Gets the contextReference property value. The full file URL where the interaction happened. + * 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 contextReference property value. The contextReference property * @return string|null */ public function getContextReference(): ?string { @@ -37,7 +68,7 @@ public function getContextReference(): ?string { } /** - * Gets the contextType property value. The type of the file. + * Gets the contextType property value. The contextType property * @return string|null */ public function getContextType(): ?string { @@ -49,7 +80,7 @@ public function getContextType(): ?string { } /** - * Gets the displayName property value. The name of the file. + * Gets the displayName property value. The displayName property * @return string|null */ public function getDisplayName(): ?string { @@ -66,11 +97,24 @@ public function getDisplayName(): ?string { */ public function getFieldDeserializers(): array { $o = $this; - return array_merge(parent::getFieldDeserializers(), [ + return [ 'contextReference' => fn(ParseNode $n) => $o->setContextReference($n->getStringValue()), 'contextType' => fn(ParseNode $n) => $o->setContextType($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), - ]); + '@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'"); } /** @@ -78,14 +122,31 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); $writer->writeStringValue('contextReference', $this->getContextReference()); $writer->writeStringValue('contextType', $this->getContextType()); $writer->writeStringValue('displayName', $this->getDisplayName()); + $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 contextReference property value. The full file URL where the interaction happened. + * 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 contextReference property value. The contextReference property * @param string|null $value Value to set for the contextReference property. */ public function setContextReference(?string $value): void { @@ -93,7 +154,7 @@ public function setContextReference(?string $value): void { } /** - * Sets the contextType property value. The type of the file. + * Sets the contextType property value. The contextType property * @param string|null $value Value to set for the contextType property. */ public function setContextType(?string $value): void { @@ -101,11 +162,19 @@ public function setContextType(?string $value): void { } /** - * Sets the displayName property value. The name of the file. + * Sets the displayName property value. The displayName property * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { $this->getBackingStore()->set('displayName', $value); } + /** + * Sets the @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/AiInteractionLink.php b/src/Generated/Models/AiInteractionLink.php index a73163c1bce..c6da9125799 100644 --- a/src/Generated/Models/AiInteractionLink.php +++ b/src/Generated/Models/AiInteractionLink.php @@ -2,17 +2,27 @@ namespace Microsoft\Graph\Generated\Models; +use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Microsoft\Kiota\Abstractions\Store\BackedModel; +use Microsoft\Kiota\Abstractions\Store\BackingStore; +use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; -class AiInteractionLink extends Entity implements Parsable +class AiInteractionLink implements AdditionalDataHolder, BackedModel, Parsable { + /** + * @var BackingStore $backingStore Stores model information. + */ + private BackingStore $backingStore; + /** * Instantiates a new AiInteractionLink and sets the default values. */ public function __construct() { - parent::__construct(); + $this->backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); } /** @@ -25,7 +35,28 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): AiInt } /** - * Gets the displayName property value. The name of the link. + * 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 displayName property value. The displayName property * @return string|null */ public function getDisplayName(): ?string { @@ -42,15 +73,16 @@ public function getDisplayName(): ?string { */ public function getFieldDeserializers(): array { $o = $this; - return array_merge(parent::getFieldDeserializers(), [ + return [ 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'linkType' => fn(ParseNode $n) => $o->setLinkType($n->getStringValue()), 'linkUrl' => fn(ParseNode $n) => $o->setLinkUrl($n->getStringValue()), - ]); + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; } /** - * Gets the linkType property value. Information about a link in an app chat or Business Chat (BizChat) interaction. + * Gets the linkType property value. The linkType property * @return string|null */ public function getLinkType(): ?string { @@ -62,7 +94,7 @@ public function getLinkType(): ?string { } /** - * Gets the linkUrl property value. The URL of the link. + * Gets the linkUrl property value. The linkUrl property * @return string|null */ public function getLinkUrl(): ?string { @@ -73,19 +105,48 @@ public function getLinkUrl(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'linkUrl'"); } + /** + * 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 { - parent::serialize($writer); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('linkType', $this->getLinkType()); $writer->writeStringValue('linkUrl', $this->getLinkUrl()); + $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 displayName property value. The name of the link. + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the displayName property value. The displayName property * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -93,7 +154,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the linkType property value. Information about a link in an app chat or Business Chat (BizChat) interaction. + * Sets the linkType property value. The linkType property * @param string|null $value Value to set for the linkType property. */ public function setLinkType(?string $value): void { @@ -101,11 +162,19 @@ public function setLinkType(?string $value): void { } /** - * Sets the linkUrl property value. The URL of the link. + * Sets the linkUrl property value. The linkUrl property * @param string|null $value Value to set for the linkUrl property. */ public function setLinkUrl(?string $value): void { $this->getBackingStore()->set('linkUrl', $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/AiInteractionMention.php b/src/Generated/Models/AiInteractionMention.php index f65f8a1d687..f22d863e29c 100644 --- a/src/Generated/Models/AiInteractionMention.php +++ b/src/Generated/Models/AiInteractionMention.php @@ -2,17 +2,27 @@ namespace Microsoft\Graph\Generated\Models; +use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Microsoft\Kiota\Abstractions\Store\BackedModel; +use Microsoft\Kiota\Abstractions\Store\BackingStore; +use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; -class AiInteractionMention extends Entity implements Parsable +class AiInteractionMention implements AdditionalDataHolder, BackedModel, Parsable { + /** + * @var BackingStore $backingStore Stores model information. + */ + private BackingStore $backingStore; + /** * Instantiates a new AiInteractionMention and sets the default values. */ public function __construct() { - parent::__construct(); + $this->backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); } /** @@ -24,21 +34,43 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): AiInt return new AiInteractionMention(); } + /** + * 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 array_merge(parent::getFieldDeserializers(), [ + return [ 'mentioned' => fn(ParseNode $n) => $o->setMentioned($n->getObjectValue([AiInteractionMentionedIdentitySet::class, 'createFromDiscriminatorValue'])), 'mentionId' => fn(ParseNode $n) => $o->setMentionId($n->getIntegerValue()), 'mentionText' => fn(ParseNode $n) => $o->setMentionText($n->getStringValue()), - ]); + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; } /** - * Gets the mentioned property value. The entity mentioned in the message. + * Gets the mentioned property value. The mentioned property * @return AiInteractionMentionedIdentitySet|null */ public function getMentioned(): ?AiInteractionMentionedIdentitySet { @@ -50,7 +82,7 @@ public function getMentioned(): ?AiInteractionMentionedIdentitySet { } /** - * Gets the mentionId property value. The identifier for the mention. + * Gets the mentionId property value. The mentionId property * @return int|null */ public function getMentionId(): ?int { @@ -62,7 +94,7 @@ public function getMentionId(): ?int { } /** - * Gets the mentionText property value. The text mentioned in the message. + * Gets the mentionText property value. The mentionText property * @return string|null */ public function getMentionText(): ?string { @@ -73,19 +105,48 @@ public function getMentionText(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'mentionText'"); } + /** + * 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 { - parent::serialize($writer); $writer->writeObjectValue('mentioned', $this->getMentioned()); $writer->writeIntegerValue('mentionId', $this->getMentionId()); $writer->writeStringValue('mentionText', $this->getMentionText()); + $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 mentioned property value. The entity mentioned in the message. + * 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 mentioned property value. The mentioned property * @param AiInteractionMentionedIdentitySet|null $value Value to set for the mentioned property. */ public function setMentioned(?AiInteractionMentionedIdentitySet $value): void { @@ -93,7 +154,7 @@ public function setMentioned(?AiInteractionMentionedIdentitySet $value): void { } /** - * Sets the mentionId property value. The identifier for the mention. + * Sets the mentionId property value. The mentionId property * @param int|null $value Value to set for the mentionId property. */ public function setMentionId(?int $value): void { @@ -101,11 +162,19 @@ public function setMentionId(?int $value): void { } /** - * Sets the mentionText property value. The text mentioned in the message. + * Sets the mentionText property value. The mentionText property * @param string|null $value Value to set for the mentionText property. */ public function setMentionText(?string $value): void { $this->getBackingStore()->set('mentionText', $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/AiInteractionMentionedIdentitySet.php b/src/Generated/Models/AiInteractionMentionedIdentitySet.php index 2639b6cbae9..7fdfff7d0ba 100644 --- a/src/Generated/Models/AiInteractionMentionedIdentitySet.php +++ b/src/Generated/Models/AiInteractionMentionedIdentitySet.php @@ -50,7 +50,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the tag property value. The tag details. + * Gets the tag property value. The tag property * @return TeamworkTagIdentity|null */ public function getTag(): ?TeamworkTagIdentity { @@ -80,7 +80,7 @@ public function setConversation(?TeamworkConversationIdentity $value): void { } /** - * Sets the tag property value. The tag details. + * Sets the tag property value. The tag property * @param TeamworkTagIdentity|null $value Value to set for the tag property. */ public function setTag(?TeamworkTagIdentity $value): void { diff --git a/src/Generated/Models/AiUser.php b/src/Generated/Models/AiUser.php index 8d156fa414e..c65078c7323 100644 --- a/src/Generated/Models/AiUser.php +++ b/src/Generated/Models/AiUser.php @@ -36,7 +36,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the interactionHistory property value. The history of interactions between AI agents and users. + * Gets the interactionHistory property value. The interactionHistory property * @return AiInteractionHistory|null */ public function getInteractionHistory(): ?AiInteractionHistory { @@ -57,7 +57,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the interactionHistory property value. The history of interactions between AI agents and users. + * Sets the interactionHistory property value. The interactionHistory property * @param AiInteractionHistory|null $value Value to set for the interactionHistory property. */ public function setInteractionHistory(?AiInteractionHistory $value): void { diff --git a/src/Generated/Models/AuthenticationEventListener.php b/src/Generated/Models/AuthenticationEventListener.php index fab581a5a33..2e258d3ea96 100644 --- a/src/Generated/Models/AuthenticationEventListener.php +++ b/src/Generated/Models/AuthenticationEventListener.php @@ -29,6 +29,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Authe case '#microsoft.graph.onAttributeCollectionStartListener': return new OnAttributeCollectionStartListener(); case '#microsoft.graph.onAttributeCollectionSubmitListener': return new OnAttributeCollectionSubmitListener(); case '#microsoft.graph.onAuthenticationMethodLoadStartListener': return new OnAuthenticationMethodLoadStartListener(); + case '#microsoft.graph.onEmailOtpSendListener': return new OnEmailOtpSendListener(); case '#microsoft.graph.onInteractiveAuthFlowStartListener': return new OnInteractiveAuthFlowStartListener(); case '#microsoft.graph.onTokenIssuanceStartListener': return new OnTokenIssuanceStartListener(); case '#microsoft.graph.onUserCreateStartListener': return new OnUserCreateStartListener(); diff --git a/src/Generated/Models/CopilotAdmin.php b/src/Generated/Models/CopilotAdmin.php index 2c96a377836..41d13fb21f4 100644 --- a/src/Generated/Models/CopilotAdmin.php +++ b/src/Generated/Models/CopilotAdmin.php @@ -36,7 +36,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the settings property value. Set of Microsoft 365 Copilot settings that can be added or modified. Read-only. Nullable. + * Gets the settings property value. The settings property * @return CopilotAdminSetting|null */ public function getSettings(): ?CopilotAdminSetting { @@ -57,7 +57,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the settings property value. Set of Microsoft 365 Copilot settings that can be added or modified. Read-only. Nullable. + * Sets the settings property value. The settings property * @param CopilotAdminSetting|null $value Value to set for the settings property. */ public function setSettings(?CopilotAdminSetting $value): void { diff --git a/src/Generated/Models/CopilotAdminLimitedMode.php b/src/Generated/Models/CopilotAdminLimitedMode.php index 1ca1b17f5c8..6990aa3a31e 100644 --- a/src/Generated/Models/CopilotAdminLimitedMode.php +++ b/src/Generated/Models/CopilotAdminLimitedMode.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the groupId property value. The ID of a Microsoft Entra group, for which the value of isEnabledForGroup is applied. The default value is null. If isEnabledForGroup is set to true, the groupId value must be provided for the Copilot limited mode in Teams meetings to be enabled for the members of the group. Optional. + * Gets the groupId property value. The groupId property * @return string|null */ public function getGroupId(): ?string { @@ -49,7 +49,7 @@ public function getGroupId(): ?string { } /** - * Gets the isEnabledForGroup property value. Enables the user to be in limited mode for Copilot in Teams meetings. When copilotAdminLimitedMode=true, users in this mode can ask any questions, but Copilot doesn't respond to certain questions related to inferring emotions, behavior, or judgments. When copilotAdminLimitedMode=false, it responds to all types of questions grounded to the meeting conversation. The default value is false. + * Gets the isEnabledForGroup property value. The isEnabledForGroup property * @return bool|null */ public function getIsEnabledForGroup(): ?bool { @@ -71,7 +71,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the groupId property value. The ID of a Microsoft Entra group, for which the value of isEnabledForGroup is applied. The default value is null. If isEnabledForGroup is set to true, the groupId value must be provided for the Copilot limited mode in Teams meetings to be enabled for the members of the group. Optional. + * Sets the groupId property value. The groupId property * @param string|null $value Value to set for the groupId property. */ public function setGroupId(?string $value): void { @@ -79,7 +79,7 @@ public function setGroupId(?string $value): void { } /** - * Sets the isEnabledForGroup property value. Enables the user to be in limited mode for Copilot in Teams meetings. When copilotAdminLimitedMode=true, users in this mode can ask any questions, but Copilot doesn't respond to certain questions related to inferring emotions, behavior, or judgments. When copilotAdminLimitedMode=false, it responds to all types of questions grounded to the meeting conversation. The default value is false. + * Sets the isEnabledForGroup property value. The isEnabledForGroup property * @param bool|null $value Value to set for the isEnabledForGroup property. */ public function setIsEnabledForGroup(?bool $value): void { diff --git a/src/Generated/Models/CopilotAdminSetting.php b/src/Generated/Models/CopilotAdminSetting.php index 5f4ce216da8..d1edbcd8fa2 100644 --- a/src/Generated/Models/CopilotAdminSetting.php +++ b/src/Generated/Models/CopilotAdminSetting.php @@ -36,7 +36,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the limitedMode property value. Represents a setting that controls whether users of Microsoft 365 Copilot in Teams meetings can receive responses to sentiment-related prompts. Read-only. Nullable. + * Gets the limitedMode property value. The limitedMode property * @return CopilotAdminLimitedMode|null */ public function getLimitedMode(): ?CopilotAdminLimitedMode { @@ -57,7 +57,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the limitedMode property value. Represents a setting that controls whether users of Microsoft 365 Copilot in Teams meetings can receive responses to sentiment-related prompts. Read-only. Nullable. + * Sets the limitedMode property value. The limitedMode property * @param CopilotAdminLimitedMode|null $value Value to set for the limitedMode property. */ public function setLimitedMode(?CopilotAdminLimitedMode $value): void { diff --git a/src/Generated/Models/CustomAuthenticationExtension.php b/src/Generated/Models/CustomAuthenticationExtension.php index 491f62ff3b0..2f08b88263a 100644 --- a/src/Generated/Models/CustomAuthenticationExtension.php +++ b/src/Generated/Models/CustomAuthenticationExtension.php @@ -28,12 +28,25 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Custo switch ($mappingValue) { case '#microsoft.graph.onAttributeCollectionStartCustomExtension': return new OnAttributeCollectionStartCustomExtension(); case '#microsoft.graph.onAttributeCollectionSubmitCustomExtension': return new OnAttributeCollectionSubmitCustomExtension(); + case '#microsoft.graph.onOtpSendCustomExtension': return new OnOtpSendCustomExtension(); case '#microsoft.graph.onTokenIssuanceStartCustomExtension': return new OnTokenIssuanceStartCustomExtension(); } } return new CustomAuthenticationExtension(); } + /** + * Gets the behaviorOnError property value. The behaviour on error for the custom authentication extension. + * @return CustomExtensionBehaviorOnError|null + */ + public function getBehaviorOnError(): ?CustomExtensionBehaviorOnError { + $val = $this->getBackingStore()->get('behaviorOnError'); + if (is_null($val) || $val instanceof CustomExtensionBehaviorOnError) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'behaviorOnError'"); + } + /** * The deserialization information for the current model * @return array @@ -41,6 +54,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Custo public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'behaviorOnError' => fn(ParseNode $n) => $o->setBehaviorOnError($n->getObjectValue([CustomExtensionBehaviorOnError::class, 'createFromDiscriminatorValue'])), ]); } @@ -50,6 +64,15 @@ public function getFieldDeserializers(): array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeObjectValue('behaviorOnError', $this->getBehaviorOnError()); + } + + /** + * Sets the behaviorOnError property value. The behaviour on error for the custom authentication extension. + * @param CustomExtensionBehaviorOnError|null $value Value to set for the behaviorOnError property. + */ + public function setBehaviorOnError(?CustomExtensionBehaviorOnError $value): void { + $this->getBackingStore()->set('behaviorOnError', $value); } } diff --git a/src/Generated/Models/CustomCalloutExtension.php b/src/Generated/Models/CustomCalloutExtension.php index 3b68945544d..ecf2a0e0a79 100644 --- a/src/Generated/Models/CustomCalloutExtension.php +++ b/src/Generated/Models/CustomCalloutExtension.php @@ -32,6 +32,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Custo case '#microsoft.graph.identityGovernance.customTaskExtension': return new CustomTaskExtension(); case '#microsoft.graph.onAttributeCollectionStartCustomExtension': return new OnAttributeCollectionStartCustomExtension(); case '#microsoft.graph.onAttributeCollectionSubmitCustomExtension': return new OnAttributeCollectionSubmitCustomExtension(); + case '#microsoft.graph.onOtpSendCustomExtension': return new OnOtpSendCustomExtension(); case '#microsoft.graph.onTokenIssuanceStartCustomExtension': return new OnTokenIssuanceStartCustomExtension(); } } diff --git a/src/Generated/Models/CustomExtensionBehaviorOnError.php b/src/Generated/Models/CustomExtensionBehaviorOnError.php new file mode 100644 index 00000000000..7d18c7e4b2e --- /dev/null +++ b/src/Generated/Models/CustomExtensionBehaviorOnError.php @@ -0,0 +1,121 @@ +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 CustomExtensionBehaviorOnError + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CustomExtensionBehaviorOnError { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.fallbackToMicrosoftProviderOnError': return new FallbackToMicrosoftProviderOnError(); + } + } + return new CustomExtensionBehaviorOnError(); + } + + /** + * 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/CustomExtensionOverwriteConfiguration.php b/src/Generated/Models/CustomExtensionOverwriteConfiguration.php index 7257efa0f86..6542599a8d2 100644 --- a/src/Generated/Models/CustomExtensionOverwriteConfiguration.php +++ b/src/Generated/Models/CustomExtensionOverwriteConfiguration.php @@ -55,6 +55,18 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } + /** + * Gets the behaviorOnError property value. The behaviorOnError property + * @return CustomExtensionBehaviorOnError|null + */ + public function getBehaviorOnError(): ?CustomExtensionBehaviorOnError { + $val = $this->getBackingStore()->get('behaviorOnError'); + if (is_null($val) || $val instanceof CustomExtensionBehaviorOnError) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'behaviorOnError'"); + } + /** * Gets the clientConfiguration property value. Configuration regarding properties of the custom extension which can be overwritten per event listener. If no values are provided, the properties on the custom extension are used. * @return CustomExtensionClientConfiguration|null @@ -74,6 +86,7 @@ public function getClientConfiguration(): ?CustomExtensionClientConfiguration { public function getFieldDeserializers(): array { $o = $this; return [ + 'behaviorOnError' => fn(ParseNode $n) => $o->setBehaviorOnError($n->getObjectValue([CustomExtensionBehaviorOnError::class, 'createFromDiscriminatorValue'])), 'clientConfiguration' => fn(ParseNode $n) => $o->setClientConfiguration($n->getObjectValue([CustomExtensionClientConfiguration::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), ]; @@ -96,6 +109,7 @@ public function getOdataType(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('behaviorOnError', $this->getBehaviorOnError()); $writer->writeObjectValue('clientConfiguration', $this->getClientConfiguration()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeAdditionalData($this->getAdditionalData()); @@ -117,6 +131,14 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } + /** + * Sets the behaviorOnError property value. The behaviorOnError property + * @param CustomExtensionBehaviorOnError|null $value Value to set for the behaviorOnError property. + */ + public function setBehaviorOnError(?CustomExtensionBehaviorOnError $value): void { + $this->getBackingStore()->set('behaviorOnError', $value); + } + /** * Sets the clientConfiguration property value. Configuration regarding properties of the custom extension which can be overwritten per event listener. If no values are provided, the properties on the custom extension are used. * @param CustomExtensionClientConfiguration|null $value Value to set for the clientConfiguration property. diff --git a/src/Generated/Models/DeviceAppManagement.php b/src/Generated/Models/DeviceAppManagement.php index 55b9c8ad962..d115fc7f565 100644 --- a/src/Generated/Models/DeviceAppManagement.php +++ b/src/Generated/Models/DeviceAppManagement.php @@ -78,6 +78,7 @@ public function getFieldDeserializers(): array { 'microsoftStoreForBusinessLastSuccessfulSyncDateTime' => fn(ParseNode $n) => $o->setMicrosoftStoreForBusinessLastSuccessfulSyncDateTime($n->getDateTimeValue()), 'mobileAppCategories' => fn(ParseNode $n) => $o->setMobileAppCategories($n->getCollectionOfObjectValues([MobileAppCategory::class, 'createFromDiscriminatorValue'])), 'mobileAppConfigurations' => fn(ParseNode $n) => $o->setMobileAppConfigurations($n->getCollectionOfObjectValues([ManagedDeviceMobileAppConfiguration::class, 'createFromDiscriminatorValue'])), + 'mobileAppRelationships' => fn(ParseNode $n) => $o->setMobileAppRelationships($n->getCollectionOfObjectValues([MobileAppRelationship::class, 'createFromDiscriminatorValue'])), 'mobileApps' => fn(ParseNode $n) => $o->setMobileApps($n->getCollectionOfObjectValues([MobileApp::class, 'createFromDiscriminatorValue'])), 'targetedManagedAppConfigurations' => fn(ParseNode $n) => $o->setTargetedManagedAppConfigurations($n->getCollectionOfObjectValues([TargetedManagedAppConfiguration::class, 'createFromDiscriminatorValue'])), 'vppTokens' => fn(ParseNode $n) => $o->setVppTokens($n->getCollectionOfObjectValues([VppToken::class, 'createFromDiscriminatorValue'])), @@ -245,6 +246,20 @@ public function getMobileAppConfigurations(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'mobileAppConfigurations'"); } + /** + * Gets the mobileAppRelationships property value. The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications. + * @return array|null + */ + public function getMobileAppRelationships(): ?array { + $val = $this->getBackingStore()->get('mobileAppRelationships'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, MobileAppRelationship::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'mobileAppRelationships'"); + } + /** * Gets the mobileApps property value. The mobile apps. * @return array|null @@ -321,6 +336,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeDateTimeValue('microsoftStoreForBusinessLastSuccessfulSyncDateTime', $this->getMicrosoftStoreForBusinessLastSuccessfulSyncDateTime()); $writer->writeCollectionOfObjectValues('mobileAppCategories', $this->getMobileAppCategories()); $writer->writeCollectionOfObjectValues('mobileAppConfigurations', $this->getMobileAppConfigurations()); + $writer->writeCollectionOfObjectValues('mobileAppRelationships', $this->getMobileAppRelationships()); $writer->writeCollectionOfObjectValues('mobileApps', $this->getMobileApps()); $writer->writeCollectionOfObjectValues('targetedManagedAppConfigurations', $this->getTargetedManagedAppConfigurations()); $writer->writeCollectionOfObjectValues('vppTokens', $this->getVppTokens()); @@ -439,6 +455,14 @@ public function setMobileAppConfigurations(?array $value): void { $this->getBackingStore()->set('mobileAppConfigurations', $value); } + /** + * Sets the mobileAppRelationships property value. The mobile app relationship represents the dependency or supersedence relationship between two Intune mobile LOB applications. + * @param array|null $value Value to set for the mobileAppRelationships property. + */ + public function setMobileAppRelationships(?array $value): void { + $this->getBackingStore()->set('mobileAppRelationships', $value); + } + /** * Sets the mobileApps property value. The mobile apps. * @param array|null $value Value to set for the mobileApps property. diff --git a/src/Generated/Models/DeviceEnrollmentType.php b/src/Generated/Models/DeviceEnrollmentType.php index 6453a3e8270..58ef3759e95 100644 --- a/src/Generated/Models/DeviceEnrollmentType.php +++ b/src/Generated/Models/DeviceEnrollmentType.php @@ -18,4 +18,5 @@ class DeviceEnrollmentType extends Enum { public const WINDOWS_AZURE_A_D_JOIN_USING_DEVICE_AUTH = "windowsAzureADJoinUsingDeviceAuth"; public const APPLE_USER_ENROLLMENT = "appleUserEnrollment"; public const APPLE_USER_ENROLLMENT_WITH_SERVICE_ACCOUNT = "appleUserEnrollmentWithServiceAccount"; + public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Generated/Models/DeviceManagementReports.php b/src/Generated/Models/DeviceManagementReports.php index f87fa7d92f7..4836c4368d8 100644 --- a/src/Generated/Models/DeviceManagementReports.php +++ b/src/Generated/Models/DeviceManagementReports.php @@ -7,9 +7,6 @@ use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; use Microsoft\Kiota\Abstractions\Types\TypeUtils; -/** - * Singleton entity that acts as a container for all reports functionality. -*/ class DeviceManagementReports extends Entity implements Parsable { /** diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index 0863bc0c27e..fceaa609dc7 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -627,6 +627,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.mobileAppCategory': return new MobileAppCategory(); case '#microsoft.graph.mobileAppContent': return new MobileAppContent(); case '#microsoft.graph.mobileAppContentFile': return new MobileAppContentFile(); + case '#microsoft.graph.mobileAppRelationship': return new MobileAppRelationship(); case '#microsoft.graph.mobileAppTroubleshootingEvent': return new MobileAppTroubleshootingEvent(); case '#microsoft.graph.mobileContainedApp': return new MobileContainedApp(); case '#microsoft.graph.mobileLobApp': return new MobileLobApp(); @@ -652,6 +653,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.onAuthenticationMethodLoadStartListener': return new OnAuthenticationMethodLoadStartListener(); case '#microsoft.graph.oneDriveForBusinessProtectionPolicy': return new OneDriveForBusinessProtectionPolicy(); case '#microsoft.graph.oneDriveForBusinessRestoreSession': return new OneDriveForBusinessRestoreSession(); + case '#microsoft.graph.onEmailOtpSendListener': return new OnEmailOtpSendListener(); case '#microsoft.graph.onenote': return new Onenote(); case '#microsoft.graph.onenoteEntityBaseModel': return new OnenoteEntityBaseModel(); case '#microsoft.graph.onenoteEntityHierarchyModel': return new OnenoteEntityHierarchyModel(); @@ -663,6 +665,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.onInteractiveAuthFlowStartListener': return new OnInteractiveAuthFlowStartListener(); case '#microsoft.graph.onlineMeeting': return new OnlineMeeting(); case '#microsoft.graph.onlineMeetingBase': return new OnlineMeetingBase(); + case '#microsoft.graph.onOtpSendCustomExtension': return new OnOtpSendCustomExtension(); case '#microsoft.graph.onPremisesConditionalAccessSettings': return new OnPremisesConditionalAccessSettings(); case '#microsoft.graph.onPremisesDirectorySynchronization': return new OnPremisesDirectorySynchronization(); case '#microsoft.graph.onTokenIssuanceStartCustomExtension': return new OnTokenIssuanceStartCustomExtension(); diff --git a/src/Generated/Models/FallbackToMicrosoftProviderOnError.php b/src/Generated/Models/FallbackToMicrosoftProviderOnError.php new file mode 100644 index 00000000000..ff3ff60c7c6 --- /dev/null +++ b/src/Generated/Models/FallbackToMicrosoftProviderOnError.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.fallbackToMicrosoftProviderOnError'); + } + + /** + * 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 FallbackToMicrosoftProviderOnError + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): FallbackToMicrosoftProviderOnError { + return new FallbackToMicrosoftProviderOnError(); + } + + /** + * 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/FileEncryptionInfo.php b/src/Generated/Models/FileEncryptionInfo.php index 98e07bb7b3e..752d26ae7e3 100644 --- a/src/Generated/Models/FileEncryptionInfo.php +++ b/src/Generated/Models/FileEncryptionInfo.php @@ -12,7 +12,7 @@ use Psr\Http\Message\StreamInterface; /** - * Contains properties for file encryption information for the content version of a line of business app. + * Contains properties for file encryption information for the content version of a line-of-business app. */ class FileEncryptionInfo implements AdditionalDataHolder, BackedModel, Parsable { diff --git a/src/Generated/Models/IosDdmLobAppAssignmentSettings.php b/src/Generated/Models/IosDdmLobAppAssignmentSettings.php new file mode 100644 index 00000000000..4566715d59e --- /dev/null +++ b/src/Generated/Models/IosDdmLobAppAssignmentSettings.php @@ -0,0 +1,169 @@ +setOdataType('#microsoft.graph.iosDdmLobAppAssignmentSettings'); + } + + /** + * 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 IosDdmLobAppAssignmentSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): IosDdmLobAppAssignmentSettings { + return new IosDdmLobAppAssignmentSettings(); + } + + /** + * Gets the associatedDomains property value. Domain names to associate with the app + * @return array|null + */ + public function getAssociatedDomains(): ?array { + $val = $this->getBackingStore()->get('associatedDomains'); + 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 'associatedDomains'"); + } + + /** + * Gets the associatedDomainsDirectDownloadAllowed property value. When true, the system allows direct downloads for the AssociatedDomains. When false, the system will not allow direct downloads for the AssociatedDomains. Default is false. + * @return bool|null + */ + public function getAssociatedDomainsDirectDownloadAllowed(): ?bool { + $val = $this->getBackingStore()->get('associatedDomainsDirectDownloadAllowed'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'associatedDomainsDirectDownloadAllowed'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'associatedDomains' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setAssociatedDomains($val); + }, + 'associatedDomainsDirectDownloadAllowed' => fn(ParseNode $n) => $o->setAssociatedDomainsDirectDownloadAllowed($n->getBooleanValue()), + 'preventManagedAppBackup' => fn(ParseNode $n) => $o->setPreventManagedAppBackup($n->getBooleanValue()), + 'tapToPayScreenLockEnabled' => fn(ParseNode $n) => $o->setTapToPayScreenLockEnabled($n->getBooleanValue()), + 'vpnConfigurationId' => fn(ParseNode $n) => $o->setVpnConfigurationId($n->getStringValue()), + ]); + } + + /** + * Gets the preventManagedAppBackup property value. When true, indicates that the app should not be backed up to iCloud. When false, indicates that the app may be backed up to iCloud. Default is false. + * @return bool|null + */ + public function getPreventManagedAppBackup(): ?bool { + $val = $this->getBackingStore()->get('preventManagedAppBackup'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'preventManagedAppBackup'"); + } + + /** + * Gets the tapToPayScreenLockEnabled property value. When true, the device locks its screen after every transaction that requires a customer’s card PIN. When false, the user can choose the behavior. Default value is false. + * @return bool|null + */ + public function getTapToPayScreenLockEnabled(): ?bool { + $val = $this->getBackingStore()->get('tapToPayScreenLockEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'tapToPayScreenLockEnabled'"); + } + + /** + * Gets the vpnConfigurationId property value. The unique identifier of the relay to associate with the app. + * @return string|null + */ + public function getVpnConfigurationId(): ?string { + $val = $this->getBackingStore()->get('vpnConfigurationId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'vpnConfigurationId'"); + } + + /** + * 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('associatedDomains', $this->getAssociatedDomains()); + $writer->writeBooleanValue('associatedDomainsDirectDownloadAllowed', $this->getAssociatedDomainsDirectDownloadAllowed()); + $writer->writeBooleanValue('preventManagedAppBackup', $this->getPreventManagedAppBackup()); + $writer->writeBooleanValue('tapToPayScreenLockEnabled', $this->getTapToPayScreenLockEnabled()); + $writer->writeStringValue('vpnConfigurationId', $this->getVpnConfigurationId()); + } + + /** + * Sets the associatedDomains property value. Domain names to associate with the app + * @param array|null $value Value to set for the associatedDomains property. + */ + public function setAssociatedDomains(?array $value): void { + $this->getBackingStore()->set('associatedDomains', $value); + } + + /** + * Sets the associatedDomainsDirectDownloadAllowed property value. When true, the system allows direct downloads for the AssociatedDomains. When false, the system will not allow direct downloads for the AssociatedDomains. Default is false. + * @param bool|null $value Value to set for the associatedDomainsDirectDownloadAllowed property. + */ + public function setAssociatedDomainsDirectDownloadAllowed(?bool $value): void { + $this->getBackingStore()->set('associatedDomainsDirectDownloadAllowed', $value); + } + + /** + * Sets the preventManagedAppBackup property value. When true, indicates that the app should not be backed up to iCloud. When false, indicates that the app may be backed up to iCloud. Default is false. + * @param bool|null $value Value to set for the preventManagedAppBackup property. + */ + public function setPreventManagedAppBackup(?bool $value): void { + $this->getBackingStore()->set('preventManagedAppBackup', $value); + } + + /** + * Sets the tapToPayScreenLockEnabled property value. When true, the device locks its screen after every transaction that requires a customer’s card PIN. When false, the user can choose the behavior. Default value is false. + * @param bool|null $value Value to set for the tapToPayScreenLockEnabled property. + */ + public function setTapToPayScreenLockEnabled(?bool $value): void { + $this->getBackingStore()->set('tapToPayScreenLockEnabled', $value); + } + + /** + * Sets the vpnConfigurationId property value. The unique identifier of the relay to associate with the app. + * @param string|null $value Value to set for the vpnConfigurationId property. + */ + public function setVpnConfigurationId(?string $value): void { + $this->getBackingStore()->set('vpnConfigurationId', $value); + } + +} diff --git a/src/Generated/Models/ManagedDevice.php b/src/Generated/Models/ManagedDevice.php index 66bffb7f925..b49cea5db05 100644 --- a/src/Generated/Models/ManagedDevice.php +++ b/src/Generated/Models/ManagedDevice.php @@ -9,7 +9,7 @@ use Microsoft\Kiota\Abstractions\Types\TypeUtils; /** - * Devices that are managed or pre-enrolled through Intune + * Devices that are managed or pre-enrolled through Intune. Limited support for $filter: Only properties whose descriptions mention support for $filter may be used, and combinations of those filtered properties must use 'and', not 'or'. */ class ManagedDevice extends Entity implements Parsable { diff --git a/src/Generated/Models/ManagedMobileLobApp.php b/src/Generated/Models/ManagedMobileLobApp.php index f57285be51d..d399f770565 100644 --- a/src/Generated/Models/ManagedMobileLobApp.php +++ b/src/Generated/Models/ManagedMobileLobApp.php @@ -8,7 +8,7 @@ use Microsoft\Kiota\Abstractions\Types\TypeUtils; /** - * An abstract base class containing properties for all managed mobile line of business apps. + * An abstract base class containing properties for all managed mobile line-of-business apps. */ class ManagedMobileLobApp extends ManagedApp implements Parsable { diff --git a/src/Generated/Models/MobileAppAssignmentSettings.php b/src/Generated/Models/MobileAppAssignmentSettings.php index cd9ac6abc2f..e219e7c5a5b 100644 --- a/src/Generated/Models/MobileAppAssignmentSettings.php +++ b/src/Generated/Models/MobileAppAssignmentSettings.php @@ -38,6 +38,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Mobil if ($mappingValueNode !== null) { $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { + case '#microsoft.graph.iosDdmLobAppAssignmentSettings': return new IosDdmLobAppAssignmentSettings(); case '#microsoft.graph.iosLobAppAssignmentSettings': return new IosLobAppAssignmentSettings(); case '#microsoft.graph.iosStoreAppAssignmentSettings': return new IosStoreAppAssignmentSettings(); case '#microsoft.graph.iosVppAppAssignmentSettings': return new IosVppAppAssignmentSettings(); diff --git a/src/Generated/Models/MobileAppRelationship.php b/src/Generated/Models/MobileAppRelationship.php new file mode 100644 index 00000000000..9e3915987ca --- /dev/null +++ b/src/Generated/Models/MobileAppRelationship.php @@ -0,0 +1,217 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'sourceDisplayName' => fn(ParseNode $n) => $o->setSourceDisplayName($n->getStringValue()), + 'sourceDisplayVersion' => fn(ParseNode $n) => $o->setSourceDisplayVersion($n->getStringValue()), + 'sourceId' => fn(ParseNode $n) => $o->setSourceId($n->getStringValue()), + 'sourcePublisherDisplayName' => fn(ParseNode $n) => $o->setSourcePublisherDisplayName($n->getStringValue()), + 'targetDisplayName' => fn(ParseNode $n) => $o->setTargetDisplayName($n->getStringValue()), + 'targetDisplayVersion' => fn(ParseNode $n) => $o->setTargetDisplayVersion($n->getStringValue()), + 'targetId' => fn(ParseNode $n) => $o->setTargetId($n->getStringValue()), + 'targetPublisherDisplayName' => fn(ParseNode $n) => $o->setTargetPublisherDisplayName($n->getStringValue()), + ]); + } + + /** + * Gets the sourceDisplayName property value. The display name of the app that is the source of the mobile app relationship entity. For example: Orca. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @return string|null + */ + public function getSourceDisplayName(): ?string { + $val = $this->getBackingStore()->get('sourceDisplayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceDisplayName'"); + } + + /** + * Gets the sourceDisplayVersion property value. The display version of the app that is the source of the mobile app relationship entity. For example 1.0.12 or 1.2203.156 or 3. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @return string|null + */ + public function getSourceDisplayVersion(): ?string { + $val = $this->getBackingStore()->get('sourceDisplayVersion'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceDisplayVersion'"); + } + + /** + * Gets the sourceId property value. The unique app identifier of the source of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. If null during relationship creation, then it will be populated with parent Id. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @return string|null + */ + public function getSourceId(): ?string { + $val = $this->getBackingStore()->get('sourceId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceId'"); + } + + /** + * Gets the sourcePublisherDisplayName property value. The publisher display name of the app that is the source of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @return string|null + */ + public function getSourcePublisherDisplayName(): ?string { + $val = $this->getBackingStore()->get('sourcePublisherDisplayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sourcePublisherDisplayName'"); + } + + /** + * Gets the targetDisplayName property value. The display name of the app that is the target of the mobile app relationship entity. For example: Firefox Setup 52.0.2 32bit.intunewin. Maximum length is 500 characters. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @return string|null + */ + public function getTargetDisplayName(): ?string { + $val = $this->getBackingStore()->get('targetDisplayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'targetDisplayName'"); + } + + /** + * Gets the targetDisplayVersion property value. The display version of the app that is the target of the mobile app relationship entity. For example 1.0 or 1.2203.156. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @return string|null + */ + public function getTargetDisplayVersion(): ?string { + $val = $this->getBackingStore()->get('targetDisplayVersion'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'targetDisplayVersion'"); + } + + /** + * Gets the targetId property value. The unique app identifier of the target of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. + * @return string|null + */ + public function getTargetId(): ?string { + $val = $this->getBackingStore()->get('targetId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'targetId'"); + } + + /** + * Gets the targetPublisherDisplayName property value. The publisher display name of the app that is the target of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @return string|null + */ + public function getTargetPublisherDisplayName(): ?string { + $val = $this->getBackingStore()->get('targetPublisherDisplayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'targetPublisherDisplayName'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('targetId', $this->getTargetId()); + } + + /** + * Sets the sourceDisplayName property value. The display name of the app that is the source of the mobile app relationship entity. For example: Orca. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @param string|null $value Value to set for the sourceDisplayName property. + */ + public function setSourceDisplayName(?string $value): void { + $this->getBackingStore()->set('sourceDisplayName', $value); + } + + /** + * Sets the sourceDisplayVersion property value. The display version of the app that is the source of the mobile app relationship entity. For example 1.0.12 or 1.2203.156 or 3. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @param string|null $value Value to set for the sourceDisplayVersion property. + */ + public function setSourceDisplayVersion(?string $value): void { + $this->getBackingStore()->set('sourceDisplayVersion', $value); + } + + /** + * Sets the sourceId property value. The unique app identifier of the source of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. If null during relationship creation, then it will be populated with parent Id. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @param string|null $value Value to set for the sourceId property. + */ + public function setSourceId(?string $value): void { + $this->getBackingStore()->set('sourceId', $value); + } + + /** + * Sets the sourcePublisherDisplayName property value. The publisher display name of the app that is the source of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @param string|null $value Value to set for the sourcePublisherDisplayName property. + */ + public function setSourcePublisherDisplayName(?string $value): void { + $this->getBackingStore()->set('sourcePublisherDisplayName', $value); + } + + /** + * Sets the targetDisplayName property value. The display name of the app that is the target of the mobile app relationship entity. For example: Firefox Setup 52.0.2 32bit.intunewin. Maximum length is 500 characters. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @param string|null $value Value to set for the targetDisplayName property. + */ + public function setTargetDisplayName(?string $value): void { + $this->getBackingStore()->set('targetDisplayName', $value); + } + + /** + * Sets the targetDisplayVersion property value. The display version of the app that is the target of the mobile app relationship entity. For example 1.0 or 1.2203.156. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @param string|null $value Value to set for the targetDisplayVersion property. + */ + public function setTargetDisplayVersion(?string $value): void { + $this->getBackingStore()->set('targetDisplayVersion', $value); + } + + /** + * Sets the targetId property value. The unique app identifier of the target of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. + * @param string|null $value Value to set for the targetId property. + */ + public function setTargetId(?string $value): void { + $this->getBackingStore()->set('targetId', $value); + } + + /** + * Sets the targetPublisherDisplayName property value. The publisher display name of the app that is the target of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only. + * @param string|null $value Value to set for the targetPublisherDisplayName property. + */ + public function setTargetPublisherDisplayName(?string $value): void { + $this->getBackingStore()->set('targetPublisherDisplayName', $value); + } + +} diff --git a/src/Generated/Models/MobileAppRelationshipCollectionResponse.php b/src/Generated/Models/MobileAppRelationshipCollectionResponse.php new file mode 100644 index 00000000000..5f4287dac46 --- /dev/null +++ b/src/Generated/Models/MobileAppRelationshipCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([MobileAppRelationship::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, MobileAppRelationship::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/MobileLobApp.php b/src/Generated/Models/MobileLobApp.php index 82203e6b970..2847e5abd13 100644 --- a/src/Generated/Models/MobileLobApp.php +++ b/src/Generated/Models/MobileLobApp.php @@ -8,7 +8,7 @@ use Microsoft\Kiota\Abstractions\Types\TypeUtils; /** - * An abstract base class containing properties for all mobile line of business apps. + * An abstract base class containing properties for all mobile line-of-business apps. */ class MobileLobApp extends MobileApp implements Parsable { diff --git a/src/Generated/Models/OnEmailOtpSendListener.php b/src/Generated/Models/OnEmailOtpSendListener.php new file mode 100644 index 00000000000..cc001b93532 --- /dev/null +++ b/src/Generated/Models/OnEmailOtpSendListener.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.onEmailOtpSendListener'); + } + + /** + * 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 OnEmailOtpSendListener + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OnEmailOtpSendListener { + return new OnEmailOtpSendListener(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'handler' => fn(ParseNode $n) => $o->setHandler($n->getObjectValue([OnOtpSendHandler::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the handler property value. Used to configure what to invoke if the onEmailOTPSend event resolves to this listener. This base class serves as a generic OTP event handler used for both email and SMS OTP messages. + * @return OnOtpSendHandler|null + */ + public function getHandler(): ?OnOtpSendHandler { + $val = $this->getBackingStore()->get('handler'); + if (is_null($val) || $val instanceof OnOtpSendHandler) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'handler'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('handler', $this->getHandler()); + } + + /** + * Sets the handler property value. Used to configure what to invoke if the onEmailOTPSend event resolves to this listener. This base class serves as a generic OTP event handler used for both email and SMS OTP messages. + * @param OnOtpSendHandler|null $value Value to set for the handler property. + */ + public function setHandler(?OnOtpSendHandler $value): void { + $this->getBackingStore()->set('handler', $value); + } + +} diff --git a/src/Generated/Models/OnOtpSendCustomExtension.php b/src/Generated/Models/OnOtpSendCustomExtension.php new file mode 100644 index 00000000000..dfe6e5fc8f9 --- /dev/null +++ b/src/Generated/Models/OnOtpSendCustomExtension.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.onOtpSendCustomExtension'); + } + + /** + * 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 OnOtpSendCustomExtension + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OnOtpSendCustomExtension { + return new OnOtpSendCustomExtension(); + } + + /** + * 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/OnOtpSendCustomExtensionHandler.php b/src/Generated/Models/OnOtpSendCustomExtensionHandler.php new file mode 100644 index 00000000000..69c377e11b3 --- /dev/null +++ b/src/Generated/Models/OnOtpSendCustomExtensionHandler.php @@ -0,0 +1,90 @@ +setOdataType('#microsoft.graph.onOtpSendCustomExtensionHandler'); + } + + /** + * 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 OnOtpSendCustomExtensionHandler + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OnOtpSendCustomExtensionHandler { + return new OnOtpSendCustomExtensionHandler(); + } + + /** + * Gets the configuration property value. Configuration regarding properties of the custom extension that are can be overwritten for the onEmailOtpSendListener event listener. + * @return CustomExtensionOverwriteConfiguration|null + */ + public function getConfiguration(): ?CustomExtensionOverwriteConfiguration { + $val = $this->getBackingStore()->get('configuration'); + if (is_null($val) || $val instanceof CustomExtensionOverwriteConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'configuration'"); + } + + /** + * Gets the customExtension property value. The customExtension property + * @return OnOtpSendCustomExtension|null + */ + public function getCustomExtension(): ?OnOtpSendCustomExtension { + $val = $this->getBackingStore()->get('customExtension'); + if (is_null($val) || $val instanceof OnOtpSendCustomExtension) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'customExtension'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'configuration' => fn(ParseNode $n) => $o->setConfiguration($n->getObjectValue([CustomExtensionOverwriteConfiguration::class, 'createFromDiscriminatorValue'])), + 'customExtension' => fn(ParseNode $n) => $o->setCustomExtension($n->getObjectValue([OnOtpSendCustomExtension::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('configuration', $this->getConfiguration()); + $writer->writeObjectValue('customExtension', $this->getCustomExtension()); + } + + /** + * Sets the configuration property value. Configuration regarding properties of the custom extension that are can be overwritten for the onEmailOtpSendListener event listener. + * @param CustomExtensionOverwriteConfiguration|null $value Value to set for the configuration property. + */ + public function setConfiguration(?CustomExtensionOverwriteConfiguration $value): void { + $this->getBackingStore()->set('configuration', $value); + } + + /** + * Sets the customExtension property value. The customExtension property + * @param OnOtpSendCustomExtension|null $value Value to set for the customExtension property. + */ + public function setCustomExtension(?OnOtpSendCustomExtension $value): void { + $this->getBackingStore()->set('customExtension', $value); + } + +} diff --git a/src/Generated/Models/OnOtpSendHandler.php b/src/Generated/Models/OnOtpSendHandler.php new file mode 100644 index 00000000000..d97e456da74 --- /dev/null +++ b/src/Generated/Models/OnOtpSendHandler.php @@ -0,0 +1,121 @@ +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 OnOtpSendHandler + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OnOtpSendHandler { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.onOtpSendCustomExtensionHandler': return new OnOtpSendCustomExtensionHandler(); + } + } + return new OnOtpSendHandler(); + } + + /** + * 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/OutOfOfficeSettings.php b/src/Generated/Models/OutOfOfficeSettings.php index 46f688b0041..25169f15208 100644 --- a/src/Generated/Models/OutOfOfficeSettings.php +++ b/src/Generated/Models/OutOfOfficeSettings.php @@ -69,7 +69,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isOutOfOffice property value. The isOutOfOffice property + * Gets the isOutOfOffice property value. If true, either of the following is met:The current time falls within the out-of-office window configured in Outlook or Teams.An event marked as 'Show as Out of Office' appears on the user's calendar.Otherwise, false. * @return bool|null */ public function getIsOutOfOffice(): ?bool { @@ -81,7 +81,7 @@ public function getIsOutOfOffice(): ?bool { } /** - * Gets the message property value. The message property + * Gets the message property value. The out-of-office message configured by the user in the Outlook client (Automatic replies) or the Teams client (Schedule out of office). * @return string|null */ public function getMessage(): ?string { @@ -132,7 +132,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the isOutOfOffice property value. The isOutOfOffice property + * Sets the isOutOfOffice property value. If true, either of the following is met:The current time falls within the out-of-office window configured in Outlook or Teams.An event marked as 'Show as Out of Office' appears on the user's calendar.Otherwise, false. * @param bool|null $value Value to set for the isOutOfOffice property. */ public function setIsOutOfOffice(?bool $value): void { @@ -140,7 +140,7 @@ public function setIsOutOfOffice(?bool $value): void { } /** - * Sets the message property value. The message property + * Sets the message property value. The out-of-office message configured by the user in the Outlook client (Automatic replies) or the Teams client (Schedule out of office). * @param string|null $value Value to set for the message property. */ public function setMessage(?string $value): void { diff --git a/src/Generated/Models/Presence.php b/src/Generated/Models/Presence.php index eef077059a8..9ca2fa6fc8d 100644 --- a/src/Generated/Models/Presence.php +++ b/src/Generated/Models/Presence.php @@ -37,7 +37,7 @@ public function getActivity(): ?string { } /** - * Gets the availability property value. The base presence information for a user. Possible values are Available, AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown + * Gets the availability property value. The base presence information for a user. Possible values are Available, availableIdle, Away, beRightBack, Busy, busyIdle, DoNotDisturb, Offline, presenceUnknown. * @return string|null */ public function getAvailability(): ?string { @@ -64,7 +64,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the outOfOfficeSettings property value. The outOfOfficeSettings property + * Gets the outOfOfficeSettings property value. The user's out-of-office settings. * @return OutOfOfficeSettings|null */ public function getOutOfOfficeSettings(): ?OutOfOfficeSettings { @@ -76,7 +76,7 @@ public function getOutOfOfficeSettings(): ?OutOfOfficeSettings { } /** - * Gets the sequenceNumber property value. The sequenceNumber property + * Gets the sequenceNumber property value. The lexicographically sortable string stamp that represents the version of a presence object. * @return string|null */ public function getSequenceNumber(): ?string { @@ -120,7 +120,7 @@ public function setActivity(?string $value): void { } /** - * Sets the availability property value. The base presence information for a user. Possible values are Available, AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown + * Sets the availability property value. The base presence information for a user. Possible values are Available, availableIdle, Away, beRightBack, Busy, busyIdle, DoNotDisturb, Offline, presenceUnknown. * @param string|null $value Value to set for the availability property. */ public function setAvailability(?string $value): void { @@ -128,7 +128,7 @@ public function setAvailability(?string $value): void { } /** - * Sets the outOfOfficeSettings property value. The outOfOfficeSettings property + * Sets the outOfOfficeSettings property value. The user's out-of-office settings. * @param OutOfOfficeSettings|null $value Value to set for the outOfOfficeSettings property. */ public function setOutOfOfficeSettings(?OutOfOfficeSettings $value): void { @@ -136,7 +136,7 @@ public function setOutOfOfficeSettings(?OutOfOfficeSettings $value): void { } /** - * Sets the sequenceNumber property value. The sequenceNumber property + * Sets the sequenceNumber property value. The lexicographically sortable string stamp that represents the version of a presence object. * @param string|null $value Value to set for the sequenceNumber property. */ public function setSequenceNumber(?string $value): void { diff --git a/src/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.php b/src/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.php index 8d24a729af3..c0d88e3aa62 100644 --- a/src/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.php +++ b/src/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.php @@ -5,6 +5,7 @@ use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Microsoft\Kiota\Abstractions\Types\TypeUtils; class EdiscoveryAddToReviewSetOperation extends CaseOperation implements Parsable { @@ -71,6 +72,7 @@ public function getFieldDeserializers(): array { 'cloudAttachmentVersion' => fn(ParseNode $n) => $o->setCloudAttachmentVersion($n->getEnumValue(CloudAttachmentVersion::class)), 'documentVersion' => fn(ParseNode $n) => $o->setDocumentVersion($n->getEnumValue(DocumentVersion::class)), 'itemsToInclude' => fn(ParseNode $n) => $o->setItemsToInclude($n->getEnumValue(ItemsToInclude::class)), + 'reportFileMetadata' => fn(ParseNode $n) => $o->setReportFileMetadata($n->getCollectionOfObjectValues([ReportFileMetadata::class, 'createFromDiscriminatorValue'])), 'reviewSet' => fn(ParseNode $n) => $o->setReviewSet($n->getObjectValue([EdiscoveryReviewSet::class, 'createFromDiscriminatorValue'])), 'search' => fn(ParseNode $n) => $o->setSearch($n->getObjectValue([EdiscoverySearch::class, 'createFromDiscriminatorValue'])), ]); @@ -88,6 +90,20 @@ public function getItemsToInclude(): ?ItemsToInclude { throw new \UnexpectedValueException("Invalid type found in backing store for 'itemsToInclude'"); } + /** + * Gets the reportFileMetadata property value. Contains the properties for report file metadata, including downloadUrl, fileName, and size. + * @return array|null + */ + public function getReportFileMetadata(): ?array { + $val = $this->getBackingStore()->get('reportFileMetadata'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ReportFileMetadata::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'reportFileMetadata'"); + } + /** * Gets the reviewSet property value. eDiscovery review set to which items matching source collection query gets added. * @return EdiscoveryReviewSet|null @@ -122,6 +138,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeEnumValue('cloudAttachmentVersion', $this->getCloudAttachmentVersion()); $writer->writeEnumValue('documentVersion', $this->getDocumentVersion()); $writer->writeEnumValue('itemsToInclude', $this->getItemsToInclude()); + $writer->writeCollectionOfObjectValues('reportFileMetadata', $this->getReportFileMetadata()); $writer->writeObjectValue('reviewSet', $this->getReviewSet()); $writer->writeObjectValue('search', $this->getSearch()); } @@ -158,6 +175,14 @@ public function setItemsToInclude(?ItemsToInclude $value): void { $this->getBackingStore()->set('itemsToInclude', $value); } + /** + * Sets the reportFileMetadata property value. Contains the properties for report file metadata, including downloadUrl, fileName, and size. + * @param array|null $value Value to set for the reportFileMetadata property. + */ + public function setReportFileMetadata(?array $value): void { + $this->getBackingStore()->set('reportFileMetadata', $value); + } + /** * Sets the reviewSet property value. eDiscovery review set to which items matching source collection query gets added. * @param EdiscoveryReviewSet|null $value Value to set for the reviewSet property. diff --git a/src/Generated/Models/Security/EdiscoveryEstimateOperation.php b/src/Generated/Models/Security/EdiscoveryEstimateOperation.php index 273827ece39..7789ab3e4c7 100644 --- a/src/Generated/Models/Security/EdiscoveryEstimateOperation.php +++ b/src/Generated/Models/Security/EdiscoveryEstimateOperation.php @@ -5,6 +5,7 @@ use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Microsoft\Kiota\Abstractions\Types\TypeUtils; class EdiscoveryEstimateOperation extends CaseOperation implements Parsable { @@ -34,6 +35,7 @@ public function getFieldDeserializers(): array { 'indexedItemCount' => fn(ParseNode $n) => $o->setIndexedItemCount($n->getIntegerValue()), 'indexedItemsSize' => fn(ParseNode $n) => $o->setIndexedItemsSize($n->getIntegerValue()), 'mailboxCount' => fn(ParseNode $n) => $o->setMailboxCount($n->getIntegerValue()), + 'reportFileMetadata' => fn(ParseNode $n) => $o->setReportFileMetadata($n->getCollectionOfObjectValues([ReportFileMetadata::class, 'createFromDiscriminatorValue'])), 'search' => fn(ParseNode $n) => $o->setSearch($n->getObjectValue([EdiscoverySearch::class, 'createFromDiscriminatorValue'])), 'siteCount' => fn(ParseNode $n) => $o->setSiteCount($n->getIntegerValue()), 'statisticsOptions' => fn(ParseNode $n) => $o->setStatisticsOptions($n->getEnumValue(StatisticsOptions::class)), @@ -78,6 +80,20 @@ public function getMailboxCount(): ?int { throw new \UnexpectedValueException("Invalid type found in backing store for 'mailboxCount'"); } + /** + * Gets the reportFileMetadata property value. Contains the properties for report file metadata, including downloadUrl, fileName, and size. + * @return array|null + */ + public function getReportFileMetadata(): ?array { + $val = $this->getBackingStore()->get('reportFileMetadata'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ReportFileMetadata::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'reportFileMetadata'"); + } + /** * Gets the search property value. eDiscovery search. * @return EdiscoverySearch|null @@ -147,6 +163,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('indexedItemCount', $this->getIndexedItemCount()); $writer->writeIntegerValue('indexedItemsSize', $this->getIndexedItemsSize()); $writer->writeIntegerValue('mailboxCount', $this->getMailboxCount()); + $writer->writeCollectionOfObjectValues('reportFileMetadata', $this->getReportFileMetadata()); $writer->writeObjectValue('search', $this->getSearch()); $writer->writeIntegerValue('siteCount', $this->getSiteCount()); $writer->writeEnumValue('statisticsOptions', $this->getStatisticsOptions()); @@ -178,6 +195,14 @@ public function setMailboxCount(?int $value): void { $this->getBackingStore()->set('mailboxCount', $value); } + /** + * Sets the reportFileMetadata property value. Contains the properties for report file metadata, including downloadUrl, fileName, and size. + * @param array|null $value Value to set for the reportFileMetadata property. + */ + public function setReportFileMetadata(?array $value): void { + $this->getBackingStore()->set('reportFileMetadata', $value); + } + /** * Sets the search property value. eDiscovery search. * @param EdiscoverySearch|null $value Value to set for the search property. diff --git a/src/Generated/Models/Security/ReportFileMetadata.php b/src/Generated/Models/Security/ReportFileMetadata.php new file mode 100644 index 00000000000..844cc12af10 --- /dev/null +++ b/src/Generated/Models/Security/ReportFileMetadata.php @@ -0,0 +1,180 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ReportFileMetadata + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ReportFileMetadata { + return new ReportFileMetadata(); + } + + /** + * 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 downloadUrl property value. The URL to download the report. + * @return string|null + */ + public function getDownloadUrl(): ?string { + $val = $this->getBackingStore()->get('downloadUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'downloadUrl'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'downloadUrl' => fn(ParseNode $n) => $o->setDownloadUrl($n->getStringValue()), + 'fileName' => fn(ParseNode $n) => $o->setFileName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'size' => fn(ParseNode $n) => $o->setSize($n->getIntegerValue()), + ]; + } + + /** + * Gets the fileName property value. The name of the file. + * @return string|null + */ + public function getFileName(): ?string { + $val = $this->getBackingStore()->get('fileName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'fileName'"); + } + + /** + * 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 size property value. The size of the file. + * @return int|null + */ + public function getSize(): ?int { + $val = $this->getBackingStore()->get('size'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'size'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('downloadUrl', $this->getDownloadUrl()); + $writer->writeStringValue('fileName', $this->getFileName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeIntegerValue('size', $this->getSize()); + $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 downloadUrl property value. The URL to download the report. + * @param string|null $value Value to set for the downloadUrl property. + */ + public function setDownloadUrl(?string $value): void { + $this->getBackingStore()->set('downloadUrl', $value); + } + + /** + * Sets the fileName property value. The name of the file. + * @param string|null $value Value to set for the fileName property. + */ + public function setFileName(?string $value): void { + $this->getBackingStore()->set('fileName', $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 size property value. The size of the file. + * @param int|null $value Value to set for the size property. + */ + public function setSize(?int $value): void { + $this->getBackingStore()->set('size', $value); + } + +} diff --git a/src/Generated/Models/Security/ResourceAccessEvent.php b/src/Generated/Models/Security/ResourceAccessEvent.php new file mode 100644 index 00000000000..fe011e13911 --- /dev/null +++ b/src/Generated/Models/Security/ResourceAccessEvent.php @@ -0,0 +1,203 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ResourceAccessEvent + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ResourceAccessEvent { + return new ResourceAccessEvent(); + } + + /** + * Gets the accessDateTime property value. The time of the access event. + * @return DateTime|null + */ + public function getAccessDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('accessDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'accessDateTime'"); + } + + /** + * Gets the accountId property value. The identifier of the user account. + * @return string|null + */ + public function getAccountId(): ?string { + $val = $this->getBackingStore()->get('accountId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'accountId'"); + } + + /** + * 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 [ + 'accessDateTime' => fn(ParseNode $n) => $o->setAccessDateTime($n->getDateTimeValue()), + 'accountId' => fn(ParseNode $n) => $o->setAccountId($n->getStringValue()), + 'ipAddress' => fn(ParseNode $n) => $o->setIpAddress($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'resourceIdentifier' => fn(ParseNode $n) => $o->setResourceIdentifier($n->getStringValue()), + ]; + } + + /** + * Gets the ipAddress property value. IP address of the resource. + * @return string|null + */ + public function getIpAddress(): ?string { + $val = $this->getBackingStore()->get('ipAddress'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'ipAddress'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the resourceIdentifier property value. The protocol and host name pairs describing the connection. + * @return string|null + */ + public function getResourceIdentifier(): ?string { + $val = $this->getBackingStore()->get('resourceIdentifier'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'resourceIdentifier'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('accessDateTime', $this->getAccessDateTime()); + $writer->writeStringValue('accountId', $this->getAccountId()); + $writer->writeStringValue('ipAddress', $this->getIpAddress()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('resourceIdentifier', $this->getResourceIdentifier()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the accessDateTime property value. The time of the access event. + * @param DateTime|null $value Value to set for the accessDateTime property. + */ + public function setAccessDateTime(?DateTime $value): void { + $this->getBackingStore()->set('accessDateTime', $value); + } + + /** + * Sets the accountId property value. The identifier of the user account. + * @param string|null $value Value to set for the accountId property. + */ + public function setAccountId(?string $value): void { + $this->getBackingStore()->set('accountId', $value); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the ipAddress property value. IP address of the resource. + * @param string|null $value Value to set for the ipAddress property. + */ + public function setIpAddress(?string $value): void { + $this->getBackingStore()->set('ipAddress', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the resourceIdentifier property value. The protocol and host name pairs describing the connection. + * @param string|null $value Value to set for the resourceIdentifier property. + */ + public function setResourceIdentifier(?string $value): void { + $this->getBackingStore()->set('resourceIdentifier', $value); + } + +} diff --git a/src/Generated/Models/Security/UserAccount.php b/src/Generated/Models/Security/UserAccount.php index 6d7ef7ed308..460b11ec6ac 100644 --- a/src/Generated/Models/Security/UserAccount.php +++ b/src/Generated/Models/Security/UserAccount.php @@ -9,6 +9,7 @@ use Microsoft\Kiota\Abstractions\Store\BackedModel; use Microsoft\Kiota\Abstractions\Store\BackingStore; use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; +use Microsoft\Kiota\Abstractions\Types\TypeUtils; class UserAccount implements AdditionalDataHolder, BackedModel, Parsable { @@ -115,6 +116,7 @@ public function getFieldDeserializers(): array { 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'domainName' => fn(ParseNode $n) => $o->setDomainName($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'resourceAccessEvents' => fn(ParseNode $n) => $o->setResourceAccessEvents($n->getCollectionOfObjectValues([ResourceAccessEvent::class, 'createFromDiscriminatorValue'])), 'userPrincipalName' => fn(ParseNode $n) => $o->setUserPrincipalName($n->getStringValue()), 'userSid' => fn(ParseNode $n) => $o->setUserSid($n->getStringValue()), ]; @@ -132,6 +134,20 @@ public function getOdataType(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); } + /** + * Gets the resourceAccessEvents property value. Information on resource access attempts made by the user account. + * @return array|null + */ + public function getResourceAccessEvents(): ?array { + $val = $this->getBackingStore()->get('resourceAccessEvents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ResourceAccessEvent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'resourceAccessEvents'"); + } + /** * Gets the userPrincipalName property value. The user principal name of the account in Microsoft Entra ID. * @return string|null @@ -166,6 +182,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('domainName', $this->getDomainName()); $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeCollectionOfObjectValues('resourceAccessEvents', $this->getResourceAccessEvents()); $writer->writeStringValue('userPrincipalName', $this->getUserPrincipalName()); $writer->writeStringValue('userSid', $this->getUserSid()); $writer->writeAdditionalData($this->getAdditionalData()); @@ -227,6 +244,14 @@ public function setOdataType(?string $value): void { $this->getBackingStore()->set('odataType', $value); } + /** + * Sets the resourceAccessEvents property value. Information on resource access attempts made by the user account. + * @param array|null $value Value to set for the resourceAccessEvents property. + */ + public function setResourceAccessEvents(?array $value): void { + $this->getBackingStore()->set('resourceAccessEvents', $value); + } + /** * Sets the userPrincipalName property value. The user principal name of the account in Microsoft Entra ID. * @param string|null $value Value to set for the userPrincipalName property. diff --git a/src/Generated/Models/WorkbookWorksheetProtectionOptions.php b/src/Generated/Models/WorkbookWorksheetProtectionOptions.php index 5e08ab1aa53..eb3f1e6a2ec 100644 --- a/src/Generated/Models/WorkbookWorksheetProtectionOptions.php +++ b/src/Generated/Models/WorkbookWorksheetProtectionOptions.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. + * Gets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. * @return bool|null */ public function getAllowAutoFilter(): ?bool { @@ -60,7 +60,7 @@ public function getAllowAutoFilter(): ?bool { } /** - * Gets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. + * Gets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. * @return bool|null */ public function getAllowDeleteColumns(): ?bool { @@ -72,7 +72,7 @@ public function getAllowDeleteColumns(): ?bool { } /** - * Gets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. + * Gets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. * @return bool|null */ public function getAllowDeleteRows(): ?bool { @@ -84,7 +84,7 @@ public function getAllowDeleteRows(): ?bool { } /** - * Gets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. + * Gets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. * @return bool|null */ public function getAllowFormatCells(): ?bool { @@ -96,7 +96,7 @@ public function getAllowFormatCells(): ?bool { } /** - * Gets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. + * Gets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. * @return bool|null */ public function getAllowFormatColumns(): ?bool { @@ -108,7 +108,7 @@ public function getAllowFormatColumns(): ?bool { } /** - * Gets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. + * Gets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. * @return bool|null */ public function getAllowFormatRows(): ?bool { @@ -120,7 +120,7 @@ public function getAllowFormatRows(): ?bool { } /** - * Gets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. + * Gets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. * @return bool|null */ public function getAllowInsertColumns(): ?bool { @@ -132,7 +132,7 @@ public function getAllowInsertColumns(): ?bool { } /** - * Gets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. + * Gets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. * @return bool|null */ public function getAllowInsertHyperlinks(): ?bool { @@ -144,7 +144,7 @@ public function getAllowInsertHyperlinks(): ?bool { } /** - * Gets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. + * Gets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. * @return bool|null */ public function getAllowInsertRows(): ?bool { @@ -156,7 +156,7 @@ public function getAllowInsertRows(): ?bool { } /** - * Gets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. + * Gets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. * @return bool|null */ public function getAllowPivotTables(): ?bool { @@ -168,7 +168,7 @@ public function getAllowPivotTables(): ?bool { } /** - * Gets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. + * Gets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. * @return bool|null */ public function getAllowSort(): ?bool { @@ -250,7 +250,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. + * Sets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. * @param bool|null $value Value to set for the allowAutoFilter property. */ public function setAllowAutoFilter(?bool $value): void { @@ -258,7 +258,7 @@ public function setAllowAutoFilter(?bool $value): void { } /** - * Sets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. + * Sets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. * @param bool|null $value Value to set for the allowDeleteColumns property. */ public function setAllowDeleteColumns(?bool $value): void { @@ -266,7 +266,7 @@ public function setAllowDeleteColumns(?bool $value): void { } /** - * Sets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. + * Sets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. * @param bool|null $value Value to set for the allowDeleteRows property. */ public function setAllowDeleteRows(?bool $value): void { @@ -274,7 +274,7 @@ public function setAllowDeleteRows(?bool $value): void { } /** - * Sets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. + * Sets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. * @param bool|null $value Value to set for the allowFormatCells property. */ public function setAllowFormatCells(?bool $value): void { @@ -282,7 +282,7 @@ public function setAllowFormatCells(?bool $value): void { } /** - * Sets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. + * Sets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. * @param bool|null $value Value to set for the allowFormatColumns property. */ public function setAllowFormatColumns(?bool $value): void { @@ -290,7 +290,7 @@ public function setAllowFormatColumns(?bool $value): void { } /** - * Sets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. + * Sets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. * @param bool|null $value Value to set for the allowFormatRows property. */ public function setAllowFormatRows(?bool $value): void { @@ -298,7 +298,7 @@ public function setAllowFormatRows(?bool $value): void { } /** - * Sets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. + * Sets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. * @param bool|null $value Value to set for the allowInsertColumns property. */ public function setAllowInsertColumns(?bool $value): void { @@ -306,7 +306,7 @@ public function setAllowInsertColumns(?bool $value): void { } /** - * Sets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. + * Sets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. * @param bool|null $value Value to set for the allowInsertHyperlinks property. */ public function setAllowInsertHyperlinks(?bool $value): void { @@ -314,7 +314,7 @@ public function setAllowInsertHyperlinks(?bool $value): void { } /** - * Sets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. + * Sets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. * @param bool|null $value Value to set for the allowInsertRows property. */ public function setAllowInsertRows(?bool $value): void { @@ -322,7 +322,7 @@ public function setAllowInsertRows(?bool $value): void { } /** - * Sets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. + * Sets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. * @param bool|null $value Value to set for the allowPivotTables property. */ public function setAllowPivotTables(?bool $value): void { @@ -330,7 +330,7 @@ public function setAllowPivotTables(?bool $value): void { } /** - * Sets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. + * Sets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. * @param bool|null $value Value to set for the allowSort property. */ public function setAllowSort(?bool $value): void { diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php index 319b02c2e3d..f2a5a2103ea 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?BannerLogoRequestBuilderDeleteRequestConfiguration $requ } /** - * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. * @param BannerLogoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 Find more info here */ public function get(?BannerLogoRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?BannerLogoRequestBuilderDeleteReques } /** - * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. * @param BannerLogoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php index 7b3508bdb1f..fce821c0172 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php @@ -117,11 +117,11 @@ public function delete(?OrganizationItemRequestBuilderDeleteRequestConfiguration } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -166,7 +166,7 @@ public function toDeleteRequestInformation(?OrganizationItemRequestBuilderDelete } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php index 4f144e8136a..8c22067b457 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. */ class OrganizationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/OrganizationRequestBuilder.php b/src/Generated/Organization/OrganizationRequestBuilder.php index 219b772dec8..ac128723db2 100644 --- a/src/Generated/Organization/OrganizationRequestBuilder.php +++ b/src/Generated/Organization/OrganizationRequestBuilder.php @@ -84,11 +84,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @param OrganizationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -114,7 +114,7 @@ public function post(Organization $body, ?OrganizationRequestBuilderPostRequestC } /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @param OrganizationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php b/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php index dbe1dd5d054..10597c442ed 100644 --- a/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. */ class OrganizationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php index c03e7cf99ff..624c79020e2 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php @@ -109,11 +109,11 @@ public function delete(?ListItemRequestBuilderDeleteRequestConfiguration $reques } /** - * 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 * @throws Exception - * @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); @@ -157,7 +157,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 aed7732a9cd..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/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index a9a419c07bb..ba88609dded 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php index 53df36713d4..f324450624a 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php index 2abc4972dc7..ea912f9dee8 100644 --- a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php +++ b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php @@ -62,12 +62,12 @@ public function get(?MultiTenantOrganizationRequestBuilderGetRequestConfiguratio } /** - * Update the properties of a multitenant organization. + * Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 Find more info here */ public function patch(MultiTenantOrganization $body, ?MultiTenantOrganizationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MultiTenantOrganizationRequestBuilderGe } /** - * Update the properties of a multitenant organization. + * Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php index d964ee26acc..9d61c5f6f27 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php @@ -85,11 +85,11 @@ public function delete(?PresenceRequestBuilderDeleteRequestConfiguration $reques } /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 Find more info here */ public function get(?PresenceRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,7 +133,7 @@ public function toDeleteRequestInformation(?PresenceRequestBuilderDeleteRequestC } /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php index 3794e0b7d32..7aecc5f7422 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. */ class PresenceRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index 2ed0d73832b..a6c8b1a09c2 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -678,7 +678,7 @@ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfi * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UserItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/Users/UsersRequestBuilder.php b/src/Generated/Users/UsersRequestBuilder.php index 05db42372c5..06425a513f1 100644 --- a/src/Generated/Users/UsersRequestBuilder.php +++ b/src/Generated/Users/UsersRequestBuilder.php @@ -84,11 +84,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 Find more info here */ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -104,7 +104,7 @@ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfigur * @param UsersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-user-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-create?view=graph-rest-1.0 Find more info here */ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -115,7 +115,7 @@ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $r } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php index 1e989d3b59e..3e762ac4482 100644 --- a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. */ class UsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php b/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php index f86a3805f8a..c8061f060dc 100644 --- a/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php +++ b/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php @@ -69,7 +69,7 @@ public function get(?UsersWithUserPrincipalNameRequestBuilderGetRequestConfigura * @param UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index f0e1a706d3d..be0f8d97faa 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -9803,6 +9803,7 @@ Microsoft\Graph\Generated.deviceAppManagement.DeviceAppManagementRequestBuilder: Microsoft\Graph\Generated.deviceAppManagement.DeviceAppManagementRequestBuilder::|public|mdmWindowsInformationProtectionPolicies:MdmWindowsInformationProtectionPoliciesRequestBuilder Microsoft\Graph\Generated.deviceAppManagement.DeviceAppManagementRequestBuilder::|public|mobileAppCategories:MobileAppCategoriesRequestBuilder Microsoft\Graph\Generated.deviceAppManagement.DeviceAppManagementRequestBuilder::|public|mobileAppConfigurations:MobileAppConfigurationsRequestBuilder +Microsoft\Graph\Generated.deviceAppManagement.DeviceAppManagementRequestBuilder::|public|mobileAppRelationships:MobileAppRelationshipsRequestBuilder Microsoft\Graph\Generated.deviceAppManagement.DeviceAppManagementRequestBuilder::|public|mobileApps:MobileAppsRequestBuilder Microsoft\Graph\Generated.deviceAppManagement.DeviceAppManagementRequestBuilder::|public|Patch(body:DeviceAppManagement; requestConfiguration?:DeviceAppManagementRequestBuilderPatchRequestConfiguration):DeviceAppManagement Microsoft\Graph\Generated.deviceAppManagement.DeviceAppManagementRequestBuilder::|public|pathParameters:array @@ -11566,6 +11567,71 @@ Microsoft\Graph\Generated.deviceAppManagement.mobileAppConfigurations.mobileAppC Microsoft\Graph\Generated.deviceAppManagement.mobileAppConfigurations.mobileAppConfigurationsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MobileAppConfigurationsRequestBuilderGetQueryParameters Microsoft\Graph\Generated.deviceAppManagement.mobileAppConfigurations.mobileAppConfigurationsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.deviceAppManagement.mobileAppConfigurations.mobileAppConfigurationsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder::|public|Delete(requestConfiguration?:MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder::|public|Get(requestConfiguration?:MobileAppRelationshipItemRequestBuilderGetRequestConfiguration):MobileAppRelationship +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder::|public|Patch(body:MobileAppRelationship; requestConfiguration?:MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration):MobileAppRelationship +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MobileAppRelationshipItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder::|public|ToPatchRequestInformation(body:MobileAppRelationship; requestConfiguration?:MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilder::|public|WithUrl(rawUrl:string):MobileAppRelationshipItemRequestBuilder +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MobileAppRelationshipItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilderGetRequestConfiguration::|public|queryParameters:MobileAppRelationshipItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):MobileAppRelationshipItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.item.MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder::|public|ByMobileAppRelationshipId(mobileAppRelationshipId:string):MobileAppRelationshipItemRequestBuilder +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder::|public|Get(requestConfiguration?:MobileAppRelationshipsRequestBuilderGetRequestConfiguration):MobileAppRelationshipCollectionResponse +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder::|public|Post(body:MobileAppRelationship; requestConfiguration?:MobileAppRelationshipsRequestBuilderPostRequestConfiguration):MobileAppRelationship +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MobileAppRelationshipsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder::|public|ToPostRequestInformation(body:MobileAppRelationship; requestConfiguration?:MobileAppRelationshipsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.MobileAppRelationshipsRequestBuilder::|public|WithUrl(rawUrl:string):MobileAppRelationshipsRequestBuilder +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MobileAppRelationshipsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetRequestConfiguration::|public|queryParameters:MobileAppRelationshipsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MobileAppRelationshipsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceAppManagement.mobileAppRelationships.mobileAppRelationshipsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.deviceAppManagement.mobileApps.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.deviceAppManagement.mobileApps.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.deviceAppManagement.mobileApps.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -111416,63 +111482,82 @@ Microsoft\Graph\Generated.models.aiInteraction::|public|setMentions(value?:array Microsoft\Graph\Generated.models.aiInteraction::|public|setRequestId(value?:string):void Microsoft\Graph\Generated.models.aiInteraction::|public|setSessionId(value?:string):void Microsoft\Graph\Generated.models.aiInteraction::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteraction -Microsoft\Graph\Generated.models.aiInteractionAttachment-->Entity Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|constructor():void +Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|getAdditionalData():array Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|getAttachmentId():string +Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|getContent():string Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|getContentType():string Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|getContentUrl():string Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|getName():string -Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|OdataType:string +Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|getOdataType():string Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|setAttachmentId(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|setContent(value?:string):void Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|setContentType(value?:string):void Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|setContentUrl(value?:string):void Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionAttachment::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.aiInteractionAttachment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionAttachment -Microsoft\Graph\Generated.models.aiInteractionContext-->Entity +Microsoft\Graph\Generated.models.aiInteractionAttachment~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.aiInteractionContext::|public|constructor():void +Microsoft\Graph\Generated.models.aiInteractionContext::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.aiInteractionContext::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.aiInteractionContext::|public|getContextReference():string Microsoft\Graph\Generated.models.aiInteractionContext::|public|getContextType():string Microsoft\Graph\Generated.models.aiInteractionContext::|public|getDisplayName():string Microsoft\Graph\Generated.models.aiInteractionContext::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.aiInteractionContext::|public|OdataType:string +Microsoft\Graph\Generated.models.aiInteractionContext::|public|getOdataType():string Microsoft\Graph\Generated.models.aiInteractionContext::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.aiInteractionContext::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.aiInteractionContext::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.aiInteractionContext::|public|setContextReference(value?:string):void Microsoft\Graph\Generated.models.aiInteractionContext::|public|setContextType(value?:string):void Microsoft\Graph\Generated.models.aiInteractionContext::|public|setDisplayName(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionContext::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.aiInteractionContext::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionContext +Microsoft\Graph\Generated.models.aiInteractionContext~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.aiInteractionHistory-->Entity Microsoft\Graph\Generated.models.aiInteractionHistory::|public|constructor():void Microsoft\Graph\Generated.models.aiInteractionHistory::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.aiInteractionHistory::|public|OdataType:string Microsoft\Graph\Generated.models.aiInteractionHistory::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.aiInteractionHistory::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionHistory -Microsoft\Graph\Generated.models.aiInteractionLink-->Entity Microsoft\Graph\Generated.models.aiInteractionLink::|public|constructor():void +Microsoft\Graph\Generated.models.aiInteractionLink::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.aiInteractionLink::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.aiInteractionLink::|public|getDisplayName():string Microsoft\Graph\Generated.models.aiInteractionLink::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.aiInteractionLink::|public|getLinkType():string Microsoft\Graph\Generated.models.aiInteractionLink::|public|getLinkUrl():string -Microsoft\Graph\Generated.models.aiInteractionLink::|public|OdataType:string +Microsoft\Graph\Generated.models.aiInteractionLink::|public|getOdataType():string Microsoft\Graph\Generated.models.aiInteractionLink::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.aiInteractionLink::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.aiInteractionLink::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.aiInteractionLink::|public|setDisplayName(value?:string):void Microsoft\Graph\Generated.models.aiInteractionLink::|public|setLinkType(value?:string):void Microsoft\Graph\Generated.models.aiInteractionLink::|public|setLinkUrl(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionLink::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.aiInteractionLink::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionLink -Microsoft\Graph\Generated.models.aiInteractionMention-->Entity +Microsoft\Graph\Generated.models.aiInteractionLink~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.aiInteractionMention::|public|constructor():void +Microsoft\Graph\Generated.models.aiInteractionMention::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.aiInteractionMention::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.aiInteractionMention::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.aiInteractionMention::|public|getMentioned():AiInteractionMentionedIdentitySet Microsoft\Graph\Generated.models.aiInteractionMention::|public|getMentionId():int Microsoft\Graph\Generated.models.aiInteractionMention::|public|getMentionText():string -Microsoft\Graph\Generated.models.aiInteractionMention::|public|OdataType:string +Microsoft\Graph\Generated.models.aiInteractionMention::|public|getOdataType():string Microsoft\Graph\Generated.models.aiInteractionMention::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.aiInteractionMention::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.aiInteractionMention::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.aiInteractionMention::|public|setMentioned(value?:AiInteractionMentionedIdentitySet):void Microsoft\Graph\Generated.models.aiInteractionMention::|public|setMentionId(value?:int):void Microsoft\Graph\Generated.models.aiInteractionMention::|public|setMentionText(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionMention::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.aiInteractionMention::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionMention Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet-->IdentitySet Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|public|constructor():void @@ -111484,6 +111569,7 @@ Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|public|Seri Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|public|setConversation(value?:TeamworkConversationIdentity):void Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|public|setTag(value?:TeamworkTagIdentity):void Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionMentionedIdentitySet +Microsoft\Graph\Generated.models.aiInteractionMention~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|constructor():void Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getAdditionalData():array Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getBackingStore():BackingStore @@ -120143,9 +120229,11 @@ Microsoft\Graph\Generated.models.customAppManagementConfiguration::|public|Seria Microsoft\Graph\Generated.models.customAppManagementConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CustomAppManagementConfiguration Microsoft\Graph\Generated.models.customAuthenticationExtension-->CustomCalloutExtension Microsoft\Graph\Generated.models.customAuthenticationExtension::|public|constructor():void +Microsoft\Graph\Generated.models.customAuthenticationExtension::|public|getBehaviorOnError():CustomExtensionBehaviorOnError Microsoft\Graph\Generated.models.customAuthenticationExtension::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.customAuthenticationExtension::|public|OdataType:string Microsoft\Graph\Generated.models.customAuthenticationExtension::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.customAuthenticationExtension::|public|setBehaviorOnError(value?:CustomExtensionBehaviorOnError):void Microsoft\Graph\Generated.models.customAuthenticationExtension::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CustomAuthenticationExtension Microsoft\Graph\Generated.models.customAuthenticationExtensionCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.customAuthenticationExtensionCollectionResponse::|public|constructor():void @@ -120188,6 +120276,17 @@ Microsoft\Graph\Generated.models.customExtensionAuthenticationConfiguration::|pu Microsoft\Graph\Generated.models.customExtensionAuthenticationConfiguration::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.customExtensionAuthenticationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CustomExtensionAuthenticationConfiguration Microsoft\Graph\Generated.models.customExtensionAuthenticationConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.customExtensionBehaviorOnError::|public|constructor():void +Microsoft\Graph\Generated.models.customExtensionBehaviorOnError::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.customExtensionBehaviorOnError::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.customExtensionBehaviorOnError::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.customExtensionBehaviorOnError::|public|getOdataType():string +Microsoft\Graph\Generated.models.customExtensionBehaviorOnError::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.customExtensionBehaviorOnError::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.customExtensionBehaviorOnError::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.customExtensionBehaviorOnError::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.customExtensionBehaviorOnError::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CustomExtensionBehaviorOnError +Microsoft\Graph\Generated.models.customExtensionBehaviorOnError~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.customExtensionCallbackConfiguration::|public|constructor():void Microsoft\Graph\Generated.models.customExtensionCallbackConfiguration::|public|getAdditionalData():array Microsoft\Graph\Generated.models.customExtensionCallbackConfiguration::|public|getBackingStore():BackingStore @@ -120268,12 +120367,14 @@ Microsoft\Graph\Generated.models.customExtensionEndpointConfiguration~~>Addition Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|constructor():void Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|getAdditionalData():array Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|getBehaviorOnError():CustomExtensionBehaviorOnError Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|getClientConfiguration():CustomExtensionClientConfiguration Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|getOdataType():string Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|setBehaviorOnError(value?:CustomExtensionBehaviorOnError):void Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|setClientConfiguration(value?:CustomExtensionClientConfiguration):void Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.customExtensionOverwriteConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CustomExtensionOverwriteConfiguration @@ -121142,6 +121243,7 @@ Microsoft\Graph\Generated.models.deviceAppManagement::|public|getMicrosoftStoreF Microsoft\Graph\Generated.models.deviceAppManagement::|public|getMicrosoftStoreForBusinessLastSuccessfulSyncDateTime():DateTime Microsoft\Graph\Generated.models.deviceAppManagement::|public|getMobileAppCategories():array Microsoft\Graph\Generated.models.deviceAppManagement::|public|getMobileAppConfigurations():array +Microsoft\Graph\Generated.models.deviceAppManagement::|public|getMobileAppRelationships():array Microsoft\Graph\Generated.models.deviceAppManagement::|public|getMobileApps():array Microsoft\Graph\Generated.models.deviceAppManagement::|public|getTargetedManagedAppConfigurations():array Microsoft\Graph\Generated.models.deviceAppManagement::|public|getVppTokens():array @@ -121162,6 +121264,7 @@ Microsoft\Graph\Generated.models.deviceAppManagement::|public|setMicrosoftStoreF Microsoft\Graph\Generated.models.deviceAppManagement::|public|setMicrosoftStoreForBusinessLastSuccessfulSyncDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.deviceAppManagement::|public|setMobileAppCategories(value?:array):void Microsoft\Graph\Generated.models.deviceAppManagement::|public|setMobileAppConfigurations(value?:array):void +Microsoft\Graph\Generated.models.deviceAppManagement::|public|setMobileAppRelationships(value?:array):void Microsoft\Graph\Generated.models.deviceAppManagement::|public|setMobileApps(value?:array):void Microsoft\Graph\Generated.models.deviceAppManagement::|public|setTargetedManagedAppConfigurations(value?:array):void Microsoft\Graph\Generated.models.deviceAppManagement::|public|setVppTokens(value?:array):void @@ -121872,6 +121975,7 @@ Microsoft\Graph\Generated.models.deviceEnrollmentType::0009-windowsCoManagement Microsoft\Graph\Generated.models.deviceEnrollmentType::0010-windowsAzureADJoinUsingDeviceAuth Microsoft\Graph\Generated.models.deviceEnrollmentType::0011-appleUserEnrollment Microsoft\Graph\Generated.models.deviceEnrollmentType::0012-appleUserEnrollmentWithServiceAccount +Microsoft\Graph\Generated.models.deviceEnrollmentType::0013-unknownFutureValue Microsoft\Graph\Generated.models.deviceEnrollmentWindowsHelloForBusinessConfiguration-->DeviceEnrollmentConfiguration Microsoft\Graph\Generated.models.deviceEnrollmentWindowsHelloForBusinessConfiguration::|public|constructor():void Microsoft\Graph\Generated.models.deviceEnrollmentWindowsHelloForBusinessConfiguration::|public|getEnhancedBiometricsState():Enablement @@ -125783,6 +125887,12 @@ Microsoft\Graph\Generated.models.extractSensitivityLabelsResult::|public|setLabe Microsoft\Graph\Generated.models.extractSensitivityLabelsResult::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.extractSensitivityLabelsResult::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExtractSensitivityLabelsResult Microsoft\Graph\Generated.models.extractSensitivityLabelsResult~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.fallbackToMicrosoftProviderOnError-->CustomExtensionBehaviorOnError +Microsoft\Graph\Generated.models.fallbackToMicrosoftProviderOnError::|public|constructor():void +Microsoft\Graph\Generated.models.fallbackToMicrosoftProviderOnError::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.fallbackToMicrosoftProviderOnError::|public|OdataType:string +Microsoft\Graph\Generated.models.fallbackToMicrosoftProviderOnError::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.fallbackToMicrosoftProviderOnError::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FallbackToMicrosoftProviderOnError Microsoft\Graph\Generated.models.featureRolloutPolicy-->Entity Microsoft\Graph\Generated.models.featureRolloutPolicy::|public|constructor():void Microsoft\Graph\Generated.models.featureRolloutPolicy::|public|getAppliesTo():array @@ -128367,6 +128477,22 @@ Microsoft\Graph\Generated.models.iosCustomConfiguration::|public|setPayload(valu Microsoft\Graph\Generated.models.iosCustomConfiguration::|public|setPayloadFileName(value?:string):void Microsoft\Graph\Generated.models.iosCustomConfiguration::|public|setPayloadName(value?:string):void Microsoft\Graph\Generated.models.iosCustomConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IosCustomConfiguration +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings-->MobileAppAssignmentSettings +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|constructor():void +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|getAssociatedDomains():array +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|getAssociatedDomainsDirectDownloadAllowed():bool +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|getPreventManagedAppBackup():bool +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|getTapToPayScreenLockEnabled():bool +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|getVpnConfigurationId():string +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|OdataType:string +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|setAssociatedDomains(value?:array):void +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|setAssociatedDomainsDirectDownloadAllowed(value?:bool):void +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|setPreventManagedAppBackup(value?:bool):void +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|setTapToPayScreenLockEnabled(value?:bool):void +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|public|setVpnConfigurationId(value?:string):void +Microsoft\Graph\Generated.models.iosDdmLobAppAssignmentSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IosDdmLobAppAssignmentSettings Microsoft\Graph\Generated.models.iosDeviceFeaturesConfiguration-->AppleDeviceFeaturesConfigurationBase Microsoft\Graph\Generated.models.iosDeviceFeaturesConfiguration::|public|constructor():void Microsoft\Graph\Generated.models.iosDeviceFeaturesConfiguration::|public|getAssetTagTemplate():string @@ -132490,6 +132616,35 @@ Microsoft\Graph\Generated.models.mobileAppInstallTimeSettings~~>AdditionalDataHo Microsoft\Graph\Generated.models.mobileAppPublishingState::0000-notPublished Microsoft\Graph\Generated.models.mobileAppPublishingState::0001-processing Microsoft\Graph\Generated.models.mobileAppPublishingState::0002-published +Microsoft\Graph\Generated.models.mobileAppRelationship-->Entity +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|constructor():void +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|getSourceDisplayName():string +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|getSourceDisplayVersion():string +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|getSourceId():string +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|getSourcePublisherDisplayName():string +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|getTargetDisplayName():string +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|getTargetDisplayVersion():string +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|getTargetId():string +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|getTargetPublisherDisplayName():string +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|OdataType:string +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|setSourceDisplayName(value?:string):void +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|setSourceDisplayVersion(value?:string):void +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|setSourceId(value?:string):void +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|setSourcePublisherDisplayName(value?:string):void +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|setTargetDisplayName(value?:string):void +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|setTargetDisplayVersion(value?:string):void +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|setTargetId(value?:string):void +Microsoft\Graph\Generated.models.mobileAppRelationship::|public|setTargetPublisherDisplayName(value?:string):void +Microsoft\Graph\Generated.models.mobileAppRelationship::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MobileAppRelationship +Microsoft\Graph\Generated.models.mobileAppRelationshipCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.mobileAppRelationshipCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.mobileAppRelationshipCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.mobileAppRelationshipCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.mobileAppRelationshipCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.mobileAppRelationshipCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.mobileAppRelationshipCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MobileAppRelationshipCollectionResponse Microsoft\Graph\Generated.models.mobileAppTroubleshootingEvent-->Entity Microsoft\Graph\Generated.models.mobileAppTroubleshootingEvent::|public|constructor():void Microsoft\Graph\Generated.models.mobileAppTroubleshootingEvent::|public|getAppLogCollectionRequests():array @@ -133456,6 +133611,14 @@ Microsoft\Graph\Generated.models.oneDriveForBusinessRestoreSessionCollectionResp Microsoft\Graph\Generated.models.oneDriveForBusinessRestoreSessionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.oneDriveForBusinessRestoreSessionCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.oneDriveForBusinessRestoreSessionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OneDriveForBusinessRestoreSessionCollectionResponse +Microsoft\Graph\Generated.models.onEmailOtpSendListener-->AuthenticationEventListener +Microsoft\Graph\Generated.models.onEmailOtpSendListener::|public|constructor():void +Microsoft\Graph\Generated.models.onEmailOtpSendListener::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.onEmailOtpSendListener::|public|getHandler():OnOtpSendHandler +Microsoft\Graph\Generated.models.onEmailOtpSendListener::|public|OdataType:string +Microsoft\Graph\Generated.models.onEmailOtpSendListener::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.onEmailOtpSendListener::|public|setHandler(value?:OnOtpSendHandler):void +Microsoft\Graph\Generated.models.onEmailOtpSendListener::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OnEmailOtpSendListener Microsoft\Graph\Generated.models.onenote-->Entity Microsoft\Graph\Generated.models.onenote::|public|constructor():void Microsoft\Graph\Generated.models.onenote::|public|GetFieldDeserializers():array @@ -133859,6 +134022,33 @@ Microsoft\Graph\Generated.models.onlineMeetingRole::0003-producer Microsoft\Graph\Generated.models.onlineMeetingRole::0004-coorganizer Microsoft\Graph\Generated.models.onlineMeetingVideoDisabledReason::0000-watermarkProtection Microsoft\Graph\Generated.models.onlineMeetingVideoDisabledReason::0001-unknownFutureValue +Microsoft\Graph\Generated.models.onOtpSendCustomExtension-->CustomAuthenticationExtension +Microsoft\Graph\Generated.models.onOtpSendCustomExtension::|public|constructor():void +Microsoft\Graph\Generated.models.onOtpSendCustomExtension::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.onOtpSendCustomExtension::|public|OdataType:string +Microsoft\Graph\Generated.models.onOtpSendCustomExtension::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.onOtpSendCustomExtension::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OnOtpSendCustomExtension +Microsoft\Graph\Generated.models.onOtpSendCustomExtensionHandler-->OnOtpSendHandler +Microsoft\Graph\Generated.models.onOtpSendCustomExtensionHandler::|public|constructor():void +Microsoft\Graph\Generated.models.onOtpSendCustomExtensionHandler::|public|getConfiguration():CustomExtensionOverwriteConfiguration +Microsoft\Graph\Generated.models.onOtpSendCustomExtensionHandler::|public|getCustomExtension():OnOtpSendCustomExtension +Microsoft\Graph\Generated.models.onOtpSendCustomExtensionHandler::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.onOtpSendCustomExtensionHandler::|public|OdataType:string +Microsoft\Graph\Generated.models.onOtpSendCustomExtensionHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.onOtpSendCustomExtensionHandler::|public|setConfiguration(value?:CustomExtensionOverwriteConfiguration):void +Microsoft\Graph\Generated.models.onOtpSendCustomExtensionHandler::|public|setCustomExtension(value?:OnOtpSendCustomExtension):void +Microsoft\Graph\Generated.models.onOtpSendCustomExtensionHandler::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OnOtpSendCustomExtensionHandler +Microsoft\Graph\Generated.models.onOtpSendHandler::|public|constructor():void +Microsoft\Graph\Generated.models.onOtpSendHandler::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.onOtpSendHandler::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.onOtpSendHandler::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.onOtpSendHandler::|public|getOdataType():string +Microsoft\Graph\Generated.models.onOtpSendHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.onOtpSendHandler::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.onOtpSendHandler::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.onOtpSendHandler::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.onOtpSendHandler::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OnOtpSendHandler +Microsoft\Graph\Generated.models.onOtpSendHandler~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.onPremisesAccidentalDeletionPrevention::|public|constructor():void Microsoft\Graph\Generated.models.onPremisesAccidentalDeletionPrevention::|public|getAdditionalData():array Microsoft\Graph\Generated.models.onPremisesAccidentalDeletionPrevention::|public|getAlertThreshold():int @@ -142543,6 +142733,7 @@ Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|pu Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|getDocumentVersion():DocumentVersion Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|getItemsToInclude():ItemsToInclude +Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|getReportFileMetadata():array Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|getReviewSet():EdiscoveryReviewSet Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|getSearch():EdiscoverySearch Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|OdataType:string @@ -142551,6 +142742,7 @@ Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|pu Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|setCloudAttachmentVersion(value?:CloudAttachmentVersion):void Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|setDocumentVersion(value?:DocumentVersion):void Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|setItemsToInclude(value?:ItemsToInclude):void +Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|setReportFileMetadata(value?:array):void Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|setReviewSet(value?:EdiscoveryReviewSet):void Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|public|setSearch(value?:EdiscoverySearch):void Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EdiscoveryAddToReviewSetOperation @@ -142630,6 +142822,7 @@ Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|G Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|getIndexedItemCount():int Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|getIndexedItemsSize():int Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|getMailboxCount():int +Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|getReportFileMetadata():array Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|getSearch():EdiscoverySearch Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|getSiteCount():int Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|getStatisticsOptions():StatisticsOptions @@ -142640,6 +142833,7 @@ Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|S Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|setIndexedItemCount(value?:int):void Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|setIndexedItemsSize(value?:int):void Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|setMailboxCount(value?:int):void +Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|setReportFileMetadata(value?:array):void Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|setSearch(value?:EdiscoverySearch):void Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|setSiteCount(value?:int):void Microsoft\Graph\Generated.models.security.ediscoveryEstimateOperation::|public|setStatisticsOptions(value?:StatisticsOptions):void @@ -144343,6 +144537,42 @@ Microsoft\Graph\Generated.models.security.registryValueEvidence::|public|setRegi Microsoft\Graph\Generated.models.security.registryValueEvidence::|public|setRegistryValueName(value?:string):void Microsoft\Graph\Generated.models.security.registryValueEvidence::|public|setRegistryValueType(value?:string):void Microsoft\Graph\Generated.models.security.registryValueEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RegistryValueEvidence +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|constructor():void +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|getDownloadUrl():string +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|getFileName():string +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|getOdataType():string +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|getSize():int +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|setDownloadUrl(value?:string):void +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|setFileName(value?:string):void +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.security.reportFileMetadata::|public|setSize(value?:int):void +Microsoft\Graph\Generated.models.security.reportFileMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ReportFileMetadata +Microsoft\Graph\Generated.models.security.reportFileMetadata~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|constructor():void +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|getAccessDateTime():DateTime +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|getAccountId():string +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|getIpAddress():string +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|getOdataType():string +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|getResourceIdentifier():string +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|setAccessDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|setAccountId(value?:string):void +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|setIpAddress(value?:string):void +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|public|setResourceIdentifier(value?:string):void +Microsoft\Graph\Generated.models.security.resourceAccessEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ResourceAccessEvent +Microsoft\Graph\Generated.models.security.resourceAccessEvent~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.security.retentionDuration::|public|constructor():void Microsoft\Graph\Generated.models.security.retentionDuration::|public|getAdditionalData():array Microsoft\Graph\Generated.models.security.retentionDuration::|public|getBackingStore():BackingStore @@ -145068,6 +145298,7 @@ Microsoft\Graph\Generated.models.security.userAccount::|public|getDisplayName(): Microsoft\Graph\Generated.models.security.userAccount::|public|getDomainName():string Microsoft\Graph\Generated.models.security.userAccount::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.security.userAccount::|public|getOdataType():string +Microsoft\Graph\Generated.models.security.userAccount::|public|getResourceAccessEvents():array Microsoft\Graph\Generated.models.security.userAccount::|public|getUserPrincipalName():string Microsoft\Graph\Generated.models.security.userAccount::|public|getUserSid():string Microsoft\Graph\Generated.models.security.userAccount::|public|Serialize(writer:ISerializationWriter):void @@ -145078,6 +145309,7 @@ Microsoft\Graph\Generated.models.security.userAccount::|public|setBackingStore(v Microsoft\Graph\Generated.models.security.userAccount::|public|setDisplayName(value?:string):void Microsoft\Graph\Generated.models.security.userAccount::|public|setDomainName(value?:string):void Microsoft\Graph\Generated.models.security.userAccount::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.security.userAccount::|public|setResourceAccessEvents(value?:array):void Microsoft\Graph\Generated.models.security.userAccount::|public|setUserPrincipalName(value?:string):void Microsoft\Graph\Generated.models.security.userAccount::|public|setUserSid(value?:string):void Microsoft\Graph\Generated.models.security.userAccount::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserAccount diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 48e870b3859..fc3690366cd 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "BC1E83C59E53106F462892115B3A530A7DF45AD2027538D5019F7E04EB4BCF5FC2A6997BFFADAEF1DF623E7C5A65BF754E976F91D024D5E9586BFCE7AE02D557", + "descriptionHash": "8ED4E083B37D7B361CAD038605451663433A9F03A4E1EC0314D5FA65A7000DAE71D540A8A1BFB7F788D9A15599512D4C29710CFD39F5643D27F7373D0892AC89", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.29.0",