Skip to content

Commit 95ada24

Browse files
authored
Merge pull request #327 from microsoftgraph/kiota/beta/pipelinebuild/166343
Generated beta models and request builders
2 parents 098f53d + 31969a0 commit 95ada24

File tree

210 files changed

+1109
-377
lines changed

Some content is hidden

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

210 files changed

+1109
-377
lines changed

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 of an azureADDevice object.
81+
* Read the properties and relationships of an updatableAsset 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-azureaddevice-get?view=graph-rest-beta Find more info here
85+
* @link https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-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 of an azureADDevice object.
129+
* Read the properties and relationships of an updatableAsset 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 of an azureADDevice object.
8+
* Read the properties and relationships of an updatableAsset object.
99
*/
1010
class UpdatableAssetItemRequestBuilderGetQueryParameters
1111
{

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

Lines changed: 6 additions & 6 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 contentApproval object.
42+
* Delete a complianceChange 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-contentapproval-delete?view=graph-rest-beta Find more info here
46+
* @link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta Find more info here
4747
*/
4848
public function delete(?ComplianceChangeItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
4949
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
@@ -69,12 +69,12 @@ public function get(?ComplianceChangeItemRequestBuilderGetRequestConfiguration $
6969
}
7070

7171
/**
72-
* Update the properties of a complianceChange object.
72+
* Update the properties of a contentApproval 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-compliancechange-update?view=graph-rest-beta Find more info here
77+
* @link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-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 contentApproval object.
88+
* Delete a complianceChange object.
8989
* @param ComplianceChangeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9090
* @return RequestInformation
9191
*/
@@ -124,7 +124,7 @@ public function toGetRequestInformation(?ComplianceChangeItemRequestBuilderGetRe
124124
}
125125

126126
/**
127-
* Update the properties of a complianceChange object.
127+
* Update the properties of a contentApproval 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/ApplicationTemplates/Item/Instantiate/InstantiatePostRequestBody.php

Lines changed: 22 additions & 0 deletions
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/Chats/Item/Messages/Delta/DeltaRequestBuilder.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-
* Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation.
33+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can obtain new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
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-
* Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation.
48+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can obtain new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
4949
* @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5050
* @return RequestInformation
5151
*/

src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.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-
* Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation.
8+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can obtain new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
99
*/
1010
class DeltaRequestBuilderGetQueryParameters
1111
{

src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.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-
* Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation.
33+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can obtain new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
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-
* Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation.
48+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can obtain new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
4949
* @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5050
* @return RequestInformation
5151
*/

0 commit comments

Comments
 (0)