Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated models and request builders #1553

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(generation): update request builders and models
Update generated files with build 154944
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Jul 3, 2024
commit 5e7f57f796ec5fc7e7bd775c9d8d56858eedb7c7
Original file line number Diff line number Diff line change
@@ -75,12 +75,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi
}

/**
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
* Send a new chatMessage in the specified channel or a chat.
* @param ChatMessage $body The request body
* @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ChatMessage|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here
*/
public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
@@ -112,7 +112,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu
}

/**
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
* Send a new chatMessage in the specified channel or a chat.
* @param ChatMessage $body The request body
* @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
Original file line number Diff line number Diff line change
@@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* 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.
* @param InvitePostRequestBody $body The request body
* @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<InviteParticipantsOperation|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 Find more info here
*/
public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
@@ -47,7 +47,7 @@ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostReque
}

/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* 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.
* @param InvitePostRequestBody $body The request body
* @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
Original file line number Diff line number Diff line change
@@ -155,7 +155,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* @param DeviceAppManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<DeviceAppManagement|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0 Find more info here
*/
public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -171,7 +171,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r
* @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<DeviceAppManagement|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-update?view=graph-rest-1.0 Find more info here
*/
public function patch(DeviceAppManagement $body, ?DeviceAppManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
Original file line number Diff line number Diff line change
@@ -53,11 +53,11 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura
}

/**
* Read properties and relationships of the managedAppConfiguration object.
* Read properties and relationships of the managedAppPolicy object.
* @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedAppPolicy|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedAppPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe
}

/**
* Read properties and relationships of the managedAppConfiguration object.
* Read properties and relationships of the managedAppPolicy object.
* @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Read properties and relationships of the managedAppConfiguration object.
* Read properties and relationships of the managedAppPolicy object.
*/
class ManagedAppPolicyItemRequestBuilderGetQueryParameters
{
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here
*/
public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Original file line number Diff line number Diff line change
@@ -52,11 +52,11 @@ 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<ManagedAppPolicyCollectionResponse|null>
* @throws Exception
* @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);
@@ -82,7 +82,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
*/
Original file line number Diff line number Diff line change
@@ -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
{
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here
*/
public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here
*/
public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Original file line number Diff line number Diff line change
@@ -69,11 +69,11 @@ public function delete(?ManagedAppRegistrationItemRequestBuilderDeleteRequestCon
}

/**
* Read properties and relationships of the androidManagedAppRegistration object.
* Read properties and relationships of the managedAppRegistration object.
* @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedAppRegistration|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -117,7 +117,7 @@ public function toDeleteRequestInformation(?ManagedAppRegistrationItemRequestBui
}

/**
* Read properties and relationships of the androidManagedAppRegistration object.
* Read properties and relationships of the managedAppRegistration object.
* @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Read properties and relationships of the androidManagedAppRegistration object.
* Read properties and relationships of the managedAppRegistration object.
*/
class ManagedAppRegistrationItemRequestBuilderGetQueryParameters
{
Original file line number Diff line number Diff line change
@@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* List properties and relationships of the androidManagedAppRegistration objects.
* List properties and relationships of the iosManagedAppRegistration objects.
* @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedAppRegistrationCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedAppRegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -91,7 +91,7 @@ public function post(ManagedAppRegistration $body, ?ManagedAppRegistrationsReque
}

/**
* List properties and relationships of the androidManagedAppRegistration objects.
* List properties and relationships of the iosManagedAppRegistration objects.
* @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* List properties and relationships of the androidManagedAppRegistration objects.
* List properties and relationships of the iosManagedAppRegistration objects.
*/
class ManagedAppRegistrationsRequestBuilderGetQueryParameters
{
Original file line number Diff line number Diff line change
@@ -45,11 +45,11 @@ public function delete(?ManagedAppStatusItemRequestBuilderDeleteRequestConfigura
}

/**
* Read properties and relationships of the managedAppStatus object.
* Read properties and relationships of the managedAppStatusRaw object.
* @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedAppStatus|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedAppStatusItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedAppStatusItemRequestBuilderDe
}

/**
* Read properties and relationships of the managedAppStatus object.
* Read properties and relationships of the managedAppStatusRaw object.
* @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Original file line number Diff line number Diff line change
@@ -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
{
Original file line number Diff line number Diff line change
@@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* List properties and relationships of the managedAppStatusRaw objects.
* List properties and relationships of the managedAppStatus objects.
* @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedAppStatusCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedAppStatusesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -82,7 +82,7 @@ public function post(ManagedAppStatus $body, ?ManagedAppStatusesRequestBuilderPo
}

/**
* List properties and relationships of the managedAppStatusRaw objects.
* List properties and relationships of the managedAppStatus objects.
* @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* List properties and relationships of the managedAppStatusRaw objects.
* List properties and relationships of the managedAppStatus objects.
*/
class ManagedAppStatusesRequestBuilderGetQueryParameters
{
Loading