Skip to content

Commit 9e7d1a5

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 165500
1 parent 399aa6d commit 9e7d1a5

File tree

370 files changed

+9932
-2055
lines changed

Some content is hidden

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

370 files changed

+9932
-2055
lines changed

src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php

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

3333
/**
34-
* Delete a resourceConnection object.
34+
* Delete an operationalInsightsConnection object.
3535
* @param ResourceConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3636
* @return Promise<void|null>
3737
* @throws Exception
38-
* @link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta Find more info here
38+
* @link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta Find more info here
3939
*/
4040
public function delete(?ResourceConnectionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
4141
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
@@ -76,7 +76,7 @@ public function patch(ResourceConnection $body, ?ResourceConnectionItemRequestBu
7676
}
7777

7878
/**
79-
* Delete a resourceConnection object.
79+
* Delete an operationalInsightsConnection object.
8080
* @param ResourceConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8181
* @return RequestInformation
8282
*/

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
6363
}
6464

6565
/**
66-
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
66+
* Delete an updatableAsset object.
6767
* @param UpdatableAssetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6868
* @return Promise<void|null>
6969
* @throws Exception
70-
* @link https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta Find more info here
70+
* @link https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-beta Find more info here
7171
*/
7272
public function delete(?UpdatableAssetItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
7373
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
@@ -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 of an azureADDevice 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-azureaddevice-get?view=graph-rest-beta Find more info here
8686
*/
8787
public function get(?UpdatableAssetItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
8888
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -108,7 +108,7 @@ public function patch(UpdatableAsset $body, ?UpdatableAssetItemRequestBuilderPat
108108
}
109109

110110
/**
111-
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
111+
* Delete an updatableAsset object.
112112
* @param UpdatableAssetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
113113
* @return RequestInformation
114114
*/
@@ -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 of an azureADDevice 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 of an azureADDevice object.
99
*/
1010
class UpdatableAssetItemRequestBuilderGetQueryParameters
1111
{

src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3939
}
4040

4141
/**
42-
* Delete a complianceChange object.
42+
* Delete a contentApproval object.
4343
* @param ComplianceChangeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4444
* @return Promise<void|null>
4545
* @throws Exception
46-
* @link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta Find more info here
46+
* @link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta Find more info here
4747
*/
4848
public function delete(?ComplianceChangeItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
4949
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
@@ -54,11 +54,11 @@ public function delete(?ComplianceChangeItemRequestBuilderDeleteRequestConfigura
5454
}
5555

5656
/**
57-
* Read the properties and relationships of a complianceChange object.
57+
* Read the properties and relationships of a contentApproval object.
5858
* @param ComplianceChangeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5959
* @return Promise<ComplianceChange|null>
6060
* @throws Exception
61-
* @link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta Find more info here
61+
* @link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta Find more info here
6262
*/
6363
public function get(?ComplianceChangeItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
6464
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -69,12 +69,12 @@ public function get(?ComplianceChangeItemRequestBuilderGetRequestConfiguration $
6969
}
7070

7171
/**
72-
* Update the properties of a contentApproval object.
72+
* Update the properties of a complianceChange object.
7373
* @param ComplianceChange $body The request body
7474
* @param ComplianceChangeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7575
* @return Promise<ComplianceChange|null>
7676
* @throws Exception
77-
* @link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta Find more info here
77+
* @link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta Find more info here
7878
*/
7979
public function patch(ComplianceChange $body, ?ComplianceChangeItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
8080
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
@@ -85,7 +85,7 @@ public function patch(ComplianceChange $body, ?ComplianceChangeItemRequestBuilde
8585
}
8686

8787
/**
88-
* Delete a complianceChange object.
88+
* Delete a contentApproval object.
8989
* @param ComplianceChangeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9090
* @return RequestInformation
9191
*/
@@ -103,7 +103,7 @@ public function toDeleteRequestInformation(?ComplianceChangeItemRequestBuilderDe
103103
}
104104

105105
/**
106-
* Read the properties and relationships of a complianceChange object.
106+
* Read the properties and relationships of a contentApproval object.
107107
* @param ComplianceChangeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
108108
* @return RequestInformation
109109
*/
@@ -124,7 +124,7 @@ public function toGetRequestInformation(?ComplianceChangeItemRequestBuilderGetRe
124124
}
125125

126126
/**
127-
* Update the properties of a contentApproval object.
127+
* Update the properties of a complianceChange object.
128128
* @param ComplianceChange $body The request body
129129
* @param ComplianceChangeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
130130
* @return RequestInformation

src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilderGetQueryParameters.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 a complianceChange object.
8+
* Read the properties and relationships of a contentApproval object.
99
*/
1010
class ComplianceChangeItemRequestBuilderGetQueryParameters
1111
{

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,13 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3232

3333
/**
3434
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. 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.
35-
* @param RestorePostRequestBody $body The request body
3635
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3736
* @return Promise<DirectoryObject|null>
3837
* @throws Exception
3938
* @link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta Find more info here
4039
*/
41-
public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
42-
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
40+
public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
41+
$requestInfo = $this->toPostRequestInformation($requestConfiguration);
4342
$errorMappings = [
4443
'XXX' => [ODataError::class, 'createFromDiscriminatorValue'],
4544
];
@@ -48,11 +47,10 @@ public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostReq
4847

4948
/**
5049
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. 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.
51-
* @param RestorePostRequestBody $body The request body
5250
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5351
* @return RequestInformation
5452
*/
55-
public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation {
53+
public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation {
5654
$requestInfo = new RequestInformation();
5755
$requestInfo->urlTemplate = $this->urlTemplate;
5856
$requestInfo->pathParameters = $this->pathParameters;
@@ -62,7 +60,6 @@ public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreR
6260
$requestInfo->addRequestOptions(...$requestConfiguration->options);
6361
}
6462
$requestInfo->tryAddHeader('Accept', "application/json");
65-
$requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body);
6663
return $requestInfo;
6764
}
6865

src/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.php

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

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

4949
/**
50-
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
50+
* 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.
5151
* @param InvitePostRequestBody $body The request body
5252
* @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5353
* @return RequestInformation

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,13 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3232

3333
/**
3434
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. 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.
35-
* @param RestorePostRequestBody $body The request body
3635
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3736
* @return Promise<DirectoryObject|null>
3837
* @throws Exception
3938
* @link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta Find more info here
4039
*/
41-
public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
42-
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
40+
public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
41+
$requestInfo = $this->toPostRequestInformation($requestConfiguration);
4342
$errorMappings = [
4443
'XXX' => [ODataError::class, 'createFromDiscriminatorValue'],
4544
];
@@ -48,11 +47,10 @@ public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostReq
4847

4948
/**
5049
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. 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.
51-
* @param RestorePostRequestBody $body The request body
5250
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5351
* @return RequestInformation
5452
*/
55-
public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation {
53+
public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation {
5654
$requestInfo = new RequestInformation();
5755
$requestInfo->urlTemplate = $this->urlTemplate;
5856
$requestInfo->pathParameters = $this->pathParameters;
@@ -62,7 +60,6 @@ public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreR
6260
$requestInfo->addRequestOptions(...$requestConfiguration->options);
6361
}
6462
$requestInfo->tryAddHeader('Accept', "application/json");
65-
$requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body);
6663
return $requestInfo;
6764
}
6865

src/Generated/Chats/Item/Members/MembersRequestBuilder.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Microsoft\Graph\Beta\Generated\Chats\Item\Members\Add\AddRequestBuilder;
88
use Microsoft\Graph\Beta\Generated\Chats\Item\Members\Count\CountRequestBuilder;
99
use Microsoft\Graph\Beta\Generated\Chats\Item\Members\Item\ConversationMemberItemRequestBuilder;
10+
use Microsoft\Graph\Beta\Generated\Chats\Item\Members\Remove\RemoveRequestBuilder;
1011
use Microsoft\Graph\Beta\Generated\Models\ConversationMember;
1112
use Microsoft\Graph\Beta\Generated\Models\ConversationMemberCollectionResponse;
1213
use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError;
@@ -34,6 +35,13 @@ public function count(): CountRequestBuilder {
3435
return new CountRequestBuilder($this->pathParameters, $this->requestAdapter);
3536
}
3637

38+
/**
39+
* Provides operations to call the remove method.
40+
*/
41+
public function remove(): RemoveRequestBuilder {
42+
return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter);
43+
}
44+
3745
/**
3846
* Provides operations to manage the members property of the microsoft.graph.chat entity.
3947
* @param string $conversationMemberId The unique identifier of conversationMember

0 commit comments

Comments
 (0)