Skip to content

Commit 37cca52

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 151773
1 parent acc529d commit 37cca52

File tree

1,783 files changed

+6214
-39732
lines changed

Some content is hidden

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

1,783 files changed

+6214
-39732
lines changed

src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request
4646
}
4747

4848
/**
49-
* The attachment content.
49+
* Read the properties and relationships of a serviceAnnouncementAttachment object.
5050
* @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return Promise<StreamInterface|null>
5252
* @throws Exception
53+
* @link https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-1.0 Find more info here
5354
*/
5455
public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
5556
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -95,7 +96,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo
9596
}
9697

9798
/**
98-
* The attachment content.
99+
* Read the properties and relationships of a serviceAnnouncementAttachment object.
99100
* @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
100101
* @return RequestInformation
101102
*/

src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function byAgreementAcceptanceId(string $agreementAcceptanceId): Agreemen
3535
* @param RequestAdapter $requestAdapter The request adapter to use to execute the requests.
3636
*/
3737
public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) {
38-
parent::__construct($requestAdapter, [], '{+baseurl}/agreementAcceptances{?%24count,%24filter,%24search,%24select,%24skip,%24top}');
38+
parent::__construct($requestAdapter, [], '{+baseurl}/agreementAcceptances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}');
3939
if (is_array($pathParametersOrRawUrl)) {
4040
$this->pathParameters = $pathParametersOrRawUrl;
4141
} else {

src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetQueryParameters.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,24 @@ class AgreementAcceptancesRequestBuilderGetQueryParameters
1515
*/
1616
public ?bool $count = null;
1717

18+
/**
19+
* @QueryParameter("%24expand")
20+
* @var array<string>|null $expand Expand related entities
21+
*/
22+
public ?array $expand = null;
23+
1824
/**
1925
* @QueryParameter("%24filter")
2026
* @var string|null $filter Filter items by property values
2127
*/
2228
public ?string $filter = null;
2329

30+
/**
31+
* @QueryParameter("%24orderby")
32+
* @var array<string>|null $orderby Order items by property values
33+
*/
34+
public ?array $orderby = null;
35+
2436
/**
2537
* @QueryParameter("%24search")
2638
* @var string|null $search Search items by search phrases
@@ -48,15 +60,19 @@ class AgreementAcceptancesRequestBuilderGetQueryParameters
4860
/**
4961
* Instantiates a new AgreementAcceptancesRequestBuilderGetQueryParameters and sets the default values.
5062
* @param bool|null $count Include count of items
63+
* @param array<string>|null $expand Expand related entities
5164
* @param string|null $filter Filter items by property values
65+
* @param array<string>|null $orderby Order items by property values
5266
* @param string|null $search Search items by search phrases
5367
* @param array<string>|null $select Select properties to be returned
5468
* @param int|null $skip Skip the first n items
5569
* @param int|null $top Show only the first n items
5670
*/
57-
public function __construct(?bool $count = null, ?string $filter = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) {
71+
public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) {
5872
$this->count = $count;
73+
$this->expand = $expand;
5974
$this->filter = $filter;
75+
$this->orderby = $orderby;
6076
$this->search = $search;
6177
$this->select = $select;
6278
$this->skip = $skip;

src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetRequestConfiguration.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,17 @@ public function __construct(?array $headers = null, ?array $options = null, ?Agr
2929
/**
3030
* Instantiates a new AgreementAcceptancesRequestBuilderGetQueryParameters.
3131
* @param bool|null $count Include count of items
32+
* @param array<string>|null $expand Expand related entities
3233
* @param string|null $filter Filter items by property values
34+
* @param array<string>|null $orderby Order items by property values
3335
* @param string|null $search Search items by search phrases
3436
* @param array<string>|null $select Select properties to be returned
3537
* @param int|null $skip Skip the first n items
3638
* @param int|null $top Show only the first n items
3739
* @return AgreementAcceptancesRequestBuilderGetQueryParameters
3840
*/
39-
public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AgreementAcceptancesRequestBuilderGetQueryParameters {
40-
return new AgreementAcceptancesRequestBuilderGetQueryParameters($count, $filter, $search, $select, $skip, $top);
41+
public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AgreementAcceptancesRequestBuilderGetQueryParameters {
42+
return new AgreementAcceptancesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top);
4143
}
4244

4345
}

src/Generated/Agreements/AgreementsRequestBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function byAgreementId(string $agreementId): AgreementItemRequestBuilder
3535
* @param RequestAdapter $requestAdapter The request adapter to use to execute the requests.
3636
*/
3737
public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) {
38-
parent::__construct($requestAdapter, [], '{+baseurl}/agreements{?%24count,%24filter,%24search,%24select,%24skip,%24top}');
38+
parent::__construct($requestAdapter, [], '{+baseurl}/agreements{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}');
3939
if (is_array($pathParametersOrRawUrl)) {
4040
$this->pathParameters = $pathParametersOrRawUrl;
4141
} else {

src/Generated/Agreements/AgreementsRequestBuilderGetQueryParameters.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,24 @@ class AgreementsRequestBuilderGetQueryParameters
1515
*/
1616
public ?bool $count = null;
1717

18+
/**
19+
* @QueryParameter("%24expand")
20+
* @var array<string>|null $expand Expand related entities
21+
*/
22+
public ?array $expand = null;
23+
1824
/**
1925
* @QueryParameter("%24filter")
2026
* @var string|null $filter Filter items by property values
2127
*/
2228
public ?string $filter = null;
2329

30+
/**
31+
* @QueryParameter("%24orderby")
32+
* @var array<string>|null $orderby Order items by property values
33+
*/
34+
public ?array $orderby = null;
35+
2436
/**
2537
* @QueryParameter("%24search")
2638
* @var string|null $search Search items by search phrases
@@ -48,15 +60,19 @@ class AgreementsRequestBuilderGetQueryParameters
4860
/**
4961
* Instantiates a new AgreementsRequestBuilderGetQueryParameters and sets the default values.
5062
* @param bool|null $count Include count of items
63+
* @param array<string>|null $expand Expand related entities
5164
* @param string|null $filter Filter items by property values
65+
* @param array<string>|null $orderby Order items by property values
5266
* @param string|null $search Search items by search phrases
5367
* @param array<string>|null $select Select properties to be returned
5468
* @param int|null $skip Skip the first n items
5569
* @param int|null $top Show only the first n items
5670
*/
57-
public function __construct(?bool $count = null, ?string $filter = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) {
71+
public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) {
5872
$this->count = $count;
73+
$this->expand = $expand;
5974
$this->filter = $filter;
75+
$this->orderby = $orderby;
6076
$this->search = $search;
6177
$this->select = $select;
6278
$this->skip = $skip;

src/Generated/Agreements/AgreementsRequestBuilderGetRequestConfiguration.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,17 @@ public function __construct(?array $headers = null, ?array $options = null, ?Agr
2929
/**
3030
* Instantiates a new AgreementsRequestBuilderGetQueryParameters.
3131
* @param bool|null $count Include count of items
32+
* @param array<string>|null $expand Expand related entities
3233
* @param string|null $filter Filter items by property values
34+
* @param array<string>|null $orderby Order items by property values
3335
* @param string|null $search Search items by search phrases
3436
* @param array<string>|null $select Select properties to be returned
3537
* @param int|null $skip Skip the first n items
3638
* @param int|null $top Show only the first n items
3739
* @return AgreementsRequestBuilderGetQueryParameters
3840
*/
39-
public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AgreementsRequestBuilderGetQueryParameters {
40-
return new AgreementsRequestBuilderGetQueryParameters($count, $filter, $search, $select, $skip, $top);
41+
public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AgreementsRequestBuilderGetQueryParameters {
42+
return new AgreementsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top);
4143
}
4244

4345
}

src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ public function delete(?BotRequestBuilderDeleteRequestConfiguration $requestConf
4545
}
4646

4747
/**
48-
* The details of the bot specified in the Teams app manifest.
48+
* Get the bot associated with a specific definition of the TeamsApp.
4949
* @param BotRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5050
* @return Promise<TeamworkBot|null>
5151
* @throws Exception
52+
* @link https://learn.microsoft.com/graph/api/teamworkbot-get?view=graph-rest-1.0 Find more info here
5253
*/
5354
public function get(?BotRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
5455
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -92,7 +93,7 @@ public function toDeleteRequestInformation(?BotRequestBuilderDeleteRequestConfig
9293
}
9394

9495
/**
95-
* The details of the bot specified in the Teams app manifest.
96+
* Get the bot associated with a specific definition of the TeamsApp.
9697
* @param BotRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9798
* @return RequestInformation
9899
*/

src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilderGetQueryParameters.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-
* The details of the bot specified in the Teams app manifest.
8+
* Get the bot associated with a specific definition of the TeamsApp.
99
*/
1010
class BotRequestBuilderGetQueryParameters
1111
{

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu
4646
}
4747

4848
/**
49-
* Retrieve a conversationMember from a chat or channel.
49+
* Retrieve a conversationMember from a chat.
5050
* @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return Promise<ConversationMember|null>
5252
* @throws Exception
53-
* @link https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 Find more info here
53+
* @link https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 Find more info here
5454
*/
5555
public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
5656
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -94,7 +94,7 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder
9494
}
9595

9696
/**
97-
* Retrieve a conversationMember from a chat or channel.
97+
* Retrieve a conversationMember from a chat.
9898
* @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9999
* @return RequestInformation
100100
*/

0 commit comments

Comments
 (0)