diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php index 0a36d294a25..cfd20426925 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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 - * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php index e8d81f4e6a6..43ede75d8df 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php @@ -32,11 +32,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 Find more info here */ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -52,7 +52,7 @@ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostReque } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php index b5a7dbcc14c..358bf6454df 100644 --- a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php @@ -155,7 +155,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Read properties and relationships of the deviceAppManagement object. * @param DeviceAppManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -175,7 +175,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r * @param DeviceAppManagement $body The request body * @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-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 7a1e2a61bc9..7a7afc8dc23 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -58,10 +58,10 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the windowsInformationProtection object. + * Read properties and relationships of the targetedManagedAppProtection object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -113,7 +113,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe } /** - * Read properties and relationships of the windowsInformationProtection object. + * Read properties and relationships of the targetedManagedAppProtection 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..612793385c9 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 targetedManagedAppProtection object. */ class ManagedAppPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 06635593790..c594913e156 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsPostRequestBody $body The request body * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php index 0d0a394c290..02b11be98a9 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the targetedManagedAppProtection 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 - * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-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); @@ -91,7 +91,7 @@ public function post(ManagedAppPolicy $body, ?ManagedAppPoliciesRequestBuilderPo } /** - * List properties and relationships of the targetedManagedAppProtection 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 5501668ceb1..4df728afddc 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 targetedManagedAppProtection 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 b7a0a8d63eb..1832b8006e6 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsPostRequestBody $body The request body * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 56235227841..bd964350653 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsPostRequestBody $body The request body * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php index 158e32bc199..e5d479ccfbe 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php @@ -61,10 +61,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -100,7 +100,7 @@ public function post(ManagedAppRegistration $body, ?ManagedAppRegistrationsReque } /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php index 327ac218e6b..6712257a390 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. */ class ManagedAppRegistrationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php index 2a94d9aefde..874f3fc346b 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php @@ -50,10 +50,10 @@ public function delete(?ManagedAppStatusItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the 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 - * @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); @@ -105,7 +105,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/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php index f97b5ce1ac5..cf40a1da3d1 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedEBookAssignment objects. + * List properties and relationships of the iosVppEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0 Find more info here */ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -72,11 +72,11 @@ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new iosVppEBookAssignment object. + * Create a new managedEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0 Find more info here */ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -92,7 +92,7 @@ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPos } /** - * List properties and relationships of the managedEBookAssignment objects. + * List properties and relationships of the iosVppEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } /** - * Create a new iosVppEBookAssignment object. + * Create a new managedEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php index bc0ec42f416..286ad40a449 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 managedEBookAssignment objects. + * List properties and relationships of the iosVppEBookAssignment 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 8f53e998663..3e42fdf783c 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php @@ -51,10 +51,10 @@ 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 - * @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); @@ -107,7 +107,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 */ 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 d680c427b80..15f9f96891d 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the 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 - * @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); @@ -92,7 +92,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 be54e5f866d..9b712311faf 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 1cc800fc1f2..b7acfa85075 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php @@ -99,10 +99,10 @@ public function delete(?ManagedDeviceMobileAppConfigurationItemRequestBuilderDel } /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -155,7 +155,7 @@ public function toDeleteRequestInformation(?ManagedDeviceMobileAppConfigurationI } /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php index 22dd29d03d8..4b0240dadba 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. */ class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..91bd525e50a --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.androidLobApp/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..da9d0c68cdd --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..17927e35c83 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/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/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php new file mode 100644 index 00000000000..f9cb9714ae7 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphAndroidLobAppRequestBuilder 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/mobileApps/graph.androidLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.androidLobApp in the microsoft.graph.mobileApp collection + * @param GraphAndroidLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphAndroidLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AndroidLobAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.androidLobApp in the microsoft.graph.mobileApp collection + * @param GraphAndroidLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphAndroidLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphAndroidLobAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphAndroidLobAppRequestBuilder { + return new GraphAndroidLobAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..23764fe40a0 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetQueryParameters.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 graphAndroidLobAppRequestBuilderGetQueryParameters 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/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..1ecf582149c --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphAndroidLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphAndroidLobAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphAndroidLobAppRequestBuilderGetQueryParameters. + * @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 GraphAndroidLobAppRequestBuilderGetQueryParameters + */ + 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): GraphAndroidLobAppRequestBuilderGetQueryParameters { + return new GraphAndroidLobAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..db38ff217f9 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.androidStoreApp/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..508d3191e17 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..900c31c6a31 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/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/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php new file mode 100644 index 00000000000..30d3724620c --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphAndroidStoreAppRequestBuilder 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/mobileApps/graph.androidStoreApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.androidStoreApp in the microsoft.graph.mobileApp collection + * @param GraphAndroidStoreAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphAndroidStoreAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AndroidStoreAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.androidStoreApp in the microsoft.graph.mobileApp collection + * @param GraphAndroidStoreAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphAndroidStoreAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphAndroidStoreAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphAndroidStoreAppRequestBuilder { + return new GraphAndroidStoreAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ed24e3d6475 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetQueryParameters.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 graphAndroidStoreAppRequestBuilderGetQueryParameters 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/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..128c52bad5c --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphAndroidStoreAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphAndroidStoreAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphAndroidStoreAppRequestBuilderGetQueryParameters. + * @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 GraphAndroidStoreAppRequestBuilderGetQueryParameters + */ + 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): GraphAndroidStoreAppRequestBuilderGetQueryParameters { + return new GraphAndroidStoreAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilder.php similarity index 97% rename from src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilder.php rename to src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilder.php index ab1341d6968..7559d939170 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilderGetQueryParameters.php similarity index 97% rename from src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilderGetQueryParameters.php index e158ea50530..7218c84a3cf 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ |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/mobileApps/graph.mobileLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.iosLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -40,29 +40,29 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the items of type microsoft.graph.mobileLobApp in the microsoft.graph.mobileApp collection - * @param GraphMobileLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get the items of type microsoft.graph.iosLobApp in the microsoft.graph.mobileApp collection + * @param GraphIosLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise */ - public function get(?GraphMobileLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?GraphIosLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); try { $errorMappings = [ '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [MobileLobAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [IosLobAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } catch(Exception $ex) { return new RejectedPromise($ex); } } /** - * Get the items of type microsoft.graph.mobileLobApp in the microsoft.graph.mobileApp collection - * @param GraphMobileLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get the items of type microsoft.graph.iosLobApp in the microsoft.graph.mobileApp collection + * @param GraphIosLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?GraphMobileLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?GraphIosLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -81,10 +81,10 @@ public function toGetRequestInformation(?GraphMobileLobAppRequestBuilderGetReque /** * 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 GraphMobileLobAppRequestBuilder + * @return GraphIosLobAppRequestBuilder */ - public function withUrl(string $rawUrl): GraphMobileLobAppRequestBuilder { - return new GraphMobileLobAppRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): GraphIosLobAppRequestBuilder { + return new GraphIosLobAppRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilderGetQueryParameters.php similarity index 89% rename from src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetQueryParameters.php rename to src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilderGetQueryParameters.php index 15ccee8bdc5..4fce9451093 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilderGetRequestConfiguration.php similarity index 57% rename from src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetRequestConfiguration.php rename to src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilderGetRequestConfiguration.php index b8993db34d6..bd9af1e9413 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param GraphMobileLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param GraphIosLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?GraphMobileLobAppRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?GraphIosLobAppRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new graphMobileLobAppRequestBuilderGetQueryParameters. + * Instantiates a new graphIosLobAppRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Gra * @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 GraphMobileLobAppRequestBuilderGetQueryParameters + * @return GraphIosLobAppRequestBuilderGetQueryParameters */ - 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): GraphMobileLobAppRequestBuilderGetQueryParameters { - return new GraphMobileLobAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GraphIosLobAppRequestBuilderGetQueryParameters { + return new GraphIosLobAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..2d5b5c5919a --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.iosStoreApp/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2e00d2da5ed --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e6552bde635 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/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/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php new file mode 100644 index 00000000000..3dae7bcf59b --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphIosStoreAppRequestBuilder 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/mobileApps/graph.iosStoreApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.iosStoreApp in the microsoft.graph.mobileApp collection + * @param GraphIosStoreAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphIosStoreAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [IosStoreAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.iosStoreApp in the microsoft.graph.mobileApp collection + * @param GraphIosStoreAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphIosStoreAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphIosStoreAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphIosStoreAppRequestBuilder { + return new GraphIosStoreAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..96bf0dca43d --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetQueryParameters.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 graphIosStoreAppRequestBuilderGetQueryParameters 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/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..134905e11e7 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphIosStoreAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphIosStoreAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphIosStoreAppRequestBuilderGetQueryParameters. + * @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 GraphIosStoreAppRequestBuilderGetQueryParameters + */ + 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): GraphIosStoreAppRequestBuilderGetQueryParameters { + return new GraphIosStoreAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..76eaa0ae06b --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.iosVppApp/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..65627e9c482 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b7306591bd7 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/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/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.php new file mode 100644 index 00000000000..c1bba9fa588 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphIosVppAppRequestBuilder 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/mobileApps/graph.iosVppApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.iosVppApp in the microsoft.graph.mobileApp collection + * @param GraphIosVppAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphIosVppAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [IosVppAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.iosVppApp in the microsoft.graph.mobileApp collection + * @param GraphIosVppAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphIosVppAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphIosVppAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphIosVppAppRequestBuilder { + return new GraphIosVppAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..27d3501d010 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilderGetQueryParameters.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 graphIosVppAppRequestBuilderGetQueryParameters 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/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..5d00204f2de --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphIosVppAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphIosVppAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphIosVppAppRequestBuilderGetQueryParameters. + * @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 GraphIosVppAppRequestBuilderGetQueryParameters + */ + 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): GraphIosVppAppRequestBuilderGetQueryParameters { + return new GraphIosVppAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..ffbe572cb27 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.macOSDmgApp/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..8bde2671645 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..220f8ceda40 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/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/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php new file mode 100644 index 00000000000..c567d3aecc2 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphMacOSDmgAppRequestBuilder 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/mobileApps/graph.macOSDmgApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.macOSDmgApp in the microsoft.graph.mobileApp collection + * @param GraphMacOSDmgAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphMacOSDmgAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MacOSDmgAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.macOSDmgApp in the microsoft.graph.mobileApp collection + * @param GraphMacOSDmgAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphMacOSDmgAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphMacOSDmgAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphMacOSDmgAppRequestBuilder { + return new GraphMacOSDmgAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7f58831e5a5 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetQueryParameters.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 graphMacOSDmgAppRequestBuilderGetQueryParameters 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/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4f8990a8a2c --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphMacOSDmgAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphMacOSDmgAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphMacOSDmgAppRequestBuilderGetQueryParameters. + * @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 GraphMacOSDmgAppRequestBuilderGetQueryParameters + */ + 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): GraphMacOSDmgAppRequestBuilderGetQueryParameters { + return new GraphMacOSDmgAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..5daf3885d21 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.macOSLobApp/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..00d0ad923d4 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..473533b3da5 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/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/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php new file mode 100644 index 00000000000..ce8467ad276 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphMacOSLobAppRequestBuilder 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/mobileApps/graph.macOSLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.macOSLobApp in the microsoft.graph.mobileApp collection + * @param GraphMacOSLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphMacOSLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MacOSLobAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.macOSLobApp in the microsoft.graph.mobileApp collection + * @param GraphMacOSLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphMacOSLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphMacOSLobAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphMacOSLobAppRequestBuilder { + return new GraphMacOSLobAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3568fab12c7 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetQueryParameters.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 graphMacOSLobAppRequestBuilderGetQueryParameters 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/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..598b02b3e0a --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphMacOSLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphMacOSLobAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphMacOSLobAppRequestBuilderGetQueryParameters. + * @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 GraphMacOSLobAppRequestBuilderGetQueryParameters + */ + 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): GraphMacOSLobAppRequestBuilderGetQueryParameters { + return new GraphMacOSLobAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..1258b2ac084 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.managedAndroidLobApp/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2117d6fa4ab --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..aa7418ee222 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/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/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php new file mode 100644 index 00000000000..5d8d4fbaf57 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphManagedAndroidLobAppRequestBuilder 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/mobileApps/graph.managedAndroidLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.managedAndroidLobApp in the microsoft.graph.mobileApp collection + * @param GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ManagedAndroidLobAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.managedAndroidLobApp in the microsoft.graph.mobileApp collection + * @param GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphManagedAndroidLobAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphManagedAndroidLobAppRequestBuilder { + return new GraphManagedAndroidLobAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5ad5799c1a3 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetQueryParameters.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 graphManagedAndroidLobAppRequestBuilderGetQueryParameters 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/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d96db051451 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphManagedAndroidLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphManagedAndroidLobAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphManagedAndroidLobAppRequestBuilderGetQueryParameters. + * @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 GraphManagedAndroidLobAppRequestBuilderGetQueryParameters + */ + 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): GraphManagedAndroidLobAppRequestBuilderGetQueryParameters { + return new GraphManagedAndroidLobAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..4001213cdbf --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.managedIOSLobApp/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..440513e964e --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3f7d3f28213 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/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/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php new file mode 100644 index 00000000000..4830a39506c --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphManagedIOSLobAppRequestBuilder 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/mobileApps/graph.managedIOSLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.managedIOSLobApp in the microsoft.graph.mobileApp collection + * @param GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ManagedIOSLobAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.managedIOSLobApp in the microsoft.graph.mobileApp collection + * @param GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphManagedIOSLobAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphManagedIOSLobAppRequestBuilder { + return new GraphManagedIOSLobAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..255b3177b22 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetQueryParameters.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 graphManagedIOSLobAppRequestBuilderGetQueryParameters 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/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..697ee1d9282 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphManagedIOSLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphManagedIOSLobAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphManagedIOSLobAppRequestBuilderGetQueryParameters. + * @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 GraphManagedIOSLobAppRequestBuilderGetQueryParameters + */ + 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): GraphManagedIOSLobAppRequestBuilderGetQueryParameters { + return new GraphManagedIOSLobAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..d27f275fc8d --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.microsoftStoreForBusinessApp/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..fde20cf5fb1 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d97ecb30374 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/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/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php new file mode 100644 index 00000000000..9d1dbc25327 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphMicrosoftStoreForBusinessAppRequestBuilder 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/mobileApps/graph.microsoftStoreForBusinessApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.microsoftStoreForBusinessApp in the microsoft.graph.mobileApp collection + * @param GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MicrosoftStoreForBusinessAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.microsoftStoreForBusinessApp in the microsoft.graph.mobileApp collection + * @param GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphMicrosoftStoreForBusinessAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphMicrosoftStoreForBusinessAppRequestBuilder { + return new GraphMicrosoftStoreForBusinessAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ff40dfb7233 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters.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 graphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters 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/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..706bba81e2c --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters. + * @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 GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters + */ + 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): GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters { + return new GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..0ba09240023 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.win32LobApp/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..341d0fc6e66 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7fa6f7353e5 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/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/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php new file mode 100644 index 00000000000..a572e959dae --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphWin32LobAppRequestBuilder 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/mobileApps/graph.win32LobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.win32LobApp in the microsoft.graph.mobileApp collection + * @param GraphWin32LobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphWin32LobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Win32LobAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.win32LobApp in the microsoft.graph.mobileApp collection + * @param GraphWin32LobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphWin32LobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphWin32LobAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphWin32LobAppRequestBuilder { + return new GraphWin32LobAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..fac6b0ed5af --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetQueryParameters.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 graphWin32LobAppRequestBuilderGetQueryParameters 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/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d2e5ec797cf --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphWin32LobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphWin32LobAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphWin32LobAppRequestBuilderGetQueryParameters. + * @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 GraphWin32LobAppRequestBuilderGetQueryParameters + */ + 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): GraphWin32LobAppRequestBuilderGetQueryParameters { + return new GraphWin32LobAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..154c41e9378 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.windowsAppX/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5bc79c8082f --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fdc1369e53e --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/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/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php new file mode 100644 index 00000000000..f40985e3c9d --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphWindowsAppXRequestBuilder 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/mobileApps/graph.windowsAppX{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.windowsAppX in the microsoft.graph.mobileApp collection + * @param GraphWindowsAppXRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphWindowsAppXRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WindowsAppXCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.windowsAppX in the microsoft.graph.mobileApp collection + * @param GraphWindowsAppXRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphWindowsAppXRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphWindowsAppXRequestBuilder + */ + public function withUrl(string $rawUrl): GraphWindowsAppXRequestBuilder { + return new GraphWindowsAppXRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..096fdd3e32a --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetQueryParameters.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 graphWindowsAppXRequestBuilderGetQueryParameters 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/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..60d8bd9dfba --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphWindowsAppXRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphWindowsAppXRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphWindowsAppXRequestBuilderGetQueryParameters. + * @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 GraphWindowsAppXRequestBuilderGetQueryParameters + */ + 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): GraphWindowsAppXRequestBuilderGetQueryParameters { + return new GraphWindowsAppXRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..7d108a1988a --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.windowsMobileMSI/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5111ca78bdf --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..08c520d7123 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/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/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php new file mode 100644 index 00000000000..eea202c4beb --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphWindowsMobileMSIRequestBuilder 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/mobileApps/graph.windowsMobileMSI{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.windowsMobileMSI in the microsoft.graph.mobileApp collection + * @param GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WindowsMobileMSICollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.windowsMobileMSI in the microsoft.graph.mobileApp collection + * @param GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphWindowsMobileMSIRequestBuilder + */ + public function withUrl(string $rawUrl): GraphWindowsMobileMSIRequestBuilder { + return new GraphWindowsMobileMSIRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..43e6077c7a8 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetQueryParameters.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 graphWindowsMobileMSIRequestBuilderGetQueryParameters 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/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8ad6e799782 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphWindowsMobileMSIRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphWindowsMobileMSIRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphWindowsMobileMSIRequestBuilderGetQueryParameters. + * @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 GraphWindowsMobileMSIRequestBuilderGetQueryParameters + */ + 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): GraphWindowsMobileMSIRequestBuilderGetQueryParameters { + return new GraphWindowsMobileMSIRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..f9328a922fe --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.windowsUniversalAppX/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..55afdf7ea5b --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3070a759728 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/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/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php new file mode 100644 index 00000000000..a6d5676e3f0 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphWindowsUniversalAppXRequestBuilder 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/mobileApps/graph.windowsUniversalAppX{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.windowsUniversalAppX in the microsoft.graph.mobileApp collection + * @param GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WindowsUniversalAppXCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.windowsUniversalAppX in the microsoft.graph.mobileApp collection + * @param GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphWindowsUniversalAppXRequestBuilder + */ + public function withUrl(string $rawUrl): GraphWindowsUniversalAppXRequestBuilder { + return new GraphWindowsUniversalAppXRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5790ea7bcf1 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetQueryParameters.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 graphWindowsUniversalAppXRequestBuilderGetQueryParameters 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/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..dec9d8ae767 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphWindowsUniversalAppXRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphWindowsUniversalAppXRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphWindowsUniversalAppXRequestBuilderGetQueryParameters. + * @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 GraphWindowsUniversalAppXRequestBuilderGetQueryParameters + */ + 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): GraphWindowsUniversalAppXRequestBuilderGetQueryParameters { + return new GraphWindowsUniversalAppXRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..e5940ad5341 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilder.php @@ -0,0 +1,81 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/graph.windowsWebApp/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "text/plain"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e028e7be73b --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7cc8c034f3c --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/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/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php new file mode 100644 index 00000000000..408dc919d3a --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php @@ -0,0 +1,90 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new GraphWindowsWebAppRequestBuilder 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/mobileApps/graph.windowsWebApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the items of type microsoft.graph.windowsWebApp in the microsoft.graph.mobileApp collection + * @param GraphWindowsWebAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphWindowsWebAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WindowsWebAppCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the items of type microsoft.graph.windowsWebApp in the microsoft.graph.mobileApp collection + * @param GraphWindowsWebAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphWindowsWebAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphWindowsWebAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphWindowsWebAppRequestBuilder { + return new GraphWindowsWebAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1d1fd28f141 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetQueryParameters.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 graphWindowsWebAppRequestBuilderGetQueryParameters 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/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9faf433065a --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphWindowsWebAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphWindowsWebAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphWindowsWebAppRequestBuilderGetQueryParameters. + * @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 GraphWindowsWebAppRequestBuilderGetQueryParameters + */ + 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): GraphWindowsWebAppRequestBuilderGetQueryParameters { + return new GraphWindowsWebAppRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php new file mode 100644 index 00000000000..b35fec7e7f7 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.androidLobApp + * @param GraphAndroidLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphAndroidLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AndroidLobApp::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.androidLobApp + * @param GraphAndroidLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphAndroidLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphAndroidLobAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphAndroidLobAppRequestBuilder { + return new GraphAndroidLobAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9dfb5aa2b4a --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetQueryParameters.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 graphAndroidLobAppRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..0be1b85fe19 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphAndroidLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphAndroidLobAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphAndroidLobAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphAndroidLobAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphAndroidLobAppRequestBuilderGetQueryParameters { + return new GraphAndroidLobAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php new file mode 100644 index 00000000000..aa2af1186c0 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidStoreApp{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.androidStoreApp + * @param GraphAndroidStoreAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphAndroidStoreAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AndroidStoreApp::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.androidStoreApp + * @param GraphAndroidStoreAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphAndroidStoreAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphAndroidStoreAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphAndroidStoreAppRequestBuilder { + return new GraphAndroidStoreAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..65296d80f80 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetQueryParameters.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 graphAndroidStoreAppRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c6ca67f5ad5 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphAndroidStoreAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphAndroidStoreAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphAndroidStoreAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphAndroidStoreAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphAndroidStoreAppRequestBuilderGetQueryParameters { + return new GraphAndroidStoreAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilder.php similarity index 66% rename from src/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.php rename to src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilder.php index c3dd489ca98..1a42fa3841a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilder.php @@ -1,11 +1,11 @@ |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/mobileApps/{mobileApp%2Did}/graph.mobileLobApp{?%24select,%24expand}'); + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp{?%24select,%24expand}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -32,29 +32,29 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the item of type microsoft.graph.mobileApp as microsoft.graph.mobileLobApp - * @param GraphMobileLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.iosLobApp + * @param GraphIosLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise */ - public function get(?GraphMobileLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?GraphIosLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); try { $errorMappings = [ '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [MobileLobApp::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [IosLobApp::class, 'createFromDiscriminatorValue'], $errorMappings); } catch(Exception $ex) { return new RejectedPromise($ex); } } /** - * Get the item of type microsoft.graph.mobileApp as microsoft.graph.mobileLobApp - * @param GraphMobileLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.iosLobApp + * @param GraphIosLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?GraphMobileLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?GraphIosLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -73,10 +73,10 @@ public function toGetRequestInformation(?GraphMobileLobAppRequestBuilderGetReque /** * 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 GraphMobileLobAppRequestBuilder + * @return GraphIosLobAppRequestBuilder */ - public function withUrl(string $rawUrl): GraphMobileLobAppRequestBuilder { - return new GraphMobileLobAppRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): GraphIosLobAppRequestBuilder { + return new GraphIosLobAppRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilderGetQueryParameters.php similarity index 79% rename from src/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetQueryParameters.php rename to src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilderGetQueryParameters.php index 05f8bb69f28..c8542b8252c 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a2b8a2b10f2 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphIosLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphIosLobAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphIosLobAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphIosLobAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphIosLobAppRequestBuilderGetQueryParameters { + return new GraphIosLobAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php new file mode 100644 index 00000000000..eee32e0c3cf --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosStoreApp{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.iosStoreApp + * @param GraphIosStoreAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphIosStoreAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [IosStoreApp::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.iosStoreApp + * @param GraphIosStoreAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphIosStoreAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphIosStoreAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphIosStoreAppRequestBuilder { + return new GraphIosStoreAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2d7070ec411 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetQueryParameters.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 graphIosStoreAppRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e411de950e7 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphIosStoreAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphIosStoreAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphIosStoreAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphIosStoreAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphIosStoreAppRequestBuilderGetQueryParameters { + return new GraphIosStoreAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.php new file mode 100644 index 00000000000..f2d48acb064 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.iosVppApp + * @param GraphIosVppAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphIosVppAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [IosVppApp::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.iosVppApp + * @param GraphIosVppAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphIosVppAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphIosVppAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphIosVppAppRequestBuilder { + return new GraphIosVppAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d9012520390 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilderGetQueryParameters.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 graphIosVppAppRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..602a9411445 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphIosVppAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphIosVppAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphIosVppAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphIosVppAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphIosVppAppRequestBuilderGetQueryParameters { + return new GraphIosVppAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php new file mode 100644 index 00000000000..cf110910507 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSDmgApp + * @param GraphMacOSDmgAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphMacOSDmgAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MacOSDmgApp::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSDmgApp + * @param GraphMacOSDmgAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphMacOSDmgAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphMacOSDmgAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphMacOSDmgAppRequestBuilder { + return new GraphMacOSDmgAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e3840e7a0a5 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetQueryParameters.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 graphMacOSDmgAppRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4c8f867788e --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphMacOSDmgAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphMacOSDmgAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphMacOSDmgAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphMacOSDmgAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphMacOSDmgAppRequestBuilderGetQueryParameters { + return new GraphMacOSDmgAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php new file mode 100644 index 00000000000..265e47467f9 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSLobApp + * @param GraphMacOSLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphMacOSLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MacOSLobApp::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSLobApp + * @param GraphMacOSLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphMacOSLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphMacOSLobAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphMacOSLobAppRequestBuilder { + return new GraphMacOSLobAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c06e54b6ba5 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetQueryParameters.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 graphMacOSLobAppRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..dc91c9a568c --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphMacOSLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphMacOSLobAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphMacOSLobAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphMacOSLobAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphMacOSLobAppRequestBuilderGetQueryParameters { + return new GraphMacOSLobAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php new file mode 100644 index 00000000000..d3b360633c8 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.managedAndroidLobApp + * @param GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ManagedAndroidLobApp::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.managedAndroidLobApp + * @param GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphManagedAndroidLobAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphManagedAndroidLobAppRequestBuilder { + return new GraphManagedAndroidLobAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e2d5e87caf9 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetQueryParameters.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 graphManagedAndroidLobAppRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9cd1fe1169b --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphManagedAndroidLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphManagedAndroidLobAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphManagedAndroidLobAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphManagedAndroidLobAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphManagedAndroidLobAppRequestBuilderGetQueryParameters { + return new GraphManagedAndroidLobAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php new file mode 100644 index 00000000000..9b749cca325 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.managedIOSLobApp + * @param GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ManagedIOSLobApp::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.managedIOSLobApp + * @param GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphManagedIOSLobAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphManagedIOSLobAppRequestBuilder { + return new GraphManagedIOSLobAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..726e7a5381a --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetQueryParameters.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 graphManagedIOSLobAppRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..47563b7386f --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphManagedIOSLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphManagedIOSLobAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphManagedIOSLobAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphManagedIOSLobAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphManagedIOSLobAppRequestBuilderGetQueryParameters { + return new GraphManagedIOSLobAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php new file mode 100644 index 00000000000..0e5d42c5dac --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.microsoftStoreForBusinessApp + * @param GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MicrosoftStoreForBusinessApp::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.microsoftStoreForBusinessApp + * @param GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphMicrosoftStoreForBusinessAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphMicrosoftStoreForBusinessAppRequestBuilder { + return new GraphMicrosoftStoreForBusinessAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..af875d1bea7 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters.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 graphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8061775d423 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters { + return new GraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 8c588f51cd9..00000000000 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param GraphMobileLobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?GraphMobileLobAppRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new graphMobileLobAppRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return GraphMobileLobAppRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphMobileLobAppRequestBuilderGetQueryParameters { - return new GraphMobileLobAppRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php new file mode 100644 index 00000000000..564ed5ca3f4 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.win32LobApp + * @param GraphWin32LobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphWin32LobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Win32LobApp::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.win32LobApp + * @param GraphWin32LobAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphWin32LobAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphWin32LobAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphWin32LobAppRequestBuilder { + return new GraphWin32LobAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b71638eccf4 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetQueryParameters.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 graphWin32LobAppRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..bba41188d46 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphWin32LobAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphWin32LobAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphWin32LobAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphWin32LobAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphWin32LobAppRequestBuilderGetQueryParameters { + return new GraphWin32LobAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php new file mode 100644 index 00000000000..88427597533 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsAppX + * @param GraphWindowsAppXRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphWindowsAppXRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WindowsAppX::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsAppX + * @param GraphWindowsAppXRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphWindowsAppXRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphWindowsAppXRequestBuilder + */ + public function withUrl(string $rawUrl): GraphWindowsAppXRequestBuilder { + return new GraphWindowsAppXRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..da211faa7f5 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetQueryParameters.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 graphWindowsAppXRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9fcbba02e1c --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphWindowsAppXRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphWindowsAppXRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphWindowsAppXRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphWindowsAppXRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphWindowsAppXRequestBuilderGetQueryParameters { + return new GraphWindowsAppXRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php new file mode 100644 index 00000000000..e7b200eaec3 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsMobileMSI + * @param GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WindowsMobileMSI::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsMobileMSI + * @param GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphWindowsMobileMSIRequestBuilder + */ + public function withUrl(string $rawUrl): GraphWindowsMobileMSIRequestBuilder { + return new GraphWindowsMobileMSIRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0204e289079 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetQueryParameters.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 graphWindowsMobileMSIRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..ed7ccf34843 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphWindowsMobileMSIRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphWindowsMobileMSIRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphWindowsMobileMSIRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphWindowsMobileMSIRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphWindowsMobileMSIRequestBuilderGetQueryParameters { + return new GraphWindowsMobileMSIRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php new file mode 100644 index 00000000000..fa176b7bc99 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsUniversalAppX + * @param GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WindowsUniversalAppX::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsUniversalAppX + * @param GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphWindowsUniversalAppXRequestBuilder + */ + public function withUrl(string $rawUrl): GraphWindowsUniversalAppXRequestBuilder { + return new GraphWindowsUniversalAppXRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9a9b9f044a0 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetQueryParameters.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 graphWindowsUniversalAppXRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b383fb40922 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphWindowsUniversalAppXRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphWindowsUniversalAppXRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphWindowsUniversalAppXRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphWindowsUniversalAppXRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphWindowsUniversalAppXRequestBuilderGetQueryParameters { + return new GraphWindowsUniversalAppXRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php new file mode 100644 index 00000000000..ab2aa0295a6 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsWebApp{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsWebApp + * @param GraphWindowsWebAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + */ + public function get(?GraphWindowsWebAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + try { + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WindowsWebApp::class, 'createFromDiscriminatorValue'], $errorMappings); + } catch(Exception $ex) { + return new RejectedPromise($ex); + } + } + + /** + * Get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsWebApp + * @param GraphWindowsWebAppRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GraphWindowsWebAppRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + $requestInfo->addHeader('Accept', "application/json"); + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GraphWindowsWebAppRequestBuilder + */ + public function withUrl(string $rawUrl): GraphWindowsWebAppRequestBuilder { + return new GraphWindowsWebAppRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c884fc06383 --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetQueryParameters.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 graphWindowsWebAppRequestBuilderGetQueryParameters 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/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3630657d38d --- /dev/null +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GraphWindowsWebAppRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GraphWindowsWebAppRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new graphWindowsWebAppRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return GraphWindowsWebAppRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): GraphWindowsWebAppRequestBuilderGetQueryParameters { + return new GraphWindowsWebAppRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php index 9c39849c688..eaeec9a00ff 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php @@ -8,8 +8,22 @@ use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\Assign\AssignRequestBuilder; use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\Assignments\AssignmentsRequestBuilder; use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\Categories\CategoriesRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphAndroidLobApp\GraphAndroidLobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphAndroidStoreApp\GraphAndroidStoreAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphIosLobApp\GraphIosLobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphIosStoreApp\GraphIosStoreAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphIosVppApp\GraphIosVppAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphMacOSDmgApp\GraphMacOSDmgAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphMacOSLobApp\GraphMacOSLobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphManagedAndroidLobApp\GraphManagedAndroidLobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphManagedIOSLobApp\GraphManagedIOSLobAppRequestBuilder; use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphManagedMobileLobApp\GraphManagedMobileLobAppRequestBuilder; -use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphMobileLobApp\GraphMobileLobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphMicrosoftStoreForBusinessApp\GraphMicrosoftStoreForBusinessAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphWin32LobApp\GraphWin32LobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphWindowsAppX\GraphWindowsAppXRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphWindowsMobileMSI\GraphWindowsMobileMSIRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphWindowsUniversalAppX\GraphWindowsUniversalAppXRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\GraphWindowsWebApp\GraphWindowsWebAppRequestBuilder; use Microsoft\Graph\Generated\Models\MobileApp; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -43,6 +57,69 @@ public function categories(): CategoriesRequestBuilder { return new CategoriesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Casts the previous resource to androidLobApp. + */ + public function graphAndroidLobApp(): GraphAndroidLobAppRequestBuilder { + return new GraphAndroidLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to androidStoreApp. + */ + public function graphAndroidStoreApp(): GraphAndroidStoreAppRequestBuilder { + return new GraphAndroidStoreAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to iosLobApp. + */ + public function graphIosLobApp(): GraphIosLobAppRequestBuilder { + return new GraphIosLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to iosStoreApp. + */ + public function graphIosStoreApp(): GraphIosStoreAppRequestBuilder { + return new GraphIosStoreAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to iosVppApp. + */ + public function graphIosVppApp(): GraphIosVppAppRequestBuilder { + return new GraphIosVppAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to macOSDmgApp. + */ + public function graphMacOSDmgApp(): GraphMacOSDmgAppRequestBuilder { + return new GraphMacOSDmgAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to macOSLobApp. + */ + public function graphMacOSLobApp(): GraphMacOSLobAppRequestBuilder { + return new GraphMacOSLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to managedAndroidLobApp. + */ + public function graphManagedAndroidLobApp(): GraphManagedAndroidLobAppRequestBuilder { + return new GraphManagedAndroidLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to managedIOSLobApp. + */ + public function graphManagedIOSLobApp(): GraphManagedIOSLobAppRequestBuilder { + return new GraphManagedIOSLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Casts the previous resource to managedMobileLobApp. */ @@ -51,10 +128,45 @@ public function graphManagedMobileLobApp(): GraphManagedMobileLobAppRequestBuild } /** - * Casts the previous resource to mobileLobApp. + * Casts the previous resource to microsoftStoreForBusinessApp. + */ + public function graphMicrosoftStoreForBusinessApp(): GraphMicrosoftStoreForBusinessAppRequestBuilder { + return new GraphMicrosoftStoreForBusinessAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to win32LobApp. + */ + public function graphWin32LobApp(): GraphWin32LobAppRequestBuilder { + return new GraphWin32LobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to windowsAppX. + */ + public function graphWindowsAppX(): GraphWindowsAppXRequestBuilder { + return new GraphWindowsAppXRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to windowsMobileMSI. + */ + public function graphWindowsMobileMSI(): GraphWindowsMobileMSIRequestBuilder { + return new GraphWindowsMobileMSIRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to windowsUniversalAppX. + */ + public function graphWindowsUniversalAppX(): GraphWindowsUniversalAppXRequestBuilder { + return new GraphWindowsUniversalAppXRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to windowsWebApp. */ - public function graphMobileLobApp(): GraphMobileLobAppRequestBuilder { - return new GraphMobileLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + public function graphWindowsWebApp(): GraphWindowsWebAppRequestBuilder { + return new GraphWindowsWebAppRequestBuilder($this->pathParameters, $this->requestAdapter); } /** @@ -91,10 +203,10 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read properties and relationships of the windowsMicrosoftEdgeApp object. + * Read properties and relationships of the webApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-webapp-get?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -110,11 +222,11 @@ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $request } /** - * Update the properties of a win32LobApp object. + * Update the properties of a windowsMicrosoftEdgeApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-update?view=graph-rest-1.0 Find more info here */ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -147,7 +259,7 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the windowsMicrosoftEdgeApp object. + * Read properties and relationships of the webApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -168,7 +280,7 @@ public function toGetRequestInformation(?MobileAppItemRequestBuilderGetRequestCo } /** - * Update the properties of a win32LobApp object. + * Update the properties of a windowsMicrosoftEdgeApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php index bf4dc50ace6..73abe340aeb 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 windowsMicrosoftEdgeApp object. + * Read properties and relationships of the webApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index 9be2e804355..7fef851892c 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php @@ -6,8 +6,22 @@ use Http\Promise\Promise; use Http\Promise\RejectedPromise; use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Count\CountRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphAndroidLobApp\GraphAndroidLobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphAndroidStoreApp\GraphAndroidStoreAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphIosLobApp\GraphIosLobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphIosStoreApp\GraphIosStoreAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphIosVppApp\GraphIosVppAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphMacOSDmgApp\GraphMacOSDmgAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphMacOSLobApp\GraphMacOSLobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphManagedAndroidLobApp\GraphManagedAndroidLobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphManagedIOSLobApp\GraphManagedIOSLobAppRequestBuilder; use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphManagedMobileLobApp\GraphManagedMobileLobAppRequestBuilder; -use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphMobileLobApp\GraphMobileLobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphMicrosoftStoreForBusinessApp\GraphMicrosoftStoreForBusinessAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphWin32LobApp\GraphWin32LobAppRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphWindowsAppX\GraphWindowsAppXRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphWindowsMobileMSI\GraphWindowsMobileMSIRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphWindowsUniversalAppX\GraphWindowsUniversalAppXRequestBuilder; +use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\GraphWindowsWebApp\GraphWindowsWebAppRequestBuilder; use Microsoft\Graph\Generated\DeviceAppManagement\MobileApps\Item\MobileAppItemRequestBuilder; use Microsoft\Graph\Generated\Models\MobileApp; use Microsoft\Graph\Generated\Models\MobileAppCollectionResponse; @@ -29,6 +43,69 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Casts the previous resource to androidLobApp. + */ + public function graphAndroidLobApp(): GraphAndroidLobAppRequestBuilder { + return new GraphAndroidLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to androidStoreApp. + */ + public function graphAndroidStoreApp(): GraphAndroidStoreAppRequestBuilder { + return new GraphAndroidStoreAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to iosLobApp. + */ + public function graphIosLobApp(): GraphIosLobAppRequestBuilder { + return new GraphIosLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to iosStoreApp. + */ + public function graphIosStoreApp(): GraphIosStoreAppRequestBuilder { + return new GraphIosStoreAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to iosVppApp. + */ + public function graphIosVppApp(): GraphIosVppAppRequestBuilder { + return new GraphIosVppAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to macOSDmgApp. + */ + public function graphMacOSDmgApp(): GraphMacOSDmgAppRequestBuilder { + return new GraphMacOSDmgAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to macOSLobApp. + */ + public function graphMacOSLobApp(): GraphMacOSLobAppRequestBuilder { + return new GraphMacOSLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to managedAndroidLobApp. + */ + public function graphManagedAndroidLobApp(): GraphManagedAndroidLobAppRequestBuilder { + return new GraphManagedAndroidLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to managedIOSLobApp. + */ + public function graphManagedIOSLobApp(): GraphManagedIOSLobAppRequestBuilder { + return new GraphManagedIOSLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Casts the previous resource to managedMobileLobApp. */ @@ -37,10 +114,45 @@ public function graphManagedMobileLobApp(): GraphManagedMobileLobAppRequestBuild } /** - * Casts the previous resource to mobileLobApp. + * Casts the previous resource to microsoftStoreForBusinessApp. + */ + public function graphMicrosoftStoreForBusinessApp(): GraphMicrosoftStoreForBusinessAppRequestBuilder { + return new GraphMicrosoftStoreForBusinessAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to win32LobApp. + */ + public function graphWin32LobApp(): GraphWin32LobAppRequestBuilder { + return new GraphWin32LobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to windowsAppX. + */ + public function graphWindowsAppX(): GraphWindowsAppXRequestBuilder { + return new GraphWindowsAppXRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to windowsMobileMSI. + */ + public function graphWindowsMobileMSI(): GraphWindowsMobileMSIRequestBuilder { + return new GraphWindowsMobileMSIRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to windowsUniversalAppX. + */ + public function graphWindowsUniversalAppX(): GraphWindowsUniversalAppXRequestBuilder { + return new GraphWindowsUniversalAppXRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Casts the previous resource to windowsWebApp. */ - public function graphMobileLobApp(): GraphMobileLobAppRequestBuilder { - return new GraphMobileLobAppRequestBuilder($this->pathParameters, $this->requestAdapter); + public function graphWindowsWebApp(): GraphWindowsWebAppRequestBuilder { + return new GraphWindowsWebAppRequestBuilder($this->pathParameters, $this->requestAdapter); } /** @@ -69,10 +181,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosVppApp objects. + * List properties and relationships of the win32LobApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-apps-iosvppapp-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -88,11 +200,11 @@ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new microsoftStoreForBusinessApp object. + * Create a new managedIOSStoreApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-create?view=graph-rest-1.0 Find more info here */ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -108,7 +220,7 @@ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfig } /** - * List properties and relationships of the iosVppApp objects. + * List properties and relationships of the win32LobApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +241,7 @@ public function toGetRequestInformation(?MobileAppsRequestBuilderGetRequestConfi } /** - * Create a new microsoftStoreForBusinessApp object. + * Create a new managedIOSStoreApp 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 358240504c6..ee26d51f179 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 iosVppApp objects. + * List properties and relationships of the win32LobApp objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index 60a715781ec..f4ad38e6df4 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the windows10MobileCompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -72,11 +72,11 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new windowsPhone81CompliancePolicy object. + * Create a new macOSCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -92,7 +92,7 @@ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequ } /** - * List properties and relationships of the windows10MobileCompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceCompliancePoliciesRequestBuilderG } /** - * Create a new windowsPhone81CompliancePolicy object. + * Create a new macOSCompliancePolicy 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 5104eadb614..70697b67873 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 androidWorkProfileCompliancePolicy objects. */ class DeviceCompliancePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index f15eb28e56b..640dd23f892 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php @@ -123,10 +123,10 @@ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the iosCompliancePolicy object. + * Read properties and relationships of the windows81CompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -142,11 +142,11 @@ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a androidCompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @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-windows81compliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -179,7 +179,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyItemRequestBui } /** - * Read properties and relationships of the iosCompliancePolicy object. + * Read properties and relationships of the windows81CompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -200,7 +200,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyItemRequestBuilde } /** - * Update the properties of a androidCompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php index e9ffddf600f..72772bb5d47 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the iosCompliancePolicy object. + * Read properties and relationships of the windows81CompliancePolicy object. */ class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index 1c4cefe440c..8db81b12887 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the windows81GeneralConfiguration objects. + * List properties and relationships of the windows10EndpointProtectionConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10endpointprotectionconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -72,11 +72,11 @@ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $ } /** - * Create a new androidWorkProfileGeneralDeviceConfiguration object. + * Create a new macOSCustomConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscustomconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -92,7 +92,7 @@ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuil } /** - * List properties and relationships of the windows81GeneralConfiguration objects. + * List properties and relationships of the windows10EndpointProtectionConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceConfigurationsRequestBuilderGetRe } /** - * Create a new androidWorkProfileGeneralDeviceConfiguration object. + * Create a new macOSCustomConfiguration 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 656b29dc5c1..a64c97ce03d 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 windows81GeneralConfiguration objects. + * List properties and relationships of the windows10EndpointProtectionConfiguration objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index df8558fe499..28db11129b5 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php @@ -89,10 +89,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a windows10TeamGeneralConfiguration. + * Deletes a windows10EnterpriseModernAppManagementConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10teamgeneralconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -108,10 +108,10 @@ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfig } /** - * Read properties and relationships of the windows10EndpointProtectionConfiguration object. + * Read properties and relationships of the androidWorkProfileCustomConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10endpointprotectionconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecustomconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -136,11 +136,11 @@ public function getOmaSettingPlainTextValueWithSecretReferenceValueId(string $se } /** - * Update the properties of a windows10EnterpriseModernAppManagementConfiguration object. + * Update the properties of a windows81GeneralConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -156,7 +156,7 @@ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequest } /** - * Deletes a windows10TeamGeneralConfiguration. + * Deletes a windows10EnterpriseModernAppManagementConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -173,7 +173,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationItemRequestBuilde } /** - * Read properties and relationships of the windows10EndpointProtectionConfiguration object. + * Read properties and relationships of the androidWorkProfileCustomConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -194,7 +194,7 @@ public function toGetRequestInformation(?DeviceConfigurationItemRequestBuilderGe } /** - * Update the properties of a windows10EnterpriseModernAppManagementConfiguration object. + * Update the properties of a windows81GeneralConfiguration 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 3e1c1234f62..a5fa135fe5f 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 windows10EndpointProtectionConfiguration object. + * Read properties and relationships of the androidWorkProfileCustomConfiguration object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index 9852b32bd68..e4ab62836fa 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -72,11 +72,11 @@ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfi } /** - * Create a new 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 - * @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); @@ -92,7 +92,7 @@ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfi } /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationsRequestBu } /** - * Create a new 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 648974d1478..0e1a5b8ac93 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. */ class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php index ca28956c255..e9c998960e1 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -56,10 +56,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -75,10 +75,10 @@ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -94,11 +94,11 @@ 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 - * @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); @@ -114,7 +114,7 @@ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConf } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -131,7 +131,7 @@ public function toDeleteRequestInformation(?DeviceEnrollmentConfigurationItemReq } /** - * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,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 6c181a7a96b..382c8125da1 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. */ class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php index 9493fdebe47..b81ef666db2 100644 --- a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php @@ -501,7 +501,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Read properties and relationships of the deviceManagement object. * @param DeviceManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-reporting-devicemanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -530,7 +530,7 @@ public function getEffectivePermissionsWithScope(string $scope): GetEffectivePer * @param DeviceManagement $body The request body * @param DeviceManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-notification-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-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 b377bc93783..9c00a7a90b8 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php @@ -40,10 +40,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 Find more info here */ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -59,10 +59,10 @@ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfigurati } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -78,11 +78,11 @@ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 Find more info here */ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -98,7 +98,7 @@ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPat } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -115,7 +115,7 @@ public function toDeleteRequestInformation(?RoleDefinitionItemRequestBuilderDele } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?RoleDefinitionItemRequestBuilderGetRequ } /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php index 6ab7af424b5..66802fd4f88 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. */ class RoleDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php index d37905744d2..cf7011e217d 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -72,11 +72,11 @@ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new deviceAndAppManagementRoleDefinition object. + * Create a new roleDefinition 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 - * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0 Find more info here */ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -113,7 +113,7 @@ public function toGetRequestInformation(?RoleDefinitionsRequestBuilderGetRequest } /** - * Create a new deviceAndAppManagementRoleDefinition object. + * Create a new roleDefinition 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/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php index b1703bb547a..7dd11ab02ed 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php @@ -72,7 +72,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Retrieve a list of nameditem objects. * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/workbook-list-names?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/nameditem-list?view=graph-rest-1.0 Find more info here */ public function get(?NamesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php index 6792c8ec782..e3c547bf227 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Retrieve a list of tablerow objects. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 Find more info here */ public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php index e70bfdf8b4d..775400e4def 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds a new worksheet to the workbook. The worksheet will be added at the end of existing worksheets. If you wish to activate the newly added worksheet, call .activate() on it. + * Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call.activate() on it. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -52,7 +52,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Adds a new worksheet to the workbook. The worksheet will be added at the end of existing worksheets. If you wish to activate the newly added worksheet, call .activate() on it. + * Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call.activate() on it. * @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/Charts/Item/Series/Item/Points/PointsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php index 32c15af7cbe..68ae67e1483 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php @@ -54,10 +54,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of chartpoints objects. + * Retrieve a list of chartpoint objects. * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chartpoint-list?view=graph-rest-1.0 Find more info here */ public function get(?PointsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -102,7 +102,7 @@ public function post(WorkbookChartPoint $body, ?PointsRequestBuilderPostRequestC } /** - * Retrieve a list of chartpoints objects. + * Retrieve a list of chartpoint objects. * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php index 8b8410d6e7e..5241a3d84b0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of chartpoints objects. + * Retrieve a list of chartpoint objects. */ class PointsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php index 4b8b309a147..975dbff923b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Retrieve a list of tablerow objects. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 Find more info here */ public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php index 83c890f06d1..53ee7a11d3e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php @@ -64,7 +64,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Retrieve a list of worksheet objects. * @param WorksheetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/workbook-list-worksheets?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/worksheet-list?view=graph-rest-1.0 Find more info here */ public function get(?WorksheetsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilder.php index d6065564872..5ba261f0e52 100644 --- a/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilder.php @@ -64,7 +64,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a printer share (unshare the associated printer). This action cannot be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer will need to discover and reinstall it. + * Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. * @param PrinterShareItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/printershare-delete?view=graph-rest-1.0 Find more info here @@ -122,7 +122,7 @@ public function patch(PrinterShare $body, ?PrinterShareItemRequestBuilderPatchRe } /** - * Delete a printer share (unshare the associated printer). This action cannot be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer will need to discover and reinstall it. + * Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. * @param PrinterShareItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php index bdada960182..1c3413e6570 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php @@ -52,7 +52,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group . Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } /** - * Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group . Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + * Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|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 731283f2bba..84f63e44cb4 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php @@ -43,7 +43,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Delete conversation. * @param ConversationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php index 76828eb6adf..56fa76bc9f4 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -51,7 +51,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php index 823c6c9e47a..42930038ca4 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -51,7 +51,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php index 49112253db1..8958f0e5ab1 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -52,10 +52,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 Find more info here */ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -71,7 +71,7 @@ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php index c4eb742c284..29feeb1465f 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. */ class PostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php index 1a35d4d058b..ed59c4ca83e 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationthread-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -51,7 +51,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php index e9044cc23f2..c2074f79648 100644 --- a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php @@ -52,7 +52,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Specify the user or group in @odata.id in the request body. Users in the rejected senders list cannot post to conversations of the group (identified in the POST request URL). Make sure you do not specify the same user or group in the rejected senders and accepted senders lists, otherwise you will get an error. + * Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } /** - * Specify the user or group in @odata.id in the request body. Users in the rejected senders list cannot post to conversations of the group (identified in the POST request URL). Make sure you do not specify the same user or group in the rejected senders and accepted senders lists, otherwise you will get an error. + * Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 910ae434d12..c94ce643d38 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -32,10 +32,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -90,7 +90,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index f15382e98dc..7ad8f48971b 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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 - * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.php index 51aef56d5a4..756618449ed 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.php @@ -80,11 +80,11 @@ 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 - * @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); @@ -121,7 +121,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/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php b/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php index 6d33a4745ad..2c93b8501f4 100644 --- a/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -51,7 +51,7 @@ public function post(ClonePostRequestBody $body, ?CloneRequestBuilderPostRequest } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php index 17d5e310c1c..9b8f8d2beeb 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php @@ -32,10 +32,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -90,7 +90,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php index 4273a6fc4ff..7f3b7f42aa2 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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 - * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.php index 46fb6f1bbb9..78ce752ee29 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.php @@ -80,11 +80,11 @@ 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 - * @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); @@ -121,7 +121,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/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.php b/src/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.php index 91e0dd96dd3..e1d0d358301 100644 --- a/src/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestCo } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|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/ConversationThreadItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php index 354b1553918..b38dec56bdf 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Delete conversationThread. * @param ConversationThreadItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationThreadItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -67,10 +67,10 @@ public function delete(?ConversationThreadItemRequestBuilderDeleteRequestConfigu } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 Find more info here */ public function get(?ConversationThreadItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -123,7 +123,7 @@ public function toDeleteRequestInformation(?ConversationThreadItemRequestBuilder } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php index 73df95ff242..acb3425410f 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. */ class ConversationThreadItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php index b5c0692747e..b93d2cbd5e5 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -51,7 +51,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php index a8e4fe3d0ec..c43936aabce 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -51,7 +51,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php index 63499afadde..0d4a91ae889 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -52,10 +52,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 Find more info here */ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -71,7 +71,7 @@ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php index 9259e8b6123..91ed3aa47ec 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. */ class PostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php index 36e131b7622..fce40ae99d3 100644 --- a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationthread-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -51,7 +51,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php index e47ae4995de..5edfb0f2b36 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php @@ -32,10 +32,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a namedLocation object. + * Delete a countryNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of an ipNamedLocation object. + * Update the properties of a countryNamedLocation 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 - * @link https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0 Find more info here */ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -90,7 +90,7 @@ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatch } /** - * Delete a namedLocation object. + * Delete a countryNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?NamedLocationItemRequestBuilderGetReque } /** - * Update the properties of an ipNamedLocation object. + * Update the properties of a countryNamedLocation 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/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.php index bd78af37eda..1f89998ec0b 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.php @@ -58,7 +58,7 @@ public function delete(?AccessReviewHistoryInstanceItemRequestBuilderDeleteReque } /** - * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. + * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. * @param AccessReviewHistoryInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise */ @@ -112,7 +112,7 @@ public function toDeleteRequestInformation(?AccessReviewHistoryInstanceItemReque } /** - * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. + * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. * @param AccessReviewHistoryInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilderGetQueryParameters.php index 0cf75284bb9..f4fec52ba5b 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. + * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. */ class AccessReviewHistoryInstanceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php index c5fce9d1416..159ed1ed95e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php @@ -40,7 +40,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. * @param LastModifiedByRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise */ @@ -58,7 +58,7 @@ public function get(?LastModifiedByRequestBuilderGetRequestConfiguration $reques } /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. * @param LastModifiedByRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php index 343774dd5d6..2542fcb41cf 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. */ class LastModifiedByRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php index c283ede4f58..5012c8860c8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php @@ -40,7 +40,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. * @param LastModifiedByRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise */ @@ -58,7 +58,7 @@ public function get(?LastModifiedByRequestBuilderGetRequestConfiguration $reques } /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. * @param LastModifiedByRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php index 4685396451a..b58d6ca1c59 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. */ class LastModifiedByRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php index 91245ede702..ee226cb359a 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php @@ -40,7 +40,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. * @param LastModifiedByRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise */ @@ -58,7 +58,7 @@ public function get(?LastModifiedByRequestBuilderGetRequestConfiguration $reques } /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. * @param LastModifiedByRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php index dc90a5ffdee..6d8d9455fa5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. */ class LastModifiedByRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php index c3ae4c53dd1..cbcfea4952c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php @@ -40,7 +40,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. * @param LastModifiedByRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise */ @@ -58,7 +58,7 @@ public function get(?LastModifiedByRequestBuilderGetRequestConfiguration $reques } /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. * @param LastModifiedByRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php index 42a47d778e6..fc6076f4097 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The unique identifier of the AAD identity that last modified the workflow. + * The unique identifier of the Azure Active Directory identity that last modified the workflow. */ class LastModifiedByRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php index 53d8711440d..5f3abf0e594 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php @@ -75,10 +75,10 @@ public function delete(?AgreementItemRequestBuilderDeleteRequestConfiguration $r } /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 Find more info here */ public function get(?AgreementItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -131,7 +131,7 @@ public function toDeleteRequestInformation(?AgreementItemRequestBuilderDeleteReq } /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php index c02c9925684..3ba58bfc831 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. */ class AgreementItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php index 4d812793ada..1b3b32da92c 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php @@ -53,10 +53,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a riskyUserHistoryItem object. + * Get the riskyUserHistoryItems from the history navigation property. * @param HistoryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/riskyuser-get-riskyuserhistoryitem?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/riskyuser-list-history?view=graph-rest-1.0 Find more info here */ public function get(?HistoryRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -91,7 +91,7 @@ public function post(RiskyUserHistoryItem $body, ?HistoryRequestBuilderPostReque } /** - * Read the properties and relationships of a riskyUserHistoryItem object. + * Get the riskyUserHistoryItems from the history navigation property. * @param HistoryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php index 0d4165af3bc..f2cc9e19d99 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a riskyUserHistoryItem object. + * Get the riskyUserHistoryItems from the history navigation property. */ class HistoryRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/AccessPackageSubject.php b/src/Generated/Models/AccessPackageSubject.php index 6cc58b5d296..686eefb5fc4 100644 --- a/src/Generated/Models/AccessPackageSubject.php +++ b/src/Generated/Models/AccessPackageSubject.php @@ -78,7 +78,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the objectId property value. The object identifier of the subject. null if the subject is not yet a user in the tenant. + * Gets the objectId property value. The object identifier of the subject. null if the subject isn't yet a user in the tenant. * @return string|null */ public function getObjectId(): ?string { @@ -90,7 +90,7 @@ public function getObjectId(): ?string { } /** - * Gets the onPremisesSecurityIdentifier property value. A string representation of the principal's security identifier, if known, or null if the subject does not have a security identifier. + * Gets the onPremisesSecurityIdentifier property value. A string representation of the principal's security identifier, if known, or null if the subject doesn't have a security identifier. * @return string|null */ public function getOnPremisesSecurityIdentifier(): ?string { @@ -165,7 +165,7 @@ public function setEmail(?string $value): void { } /** - * Sets the objectId property value. The object identifier of the subject. null if the subject is not yet a user in the tenant. + * Sets the objectId property value. The object identifier of the subject. null if the subject isn't yet a user in the tenant. * @param string|null $value Value to set for the objectId property. */ public function setObjectId(?string $value): void { @@ -173,7 +173,7 @@ public function setObjectId(?string $value): void { } /** - * Sets the onPremisesSecurityIdentifier property value. A string representation of the principal's security identifier, if known, or null if the subject does not have a security identifier. + * Sets the onPremisesSecurityIdentifier property value. A string representation of the principal's security identifier, if known, or null if the subject doesn't have a security identifier. * @param string|null $value Value to set for the onPremisesSecurityIdentifier property. */ public function setOnPremisesSecurityIdentifier(?string $value): void { diff --git a/src/Generated/Models/AccessReviewHistoryDefinition.php b/src/Generated/Models/AccessReviewHistoryDefinition.php index 9ae53873a2b..a01a4d01b02 100644 --- a/src/Generated/Models/AccessReviewHistoryDefinition.php +++ b/src/Generated/Models/AccessReviewHistoryDefinition.php @@ -51,7 +51,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions will be included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. + * Gets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions are included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. * @return array|null */ public function getDecisions(): ?array { @@ -97,7 +97,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the instances property value. If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. + * Gets the instances property value. If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. * @return array|null */ public function getInstances(): ?array { @@ -111,7 +111,7 @@ public function getInstances(): ?array { } /** - * Gets the reviewHistoryPeriodEndDateTime property value. A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * Gets the reviewHistoryPeriodEndDateTime property value. A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined. * @return DateTime|null */ public function getReviewHistoryPeriodEndDateTime(): ?DateTime { @@ -123,7 +123,7 @@ public function getReviewHistoryPeriodEndDateTime(): ?DateTime { } /** - * Gets the reviewHistoryPeriodStartDateTime property value. A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * Gets the reviewHistoryPeriodStartDateTime property value. A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined. * @return DateTime|null */ public function getReviewHistoryPeriodStartDateTime(): ?DateTime { @@ -135,7 +135,7 @@ public function getReviewHistoryPeriodStartDateTime(): ?DateTime { } /** - * Gets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet. + * Gets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime aren't defined. Not supported yet. * @return AccessReviewHistoryScheduleSettings|null */ public function getScheduleSettings(): ?AccessReviewHistoryScheduleSettings { @@ -207,7 +207,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions will be included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. + * Sets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions are included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. * @param array|null $value Value to set for the decisions property. */ public function setDecisions(?array $value): void { @@ -223,7 +223,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the instances property value. If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. + * Sets the instances property value. If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. * @param array|null $value Value to set for the instances property. */ public function setInstances(?array $value): void { @@ -231,7 +231,7 @@ public function setInstances(?array $value): void { } /** - * Sets the reviewHistoryPeriodEndDateTime property value. A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * Sets the reviewHistoryPeriodEndDateTime property value. A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined. * @param DateTime|null $value Value to set for the reviewHistoryPeriodEndDateTime property. */ public function setReviewHistoryPeriodEndDateTime(?DateTime $value): void { @@ -239,7 +239,7 @@ public function setReviewHistoryPeriodEndDateTime(?DateTime $value): void { } /** - * Sets the reviewHistoryPeriodStartDateTime property value. A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * Sets the reviewHistoryPeriodStartDateTime property value. A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined. * @param DateTime|null $value Value to set for the reviewHistoryPeriodStartDateTime property. */ public function setReviewHistoryPeriodStartDateTime(?DateTime $value): void { @@ -247,7 +247,7 @@ public function setReviewHistoryPeriodStartDateTime(?DateTime $value): void { } /** - * Sets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet. + * Sets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime aren't defined. Not supported yet. * @param AccessReviewHistoryScheduleSettings|null $value Value to set for the scheduleSettings property. */ public function setScheduleSettings(?AccessReviewHistoryScheduleSettings $value): void { diff --git a/src/Generated/Models/AccessReviewHistoryInstance.php b/src/Generated/Models/AccessReviewHistoryInstance.php index f5ee1008493..103fdd4339c 100644 --- a/src/Generated/Models/AccessReviewHistoryInstance.php +++ b/src/Generated/Models/AccessReviewHistoryInstance.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Acces } /** - * Gets the downloadUri property value. Uri which can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. + * Gets the downloadUri property value. Uri that can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. * @return string|null */ public function getDownloadUri(): ?string { @@ -67,7 +67,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the fulfilledDateTime property value. Timestamp when all of the available data for this instance was collected. This will be set after this instance's status is set to done. Required. + * Gets the fulfilledDateTime property value. Timestamp when all of the available data for this instance was collected and is set after this instance's status is set to done. Required. * @return DateTime|null */ public function getFulfilledDateTime(): ?DateTime { @@ -79,7 +79,7 @@ public function getFulfilledDateTime(): ?DateTime { } /** - * Gets the reviewHistoryPeriodEndDateTime property value. Timestamp, reviews ending on or before this date will be included in the fetched history data. + * Gets the reviewHistoryPeriodEndDateTime property value. Timestamp reviews ending on or before this date will be included in the fetched history data. * @return DateTime|null */ public function getReviewHistoryPeriodEndDateTime(): ?DateTime { @@ -91,7 +91,7 @@ public function getReviewHistoryPeriodEndDateTime(): ?DateTime { } /** - * Gets the reviewHistoryPeriodStartDateTime property value. Timestamp, reviews starting on or after this date will be included in the fetched history data. + * Gets the reviewHistoryPeriodStartDateTime property value. Timestamp reviews starting on or after this date will be included in the fetched history data. * @return DateTime|null */ public function getReviewHistoryPeriodStartDateTime(): ?DateTime { @@ -142,7 +142,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the downloadUri property value. Uri which can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. + * Sets the downloadUri property value. Uri that can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. * @param string|null $value Value to set for the downloadUri property. */ public function setDownloadUri(?string $value): void { @@ -158,7 +158,7 @@ public function setExpirationDateTime(?DateTime $value): void { } /** - * Sets the fulfilledDateTime property value. Timestamp when all of the available data for this instance was collected. This will be set after this instance's status is set to done. Required. + * Sets the fulfilledDateTime property value. Timestamp when all of the available data for this instance was collected and is set after this instance's status is set to done. Required. * @param DateTime|null $value Value to set for the fulfilledDateTime property. */ public function setFulfilledDateTime(?DateTime $value): void { @@ -166,7 +166,7 @@ public function setFulfilledDateTime(?DateTime $value): void { } /** - * Sets the reviewHistoryPeriodEndDateTime property value. Timestamp, reviews ending on or before this date will be included in the fetched history data. + * Sets the reviewHistoryPeriodEndDateTime property value. Timestamp reviews ending on or before this date will be included in the fetched history data. * @param DateTime|null $value Value to set for the reviewHistoryPeriodEndDateTime property. */ public function setReviewHistoryPeriodEndDateTime(?DateTime $value): void { @@ -174,7 +174,7 @@ public function setReviewHistoryPeriodEndDateTime(?DateTime $value): void { } /** - * Sets the reviewHistoryPeriodStartDateTime property value. Timestamp, reviews starting on or after this date will be included in the fetched history data. + * Sets the reviewHistoryPeriodStartDateTime property value. Timestamp reviews starting on or after this date will be included in the fetched history data. * @param DateTime|null $value Value to set for the reviewHistoryPeriodStartDateTime property. */ public function setReviewHistoryPeriodStartDateTime(?DateTime $value): void { diff --git a/src/Generated/Models/AccessReviewStageSettings.php b/src/Generated/Models/AccessReviewStageSettings.php index 9ea48fba850..a4d4a8f6d6a 100644 --- a/src/Generated/Models/AccessReviewStageSettings.php +++ b/src/Generated/Models/AccessReviewStageSettings.php @@ -57,7 +57,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the decisionsThatWillMoveToNextStage property value. Indicate which decisions will go to the next stage. Can be a sub-set of Approve, Deny, Recommendation, or NotReviewed. If not provided, all decisions will go to the next stage. Optional. + * Gets the decisionsThatWillMoveToNextStage property value. Indicate which decisions will go to the next stage. Can be a subset of Approve, Deny, Recommendation, or NotReviewed. If not provided, all decisions will go to the next stage. Optional. * @return array|null */ public function getDecisionsThatWillMoveToNextStage(): ?array { @@ -71,7 +71,7 @@ public function getDecisionsThatWillMoveToNextStage(): ?array { } /** - * Gets the dependsOn property value. Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, do not specify dependsOn. Required if stageId is not 1. + * Gets the dependsOn property value. Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, don't specify dependsOn. Required if stageId isn't 1. * @return array|null */ public function getDependsOn(): ?array { @@ -85,7 +85,7 @@ public function getDependsOn(): ?array { } /** - * Gets the durationInDays property value. The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Cannot exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays cannot exceed 7. + * Gets the durationInDays property value. The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Can't exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays can't exceed 7. * @return int|null */ public function getDurationInDays(): ?int { @@ -97,7 +97,7 @@ public function getDurationInDays(): ?int { } /** - * Gets the fallbackReviewers property value. If provided, the fallback reviewers are asked to complete a review if the primary reviewers do not exist. For example, if managers are selected as reviewers and a principal under review does not have a manager in Azure AD, the fallback reviewers are asked to review that principal. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition object. + * Gets the fallbackReviewers property value. If provided, the fallback reviewers are asked to complete a review if the primary reviewers don't exist. For example, if managers are selected as reviewers and a principal under review doesn't have a manager in Azure AD, the fallback reviewers are asked to review that principal. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object. * @return array|null */ public function getFallbackReviewers(): ?array { @@ -170,7 +170,7 @@ public function getRecommendationInsightSettings(): ?array { } /** - * Gets the recommendationsEnabled property value. Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property will override override the corresponding setting on the accessReviewScheduleDefinition object. + * Gets the recommendationsEnabled property value. Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property overrides override the corresponding setting on the accessReviewScheduleDefinition object. * @return bool|null */ public function getRecommendationsEnabled(): ?bool { @@ -182,7 +182,7 @@ public function getRecommendationsEnabled(): ?bool { } /** - * Gets the reviewers property value. Defines who the reviewers are. If none are specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition. + * Gets the reviewers property value. Defines who the reviewers are. If none is specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition. * @return array|null */ public function getReviewers(): ?array { @@ -196,7 +196,7 @@ public function getReviewers(): ?array { } /** - * Gets the stageId property value. Unique identifier of the accessReviewStageSettings object. The stageId will be used by the dependsOn property to indicate the order of the stages. Required. + * Gets the stageId property value. Unique identifier of the accessReviewStageSettings object. The stageId is used by the dependsOn property to indicate the order of the stages. Required. * @return string|null */ public function getStageId(): ?string { @@ -241,7 +241,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the decisionsThatWillMoveToNextStage property value. Indicate which decisions will go to the next stage. Can be a sub-set of Approve, Deny, Recommendation, or NotReviewed. If not provided, all decisions will go to the next stage. Optional. + * Sets the decisionsThatWillMoveToNextStage property value. Indicate which decisions will go to the next stage. Can be a subset of Approve, Deny, Recommendation, or NotReviewed. If not provided, all decisions will go to the next stage. Optional. * @param array|null $value Value to set for the decisionsThatWillMoveToNextStage property. */ public function setDecisionsThatWillMoveToNextStage(?array $value): void { @@ -249,7 +249,7 @@ public function setDecisionsThatWillMoveToNextStage(?array $value): void { } /** - * Sets the dependsOn property value. Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, do not specify dependsOn. Required if stageId is not 1. + * Sets the dependsOn property value. Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, don't specify dependsOn. Required if stageId isn't 1. * @param array|null $value Value to set for the dependsOn property. */ public function setDependsOn(?array $value): void { @@ -257,7 +257,7 @@ public function setDependsOn(?array $value): void { } /** - * Sets the durationInDays property value. The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Cannot exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays cannot exceed 7. + * Sets the durationInDays property value. The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Can't exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays can't exceed 7. * @param int|null $value Value to set for the durationInDays property. */ public function setDurationInDays(?int $value): void { @@ -265,7 +265,7 @@ public function setDurationInDays(?int $value): void { } /** - * Sets the fallbackReviewers property value. If provided, the fallback reviewers are asked to complete a review if the primary reviewers do not exist. For example, if managers are selected as reviewers and a principal under review does not have a manager in Azure AD, the fallback reviewers are asked to review that principal. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition object. + * Sets the fallbackReviewers property value. If provided, the fallback reviewers are asked to complete a review if the primary reviewers don't exist. For example, if managers are selected as reviewers and a principal under review doesn't have a manager in Azure AD, the fallback reviewers are asked to review that principal. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object. * @param array|null $value Value to set for the fallbackReviewers property. */ public function setFallbackReviewers(?array $value): void { @@ -289,7 +289,7 @@ public function setRecommendationInsightSettings(?array $value): void { } /** - * Sets the recommendationsEnabled property value. Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property will override override the corresponding setting on the accessReviewScheduleDefinition object. + * Sets the recommendationsEnabled property value. Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property overrides override the corresponding setting on the accessReviewScheduleDefinition object. * @param bool|null $value Value to set for the recommendationsEnabled property. */ public function setRecommendationsEnabled(?bool $value): void { @@ -297,7 +297,7 @@ public function setRecommendationsEnabled(?bool $value): void { } /** - * Sets the reviewers property value. Defines who the reviewers are. If none are specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition. + * Sets the reviewers property value. Defines who the reviewers are. If none is specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition. * @param array|null $value Value to set for the reviewers property. */ public function setReviewers(?array $value): void { @@ -305,7 +305,7 @@ public function setReviewers(?array $value): void { } /** - * Sets the stageId property value. Unique identifier of the accessReviewStageSettings object. The stageId will be used by the dependsOn property to indicate the order of the stages. Required. + * Sets the stageId property value. Unique identifier of the accessReviewStageSettings object. The stageId is used by the dependsOn property to indicate the order of the stages. Required. * @param string|null $value Value to set for the stageId property. */ public function setStageId(?string $value): void { diff --git a/src/Generated/Models/AndroidLobAppCollectionResponse.php b/src/Generated/Models/AndroidLobAppCollectionResponse.php new file mode 100644 index 00000000000..7f16b861df6 --- /dev/null +++ b/src/Generated/Models/AndroidLobAppCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([AndroidLobApp::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, AndroidLobApp::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/AndroidStoreAppCollectionResponse.php b/src/Generated/Models/AndroidStoreAppCollectionResponse.php new file mode 100644 index 00000000000..ffc27345845 --- /dev/null +++ b/src/Generated/Models/AndroidStoreAppCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([AndroidStoreApp::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, AndroidStoreApp::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/AppScope.php b/src/Generated/Models/AppScope.php index ee8a0a17b01..c24bace0204 100644 --- a/src/Generated/Models/AppScope.php +++ b/src/Generated/Models/AppScope.php @@ -49,7 +49,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the type property value. Describes the type of app-specific resource represented by the app scope. Provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. Read-only. + * Gets the type property value. Describes the type of app-specific resource represented by the app scope and is provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. Read-only. * @return string|null */ public function getType(): ?string { @@ -79,7 +79,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the type property value. Describes the type of app-specific resource represented by the app scope. Provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. Read-only. + * Sets the type property value. Describes the type of app-specific resource represented by the app scope and is provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. Read-only. * @param string|null $value Value to set for the type property. */ public function setType(?string $value): void { diff --git a/src/Generated/Models/AppliedConditionalAccessPolicy.php b/src/Generated/Models/AppliedConditionalAccessPolicy.php index 8c60e04e938..cd68d3392ec 100644 --- a/src/Generated/Models/AppliedConditionalAccessPolicy.php +++ b/src/Generated/Models/AppliedConditionalAccessPolicy.php @@ -151,7 +151,7 @@ public function getOdataType(): ?string { } /** - * Gets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue. + * Gets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions weren't met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue. * @return AppliedConditionalAccessPolicyResult|null */ public function getResult(): ?AppliedConditionalAccessPolicyResult { @@ -233,7 +233,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue. + * Sets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions weren't met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue. * @param AppliedConditionalAccessPolicyResult|null $value Value to set for the result property. */ public function setResult(?AppliedConditionalAccessPolicyResult $value): void { diff --git a/src/Generated/Models/Attendee.php b/src/Generated/Models/Attendee.php index 46de074edfa..31ca3a57f6a 100644 --- a/src/Generated/Models/Attendee.php +++ b/src/Generated/Models/Attendee.php @@ -38,7 +38,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the proposedNewTime property value. An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property is not included in a response of a GET event. + * Gets the proposedNewTime property value. An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property isn't included in a response of a GET event. * @return TimeSlot|null */ public function getProposedNewTime(): ?TimeSlot { @@ -72,7 +72,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the proposedNewTime property value. An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property is not included in a response of a GET event. + * Sets the proposedNewTime property value. An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property isn't included in a response of a GET event. * @param TimeSlot|null $value Value to set for the proposedNewTime property. */ public function setProposedNewTime(?TimeSlot $value): void { diff --git a/src/Generated/Models/AttributeMappingSource.php b/src/Generated/Models/AttributeMappingSource.php index a2b77ae4b0c..35cf16bdae6 100644 --- a/src/Generated/Models/AttributeMappingSource.php +++ b/src/Generated/Models/AttributeMappingSource.php @@ -108,7 +108,7 @@ public function getOdataType(): ?string { } /** - * Gets the parameters property value. If this object represents a function, lists function parameters. Parameters consist of attributeMappingSource objects themselves, allowing for complex expressions. If type is not Function, this property will be null/empty array. + * Gets the parameters property value. If this object represents a function, lists function parameters. Parameters consist of attributeMappingSource objects themselves, allowing for complex expressions. If type isn't Function, this property is null/empty array. * @return array|null */ public function getParameters(): ?array { @@ -187,7 +187,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the parameters property value. If this object represents a function, lists function parameters. Parameters consist of attributeMappingSource objects themselves, allowing for complex expressions. If type is not Function, this property will be null/empty array. + * Sets the parameters property value. If this object represents a function, lists function parameters. Parameters consist of attributeMappingSource objects themselves, allowing for complex expressions. If type isn't Function, this property is null/empty array. * @param array|null $value Value to set for the parameters property. */ public function setParameters(?array $value): void { diff --git a/src/Generated/Models/AuthorizationPolicy.php b/src/Generated/Models/AuthorizationPolicy.php index 32e750d021e..baa03b13e55 100644 --- a/src/Generated/Models/AuthorizationPolicy.php +++ b/src/Generated/Models/AuthorizationPolicy.php @@ -62,7 +62,7 @@ public function getAllowEmailVerifiedUsersToJoinOrganization(): ?bool { } /** - * Gets the allowInvitesFrom property value. Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more details, see allowInvitesFrom values. + * Gets the allowInvitesFrom property value. Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more information, see allowInvitesFrom values. * @return AllowInvitesFrom|null */ public function getAllowInvitesFrom(): ?AllowInvitesFrom { @@ -74,7 +74,7 @@ public function getAllowInvitesFrom(): ?AllowInvitesFrom { } /** - * Gets the allowUserConsentForRiskyApps property value. Indicates whether user consent for risky apps is allowed. We recommend to keep this as false. Default value is false. + * Gets the allowUserConsentForRiskyApps property value. Indicates whether user consent for risky apps is allowed. We recommend keeping allowUserConsentForRiskyApps as false. Default value is false. * @return bool|null */ public function getAllowUserConsentForRiskyApps(): ?bool { @@ -86,7 +86,7 @@ public function getAllowUserConsentForRiskyApps(): ?bool { } /** - * Gets the blockMsolPowerShell property value. To disable the use of MSOL PowerShell, set this property to true. This also disables user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure Active Directory Connect or Microsoft Graph. + * Gets the blockMsolPowerShell property value. To disable the use of MSOL PowerShell, set this property to true. This also disables user-based access to the legacy service endpoint used by MSOL PowerShell. This doesn't affect Azure Active Directory Connect or Microsoft Graph. * @return bool|null */ public function getBlockMsolPowerShell(): ?bool { @@ -180,7 +180,7 @@ public function setAllowEmailVerifiedUsersToJoinOrganization(?bool $value): void } /** - * Sets the allowInvitesFrom property value. Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more details, see allowInvitesFrom values. + * Sets the allowInvitesFrom property value. Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more information, see allowInvitesFrom values. * @param AllowInvitesFrom|null $value Value to set for the allowInvitesFrom property. */ public function setAllowInvitesFrom(?AllowInvitesFrom $value): void { @@ -188,7 +188,7 @@ public function setAllowInvitesFrom(?AllowInvitesFrom $value): void { } /** - * Sets the allowUserConsentForRiskyApps property value. Indicates whether user consent for risky apps is allowed. We recommend to keep this as false. Default value is false. + * Sets the allowUserConsentForRiskyApps property value. Indicates whether user consent for risky apps is allowed. We recommend keeping allowUserConsentForRiskyApps as false. Default value is false. * @param bool|null $value Value to set for the allowUserConsentForRiskyApps property. */ public function setAllowUserConsentForRiskyApps(?bool $value): void { @@ -196,7 +196,7 @@ public function setAllowUserConsentForRiskyApps(?bool $value): void { } /** - * Sets the blockMsolPowerShell property value. To disable the use of MSOL PowerShell, set this property to true. This also disables user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure Active Directory Connect or Microsoft Graph. + * Sets the blockMsolPowerShell property value. To disable the use of MSOL PowerShell, set this property to true. This also disables user-based access to the legacy service endpoint used by MSOL PowerShell. This doesn't affect Azure Active Directory Connect or Microsoft Graph. * @param bool|null $value Value to set for the blockMsolPowerShell property. */ public function setBlockMsolPowerShell(?bool $value): void { diff --git a/src/Generated/Models/B2xIdentityUserFlow.php b/src/Generated/Models/B2xIdentityUserFlow.php index 13feca7b2ec..6da02241f4e 100644 --- a/src/Generated/Models/B2xIdentityUserFlow.php +++ b/src/Generated/Models/B2xIdentityUserFlow.php @@ -67,7 +67,7 @@ public function getIdentityProviders(): ?array { } /** - * Gets the languages property value. The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You cannot create custom languages in self-service sign-up user flows. + * Gets the languages property value. The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You can't create custom languages in self-service sign-up user flows. * @return array|null */ public function getLanguages(): ?array { @@ -138,7 +138,7 @@ public function setIdentityProviders(?array $value): void { } /** - * Sets the languages property value. The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You cannot create custom languages in self-service sign-up user flows. + * Sets the languages property value. The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You can't create custom languages in self-service sign-up user flows. * @param array|null $value Value to set for the languages property. */ public function setLanguages(?array $value): void { diff --git a/src/Generated/Models/BasicAuthentication.php b/src/Generated/Models/BasicAuthentication.php index e38d1df3576..3ae6e86b36e 100644 --- a/src/Generated/Models/BasicAuthentication.php +++ b/src/Generated/Models/BasicAuthentication.php @@ -38,7 +38,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the password property value. The password. It is not returned in the responses. + * Gets the password property value. The password. It isn't returned in the responses. * @return string|null */ public function getPassword(): ?string { @@ -72,7 +72,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the password property value. The password. It is not returned in the responses. + * Sets the password property value. The password. It isn't returned in the responses. * @param string|null $value Value to set for the password property. */ public function setPassword(?string $value): void { diff --git a/src/Generated/Models/BucketAggregationDefinition.php b/src/Generated/Models/BucketAggregationDefinition.php index d14380306e2..4d947116d4f 100644 --- a/src/Generated/Models/BucketAggregationDefinition.php +++ b/src/Generated/Models/BucketAggregationDefinition.php @@ -121,7 +121,7 @@ public function getPrefixFilter(): ?string { } /** - * Gets the ranges property value. Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional. + * Gets the ranges property value. Specifies the manual ranges to compute the aggregations. This is only valid for nonstring refiners of date or numeric type. Optional. * @return array|null */ public function getRanges(): ?array { @@ -209,7 +209,7 @@ public function setPrefixFilter(?string $value): void { } /** - * Sets the ranges property value. Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional. + * Sets the ranges property value. Specifies the manual ranges to compute the aggregations. This is only valid for nonstring refiners of date or numeric type. Optional. * @param array|null $value Value to set for the ranges property. */ public function setRanges(?array $value): void { diff --git a/src/Generated/Models/CalendarPermission.php b/src/Generated/Models/CalendarPermission.php index c26135debe4..182cd984a66 100644 --- a/src/Generated/Models/CalendarPermission.php +++ b/src/Generated/Models/CalendarPermission.php @@ -40,7 +40,7 @@ public function getAllowedRoles(): ?array { } /** - * Gets the emailAddress property value. Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only. + * Gets the emailAddress property value. Represents a share recipient or delegate who has access to the calendar. For the 'My Organization' share recipient, the address property is null. Read-only. * @return EmailAddress|null */ public function getEmailAddress(): ?EmailAddress { @@ -67,7 +67,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isInsideOrganization property value. True if the user in context (sharee or delegate) is inside the same organization as the calendar owner. + * Gets the isInsideOrganization property value. True if the user in context (recipient or delegate) is inside the same organization as the calendar owner. * @return bool|null */ public function getIsInsideOrganization(): ?bool { @@ -79,7 +79,7 @@ public function getIsInsideOrganization(): ?bool { } /** - * Gets the isRemovable property value. True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar. + * Gets the isRemovable property value. True if the user can be removed from the list of recipients or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You can't remove 'My organization' as a share recipient to a calendar. * @return bool|null */ public function getIsRemovable(): ?bool { @@ -91,7 +91,7 @@ public function getIsRemovable(): ?bool { } /** - * Gets the role property value. Current permission level of the calendar sharee or delegate. + * Gets the role property value. Current permission level of the calendar share recipient or delegate. * @return CalendarRoleType|null */ public function getRole(): ?CalendarRoleType { @@ -124,7 +124,7 @@ public function setAllowedRoles(?array $value): void { } /** - * Sets the emailAddress property value. Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only. + * Sets the emailAddress property value. Represents a share recipient or delegate who has access to the calendar. For the 'My Organization' share recipient, the address property is null. Read-only. * @param EmailAddress|null $value Value to set for the emailAddress property. */ public function setEmailAddress(?EmailAddress $value): void { @@ -132,7 +132,7 @@ public function setEmailAddress(?EmailAddress $value): void { } /** - * Sets the isInsideOrganization property value. True if the user in context (sharee or delegate) is inside the same organization as the calendar owner. + * Sets the isInsideOrganization property value. True if the user in context (recipient or delegate) is inside the same organization as the calendar owner. * @param bool|null $value Value to set for the isInsideOrganization property. */ public function setIsInsideOrganization(?bool $value): void { @@ -140,7 +140,7 @@ public function setIsInsideOrganization(?bool $value): void { } /** - * Sets the isRemovable property value. True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar. + * Sets the isRemovable property value. True if the user can be removed from the list of recipients or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You can't remove 'My organization' as a share recipient to a calendar. * @param bool|null $value Value to set for the isRemovable property. */ public function setIsRemovable(?bool $value): void { @@ -148,7 +148,7 @@ public function setIsRemovable(?bool $value): void { } /** - * Sets the role property value. Current permission level of the calendar sharee or delegate. + * Sets the role property value. Current permission level of the calendar share recipient or delegate. * @param CalendarRoleType|null $value Value to set for the role property. */ public function setRole(?CalendarRoleType $value): void { diff --git a/src/Generated/Models/CallRecords/DirectRoutingLogRow.php b/src/Generated/Models/CallRecords/DirectRoutingLogRow.php index a033580a9b2..8785e778724 100644 --- a/src/Generated/Models/CallRecords/DirectRoutingLogRow.php +++ b/src/Generated/Models/CallRecords/DirectRoutingLogRow.php @@ -57,7 +57,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the calleeNumber property value. Number of the user or bot who received the call. E.164 format, but may include additional data. + * Gets the calleeNumber property value. Number of the user or bot who received the call. E.164 format, but may include other data. * @return string|null */ public function getCalleeNumber(): ?string { @@ -81,7 +81,7 @@ public function getCallEndSubReason(): ?int { } /** - * Gets the callerNumber property value. Number of the user or bot who made the call. E.164 format, but may include additional data. + * Gets the callerNumber property value. Number of the user or bot who made the call. E.164 format, but may include other data. * @return string|null */ public function getCallerNumber(): ?string { @@ -185,7 +185,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the finalSipCode property value. The code with which the call ended, RFC 3261. + * Gets the finalSipCode property value. The code with which the call ended, see RFC 3261. * @return int|null */ public function getFinalSipCode(): ?int { @@ -245,7 +245,7 @@ public function getMediaBypassEnabled(): ?bool { } /** - * Gets the mediaPathLocation property value. The datacenter used for media path in non-bypass call. + * Gets the mediaPathLocation property value. The datacenter used for media path in nonbypass call. * @return string|null */ public function getMediaPathLocation(): ?string { @@ -269,7 +269,7 @@ public function getOdataType(): ?string { } /** - * Gets the signalingLocation property value. The datacenter used for signaling for both bypass and non-bypass calls. + * Gets the signalingLocation property value. The datacenter used for signaling for both bypass and nonbypass calls. * @return string|null */ public function getSignalingLocation(): ?string { @@ -399,7 +399,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the calleeNumber property value. Number of the user or bot who received the call. E.164 format, but may include additional data. + * Sets the calleeNumber property value. Number of the user or bot who received the call. E.164 format, but may include other data. * @param string|null $value Value to set for the calleeNumber property. */ public function setCalleeNumber(?string $value): void { @@ -415,7 +415,7 @@ public function setCallEndSubReason(?int $value): void { } /** - * Sets the callerNumber property value. Number of the user or bot who made the call. E.164 format, but may include additional data. + * Sets the callerNumber property value. Number of the user or bot who made the call. E.164 format, but may include other data. * @param string|null $value Value to set for the callerNumber property. */ public function setCallerNumber(?string $value): void { @@ -463,7 +463,7 @@ public function setFailureDateTime(?DateTime $value): void { } /** - * Sets the finalSipCode property value. The code with which the call ended, RFC 3261. + * Sets the finalSipCode property value. The code with which the call ended, see RFC 3261. * @param int|null $value Value to set for the finalSipCode property. */ public function setFinalSipCode(?int $value): void { @@ -503,7 +503,7 @@ public function setMediaBypassEnabled(?bool $value): void { } /** - * Sets the mediaPathLocation property value. The datacenter used for media path in non-bypass call. + * Sets the mediaPathLocation property value. The datacenter used for media path in nonbypass call. * @param string|null $value Value to set for the mediaPathLocation property. */ public function setMediaPathLocation(?string $value): void { @@ -519,7 +519,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the signalingLocation property value. The datacenter used for signaling for both bypass and non-bypass calls. + * Sets the signalingLocation property value. The datacenter used for signaling for both bypass and nonbypass calls. * @param string|null $value Value to set for the signalingLocation property. */ public function setSignalingLocation(?string $value): void { diff --git a/src/Generated/Models/ChatMessageInfo.php b/src/Generated/Models/ChatMessageInfo.php index 288353f1569..279957d0ba2 100644 --- a/src/Generated/Models/ChatMessageInfo.php +++ b/src/Generated/Models/ChatMessageInfo.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): ChatM } /** - * Gets the body property value. Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object does not return @mentions and attachments. + * Gets the body property value. Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object doesn't return @mentions and attachments. * @return ItemBody|null */ public function getBody(): ?ItemBody { @@ -50,7 +50,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the eventDetail property value. Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage. + * Gets the eventDetail property value. Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property is set to systemEventMessage. * @return EventMessageDetail|null */ public function getEventDetail(): ?EventMessageDetail { @@ -128,7 +128,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the body property value. Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object does not return @mentions and attachments. + * Sets the body property value. Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object doesn't return @mentions and attachments. * @param ItemBody|null $value Value to set for the body property. */ public function setBody(?ItemBody $value): void { @@ -144,7 +144,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the eventDetail property value. Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage. + * Sets the eventDetail property value. Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property is set to systemEventMessage. * @param EventMessageDetail|null $value Value to set for the eventDetail property. */ public function setEventDetail(?EventMessageDetail $value): void { diff --git a/src/Generated/Models/ChatMessagePolicyViolation.php b/src/Generated/Models/ChatMessagePolicyViolation.php index 3a1f0b5870d..9631cb5b645 100644 --- a/src/Generated/Models/ChatMessagePolicyViolation.php +++ b/src/Generated/Models/ChatMessagePolicyViolation.php @@ -120,7 +120,7 @@ public function getPolicyTip(): ?ChatMessagePolicyViolationPolicyTip { } /** - * Gets the userAction property value. Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction is not required. + * Gets the userAction property value. Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction isn't required. * @return ChatMessagePolicyViolationUserActionTypes|null */ public function getUserAction(): ?ChatMessagePolicyViolationUserActionTypes { @@ -132,7 +132,7 @@ public function getUserAction(): ?ChatMessagePolicyViolationUserActionTypes { } /** - * Gets the verdictDetails property value. Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. + * Gets the verdictDetails property value. Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction hides it.AllowOverrideWithoutJustification -- Allows the sender to override the DLP violation and allow readers to see the message again if the dlpAction hides it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to override the DLP violation and allow readers to see the message again if the dlpAction hides it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. * @return ChatMessagePolicyViolationVerdictDetailsTypes|null */ public function getVerdictDetails(): ?ChatMessagePolicyViolationVerdictDetailsTypes { @@ -206,7 +206,7 @@ public function setPolicyTip(?ChatMessagePolicyViolationPolicyTip $value): void } /** - * Sets the userAction property value. Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction is not required. + * Sets the userAction property value. Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction isn't required. * @param ChatMessagePolicyViolationUserActionTypes|null $value Value to set for the userAction property. */ public function setUserAction(?ChatMessagePolicyViolationUserActionTypes $value): void { @@ -214,7 +214,7 @@ public function setUserAction(?ChatMessagePolicyViolationUserActionTypes $value) } /** - * Sets the verdictDetails property value. Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. + * Sets the verdictDetails property value. Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction hides it.AllowOverrideWithoutJustification -- Allows the sender to override the DLP violation and allow readers to see the message again if the dlpAction hides it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to override the DLP violation and allow readers to see the message again if the dlpAction hides it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. * @param ChatMessagePolicyViolationVerdictDetailsTypes|null $value Value to set for the verdictDetails property. */ public function setVerdictDetails(?ChatMessagePolicyViolationVerdictDetailsTypes $value): void { diff --git a/src/Generated/Models/ConditionalAccessGuestsOrExternalUsers.php b/src/Generated/Models/ConditionalAccessGuestsOrExternalUsers.php index d9108c2e59c..04d35da8990 100644 --- a/src/Generated/Models/ConditionalAccessGuestsOrExternalUsers.php +++ b/src/Generated/Models/ConditionalAccessGuestsOrExternalUsers.php @@ -56,7 +56,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the externalTenants property value. The tenant IDs of the selected types of external users. Either all B2B tenant or a collection of tenant IDs. External tenants can be specified only when the property guestOrExternalUserTypes is not null or an empty String. + * Gets the externalTenants property value. The tenant IDs of the selected types of external users. Either all B2B tenant or a collection of tenant IDs. External tenants can be specified only when the property guestOrExternalUserTypes isn't null or an empty String. * @return ConditionalAccessExternalTenants|null */ public function getExternalTenants(): ?ConditionalAccessExternalTenants { @@ -132,7 +132,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the externalTenants property value. The tenant IDs of the selected types of external users. Either all B2B tenant or a collection of tenant IDs. External tenants can be specified only when the property guestOrExternalUserTypes is not null or an empty String. + * Sets the externalTenants property value. The tenant IDs of the selected types of external users. Either all B2B tenant or a collection of tenant IDs. External tenants can be specified only when the property guestOrExternalUserTypes isn't null or an empty String. * @param ConditionalAccessExternalTenants|null $value Value to set for the externalTenants property. */ public function setExternalTenants(?ConditionalAccessExternalTenants $value): void { diff --git a/src/Generated/Models/Contract.php b/src/Generated/Models/Contract.php index 60d21931930..979650aa88b 100644 --- a/src/Generated/Models/Contract.php +++ b/src/Generated/Models/Contract.php @@ -50,7 +50,7 @@ public function getCustomerId(): ?string { } /** - * Gets the defaultDomainName property value. A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes. + * Gets the defaultDomainName property value. A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It isn't automatically updated if the customer tenant's default domain name changes. * @return string|null */ public function getDefaultDomainName(): ?string { @@ -116,7 +116,7 @@ public function setCustomerId(?string $value): void { } /** - * Sets the defaultDomainName property value. A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes. + * Sets the defaultDomainName property value. A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It isn't automatically updated if the customer tenant's default domain name changes. * @param string|null $value Value to set for the defaultDomainName property. */ public function setDefaultDomainName(?string $value): void { diff --git a/src/Generated/Models/DelegatedAdminRelationship.php b/src/Generated/Models/DelegatedAdminRelationship.php index 9230d473421..2b4d3ca4b24 100644 --- a/src/Generated/Models/DelegatedAdminRelationship.php +++ b/src/Generated/Models/DelegatedAdminRelationship.php @@ -78,7 +78,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the customer property value. The display name and unique identifier of the customer of the relationship. This is configured either by the partner at the time the relationship is created or by the system after the customer approves the relationship. Cannot be changed by the customer. + * Gets the customer property value. The display name and unique identifier of the customer of the relationship. This is configured either by the partner at the time the relationship is created or by the system after the customer approves the relationship. Can't be changed by the customer. * @return DelegatedAdminRelationshipCustomerParticipant|null */ public function getCustomer(): ?DelegatedAdminRelationshipCustomerParticipant { @@ -90,7 +90,7 @@ public function getCustomer(): ?DelegatedAdminRelationshipCustomerParticipant { } /** - * Gets the displayName property value. The display name of the relationship used for ease of identification. Must be unique across all delegated admin relationships of the partner. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. + * Gets the displayName property value. The display name of the relationship used for ease of identification. Must be unique across all delegated admin relationships of the partner and is set by the partner only when the relationship is in the created status and can't be changed by the customer. * @return string|null */ public function getDisplayName(): ?string { @@ -102,7 +102,7 @@ public function getDisplayName(): ?string { } /** - * Gets the duration property value. The duration of the relationship in ISO 8601 format. Must be a value between P1D and P2Y inclusive. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. + * Gets the duration property value. The duration of the relationship in ISO 8601 format. Must be a value between P1D and P2Y inclusive. This is set by the partner only when the relationship is in the created status and can't be changed by the customer. * @return DateInterval|null */ public function getDuration(): ?DateInterval { @@ -252,7 +252,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the customer property value. The display name and unique identifier of the customer of the relationship. This is configured either by the partner at the time the relationship is created or by the system after the customer approves the relationship. Cannot be changed by the customer. + * Sets the customer property value. The display name and unique identifier of the customer of the relationship. This is configured either by the partner at the time the relationship is created or by the system after the customer approves the relationship. Can't be changed by the customer. * @param DelegatedAdminRelationshipCustomerParticipant|null $value Value to set for the customer property. */ public function setCustomer(?DelegatedAdminRelationshipCustomerParticipant $value): void { @@ -260,7 +260,7 @@ public function setCustomer(?DelegatedAdminRelationshipCustomerParticipant $valu } /** - * Sets the displayName property value. The display name of the relationship used for ease of identification. Must be unique across all delegated admin relationships of the partner. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. + * Sets the displayName property value. The display name of the relationship used for ease of identification. Must be unique across all delegated admin relationships of the partner and is set by the partner only when the relationship is in the created status and can't be changed by the customer. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -268,7 +268,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the duration property value. The duration of the relationship in ISO 8601 format. Must be a value between P1D and P2Y inclusive. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. + * Sets the duration property value. The duration of the relationship in ISO 8601 format. Must be a value between P1D and P2Y inclusive. This is set by the partner only when the relationship is in the created status and can't be changed by the customer. * @param DateInterval|null $value Value to set for the duration property. */ public function setDuration(?DateInterval $value): void { diff --git a/src/Generated/Models/DelegatedPermissionClassification.php b/src/Generated/Models/DelegatedPermissionClassification.php index b17f4c1fe13..369058f8f47 100644 --- a/src/Generated/Models/DelegatedPermissionClassification.php +++ b/src/Generated/Models/DelegatedPermissionClassification.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Deleg } /** - * Gets the classification property value. The classification value being given. Possible value: low. Does not support $filter. + * Gets the classification property value. The classification value being given. Possible value: low. Doesn't support $filter. * @return PermissionClassificationType|null */ public function getClassification(): ?PermissionClassificationType { @@ -50,7 +50,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the permissionId property value. The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter. + * Gets the permissionId property value. The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Required on create. Doesn't support $filter. * @return string|null */ public function getPermissionId(): ?string { @@ -62,7 +62,7 @@ public function getPermissionId(): ?string { } /** - * Gets the permissionName property value. The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Does not support $filter. + * Gets the permissionName property value. The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Doesn't support $filter. * @return string|null */ public function getPermissionName(): ?string { @@ -85,7 +85,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the classification property value. The classification value being given. Possible value: low. Does not support $filter. + * Sets the classification property value. The classification value being given. Possible value: low. Doesn't support $filter. * @param PermissionClassificationType|null $value Value to set for the classification property. */ public function setClassification(?PermissionClassificationType $value): void { @@ -93,7 +93,7 @@ public function setClassification(?PermissionClassificationType $value): void { } /** - * Sets the permissionId property value. The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter. + * Sets the permissionId property value. The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Required on create. Doesn't support $filter. * @param string|null $value Value to set for the permissionId property. */ public function setPermissionId(?string $value): void { @@ -101,7 +101,7 @@ public function setPermissionId(?string $value): void { } /** - * Sets the permissionName property value. The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Does not support $filter. + * Sets the permissionName property value. The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Doesn't support $filter. * @param string|null $value Value to set for the permissionName property. */ public function setPermissionName(?string $value): void { diff --git a/src/Generated/Models/DomainDnsRecord.php b/src/Generated/Models/DomainDnsRecord.php index 72ec080f577..38e967fd777 100644 --- a/src/Generated/Models/DomainDnsRecord.php +++ b/src/Generated/Models/DomainDnsRecord.php @@ -75,7 +75,7 @@ public function getLabel(): ?string { } /** - * Gets the recordType property value. Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt. + * Gets the recordType property value. Indicates what type of DNS record this entity represents. The value can be CName, Mx, Srv, or Txt. * @return string|null */ public function getRecordType(): ?string { @@ -87,7 +87,7 @@ public function getRecordType(): ?string { } /** - * Gets the supportedService property value. Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. + * Gets the supportedService property value. Microsoft Online Service or feature that has a dependency on this DNS record. Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. * @return string|null */ public function getSupportedService(): ?string { @@ -140,7 +140,7 @@ public function setLabel(?string $value): void { } /** - * Sets the recordType property value. Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt. + * Sets the recordType property value. Indicates what type of DNS record this entity represents. The value can be CName, Mx, Srv, or Txt. * @param string|null $value Value to set for the recordType property. */ public function setRecordType(?string $value): void { @@ -148,7 +148,7 @@ public function setRecordType(?string $value): void { } /** - * Sets the supportedService property value. Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. + * Sets the supportedService property value. Microsoft Online Service or feature that has a dependency on this DNS record. Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. * @param string|null $value Value to set for the supportedService property. */ public function setSupportedService(?string $value): void { diff --git a/src/Generated/Models/EducationAssignmentSettings.php b/src/Generated/Models/EducationAssignmentSettings.php index da33e08b3bd..a670e891cc5 100644 --- a/src/Generated/Models/EducationAssignmentSettings.php +++ b/src/Generated/Models/EducationAssignmentSettings.php @@ -36,7 +36,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the submissionAnimationDisabled property value. Indicates whether turn-in celebration animation will be shown. A value of true indicates that the animation will not be shown. Default value is false. + * Gets the submissionAnimationDisabled property value. Indicates whether turn-in celebration animation is shown. A value of true indicates that the animation isn't shown. Default value is false. * @return bool|null */ public function getSubmissionAnimationDisabled(): ?bool { @@ -57,7 +57,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the submissionAnimationDisabled property value. Indicates whether turn-in celebration animation will be shown. A value of true indicates that the animation will not be shown. Default value is false. + * Sets the submissionAnimationDisabled property value. Indicates whether turn-in celebration animation is shown. A value of true indicates that the animation isn't shown. Default value is false. * @param bool|null $value Value to set for the submissionAnimationDisabled property. */ public function setSubmissionAnimationDisabled(?bool $value): void { diff --git a/src/Generated/Models/EducationOrganization.php b/src/Generated/Models/EducationOrganization.php index f239d3c3f7a..b66a289d8e3 100644 --- a/src/Generated/Models/EducationOrganization.php +++ b/src/Generated/Models/EducationOrganization.php @@ -68,7 +68,7 @@ public function getExternalSource(): ?EducationExternalSource { } /** - * Gets the externalSourceDetail property value. The name of the external source this resources was generated from. + * Gets the externalSourceDetail property value. The name of the external source this resource was generated from. * @return string|null */ public function getExternalSourceDetail(): ?string { @@ -130,7 +130,7 @@ public function setExternalSource(?EducationExternalSource $value): void { } /** - * Sets the externalSourceDetail property value. The name of the external source this resources was generated from. + * Sets the externalSourceDetail property value. The name of the external source this resource was generated from. * @param string|null $value Value to set for the externalSourceDetail property. */ public function setExternalSourceDetail(?string $value): void { diff --git a/src/Generated/Models/EducationSubmissionResource.php b/src/Generated/Models/EducationSubmissionResource.php index f27ed532aa1..93377728ccc 100644 --- a/src/Generated/Models/EducationSubmissionResource.php +++ b/src/Generated/Models/EducationSubmissionResource.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Educa } /** - * Gets the assignmentResourceUrl property value. Pointer to the assignment from which this resource was copied. If this is null, the student uploaded the resource. + * Gets the assignmentResourceUrl property value. Pointer to the assignment from which the resource was copied, and if null, the student uploaded the resource. * @return string|null */ public function getAssignmentResourceUrl(): ?string { @@ -71,7 +71,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the assignmentResourceUrl property value. Pointer to the assignment from which this resource was copied. If this is null, the student uploaded the resource. + * Sets the assignmentResourceUrl property value. Pointer to the assignment from which the resource was copied, and if null, the student uploaded the resource. * @param string|null $value Value to set for the assignmentResourceUrl property. */ public function setAssignmentResourceUrl(?string $value): void { diff --git a/src/Generated/Models/EmailAuthenticationMethodConfiguration.php b/src/Generated/Models/EmailAuthenticationMethodConfiguration.php index 5c4c31c1533..6996b3dd826 100644 --- a/src/Generated/Models/EmailAuthenticationMethodConfiguration.php +++ b/src/Generated/Models/EmailAuthenticationMethodConfiguration.php @@ -27,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Email } /** - * Gets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who did not use public preview will automatically have email OTP enabled beginning in October 2021. + * Gets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview will automatically have email OTP enabled beginning in October 2021. * @return ExternalEmailOtpState|null */ public function getAllowExternalIdToUseEmailOtp(): ?ExternalEmailOtpState { @@ -75,7 +75,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who did not use public preview will automatically have email OTP enabled beginning in October 2021. + * Sets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview will automatically have email OTP enabled beginning in October 2021. * @param ExternalEmailOtpState|null $value Value to set for the allowExternalIdToUseEmailOtp property. */ public function setAllowExternalIdToUseEmailOtp(?ExternalEmailOtpState $value): void { diff --git a/src/Generated/Models/EntitlementManagementSettings.php b/src/Generated/Models/EntitlementManagementSettings.php index 6bf3d9995ed..24504b4eec2 100644 --- a/src/Generated/Models/EntitlementManagementSettings.php +++ b/src/Generated/Models/EntitlementManagementSettings.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit } /** - * Gets the durationUntilExternalUserDeletedAfterBlocked property value. If externalUserLifecycleAction is blockSignInAndDelete, the duration, typically a number of days, after an external user is blocked from sign in before their account is deleted. + * Gets the durationUntilExternalUserDeletedAfterBlocked property value. If externalUserLifecycleAction is blockSignInAndDelete, the duration, typically many days, after an external user is blocked from sign in before their account is deleted. * @return DateInterval|null */ public function getDurationUntilExternalUserDeletedAfterBlocked(): ?DateInterval { @@ -72,7 +72,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the durationUntilExternalUserDeletedAfterBlocked property value. If externalUserLifecycleAction is blockSignInAndDelete, the duration, typically a number of days, after an external user is blocked from sign in before their account is deleted. + * Sets the durationUntilExternalUserDeletedAfterBlocked property value. If externalUserLifecycleAction is blockSignInAndDelete, the duration, typically many days, after an external user is blocked from sign in before their account is deleted. * @param DateInterval|null $value Value to set for the durationUntilExternalUserDeletedAfterBlocked property. */ public function setDurationUntilExternalUserDeletedAfterBlocked(?DateInterval $value): void { diff --git a/src/Generated/Models/ExtensionSchemaProperty.php b/src/Generated/Models/ExtensionSchemaProperty.php index bcdd405a6ee..176275694da 100644 --- a/src/Generated/Models/ExtensionSchemaProperty.php +++ b/src/Generated/Models/ExtensionSchemaProperty.php @@ -69,7 +69,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the name property value. The name of the strongly-typed property defined as part of a schema extension. + * Gets the name property value. The name of the strongly typed property defined as part of a schema extension. * @return string|null */ public function getName(): ?string { @@ -93,7 +93,7 @@ public function getOdataType(): ?string { } /** - * Gets the type property value. The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. + * Gets the type property value. The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table in the Supported property data types section for more details. * @return string|null */ public function getType(): ?string { @@ -132,7 +132,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the name property value. The name of the strongly-typed property defined as part of a schema extension. + * Sets the name property value. The name of the strongly typed property defined as part of a schema extension. * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { @@ -148,7 +148,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the type property value. The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. + * Sets the type property value. The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table in the Supported property data types section for more details. * @param string|null $value Value to set for the type property. */ public function setType(?string $value): void { diff --git a/src/Generated/Models/FileAttachment.php b/src/Generated/Models/FileAttachment.php index 1fda07e980c..ab7694a889a 100644 --- a/src/Generated/Models/FileAttachment.php +++ b/src/Generated/Models/FileAttachment.php @@ -51,7 +51,7 @@ public function getContentId(): ?string { } /** - * Gets the contentLocation property value. Do not use this property as it is not supported. + * Gets the contentLocation property value. Don't use this property as it isn't supported. * @return string|null */ public function getContentLocation(): ?string { @@ -103,7 +103,7 @@ public function setContentId(?string $value): void { } /** - * Sets the contentLocation property value. Do not use this property as it is not supported. + * Sets the contentLocation property value. Don't use this property as it isn't supported. * @param string|null $value Value to set for the contentLocation property. */ public function setContentLocation(?string $value): void { diff --git a/src/Generated/Models/FollowupFlag.php b/src/Generated/Models/FollowupFlag.php index 83d7641c025..cea272192b4 100644 --- a/src/Generated/Models/FollowupFlag.php +++ b/src/Generated/Models/FollowupFlag.php @@ -68,7 +68,7 @@ public function getCompletedDateTime(): ?DateTimeTimeZone { } /** - * Gets the dueDateTime property value. The date and time that the follow up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you will get a 400 Bad Request response. + * Gets the dueDateTime property value. The date and time that the follow-up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you get a 400 Bad Request response. * @return DateTimeTimeZone|null */ public function getDueDateTime(): ?DateTimeTimeZone { @@ -168,7 +168,7 @@ public function setCompletedDateTime(?DateTimeTimeZone $value): void { } /** - * Sets the dueDateTime property value. The date and time that the follow up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you will get a 400 Bad Request response. + * Sets the dueDateTime property value. The date and time that the follow-up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you get a 400 Bad Request response. * @param DateTimeTimeZone|null $value Value to set for the dueDateTime property. */ public function setDueDateTime(?DateTimeTimeZone $value): void { diff --git a/src/Generated/Models/IdentityGovernance/WorkflowBase.php b/src/Generated/Models/IdentityGovernance/WorkflowBase.php index c04f19827ef..2ad49e11dd8 100644 --- a/src/Generated/Models/IdentityGovernance/WorkflowBase.php +++ b/src/Generated/Models/IdentityGovernance/WorkflowBase.php @@ -173,7 +173,7 @@ public function getIsEnabled(): ?bool { } /** - * Gets the isSchedulingEnabled property value. If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Cannot be true for a disabled workflow (where isEnabled is false). + * Gets the isSchedulingEnabled property value. If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Can't be true for a disabled workflow (where isEnabled is false). * @return bool|null */ public function getIsSchedulingEnabled(): ?bool { @@ -185,7 +185,7 @@ public function getIsSchedulingEnabled(): ?bool { } /** - * Gets the lastModifiedBy property value. The unique identifier of the AAD identity that last modified the workflow. + * Gets the lastModifiedBy property value. The unique identifier of the Azure Active Directory identity that last modified the workflow. * @return User|null */ public function getLastModifiedBy(): ?User { @@ -327,7 +327,7 @@ public function setIsEnabled(?bool $value): void { } /** - * Sets the isSchedulingEnabled property value. If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Cannot be true for a disabled workflow (where isEnabled is false). + * Sets the isSchedulingEnabled property value. If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Can't be true for a disabled workflow (where isEnabled is false). * @param bool|null $value Value to set for the isSchedulingEnabled property. */ public function setIsSchedulingEnabled(?bool $value): void { @@ -335,7 +335,7 @@ public function setIsSchedulingEnabled(?bool $value): void { } /** - * Sets the lastModifiedBy property value. The unique identifier of the AAD identity that last modified the workflow. + * Sets the lastModifiedBy property value. The unique identifier of the Azure Active Directory identity that last modified the workflow. * @param User|null $value Value to set for the lastModifiedBy property. */ public function setLastModifiedBy(?User $value): void { diff --git a/src/Generated/Models/InvitedUserMessageInfo.php b/src/Generated/Models/InvitedUserMessageInfo.php index a9da23aefe6..17f2a013af5 100644 --- a/src/Generated/Models/InvitedUserMessageInfo.php +++ b/src/Generated/Models/InvitedUserMessageInfo.php @@ -57,7 +57,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the ccRecipients property value. Additional recipients the invitation message should be sent to. Currently only 1 additional recipient is supported. + * Gets the ccRecipients property value. Additional recipients the invitation message should be sent to. Currently only one additional recipient is supported. * @return array|null */ public function getCcRecipients(): ?array { @@ -149,7 +149,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the ccRecipients property value. Additional recipients the invitation message should be sent to. Currently only 1 additional recipient is supported. + * Sets the ccRecipients property value. Additional recipients the invitation message should be sent to. Currently only one additional recipient is supported. * @param array|null $value Value to set for the ccRecipients property. */ public function setCcRecipients(?array $value): void { diff --git a/src/Generated/Models/MobileLobAppCollectionResponse.php b/src/Generated/Models/IosLobAppCollectionResponse.php similarity index 73% rename from src/Generated/Models/MobileLobAppCollectionResponse.php rename to src/Generated/Models/IosLobAppCollectionResponse.php index aad22149ba2..2ea3ac7a57c 100644 --- a/src/Generated/Models/MobileLobAppCollectionResponse.php +++ b/src/Generated/Models/IosLobAppCollectionResponse.php @@ -7,10 +7,10 @@ use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; use Microsoft\Kiota\Abstractions\Types\TypeUtils; -class MobileLobAppCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable +class IosLobAppCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { /** - * Instantiates a new mobileLobAppCollectionResponse and sets the default values. + * Instantiates a new iosLobAppCollectionResponse and sets the default values. */ public function __construct() { parent::__construct(); @@ -19,10 +19,10 @@ public function __construct() { /** * 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 MobileLobAppCollectionResponse + * @return IosLobAppCollectionResponse */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): MobileLobAppCollectionResponse { - return new MobileLobAppCollectionResponse(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): IosLobAppCollectionResponse { + return new IosLobAppCollectionResponse(); } /** @@ -32,19 +32,19 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Mobil public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([MobileLobApp::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([IosLobApp::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, MobileLobApp::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, IosLobApp::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for 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/IosStoreAppCollectionResponse.php b/src/Generated/Models/IosStoreAppCollectionResponse.php new file mode 100644 index 00000000000..cd02144442c --- /dev/null +++ b/src/Generated/Models/IosStoreAppCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([IosStoreApp::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, IosStoreApp::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/IosVppAppCollectionResponse.php b/src/Generated/Models/IosVppAppCollectionResponse.php new file mode 100644 index 00000000000..184fc6d92a7 --- /dev/null +++ b/src/Generated/Models/IosVppAppCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([IosVppApp::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, IosVppApp::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/LicenseUnitsDetail.php b/src/Generated/Models/LicenseUnitsDetail.php index b3cd55f6f0b..af70587e56c 100644 --- a/src/Generated/Models/LicenseUnitsDetail.php +++ b/src/Generated/Models/LicenseUnitsDetail.php @@ -83,7 +83,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the lockedOut property value. The number of units that are locked out because the customer cancelled their subscription of the service SKU. + * Gets the lockedOut property value. The number of units that are locked out because the customer canceled their subscription of the service SKU. * @return int|null */ public function getLockedOut(): ?int { @@ -107,7 +107,7 @@ public function getOdataType(): ?string { } /** - * Gets the suspended property value. The number of units that are suspended because the subscription of the service SKU has been cancelled. The units cannot be assigned but can still be reactivated before they are deleted. + * Gets the suspended property value. The number of units that are suspended because the subscription of the service SKU has been canceled. The units can't be assigned but can still be reactivated before they're deleted. * @return int|null */ public function getSuspended(): ?int { @@ -119,7 +119,7 @@ public function getSuspended(): ?int { } /** - * Gets the warning property value. The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it is cancelled (moved to a suspended state). + * Gets the warning property value. The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it's canceled (moved to a suspended state). * @return int|null */ public function getWarning(): ?int { @@ -168,7 +168,7 @@ public function setEnabled(?int $value): void { } /** - * Sets the lockedOut property value. The number of units that are locked out because the customer cancelled their subscription of the service SKU. + * Sets the lockedOut property value. The number of units that are locked out because the customer canceled their subscription of the service SKU. * @param int|null $value Value to set for the lockedOut property. */ public function setLockedOut(?int $value): void { @@ -184,7 +184,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the suspended property value. The number of units that are suspended because the subscription of the service SKU has been cancelled. The units cannot be assigned but can still be reactivated before they are deleted. + * Sets the suspended property value. The number of units that are suspended because the subscription of the service SKU has been canceled. The units can't be assigned but can still be reactivated before they're deleted. * @param int|null $value Value to set for the suspended property. */ public function setSuspended(?int $value): void { @@ -192,7 +192,7 @@ public function setSuspended(?int $value): void { } /** - * Sets the warning property value. The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it is cancelled (moved to a suspended state). + * Sets the warning property value. The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it's canceled (moved to a suspended state). * @param int|null $value Value to set for the warning property. */ public function setWarning(?int $value): void { diff --git a/src/Generated/Models/LoginPageLayoutConfiguration.php b/src/Generated/Models/LoginPageLayoutConfiguration.php index d541f6902ae..43c1283d612 100644 --- a/src/Generated/Models/LoginPageLayoutConfiguration.php +++ b/src/Generated/Models/LoginPageLayoutConfiguration.php @@ -94,7 +94,7 @@ public function getIsHeaderShown(): ?bool { } /** - * Gets the layoutTemplateType property value. Represents the layout template to be displayed on the login page for a tenant. The possible values are default - Represents the default Microsoft layout with a centered lightbox. verticalSplit - Represents a layout with a backgound on the left side and a full-height lightbox to the right. unknownFutureValue - Evolvable enumeration sentinel value. Do not use. + * Gets the layoutTemplateType property value. Represents the layout template to be displayed on the login page for a tenant. The possible values are default - Represents the default Microsoft layout with a centered lightbox. verticalSplit - Represents a layout with a background on the left side and a full-height lightbox to the right. unknownFutureValue - Evolvable enumeration sentinel value. Don't use. * @return LayoutTemplateType|null */ public function getLayoutTemplateType(): ?LayoutTemplateType { @@ -162,7 +162,7 @@ public function setIsHeaderShown(?bool $value): void { } /** - * Sets the layoutTemplateType property value. Represents the layout template to be displayed on the login page for a tenant. The possible values are default - Represents the default Microsoft layout with a centered lightbox. verticalSplit - Represents a layout with a backgound on the left side and a full-height lightbox to the right. unknownFutureValue - Evolvable enumeration sentinel value. Do not use. + * Sets the layoutTemplateType property value. Represents the layout template to be displayed on the login page for a tenant. The possible values are default - Represents the default Microsoft layout with a centered lightbox. verticalSplit - Represents a layout with a background on the left side and a full-height lightbox to the right. unknownFutureValue - Evolvable enumeration sentinel value. Don't use. * @param LayoutTemplateType|null $value Value to set for the layoutTemplateType property. */ public function setLayoutTemplateType(?LayoutTemplateType $value): void { diff --git a/src/Generated/Models/MacOSDmgAppCollectionResponse.php b/src/Generated/Models/MacOSDmgAppCollectionResponse.php new file mode 100644 index 00000000000..522f4904fcc --- /dev/null +++ b/src/Generated/Models/MacOSDmgAppCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([MacOSDmgApp::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, MacOSDmgApp::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/MacOSLobAppCollectionResponse.php b/src/Generated/Models/MacOSLobAppCollectionResponse.php new file mode 100644 index 00000000000..8ebe25a54ab --- /dev/null +++ b/src/Generated/Models/MacOSLobAppCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([MacOSLobApp::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, MacOSLobApp::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/ManagedAndroidLobAppCollectionResponse.php b/src/Generated/Models/ManagedAndroidLobAppCollectionResponse.php new file mode 100644 index 00000000000..115b748c636 --- /dev/null +++ b/src/Generated/Models/ManagedAndroidLobAppCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ManagedAndroidLobApp::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, ManagedAndroidLobApp::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/ManagedIOSLobAppCollectionResponse.php b/src/Generated/Models/ManagedIOSLobAppCollectionResponse.php new file mode 100644 index 00000000000..86469a39e87 --- /dev/null +++ b/src/Generated/Models/ManagedIOSLobAppCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ManagedIOSLobApp::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, ManagedIOSLobApp::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/MicrosoftAuthenticatorFeatureSettings.php b/src/Generated/Models/MicrosoftAuthenticatorFeatureSettings.php index d05476d2ad9..30e60088f71 100644 --- a/src/Generated/Models/MicrosoftAuthenticatorFeatureSettings.php +++ b/src/Generated/Models/MicrosoftAuthenticatorFeatureSettings.php @@ -56,7 +56,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the displayAppInformationRequiredState property value. Determines whether the user's Authenticator app will show them the client app they are signing into. + * Gets the displayAppInformationRequiredState property value. Determines whether the user's Authenticator app shows them the client app they're signing into. * @return AuthenticationMethodFeatureConfiguration|null */ public function getDisplayAppInformationRequiredState(): ?AuthenticationMethodFeatureConfiguration { @@ -68,7 +68,7 @@ public function getDisplayAppInformationRequiredState(): ?AuthenticationMethodFe } /** - * Gets the displayLocationInformationRequiredState property value. Determines whether the user's Authenticator app will show them the geographic location of where the authentication request originated from. + * Gets the displayLocationInformationRequiredState property value. Determines whether the user's Authenticator app shows them the geographic location of where the authentication request originated from. * @return AuthenticationMethodFeatureConfiguration|null */ public function getDisplayLocationInformationRequiredState(): ?AuthenticationMethodFeatureConfiguration { @@ -132,7 +132,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the displayAppInformationRequiredState property value. Determines whether the user's Authenticator app will show them the client app they are signing into. + * Sets the displayAppInformationRequiredState property value. Determines whether the user's Authenticator app shows them the client app they're signing into. * @param AuthenticationMethodFeatureConfiguration|null $value Value to set for the displayAppInformationRequiredState property. */ public function setDisplayAppInformationRequiredState(?AuthenticationMethodFeatureConfiguration $value): void { @@ -140,7 +140,7 @@ public function setDisplayAppInformationRequiredState(?AuthenticationMethodFeatu } /** - * Sets the displayLocationInformationRequiredState property value. Determines whether the user's Authenticator app will show them the geographic location of where the authentication request originated from. + * Sets the displayLocationInformationRequiredState property value. Determines whether the user's Authenticator app shows them the geographic location of where the authentication request originated from. * @param AuthenticationMethodFeatureConfiguration|null $value Value to set for the displayLocationInformationRequiredState property. */ public function setDisplayLocationInformationRequiredState(?AuthenticationMethodFeatureConfiguration $value): void { diff --git a/src/Generated/Models/MicrosoftStoreForBusinessAppCollectionResponse.php b/src/Generated/Models/MicrosoftStoreForBusinessAppCollectionResponse.php new file mode 100644 index 00000000000..1e714bfc034 --- /dev/null +++ b/src/Generated/Models/MicrosoftStoreForBusinessAppCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([MicrosoftStoreForBusinessApp::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, MicrosoftStoreForBusinessApp::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/ObjectIdentity.php b/src/Generated/Models/ObjectIdentity.php index 7505b6d29ac..2bc9f4c5dd4 100644 --- a/src/Generated/Models/ObjectIdentity.php +++ b/src/Generated/Models/ObjectIdentity.php @@ -70,7 +70,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the issuer property value. Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. + * Gets the issuer property value. Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. * @return string|null */ public function getIssuer(): ?string { @@ -106,7 +106,7 @@ public function getOdataType(): ?string { } /** - * Gets the signInType property value. Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. + * Gets the signInType property value. Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Other validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. * @return string|null */ public function getSignInType(): ?string { @@ -146,7 +146,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the issuer property value. Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. + * Sets the issuer property value. Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. * @param string|null $value Value to set for the issuer property. */ public function setIssuer(?string $value): void { @@ -170,7 +170,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the signInType property value. Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. + * Sets the signInType property value. Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Other validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. * @param string|null $value Value to set for the signInType property. */ public function setSignInType(?string $value): void { diff --git a/src/Generated/Models/OnlineMeetingInfo.php b/src/Generated/Models/OnlineMeetingInfo.php index 9d287634eb5..21122ebbbf7 100644 --- a/src/Generated/Models/OnlineMeetingInfo.php +++ b/src/Generated/Models/OnlineMeetingInfo.php @@ -93,7 +93,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the joinUrl property value. The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting. + * Gets the joinUrl property value. The external link that launches the online meeting. This is a URL that clients launch into a browser and will redirect the user to join the meeting. * @return string|null */ public function getJoinUrl(): ?string { @@ -131,7 +131,7 @@ public function getPhones(): ?array { } /** - * Gets the quickDial property value. The pre-formatted quickdial for this call. + * Gets the quickDial property value. The preformatted quick dial for this call. * @return string|null */ public function getQuickDial(): ?string { @@ -208,7 +208,7 @@ public function setConferenceId(?string $value): void { } /** - * Sets the joinUrl property value. The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting. + * Sets the joinUrl property value. The external link that launches the online meeting. This is a URL that clients launch into a browser and will redirect the user to join the meeting. * @param string|null $value Value to set for the joinUrl property. */ public function setJoinUrl(?string $value): void { @@ -232,7 +232,7 @@ public function setPhones(?array $value): void { } /** - * Sets the quickDial property value. The pre-formatted quickdial for this call. + * Sets the quickDial property value. The preformatted quick dial for this call. * @param string|null $value Value to set for the quickDial property. */ public function setQuickDial(?string $value): void { diff --git a/src/Generated/Models/Permission.php b/src/Generated/Models/Permission.php index 54aa5e3e5e9..74449a5638f 100644 --- a/src/Generated/Models/Permission.php +++ b/src/Generated/Models/Permission.php @@ -27,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Permi } /** - * Gets the expirationDateTime property value. A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there is no expiration set for this permission. Optional. + * Gets the expirationDateTime property value. A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there's no expiration set for this permission. Optional. * @return DateTime|null */ public function getExpirationDateTime(): ?DateTime { @@ -131,7 +131,7 @@ public function getHasPassword(): ?bool { } /** - * Gets the inheritedFrom property value. Provides a reference to the ancestor of the current permission, if it is inherited from an ancestor. Read-only. + * Gets the inheritedFrom property value. Provides a reference to the ancestor of the current permission, if it's inherited from an ancestor. Read-only. * @return ItemReference|null */ public function getInheritedFrom(): ?ItemReference { @@ -155,7 +155,7 @@ public function getInvitation(): ?SharingInvitation { } /** - * Gets the link property value. Provides the link details of the current permission, if it is a link type permissions. Read-only. + * Gets the link property value. Provides the link details of the current permission, if it's a link type permission. Read-only. * @return SharingLink|null */ public function getLink(): ?SharingLink { @@ -212,7 +212,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the expirationDateTime property value. A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there is no expiration set for this permission. Optional. + * Sets the expirationDateTime property value. A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there's no expiration set for this permission. Optional. * @param DateTime|null $value Value to set for the expirationDateTime property. */ public function setExpirationDateTime(?DateTime $value): void { @@ -260,7 +260,7 @@ public function setHasPassword(?bool $value): void { } /** - * Sets the inheritedFrom property value. Provides a reference to the ancestor of the current permission, if it is inherited from an ancestor. Read-only. + * Sets the inheritedFrom property value. Provides a reference to the ancestor of the current permission, if it's inherited from an ancestor. Read-only. * @param ItemReference|null $value Value to set for the inheritedFrom property. */ public function setInheritedFrom(?ItemReference $value): void { @@ -276,7 +276,7 @@ public function setInvitation(?SharingInvitation $value): void { } /** - * Sets the link property value. Provides the link details of the current permission, if it is a link type permissions. Read-only. + * Sets the link property value. Provides the link details of the current permission, if it's a link type permission. Read-only. * @param SharingLink|null $value Value to set for the link property. */ public function setLink(?SharingLink $value): void { diff --git a/src/Generated/Models/PermissionScope.php b/src/Generated/Models/PermissionScope.php index d9347b3f90b..0d0bfaec82d 100644 --- a/src/Generated/Models/PermissionScope.php +++ b/src/Generated/Models/PermissionScope.php @@ -112,7 +112,7 @@ public function getId(): ?string { } /** - * Gets the isEnabled property value. When creating or updating a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. + * Gets the isEnabled property value. When you create or update a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. * @return bool|null */ public function getIsEnabled(): ?bool { @@ -184,7 +184,7 @@ public function getUserConsentDisplayName(): ?string { } /** - * Gets the value property value. Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * Gets the value property value. Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, and characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, aren't allowed. May not begin with .. * @return string|null */ public function getValue(): ?string { @@ -254,7 +254,7 @@ public function setId(?string $value): void { } /** - * Sets the isEnabled property value. When creating or updating a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. + * Sets the isEnabled property value. When you create or update a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. * @param bool|null $value Value to set for the isEnabled property. */ public function setIsEnabled(?bool $value): void { @@ -302,7 +302,7 @@ public function setUserConsentDisplayName(?string $value): void { } /** - * Sets the value property value. Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * Sets the value property value. Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, and characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, aren't allowed. May not begin with .. * @param string|null $value Value to set for the value property. */ public function setValue(?string $value): void { diff --git a/src/Generated/Models/PhoneAuthenticationMethod.php b/src/Generated/Models/PhoneAuthenticationMethod.php index 26b30047913..6a87c776df1 100644 --- a/src/Generated/Models/PhoneAuthenticationMethod.php +++ b/src/Generated/Models/PhoneAuthenticationMethod.php @@ -39,7 +39,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the phoneNumber property value. The phone number to text or call for authentication. Phone numbers use the format +{country code} {number}x{extension}, with extension optional. For example, +1 5555551234 or +1 5555551234x123 are valid. Numbers are rejected when creating or updating if they do not match the required format. + * Gets the phoneNumber property value. The phone number to text or call for authentication. Phone numbers use the format +{country code} {number}x{extension}, with extension optional. For example, +1 5555551234 or +1 5555551234x123 are valid. Numbers are rejected when creating or updating if they don't match the required format. * @return string|null */ public function getPhoneNumber(): ?string { @@ -86,7 +86,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the phoneNumber property value. The phone number to text or call for authentication. Phone numbers use the format +{country code} {number}x{extension}, with extension optional. For example, +1 5555551234 or +1 5555551234x123 are valid. Numbers are rejected when creating or updating if they do not match the required format. + * Sets the phoneNumber property value. The phone number to text or call for authentication. Phone numbers use the format +{country code} {number}x{extension}, with extension optional. For example, +1 5555551234 or +1 5555551234x123 are valid. Numbers are rejected when creating or updating if they don't match the required format. * @param string|null $value Value to set for the phoneNumber property. */ public function setPhoneNumber(?string $value): void { diff --git a/src/Generated/Models/PlannerAssignedToTaskBoardTaskFormat.php b/src/Generated/Models/PlannerAssignedToTaskBoardTaskFormat.php index b79a46c1bbc..12672af8266 100644 --- a/src/Generated/Models/PlannerAssignedToTaskBoardTaskFormat.php +++ b/src/Generated/Models/PlannerAssignedToTaskBoardTaskFormat.php @@ -49,7 +49,7 @@ public function getOrderHintsByAssignee(): ?PlannerOrderHintsByAssignee { } /** - * Gets the unassignedOrderHint property value. Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. + * Gets the unassignedOrderHint property value. Hint value used to order the task on the AssignedTo view of the Task Board when the task isn't assigned to anyone, or if the orderHintsByAssignee dictionary doesn't provide an order hint for the user the task is assigned to. The format is defined as outlined here. * @return string|null */ public function getUnassignedOrderHint(): ?string { @@ -79,7 +79,7 @@ public function setOrderHintsByAssignee(?PlannerOrderHintsByAssignee $value): vo } /** - * Sets the unassignedOrderHint property value. Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. + * Sets the unassignedOrderHint property value. Hint value used to order the task on the AssignedTo view of the Task Board when the task isn't assigned to anyone, or if the orderHintsByAssignee dictionary doesn't provide an order hint for the user the task is assigned to. The format is defined as outlined here. * @param string|null $value Value to set for the unassignedOrderHint property. */ public function setUnassignedOrderHint(?string $value): void { diff --git a/src/Generated/Models/PlannerPlanDetails.php b/src/Generated/Models/PlannerPlanDetails.php index 66e095b9b70..ce7c4f3adbe 100644 --- a/src/Generated/Models/PlannerPlanDetails.php +++ b/src/Generated/Models/PlannerPlanDetails.php @@ -49,7 +49,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the sharedWith property value. Set of user IDs that this plan is shared with. If you are leveraging Microsoft 365 groups, use the Groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection, although it is not required for them to access the plan owned by the group. + * Gets the sharedWith property value. Set of user IDs that this plan is shared with. If you're using Microsoft 365 groups, use the Groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection, although it isn't required for them to access the plan owned by the group. * @return PlannerUserIds|null */ public function getSharedWith(): ?PlannerUserIds { @@ -79,7 +79,7 @@ public function setCategoryDescriptions(?PlannerCategoryDescriptions $value): vo } /** - * Sets the sharedWith property value. Set of user IDs that this plan is shared with. If you are leveraging Microsoft 365 groups, use the Groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection, although it is not required for them to access the plan owned by the group. + * Sets the sharedWith property value. Set of user IDs that this plan is shared with. If you're using Microsoft 365 groups, use the Groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection, although it isn't required for them to access the plan owned by the group. * @param PlannerUserIds|null $value Value to set for the sharedWith property. */ public function setSharedWith(?PlannerUserIds $value): void { diff --git a/src/Generated/Models/ProvisioningStatusInfo.php b/src/Generated/Models/ProvisioningStatusInfo.php index 7bb108238de..98540d6e661 100644 --- a/src/Generated/Models/ProvisioningStatusInfo.php +++ b/src/Generated/Models/ProvisioningStatusInfo.php @@ -56,7 +56,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the errorInformation property value. If status is not success/ skipped details for the error are contained in this. + * Gets the errorInformation property value. If status isn't success/ skipped details for the error are contained in this. * @return ProvisioningErrorInfo|null */ public function getErrorInformation(): ?ProvisioningErrorInfo { @@ -132,7 +132,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the errorInformation property value. If status is not success/ skipped details for the error are contained in this. + * Sets the errorInformation property value. If status isn't success/ skipped details for the error are contained in this. * @param ProvisioningErrorInfo|null $value Value to set for the errorInformation property. */ public function setErrorInformation(?ProvisioningErrorInfo $value): void { diff --git a/src/Generated/Models/Reminder.php b/src/Generated/Models/Reminder.php index eb669ab1b8b..8c48327e6a8 100644 --- a/src/Generated/Models/Reminder.php +++ b/src/Generated/Models/Reminder.php @@ -128,7 +128,7 @@ public function getEventSubject(): ?string { } /** - * Gets the eventWebLink property value. The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame. + * Gets the eventWebLink property value. The URL to open the event in Outlook on the web.The event opens in the browser if you're logged in to your mailbox via Outlook on the web. You're prompted to log in if you aren't already logged in with the browser.This URL can't be accessed from within an iFrame. * @return string|null */ public function getEventWebLink(): ?string { @@ -264,7 +264,7 @@ public function setEventSubject(?string $value): void { } /** - * Sets the eventWebLink property value. The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame. + * Sets the eventWebLink property value. The URL to open the event in Outlook on the web.The event opens in the browser if you're logged in to your mailbox via Outlook on the web. You're prompted to log in if you aren't already logged in with the browser.This URL can't be accessed from within an iFrame. * @param string|null $value Value to set for the eventWebLink property. */ public function setEventWebLink(?string $value): void { diff --git a/src/Generated/Models/ResultInfo.php b/src/Generated/Models/ResultInfo.php index 54abdfe551c..1bf35585b61 100644 --- a/src/Generated/Models/ResultInfo.php +++ b/src/Generated/Models/ResultInfo.php @@ -106,7 +106,7 @@ public function getOdataType(): ?string { } /** - * Gets the subcode property value. The result sub-code. + * Gets the subcode property value. The result subcode. * @return int|null */ public function getSubcode(): ?int { @@ -170,7 +170,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the subcode property value. The result sub-code. + * Sets the subcode property value. The result subcode. * @param int|null $value Value to set for the subcode property. */ public function setSubcode(?int $value): void { diff --git a/src/Generated/Models/Security/DataSource.php b/src/Generated/Models/Security/DataSource.php index 606dad69ca1..63106c86750 100644 --- a/src/Generated/Models/Security/DataSource.php +++ b/src/Generated/Models/Security/DataSource.php @@ -61,7 +61,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the displayName property value. The display name of the dataSource. This will be the name of the SharePoint site. + * Gets the displayName property value. The display name of the dataSource and is the name of the SharePoint site. * @return string|null */ public function getDisplayName(): ?string { @@ -127,7 +127,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the displayName property value. The display name of the dataSource. This will be the name of the SharePoint site. + * Sets the displayName property value. The display name of the dataSource and is the name of the SharePoint site. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { diff --git a/src/Generated/Models/Security/DeviceEvidence.php b/src/Generated/Models/Security/DeviceEvidence.php index 3c1b9bfa79c..94118c8f44a 100644 --- a/src/Generated/Models/Security/DeviceEvidence.php +++ b/src/Generated/Models/Security/DeviceEvidence.php @@ -109,7 +109,7 @@ public function getFirstSeenDateTime(): ?DateTime { } /** - * Gets the healthStatus property value. The health state of the device.The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue. + * Gets the healthStatus property value. The health state of the device. The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue. * @return DeviceHealthStatus|null */ public function getHealthStatus(): ?DeviceHealthStatus { @@ -161,7 +161,7 @@ public function getMdeDeviceId(): ?string { } /** - * Gets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint.The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue. + * Gets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint. The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue. * @return OnboardingStatus|null */ public function getOnboardingStatus(): ?OnboardingStatus { @@ -313,7 +313,7 @@ public function setFirstSeenDateTime(?DateTime $value): void { } /** - * Sets the healthStatus property value. The health state of the device.The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue. + * Sets the healthStatus property value. The health state of the device. The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue. * @param DeviceHealthStatus|null $value Value to set for the healthStatus property. */ public function setHealthStatus(?DeviceHealthStatus $value): void { @@ -345,7 +345,7 @@ public function setMdeDeviceId(?string $value): void { } /** - * Sets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint.The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue. + * Sets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint. The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue. * @param OnboardingStatus|null $value Value to set for the onboardingStatus property. */ public function setOnboardingStatus(?OnboardingStatus $value): void { diff --git a/src/Generated/Models/Security/EdiscoveryNoncustodialDataSource.php b/src/Generated/Models/Security/EdiscoveryNoncustodialDataSource.php index db1140e5dca..3badb7683ae 100644 --- a/src/Generated/Models/Security/EdiscoveryNoncustodialDataSource.php +++ b/src/Generated/Models/Security/EdiscoveryNoncustodialDataSource.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Edisc } /** - * Gets the dataSource property value. User source or SharePoint site data source as non-custodial data source. + * Gets the dataSource property value. User source or SharePoint site data source as noncustodial data source. * @return DataSource|null */ public function getDataSource(): ?DataSource { @@ -50,7 +50,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the lastIndexOperation property value. Operation entity that represents the latest indexing for the non-custodial data source. + * Gets the lastIndexOperation property value. Operation entity that represents the latest indexing for the noncustodial data source. * @return EdiscoveryIndexOperation|null */ public function getLastIndexOperation(): ?EdiscoveryIndexOperation { @@ -72,7 +72,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the dataSource property value. User source or SharePoint site data source as non-custodial data source. + * Sets the dataSource property value. User source or SharePoint site data source as noncustodial data source. * @param DataSource|null $value Value to set for the dataSource property. */ public function setDataSource(?DataSource $value): void { @@ -80,7 +80,7 @@ public function setDataSource(?DataSource $value): void { } /** - * Sets the lastIndexOperation property value. Operation entity that represents the latest indexing for the non-custodial data source. + * Sets the lastIndexOperation property value. Operation entity that represents the latest indexing for the noncustodial data source. * @param EdiscoveryIndexOperation|null $value Value to set for the lastIndexOperation property. */ public function setLastIndexOperation(?EdiscoveryIndexOperation $value): void { diff --git a/src/Generated/Models/Security/RetentionEventStatus.php b/src/Generated/Models/Security/RetentionEventStatus.php index 07006e96afa..61fa3805c23 100644 --- a/src/Generated/Models/Security/RetentionEventStatus.php +++ b/src/Generated/Models/Security/RetentionEventStatus.php @@ -57,7 +57,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the error property value. The error if the status is not successful. + * Gets the error property value. The error if the status isn't successful. * @return PublicError|null */ public function getError(): ?PublicError { @@ -133,7 +133,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the error property value. The error if the status is not successful. + * Sets the error property value. The error if the status isn't successful. * @param PublicError|null $value Value to set for the error property. */ public function setError(?PublicError $value): void { diff --git a/src/Generated/Models/ServiceAnnouncementBase.php b/src/Generated/Models/ServiceAnnouncementBase.php index 828bb8bffa2..539ac5fd02a 100644 --- a/src/Generated/Models/ServiceAnnouncementBase.php +++ b/src/Generated/Models/ServiceAnnouncementBase.php @@ -35,7 +35,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Servi } /** - * Gets the details property value. Additional details about service event. This property doesn't support filters. + * Gets the details property value. More details about service event. This property doesn't support filters. * @return array|null */ public function getDetails(): ?array { @@ -125,7 +125,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the details property value. Additional details about service event. This property doesn't support filters. + * Sets the details property value. More details about service event. This property doesn't support filters. * @param array|null $value Value to set for the details property. */ public function setDetails(?array $value): void { diff --git a/src/Generated/Models/SignIn.php b/src/Generated/Models/SignIn.php index 38387226c71..0150e6ff256 100644 --- a/src/Generated/Models/SignIn.php +++ b/src/Generated/Models/SignIn.php @@ -27,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): SignI } /** - * Gets the appDisplayName property value. App name displayed in the Azure Portal. Supports $filter (eq, startsWith). + * Gets the appDisplayName property value. App name displayed in the Azure portal. Supports $filter (eq, startsWith). * @return string|null */ public function getAppDisplayName(): ?string { @@ -265,7 +265,7 @@ public function getRiskEventTypesV2(): ?array { } /** - * Gets the riskLevelAggregated property value. Aggregated risk level. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. + * Gets the riskLevelAggregated property value. Aggregated risk level. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * @return RiskLevel|null */ public function getRiskLevelAggregated(): ?RiskLevel { @@ -277,7 +277,7 @@ public function getRiskLevelAggregated(): ?RiskLevel { } /** - * Gets the riskLevelDuringSignIn property value. Risk level during sign-in. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. + * Gets the riskLevelDuringSignIn property value. Risk level during sign-in. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * @return RiskLevel|null */ public function getRiskLevelDuringSignIn(): ?RiskLevel { @@ -301,7 +301,7 @@ public function getRiskState(): ?RiskState { } /** - * Gets the status property value. Sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq) on errorCode property. + * Gets the status property value. Sign-in status. Includes the error code and description of the error (if there's a sign-in failure). Supports $filter (eq) on errorCode property. * @return SignInStatus|null */ public function getStatus(): ?SignInStatus { @@ -380,7 +380,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the appDisplayName property value. App name displayed in the Azure Portal. Supports $filter (eq, startsWith). + * Sets the appDisplayName property value. App name displayed in the Azure portal. Supports $filter (eq, startsWith). * @param string|null $value Value to set for the appDisplayName property. */ public function setAppDisplayName(?string $value): void { @@ -508,7 +508,7 @@ public function setRiskEventTypesV2(?array $value): void { } /** - * Sets the riskLevelAggregated property value. Aggregated risk level. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. + * Sets the riskLevelAggregated property value. Aggregated risk level. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * @param RiskLevel|null $value Value to set for the riskLevelAggregated property. */ public function setRiskLevelAggregated(?RiskLevel $value): void { @@ -516,7 +516,7 @@ public function setRiskLevelAggregated(?RiskLevel $value): void { } /** - * Sets the riskLevelDuringSignIn property value. Risk level during sign-in. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. + * Sets the riskLevelDuringSignIn property value. Risk level during sign-in. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * @param RiskLevel|null $value Value to set for the riskLevelDuringSignIn property. */ public function setRiskLevelDuringSignIn(?RiskLevel $value): void { @@ -532,7 +532,7 @@ public function setRiskState(?RiskState $value): void { } /** - * Sets the status property value. Sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq) on errorCode property. + * Sets the status property value. Sign-in status. Includes the error code and description of the error (if there's a sign-in failure). Supports $filter (eq) on errorCode property. * @param SignInStatus|null $value Value to set for the status property. */ public function setStatus(?SignInStatus $value): void { diff --git a/src/Generated/Models/SignInLocation.php b/src/Generated/Models/SignInLocation.php index 319cbf66c81..d897cc71208 100644 --- a/src/Generated/Models/SignInLocation.php +++ b/src/Generated/Models/SignInLocation.php @@ -56,7 +56,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the city property value. Provides the city where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * Gets the city property value. Provides the city where the sign-in originated and is determined using latitude/longitude information from the sign-in activity. * @return string|null */ public function getCity(): ?string { @@ -68,7 +68,7 @@ public function getCity(): ?string { } /** - * Gets the countryOrRegion property value. Provides the country code info (2 letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * Gets the countryOrRegion property value. Provides the country code info (two letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. * @return string|null */ public function getCountryOrRegion(): ?string { @@ -160,7 +160,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the city property value. Provides the city where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * Sets the city property value. Provides the city where the sign-in originated and is determined using latitude/longitude information from the sign-in activity. * @param string|null $value Value to set for the city property. */ public function setCity(?string $value): void { @@ -168,7 +168,7 @@ public function setCity(?string $value): void { } /** - * Sets the countryOrRegion property value. Provides the country code info (2 letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * Sets the countryOrRegion property value. Provides the country code info (two letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. * @param string|null $value Value to set for the countryOrRegion property. */ public function setCountryOrRegion(?string $value): void { diff --git a/src/Generated/Models/SubjectRightsRequest.php b/src/Generated/Models/SubjectRightsRequest.php index e282988142f..b6f5338e914 100644 --- a/src/Generated/Models/SubjectRightsRequest.php +++ b/src/Generated/Models/SubjectRightsRequest.php @@ -318,7 +318,7 @@ public function getMailboxlocations(): ?SubjectRightsRequestMailboxLocation { } /** - * Gets the notes property value. List of notes associcated with the request. + * Gets the notes property value. List of notes associated with the request. * @return array|null */ public function getNotes(): ?array { @@ -344,7 +344,7 @@ public function getPauseAfterEstimate(): ?bool { } /** - * Gets the regulations property value. List of regulations that this request will fulfill. + * Gets the regulations property value. List of regulations that this request fulfills. * @return array|null */ public function getRegulations(): ?array { @@ -384,7 +384,7 @@ public function getStages(): ?array { } /** - * Gets the status property value. The status of the request.. Possible values are: active, closed, unknownFutureValue. + * Gets the status property value. The status of the request. Possible values are: active, closed, unknownFutureValue. * @return SubjectRightsRequestStatus|null */ public function getStatus(): ?SubjectRightsRequestStatus { @@ -616,7 +616,7 @@ public function setMailboxlocations(?SubjectRightsRequestMailboxLocation $value) } /** - * Sets the notes property value. List of notes associcated with the request. + * Sets the notes property value. List of notes associated with the request. * @param array|null $value Value to set for the notes property. */ public function setNotes(?array $value): void { @@ -632,7 +632,7 @@ public function setPauseAfterEstimate(?bool $value): void { } /** - * Sets the regulations property value. List of regulations that this request will fulfill. + * Sets the regulations property value. List of regulations that this request fulfills. * @param array|null $value Value to set for the regulations property. */ public function setRegulations(?array $value): void { @@ -656,7 +656,7 @@ public function setStages(?array $value): void { } /** - * Sets the status property value. The status of the request.. Possible values are: active, closed, unknownFutureValue. + * Sets the status property value. The status of the request. Possible values are: active, closed, unknownFutureValue. * @param SubjectRightsRequestStatus|null $value Value to set for the status property. */ public function setStatus(?SubjectRightsRequestStatus $value): void { diff --git a/src/Generated/Models/TeamsAppDefinition.php b/src/Generated/Models/TeamsAppDefinition.php index c6256956e1f..1db8a07860a 100644 --- a/src/Generated/Models/TeamsAppDefinition.php +++ b/src/Generated/Models/TeamsAppDefinition.php @@ -118,7 +118,7 @@ public function getLastModifiedDateTime(): ?DateTime { } /** - * Gets the publishingState property value. The published status of a specific version of a Teams app. Possible values are:submitted — The specific version of the Teams app has been submitted and is under review. published — The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin. + * Gets the publishingState property value. The published status of a specific version of a Teams app. Possible values are:submitted—The specific version of the Teams app has been submitted and is under review. published—The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected—The admin rejected the request to publish the specific version of the Teams app. * @return TeamsAppPublishingState|null */ public function getPublishingState(): ?TeamsAppPublishingState { @@ -232,7 +232,7 @@ public function setLastModifiedDateTime(?DateTime $value): void { } /** - * Sets the publishingState property value. The published status of a specific version of a Teams app. Possible values are:submitted — The specific version of the Teams app has been submitted and is under review. published — The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin. + * Sets the publishingState property value. The published status of a specific version of a Teams app. Possible values are:submitted—The specific version of the Teams app has been submitted and is under review. published—The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected—The admin rejected the request to publish the specific version of the Teams app. * @param TeamsAppPublishingState|null $value Value to set for the publishingState property. */ public function setPublishingState(?TeamsAppPublishingState $value): void { diff --git a/src/Generated/Models/TeamworkHostedContent.php b/src/Generated/Models/TeamworkHostedContent.php index 0fd65166626..70d3290824d 100644 --- a/src/Generated/Models/TeamworkHostedContent.php +++ b/src/Generated/Models/TeamworkHostedContent.php @@ -45,7 +45,7 @@ public function getContentBytes(): ?StreamInterface { } /** - * Gets the contentType property value. Write only. Content type. sicj as image/png, image/jpg. + * Gets the contentType property value. Write only. Content type. such as image/png, image/jpg. * @return string|null */ public function getContentType(): ?string { @@ -87,7 +87,7 @@ public function setContentBytes(?StreamInterface $value): void { } /** - * Sets the contentType property value. Write only. Content type. sicj as image/png, image/jpg. + * Sets the contentType property value. Write only. Content type. such as image/png, image/jpg. * @param string|null $value Value to set for the contentType property. */ public function setContentType(?string $value): void { diff --git a/src/Generated/Models/TermColumn.php b/src/Generated/Models/TermColumn.php index d7503a24536..f44dfabf7a0 100644 --- a/src/Generated/Models/TermColumn.php +++ b/src/Generated/Models/TermColumn.php @@ -50,7 +50,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the allowMultipleValues property value. Specifies whether the column will allow more than one value. + * Gets the allowMultipleValues property value. Specifies whether the column allows more than one value. * @return bool|null */ public function getAllowMultipleValues(): ?bool { @@ -154,7 +154,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the allowMultipleValues property value. Specifies whether the column will allow more than one value. + * Sets the allowMultipleValues property value. Specifies whether the column allows more than one value. * @param bool|null $value Value to set for the allowMultipleValues property. */ public function setAllowMultipleValues(?bool $value): void { diff --git a/src/Generated/Models/UnifiedRoleManagementPolicyExpirationRule.php b/src/Generated/Models/UnifiedRoleManagementPolicyExpirationRule.php index cfe3f53524e..2a311e2e72e 100644 --- a/src/Generated/Models/UnifiedRoleManagementPolicyExpirationRule.php +++ b/src/Generated/Models/UnifiedRoleManagementPolicyExpirationRule.php @@ -51,7 +51,7 @@ public function getIsExpirationRequired(): ?bool { } /** - * Gets the maximumDuration property value. The maximum duration allowed for eligibility or assignment which is not permanent. Required when isExpirationRequired is true. + * Gets the maximumDuration property value. The maximum duration allowed for eligibility or assignment that isn't permanent. Required when isExpirationRequired is true. * @return DateInterval|null */ public function getMaximumDuration(): ?DateInterval { @@ -81,7 +81,7 @@ public function setIsExpirationRequired(?bool $value): void { } /** - * Sets the maximumDuration property value. The maximum duration allowed for eligibility or assignment which is not permanent. Required when isExpirationRequired is true. + * Sets the maximumDuration property value. The maximum duration allowed for eligibility or assignment that isn't permanent. Required when isExpirationRequired is true. * @param DateInterval|null $value Value to set for the maximumDuration property. */ public function setMaximumDuration(?DateInterval $value): void { diff --git a/src/Generated/Models/User.php b/src/Generated/Models/User.php index a9f8509f05a..8d0b14516f9 100644 --- a/src/Generated/Models/User.php +++ b/src/Generated/Models/User.php @@ -1491,7 +1491,7 @@ public function getPreferredDataLocation(): ?string { } /** - * Gets the preferredLanguage property value. The preferred language for the user. Should follow ISO 639-1 Code; for example, en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) + * Gets the preferredLanguage property value. The preferred language for the user. The preferred language format is based on RFC 4646. The name is a combination of an ISO 639 two-letter lowercase culture code associated with the language, and an ISO 3166 two-letter uppercase subculture code associated with the country or region. Example: 'en-US', or 'es-ES'. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) * @return string|null */ public function getPreferredLanguage(): ?string { @@ -2733,7 +2733,7 @@ public function setPreferredDataLocation(?string $value): void { } /** - * Sets the preferredLanguage property value. The preferred language for the user. Should follow ISO 639-1 Code; for example, en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) + * Sets the preferredLanguage property value. The preferred language for the user. The preferred language format is based on RFC 4646. The name is a combination of an ISO 639 two-letter lowercase culture code associated with the language, and an ISO 3166 two-letter uppercase subculture code associated with the country or region. Example: 'en-US', or 'es-ES'. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) * @param string|null $value Value to set for the preferredLanguage property. */ public function setPreferredLanguage(?string $value): void { diff --git a/src/Generated/Models/WebApplication.php b/src/Generated/Models/WebApplication.php index caed8732421..5a7c6df2cbf 100644 --- a/src/Generated/Models/WebApplication.php +++ b/src/Generated/Models/WebApplication.php @@ -104,7 +104,7 @@ public function getImplicitGrantSettings(): ?ImplicitGrantSettings { } /** - * Gets the logoutUrl property value. Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols. + * Gets the logoutUrl property value. Specifies the URL that is used by Microsoft's authorization service to log out a user using front-channel, back-channel or SAML logout protocols. * @return string|null */ public function getLogoutUrl(): ?string { @@ -202,7 +202,7 @@ public function setImplicitGrantSettings(?ImplicitGrantSettings $value): void { } /** - * Sets the logoutUrl property value. Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols. + * Sets the logoutUrl property value. Specifies the URL that is used by Microsoft's authorization service to log out a user using front-channel, back-channel or SAML logout protocols. * @param string|null $value Value to set for the logoutUrl property. */ public function setLogoutUrl(?string $value): void { diff --git a/src/Generated/Models/Win32LobAppCollectionResponse.php b/src/Generated/Models/Win32LobAppCollectionResponse.php new file mode 100644 index 00000000000..cd380ca5aa8 --- /dev/null +++ b/src/Generated/Models/Win32LobAppCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Win32LobApp::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, Win32LobApp::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/WindowsAppXCollectionResponse.php b/src/Generated/Models/WindowsAppXCollectionResponse.php new file mode 100644 index 00000000000..f58c3bd0736 --- /dev/null +++ b/src/Generated/Models/WindowsAppXCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([WindowsAppX::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, WindowsAppX::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/WindowsMobileMSICollectionResponse.php b/src/Generated/Models/WindowsMobileMSICollectionResponse.php new file mode 100644 index 00000000000..cb7393a37bf --- /dev/null +++ b/src/Generated/Models/WindowsMobileMSICollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([WindowsMobileMSI::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, WindowsMobileMSI::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/WindowsUniversalAppXCollectionResponse.php b/src/Generated/Models/WindowsUniversalAppXCollectionResponse.php new file mode 100644 index 00000000000..3d2b39f70bb --- /dev/null +++ b/src/Generated/Models/WindowsUniversalAppXCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([WindowsUniversalAppX::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, WindowsUniversalAppX::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/WindowsWebAppCollectionResponse.php b/src/Generated/Models/WindowsWebAppCollectionResponse.php new file mode 100644 index 00000000000..41043146445 --- /dev/null +++ b/src/Generated/Models/WindowsWebAppCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([WindowsWebApp::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, WindowsWebApp::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/WorkbookNamedItem.php b/src/Generated/Models/WorkbookNamedItem.php index 7e649174cf9..826fd489aba 100644 --- a/src/Generated/Models/WorkbookNamedItem.php +++ b/src/Generated/Models/WorkbookNamedItem.php @@ -90,7 +90,7 @@ public function getType(): ?string { } /** - * Gets the value property value. Represents the formula that the name is defined to refer to. E.g. =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. + * Gets the value property value. Represents the formula that the name is defined to refer to. for example, =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. * @return Json|null */ public function getValue(): ?Json { @@ -173,7 +173,7 @@ public function setType(?string $value): void { } /** - * Sets the value property value. Represents the formula that the name is defined to refer to. E.g. =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. + * Sets the value property value. Represents the formula that the name is defined to refer to. for example, =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. * @param Json|null $value Value to set for the value property. */ public function setValue(?Json $value): void { diff --git a/src/Generated/Models/WorkbookRange.php b/src/Generated/Models/WorkbookRange.php index 46d766d7aeb..4ff2d1e92c8 100644 --- a/src/Generated/Models/WorkbookRange.php +++ b/src/Generated/Models/WorkbookRange.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the address property value. Represents the range reference in A1-style. Address value will contain the Sheet reference (e.g. Sheet1!A1:B4). Read-only. + * Gets the address property value. Represents the range reference in A1-style. Address value contains the Sheet reference (for example, Sheet1!A1:B4). Read-only. * @return string|null */ public function getAddress(): ?string { @@ -247,7 +247,7 @@ public function getSort(): ?WorkbookRangeSort { } /** - * Gets the text property value. Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * Gets the text property value. Text values of the specified range. The Text value won't depend on the cell width. The # sign substitution that happens in Excel UI won't affect the text value returned by the API. Read-only. * @return Json|null */ public function getText(): ?Json { @@ -259,7 +259,7 @@ public function getText(): ?Json { } /** - * Gets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * Gets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contains an error returns the error string. * @return Json|null */ public function getValues(): ?Json { @@ -323,7 +323,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the address property value. Represents the range reference in A1-style. Address value will contain the Sheet reference (e.g. Sheet1!A1:B4). Read-only. + * Sets the address property value. Represents the range reference in A1-style. Address value contains the Sheet reference (for example, Sheet1!A1:B4). Read-only. * @param string|null $value Value to set for the address property. */ public function setAddress(?string $value): void { @@ -451,7 +451,7 @@ public function setSort(?WorkbookRangeSort $value): void { } /** - * Sets the text property value. Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * Sets the text property value. Text values of the specified range. The Text value won't depend on the cell width. The # sign substitution that happens in Excel UI won't affect the text value returned by the API. Read-only. * @param Json|null $value Value to set for the text property. */ public function setText(?Json $value): void { @@ -459,7 +459,7 @@ public function setText(?Json $value): void { } /** - * Sets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * Sets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contains an error returns the error string. * @param Json|null $value Value to set for the values property. */ public function setValues(?Json $value): void { diff --git a/src/Generated/Models/WorkbookRangeBorder.php b/src/Generated/Models/WorkbookRangeBorder.php index f091f86d21a..bb22222dc03 100644 --- a/src/Generated/Models/WorkbookRangeBorder.php +++ b/src/Generated/Models/WorkbookRangeBorder.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb } /** - * Gets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange'). + * Gets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (for example 'FFA500') or as a named HTML color (for example 'orange'). * @return string|null */ public function getColor(): ?string { @@ -99,7 +99,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange'). + * Sets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (for example 'FFA500') or as a named HTML color (for example 'orange'). * @param string|null $value Value to set for the color property. */ public function setColor(?string $value): void { diff --git a/src/Generated/Models/WorkbookSessionInfo.php b/src/Generated/Models/WorkbookSessionInfo.php index 2f64cf62b5b..5787789c762 100644 --- a/src/Generated/Models/WorkbookSessionInfo.php +++ b/src/Generated/Models/WorkbookSessionInfo.php @@ -69,7 +69,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the id property value. Id of the workbook session. + * Gets the id property value. ID of the workbook session. * @return string|null */ public function getId(): ?string { @@ -132,7 +132,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the id property value. Id of the workbook session. + * Sets the id property value. ID of the workbook session. * @param string|null $value Value to set for the id property. */ public function setId(?string $value): void { diff --git a/src/Generated/Models/WorkbookTable.php b/src/Generated/Models/WorkbookTable.php index 9b9b3409cb9..f1fae33d86b 100644 --- a/src/Generated/Models/WorkbookTable.php +++ b/src/Generated/Models/WorkbookTable.php @@ -88,7 +88,7 @@ public function getHighlightLastColumn(): ?bool { } /** - * Gets the legacyId property value. Legacy Id used in older Excle clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and should not be parsed to any other type. Read-only. + * Gets the legacyId property value. Legacy ID used in older Excel clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and shouldn't be parsed to any other type. Read-only. * @return string|null */ public function getLegacyId(): ?string { @@ -198,7 +198,7 @@ public function getSort(): ?WorkbookTableSort { } /** - * Gets the style property value. Constant value that represents the Table style. The possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. + * Gets the style property value. Constant value that represents the Table style. The possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. * @return string|null */ public function getStyle(): ?string { @@ -268,7 +268,7 @@ public function setHighlightLastColumn(?bool $value): void { } /** - * Sets the legacyId property value. Legacy Id used in older Excle clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and should not be parsed to any other type. Read-only. + * Sets the legacyId property value. Legacy ID used in older Excel clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and shouldn't be parsed to any other type. Read-only. * @param string|null $value Value to set for the legacyId property. */ public function setLegacyId(?string $value): void { @@ -340,7 +340,7 @@ public function setSort(?WorkbookTableSort $value): void { } /** - * Sets the style property value. Constant value that represents the Table style. The possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. + * Sets the style property value. Constant value that represents the Table style. The possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. * @param string|null $value Value to set for the style property. */ public function setStyle(?string $value): void { diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php index 0f1e8a58d67..02f8bb901a3 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php @@ -141,11 +141,11 @@ public function get(?OrganizationItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. + * Update the properties of a organization object. * @param Organization $body The request body * @param OrganizationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/organization-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0 Find more info here */ public function patch(Organization $body, ?OrganizationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -199,7 +199,7 @@ public function toGetRequestInformation(?OrganizationItemRequestBuilderGetReques } /** - * Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. + * Update the properties of a organization object. * @param Organization $body The request body * @param OrganizationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php index b5061c5ac21..7da2a63b297 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php @@ -50,7 +50,7 @@ public function delete(?AuthoredNoteItemRequestBuilderDeleteRequestConfiguration } /** - * List of notes associcated with the request. + * List of notes associated with the request. * @param AuthoredNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise */ @@ -104,7 +104,7 @@ public function toDeleteRequestInformation(?AuthoredNoteItemRequestBuilderDelete } /** - * List of notes associcated with the request. + * List of notes associated with the request. * @param AuthoredNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetQueryParameters.php index 663d528fc84..88ca5af9b36 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of notes associcated with the request. + * List of notes associated with the request. */ class AuthoredNoteItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.php index cb1e8bdfe17..032935ec63a 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.php @@ -50,7 +50,7 @@ public function delete(?DataSourceRequestBuilderDeleteRequestConfiguration $requ } /** - * User source or SharePoint site data source as non-custodial data source. + * User source or SharePoint site data source as noncustodial data source. * @param DataSourceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise */ @@ -104,7 +104,7 @@ public function toDeleteRequestInformation(?DataSourceRequestBuilderDeleteReques } /** - * User source or SharePoint site data source as non-custodial data source. + * User source or SharePoint site data source as noncustodial data source. * @param DataSourceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilderGetQueryParameters.php index 07a7304b18b..99e3e8fb962 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * User source or SharePoint site data source as non-custodial data source. + * User source or SharePoint site data source as noncustodial data source. */ class DataSourceRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php index bbfc63a6c50..c841d3d1edf 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Operation entity that represents the latest indexing for the non-custodial data source. + * Operation entity that represents the latest indexing for the noncustodial data source. * @param LastIndexOperationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise */ @@ -50,7 +50,7 @@ public function get(?LastIndexOperationRequestBuilderGetRequestConfiguration $re } /** - * Operation entity that represents the latest indexing for the non-custodial data source. + * Operation entity that represents the latest indexing for the noncustodial data source. * @param LastIndexOperationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php index cec47a0229c..f3b6686a38a 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Operation entity that represents the latest indexing for the non-custodial data source. + * Operation entity that represents the latest indexing for the noncustodial data source. */ class LastIndexOperationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php index 8023453bbef..42e98fe17b1 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. + * Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-applyhold?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function post(?MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestCo } /** - * Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. + * Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php index 240e084cf69..7e86045feb8 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. + * Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-removehold?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function post(?MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestC } /** - * Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. + * Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php index ab73a3b2a01..591335bde7f 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php @@ -50,7 +50,7 @@ public function delete(?AuthoredNoteItemRequestBuilderDeleteRequestConfiguration } /** - * List of notes associcated with the request. + * List of notes associated with the request. * @param AuthoredNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise */ @@ -104,7 +104,7 @@ public function toDeleteRequestInformation(?AuthoredNoteItemRequestBuilderDelete } /** - * List of notes associcated with the request. + * List of notes associated with the request. * @param AuthoredNoteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetQueryParameters.php index 3b76f77b4a1..af30048cba8 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of notes associcated with the request. + * List of notes associated with the request. */ class AuthoredNoteItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index c4b978478a7..3ca32d9b6b4 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -32,10 +32,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -90,7 +90,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index 8b81d116be3..eb33d814e16 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 @@ -80,11 +80,11 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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 - * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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 1cdd9122349..52b3f7a95cf 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -80,11 +80,11 @@ 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 - * @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); @@ -121,7 +121,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/Teams/Item/EscapedClone/CloneRequestBuilder.php b/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php index efd9f06e70f..a266e468542 100644 --- a/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -51,7 +51,7 @@ public function post(ClonePostRequestBody $body, ?CloneRequestBuilderPostRequest } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php index 0dccaaa28e4..b208e42b9c7 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php @@ -32,10 +32,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -90,7 +90,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php index cc3b417732c..fe657725085 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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 - * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/PrimaryChannel/Messages/MessagesRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php index cdeea24a6b6..6351f7cf848 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php @@ -80,11 +80,11 @@ 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 - * @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); @@ -121,7 +121,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/Teams/Item/Unarchive/UnarchiveRequestBuilder.php b/src/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.php index 6c716367598..4f91eec2a2e 100644 --- a/src/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.php +++ b/src/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestCo } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index cae3a239c52..6d085516755 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -32,10 +32,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -90,7 +90,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index dfca43fa7c9..71d237d62be 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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 - * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php index 04ca15a1a13..a442e0757b5 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -80,11 +80,11 @@ 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 - * @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); @@ -121,7 +121,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/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php index 99a31c7c335..1949e08e421 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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 - * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Users/Item/Events/EventsRequestBuilder.php b/src/Generated/Users/Item/Events/EventsRequestBuilder.php index 257f33a6fd9..fc28ca8947a 100644 --- a/src/Generated/Users/Item/Events/EventsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/EventsRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?EventsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: + * Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/user-post-events?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/multivaluelegacyextendedproperty-post-multivalueextendedproperties?view=graph-rest-1.0 Find more info here */ public function post(Event $body, ?EventsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } /** - * Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: + * Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index b96d7d36394..e41c9d75d71 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -32,10 +32,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -90,7 +90,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index 84711f87951..3c37e11769d 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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 - * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php index ea9f23adac9..ad04601e415 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -80,11 +80,11 @@ 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 - * @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); @@ -121,7 +121,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/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php index 9a045773d7f..4bae53311b8 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -51,7 +51,7 @@ public function post(ClonePostRequestBody $body, ?CloneRequestBuilderPostRequest } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php index 20a6774bae8..d250b722b45 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php @@ -32,10 +32,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -90,7 +90,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php index 44b1217da57..70a6b12f4bc 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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 - * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php index e4590ecc937..8f01c00b7ce 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php @@ -80,11 +80,11 @@ 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 - * @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); @@ -121,7 +121,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/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.php index 496f1d378c1..fee60a25dd1 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @link https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 Find more info here @@ -50,7 +50,7 @@ public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestCo } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php index bb48ee045cf..c42a65efd7a 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?ChildFoldersRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new mailSearchFolder in the specified user's mailbox. + * Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. * @param MailFolder $body The request body * @param ChildFoldersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/mailsearchfolder-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/mailfolder-post-childfolders?view=graph-rest-1.0 Find more info here */ public function post(MailFolder $body, ?ChildFoldersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?ChildFoldersRequestBuilderGetRequestCon } /** - * Create a new mailSearchFolder in the specified user's mailbox. + * Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. * @param MailFolder $body The request body * @param ChildFoldersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index 28d5eace550..f18f323615c 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -61,10 +61,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 Find more info here */ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -100,7 +100,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 86f7e885226..adfe384f1e1 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php index b62032e9570..05611de2be6 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php @@ -110,11 +110,11 @@ public function get(?MailFolderItemRequestBuilderGetRequestConfiguration $reques } /** - * Update the properties of mailfolder object. + * Update the writable properties of a mailSearchFolder object. * @param MailFolder $body The request body * @param MailFolderItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/mailfolder-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/mailsearchfolder-update?view=graph-rest-1.0 Find more info here */ public function patch(MailFolder $body, ?MailFolderItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -168,7 +168,7 @@ public function toGetRequestInformation(?MailFolderItemRequestBuilderGetRequestC } /** - * Update the properties of mailfolder object. + * Update the writable properties of a mailSearchFolder object. * @param MailFolder $body The request body * @param MailFolderItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index fefe39b5693..a3685d88600 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -61,10 +61,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 Find more info here */ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -100,7 +100,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index b214ea913ff..024ee112581 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index 04045e3ed90..23f663a9566 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -61,10 +61,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 Find more info here */ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -100,7 +100,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 694b8df12b0..185c6a1ec04 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php index a7e392abd52..083a7f17668 100644 --- a/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php @@ -128,10 +128,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a message in the specified user's mailbox, or delete a relationship of the message. + * Delete eventMessage. * @param MessageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MessageItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -166,11 +166,11 @@ public function get(?MessageItemRequestBuilderGetRequestConfiguration $requestCo } /** - * Update the properties of an eventMessage object. + * Update the properties of a message object. * @param Message $body The request body * @param MessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/eventmessage-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-update?view=graph-rest-1.0 Find more info here */ public function patch(Message $body, ?MessageItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -186,7 +186,7 @@ public function patch(Message $body, ?MessageItemRequestBuilderPatchRequestConfi } /** - * Delete a message in the specified user's mailbox, or delete a relationship of the message. + * Delete eventMessage. * @param MessageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -224,7 +224,7 @@ public function toGetRequestInformation(?MessageItemRequestBuilderGetRequestConf } /** - * Update the properties of an eventMessage object. + * Update the properties of a message object. * @param Message $body The request body * @param MessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php index 06635b0471c..ba5359ce82a 100644 --- a/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php @@ -80,11 +80,11 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param Message $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/user-post-messages?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(Message $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -121,7 +121,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } /** - * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param Message $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index eed1e38fd78..6e84e9745fc 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -589,7 +589,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * Deletes a user. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UserItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -615,10 +615,10 @@ public function exportDeviceAndAppManagementDataWithSkipWithTop(int $skip, int $ } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 Find more info here */ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -634,11 +634,11 @@ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. + * Update the properties of a user object. * @param User $body The request body * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UserItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -681,7 +681,7 @@ public function toDeleteRequestInformation(?UserItemRequestBuilderDeleteRequestC } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -702,7 +702,7 @@ public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfigu } /** - * Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. + * Update the properties of a user object. * @param User $body The request body * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php index 4ffb975bcb1..13f627030d0 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. */ class UserItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/UsersRequestBuilder.php b/src/Generated/Users/UsersRequestBuilder.php index 4da144991a5..262996eecf1 100644 --- a/src/Generated/Users/UsersRequestBuilder.php +++ b/src/Generated/Users/UsersRequestBuilder.php @@ -85,10 +85,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the user objects. + * Retrieve a list of user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 Find more info here */ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -104,11 +104,11 @@ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param User $body The request body * @param UsersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise - * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0 Find more info here */ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -124,7 +124,7 @@ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $r } /** - * List properties and relationships of the user objects. + * Retrieve a list of user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -145,7 +145,7 @@ public function toGetRequestInformation(?UsersRequestBuilderGetRequestConfigurat } /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param User $body The request body * @param UsersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php index f6cde86ae8e..bb173f6b850 100644 --- a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the user objects. + * Retrieve a list of user objects. */ class UsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index a6e59652812..2d861f36eb8 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "456134B24E2B84946DA69D5EF3ECF18F73345F31DC3553C245481F4EC1D5ED7DC964A6E57DAF8AF9AD0A3E2F1AFCAD48A8C33F0FF850D5E28017C920F45F478B", + "descriptionHash": "2AAF887FC5FCB642F6A66D336486BA0F789832446E6D8397B3F06786FC10C93E8C65E556AEC2D90537E5E8D95D9898908E4A7B7F1BF93B7D9945EFC269243CC5", "descriptionLocation": "/mnt/vss/_work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.7.0",