Skip to content

Commit 25aaca4

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 199037
1 parent a592ae3 commit 25aaca4

File tree

154 files changed

+413
-399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+413
-399
lines changed

src/Generated/Admin/Teams/Policy/PolicyRequestBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function delete(?PolicyRequestBuilderDeleteRequestConfiguration $requestC
4545
}
4646

4747
/**
48-
* Get policy from admin
48+
* Represents a navigation property to the Teams policy assignment object.
4949
* @param PolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5050
* @return Promise<TeamsPolicyAssignment|null>
5151
* @throws Exception
@@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?PolicyRequestBuilderDeleteRequestCon
9292
}
9393

9494
/**
95-
* Get policy from admin
95+
* Represents a navigation property to the Teams policy assignment object.
9696
* @param PolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9797
* @return RequestInformation
9898
*/

src/Generated/Admin/Teams/Policy/PolicyRequestBuilderGetQueryParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Get policy from admin
8+
* Represents a navigation property to the Teams policy assignment object.
99
*/
1010
class PolicyRequestBuilderGetQueryParameters
1111
{

src/Generated/Admin/Teams/TeamsRequestBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function delete(?TeamsRequestBuilderDeleteRequestConfiguration $requestCo
6161
}
6262

6363
/**
64-
* A container for all Teams telephone number management functionalities and user configurations.
64+
* A container for Teams administration functionalities, such as user configurations, telephone number management, and policy assignments.
6565
* @param TeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6666
* @return Promise<TeamsAdminRoot|null>
6767
* @throws Exception
@@ -108,7 +108,7 @@ public function toDeleteRequestInformation(?TeamsRequestBuilderDeleteRequestConf
108108
}
109109

110110
/**
111-
* A container for all Teams telephone number management functionalities and user configurations.
111+
* A container for Teams administration functionalities, such as user configurations, telephone number management, and policy assignments.
112112
* @param TeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
113113
* @return RequestInformation
114114
*/

src/Generated/Admin/Teams/TeamsRequestBuilderGetQueryParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* A container for all Teams telephone number management functionalities and user configurations.
8+
* A container for Teams administration functionalities, such as user configurations, telephone number management, and policy assignments.
99
*/
1010
class TeamsRequestBuilderGetQueryParameters
1111
{

src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ public function delete(?UpdatableAssetItemRequestBuilderDeleteRequestConfigurati
7878
}
7979

8080
/**
81-
* Read the properties and relationships of an updatableAsset object.
81+
* Read the properties and relationships of an updatableAssetGroup object.
8282
* @param UpdatableAssetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8383
* @return Promise<UpdatableAsset|null>
8484
* @throws Exception
85-
* @link https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta Find more info here
85+
* @link https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta Find more info here
8686
*/
8787
public function get(?UpdatableAssetItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
8888
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -126,7 +126,7 @@ public function toDeleteRequestInformation(?UpdatableAssetItemRequestBuilderDele
126126
}
127127

128128
/**
129-
* Read the properties and relationships of an updatableAsset object.
129+
* Read the properties and relationships of an updatableAssetGroup object.
130130
* @param UpdatableAssetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
131131
* @return RequestInformation
132132
*/

src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilderGetQueryParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Read the properties and relationships of an updatableAsset object.
8+
* Read the properties and relationships of an updatableAssetGroup object.
99
*/
1010
class UpdatableAssetItemRequestBuilderGetQueryParameters
1111
{

src/Generated/AdministrativeUnits/Item/Restore/RestoreRequestBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3131
}
3232

3333
/**
34-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
34+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
3535
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3636
* @return Promise<DirectoryObject|null>
3737
* @throws Exception
@@ -46,7 +46,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf
4646
}
4747

4848
/**
49-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
49+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
5050
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return RequestInformation
5252
*/

src/Generated/Applications/Item/Restore/RestoreRequestBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3131
}
3232

3333
/**
34-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
34+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
3535
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3636
* @return Promise<DirectoryObject|null>
3737
* @throws Exception
@@ -46,7 +46,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf
4646
}
4747

4848
/**
49-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
49+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
5050
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return RequestInformation
5252
*/

src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi
9191
}
9292

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

130130
/**
131-
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
131+
* Send a new chatMessage in the specified channel or a chat.
132132
* @param ChatMessage $body The request body
133133
* @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
134134
* @return RequestInformation

src/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3030
}
3131

3232
/**
33-
* Set the availability and activity status in a presence session of an application for a user.
33+
* Set the availability and activity status in a presence session of an application for a user. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API.
3434
* @param SetPresencePostRequestBody $body The request body
3535
* @param SetPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3636
* @return Promise<void|null>
@@ -46,7 +46,7 @@ public function post(SetPresencePostRequestBody $body, ?SetPresenceRequestBuilde
4646
}
4747

4848
/**
49-
* Set the availability and activity status in a presence session of an application for a user.
49+
* Set the availability and activity status in a presence session of an application for a user. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API.
5050
* @param SetPresencePostRequestBody $body The request body
5151
* @param SetPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5252
* @return RequestInformation

0 commit comments

Comments
 (0)