Skip to content

Commit ff171ee

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
Microsoft Graph DevX Tooling
authored and
Microsoft Graph DevX Tooling
committed
feat(generation): update request builders and models
Update generated files with build 169540
1 parent b10cfa4 commit ff171ee

File tree

160 files changed

+2790
-289
lines changed

Some content is hidden

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

160 files changed

+2790
-289
lines changed

src/Generated/ApplicationTemplates/Item/Instantiate/InstantiatePostRequestBody.php

+22
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,29 @@ public function getFieldDeserializers(): array {
7575
$o = $this;
7676
return [
7777
'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()),
78+
'serviceManagementReference' => fn(ParseNode $n) => $o->setServiceManagementReference($n->getStringValue()),
7879
];
7980
}
8081

82+
/**
83+
* Gets the serviceManagementReference property value. The serviceManagementReference property
84+
* @return string|null
85+
*/
86+
public function getServiceManagementReference(): ?string {
87+
$val = $this->getBackingStore()->get('serviceManagementReference');
88+
if (is_null($val) || is_string($val)) {
89+
return $val;
90+
}
91+
throw new \UnexpectedValueException("Invalid type found in backing store for 'serviceManagementReference'");
92+
}
93+
8194
/**
8295
* Serializes information the current object
8396
* @param SerializationWriter $writer Serialization writer to use to serialize this model
8497
*/
8598
public function serialize(SerializationWriter $writer): void {
8699
$writer->writeStringValue('displayName', $this->getDisplayName());
100+
$writer->writeStringValue('serviceManagementReference', $this->getServiceManagementReference());
87101
$writer->writeAdditionalData($this->getAdditionalData());
88102
}
89103

@@ -111,4 +125,12 @@ public function setDisplayName(?string $value): void {
111125
$this->getBackingStore()->set('displayName', $value);
112126
}
113127

128+
/**
129+
* Sets the serviceManagementReference property value. The serviceManagementReference property
130+
* @param string|null $value Value to set for the serviceManagementReference property.
131+
*/
132+
public function setServiceManagementReference(?string $value): void {
133+
$this->getBackingStore()->set('serviceManagementReference', $value);
134+
}
135+
114136
}

src/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3131
}
3232

3333
/**
34-
* Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
34+
* Add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO.
3535
* @param InstantiatePostRequestBody $body The request body
3636
* @param InstantiateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3737
* @return Promise<ApplicationServicePrincipal|null>
@@ -47,7 +47,7 @@ public function post(InstantiatePostRequestBody $body, ?InstantiateRequestBuilde
4747
}
4848

4949
/**
50-
* Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
50+
* Add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO.
5151
* @param InstantiatePostRequestBody $body The request body
5252
* @param InstantiateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5353
* @return RequestInformation

src/Generated/Applications/Delta/DeltaRequestBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3030
}
3131

3232
/**
33-
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
33+
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
3434
* @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3535
* @return Promise<DeltaGetResponse|null>
3636
* @throws Exception
@@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur
4545
}
4646

4747
/**
48-
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
48+
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
4949
* @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5050
* @return RequestInformation
5151
*/

src/Generated/Applications/Delta/DeltaRequestBuilderGetQueryParameters.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
8+
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
99
*/
1010
class DeltaRequestBuilderGetQueryParameters
1111
{

src/Generated/BaseGraphClient.php

+10
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
use Microsoft\Graph\Generated\Teamwork\TeamworkRequestBuilder;
7777
use Microsoft\Graph\Generated\TenantRelationships\TenantRelationshipsRequestBuilder;
7878
use Microsoft\Graph\Generated\Users\UsersRequestBuilder;
79+
use Microsoft\Graph\Generated\UsersWithUserPrincipalName\UsersWithUserPrincipalNameRequestBuilder;
7980
use Microsoft\Kiota\Abstractions\ApiClientBuilder;
8081
use Microsoft\Kiota\Abstractions\BaseRequestBuilder;
8182
use Microsoft\Kiota\Abstractions\RequestAdapter;
@@ -645,4 +646,13 @@ public function servicePrincipalsWithAppId(string $appId): ServicePrincipalsWith
645646
return new ServicePrincipalsWithAppIdRequestBuilder($this->pathParameters, $this->requestAdapter, $appId);
646647
}
647648

649+
/**
650+
* Provides operations to manage the collection of user entities.
651+
* @param string $userPrincipalName Alternate key of user
652+
* @return UsersWithUserPrincipalNameRequestBuilder
653+
*/
654+
public function usersWithUserPrincipalName(string $userPrincipalName): UsersWithUserPrincipalNameRequestBuilder {
655+
return new UsersWithUserPrincipalNameRequestBuilder($this->pathParameters, $this->requestAdapter, $userPrincipalName);
656+
}
657+
648658
}

src/Generated/Communications/Calls/CallsRequestBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function get(?CallsRequestBuilderGetRequestConfiguration $requestConfigur
7474
}
7575

7676
/**
77-
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios:
77+
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios:
7878
* @param Call $body The request body
7979
* @param CallsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8080
* @return Promise<Call|null>
@@ -111,7 +111,7 @@ public function toGetRequestInformation(?CallsRequestBuilderGetRequestConfigurat
111111
}
112112

113113
/**
114-
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios:
114+
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios:
115115
* @param Call $body The request body
116116
* @param CallsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
117117
* @return RequestInformation

src/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3030
}
3131

3232
/**
33-
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
33+
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
3434
* @param AnswerPostRequestBody $body The request body
3535
* @param AnswerRequestBuilderPostRequestConfiguration|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(AnswerPostRequestBody $body, ?AnswerRequestBuilderPostReque
4646
}
4747

4848
/**
49-
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
49+
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
5050
* @param AnswerPostRequestBody $body The request body
5151
* @param AnswerRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5252
* @return RequestInformation

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3131
}
3232

3333
/**
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.
34+
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
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-delete?view=graph-rest-1.0 Find more info here
39+
* @link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 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-
* 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.
50+
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
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/Contacts/Delta/DeltaRequestBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3030
}
3131

3232
/**
33-
* Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.
33+
* Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
3434
* @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3535
* @return Promise<DeltaGetResponse|null>
3636
* @throws Exception
@@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur
4545
}
4646

4747
/**
48-
* Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.
48+
* Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
4949
* @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5050
* @return RequestInformation
5151
*/

src/Generated/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.
8+
* Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
99
*/
1010
class DeltaRequestBuilderGetQueryParameters
1111
{

src/Generated/Contracts/Delta/DeltaRequestBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3030
}
3131

3232
/**
33-
* Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details.
33+
* Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
3434
* @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3535
* @return Promise<DeltaGetResponse|null>
3636
* @throws Exception
@@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur
4545
}
4646

4747
/**
48-
* Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details.
48+
* Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
4949
* @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5050
* @return RequestInformation
5151
*/

src/Generated/Contracts/Delta/DeltaRequestBuilderGetQueryParameters.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details.
8+
* Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
99
*/
1010
class DeltaRequestBuilderGetQueryParameters
1111
{

src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
155155
* @param DeviceAppManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
156156
* @return Promise<DeviceAppManagement|null>
157157
* @throws Exception
158-
* @link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0 Find more info here
158+
* @link https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0 Find more info here
159159
*/
160160
public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
161161
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -171,7 +171,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r
171171
* @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
172172
* @return Promise<DeviceAppManagement|null>
173173
* @throws Exception
174-
* @link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0 Find more info here
174+
* @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0 Find more info here
175175
*/
176176
public function patch(DeviceAppManagement $body, ?DeviceAppManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
177177
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);

0 commit comments

Comments
 (0)